-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
81 lines (74 loc) · 1.47 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# vim:noet
ACLOCAL_AMFLAGS = -I m4
AM_YFLAGS = -d
BUILT_SOURCES = ecsparse.h ecsparse.c ecsscan.c
bin_PROGRAMS = thanm thdat thecl thmsg
noinst_LIBRARIES = libutil.a
nobase_include_HEADERS = \
thtk/dat.h \
thtk/error.h \
thtk/io.h \
thtk/thtk.h
EXTRA_DIST = \
COPYING.autotools \
COPYING.bison \
COPYING.flex \
COPYING.gcc \
COPYING.glibc \
COPYING.libpng \
COPYING.zlib
dist_man1_MANS = \
thanm.1 \
thdat.1 \
thecl.1 \
thmsg.1
SUBDIRS = thtk
libutil_a_SOURCES = \
file.c \
file.h \
list.c \
list.h \
program.c \
program.h \
util.c \
util.h \
value.c \
value.h
thanm_CFLAGS = $(libpng_CFLAGS)
thanm_LDADD = libutil.a $(libpng_LIBS)
thanm_SOURCES = \
image.c \
image.h \
thanm.c \
thanm.h
thdat_CFLAGS = $(OPENMP_CFLAGS)
thdat_LDFLAGS = $(OPENMP_LDFLAGS)
thdat_LDADD = libutil.a thtk/libthtk.la
thdat_SOURCES = \
thdat.c
thecl_LDADD = libutil.a -lm
thecl_SOURCES = \
thecl.c \
thecl.h \
thecl06.c \
thecl10.c \
ecsparse.h \
ecsscan.l \
ecsparse.y \
expr.c \
expr.h
thmsg_LDADD = libutil.a
thmsg_SOURCES = \
thmsg.c \
thmsg.h \
thmsg06.c \
thmsg95.c
release: all
rm -Rf "$(distdir)"
test -d "$(distdir)" || mkdir "$(distdir)"
cp $(bin_PROGRAMS) "$(distdir)"
for i in NEWS README COPYING $(EXTRA_DIST); do cp $$i "$(distdir)/`basename $$i`.txt"; done
for i in $(dist_man1_MANS); do mandoc -Thtml $$i > "$(distdir)/`basename $$i`.html"; done
rm -f $(PACKAGE)-bin-$(VERSION).zip
zip -rq $(PACKAGE)-bin-$(VERSION).zip $(distdir)
rm -Rf "$(distdir)"