-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
58 lines (45 loc) · 1.06 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
ACLOCAL_AMFLAGS = -I m4
AM_LDFLAGS = \
-Wl,--gc-sections \
-Wl,--as-needed \
-no-undefined
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libadmesh.pc
doc_DATA = \
admesh-doc.txt \
block.stl \
README.md
EXTRA_DIST = \
$(doc_DATA) \
COPYING \
INSTALL \
ChangeLog.old \
libadmesh.pc.in
CLEANFILES = libadmesh.pc
dist_man_MANS = admesh.1
bin_PROGRAMS = admesh
admesh_SOURCES = \
src/admesh.c
admesh_LDADD = \
libadmesh.la
# libadmesh libtool versioning
LIBADMESH_CURRENT=1
LIBADMESH_REVISION=0
LIBADMESH_AGE=0
pkginclude_HEADERS = src/stl.h
lib_LTLIBRARIES = libadmesh.la
libadmesh_la_SOURCES = \
src/connect.c \
src/normals.c \
src/shared.c \
src/stlinit.c \
src/stl_io.c \
src/util.c
libadmesh_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(LIBADMESH_CURRENT):$(LIBADMESH_REVISION):$(LIBADMESH_AGE)
distclean-local:
rm -rf *.cache *~
dist-hook:
git log --date=short --pretty="format:@%cd %an <%ae> [%H]%n%n%s%n%n%e%b" | sed -e "s|^\([^@]\)|\t\1|" -e "s|^@||" >$(distdir)/ChangeLog
git log --format='%aN <%aE>' | sort -u >$(distdir)/AUTHORS