Debian Codegraph @

utils/m-tx/Makefile.am

raw
1 ## $Id: Makefile.am 43567 2017-03-21 17:43:10Z karl $
2 ## Makefile.am for the TeX Live subdirectory utils/m-tx/
3 ##
4 ## Copyright 2017 Karl Berry <[email protected]>
5 ## Copyright 2012-2015 Peter Breitenlohner <[email protected]>
6 ## You may freely use, modify and/or distribute this file.
7
8 ## We want to re-distribute the whole original mtx source tree.
9 EXTRA_DIST = $(MTX_TREE)
10
11 ## Patches applied to the original source tree
12 EXTRA_DIST += TLpatches
13
14 # Files not to be distributed
15 include $(srcdir)/../../am/dist_hook.am
16 NEVER_NAMES += $(NEVER_NAMES_SUB)
17
18 AM_CPPFLAGS = -I$(srcdir)/$(MTX_TREE)/libp2c -DNO_DECLARE_MALLOC
19 AM_CFLAGS = #$(WARNING_CFLAGS)
20
21 bin_PROGRAMS = prepmx
22
23 prepmx_SOURCES = \
24 @MTX_TREE@/analyze.c \
25 @MTX_TREE@/analyze.h \
26 @MTX_TREE@/cfuncs.c \
27 @MTX_TREE@/cfuncs.h \
28 @MTX_TREE@/control.c \
29 @MTX_TREE@/control.h \
30 @MTX_TREE@/files.c \
31 @MTX_TREE@/files.h \
32 @MTX_TREE@/globals.c \
33 @MTX_TREE@/globals.h \
34 @MTX_TREE@/libp2c/p2c.h \
35 @MTX_TREE@/lyrics.c \
36 @MTX_TREE@/lyrics.h \
37 @MTX_TREE@/mtx.c \
38 @MTX_TREE@/mtx.h \
39 @MTX_TREE@/mtxline.c \
40 @MTX_TREE@/mtxline.h \
41 @MTX_TREE@/multfile.c \
42 @MTX_TREE@/multfile.h \
43 @MTX_TREE@/notes.c \
44 @MTX_TREE@/notes.h \
45 @MTX_TREE@/preamble.c \
46 @MTX_TREE@/preamble.h \
47 @MTX_TREE@/prepmx.c \
48 @MTX_TREE@/status.c \
49 @MTX_TREE@/status.h \
50 @MTX_TREE@/strings.h \
51 @MTX_TREE@/uptext.c \
52 @MTX_TREE@/uptext.h \
53 @MTX_TREE@/utility.c \
54 @MTX_TREE@/utility.h
55
56 ## We can not use @MTX_TREE@/libp2c/p2clib.c (multiple definitions).
57
58 dist_man1_MANS = prepmx.1
59
60 ## Tests
61 ##
62 TESTS = m-tx.test
63 EXTRA_DIST += $(TESTS)
64 m-tx.log: prepmx$(EXEEXT)
65
66 ## m-tx.test
67 EXTRA_DIST += tests/mozart.mtx tests/mozart.pmx
68 DISTCLEANFILES = mozart*
69