OLD | NEW |
1 # $Id: Makefile.am 2184 2009-03-24 05:04:15Z peter $ | 1 # $Id: Makefile.am 2299 2010-03-04 05:08:00Z peter $ |
2 | 2 |
3 SUBDIRS = po . | 3 SUBDIRS = po . |
4 | 4 |
| 5 ACLOCAL_AMFLAGS = -I m4 |
5 AM_YFLAGS = -d | 6 AM_YFLAGS = -d |
6 AM_CFLAGS = @MORE_CFLAGS@ | 7 AM_CFLAGS = @MORE_CFLAGS@ |
7 | 8 |
8 bin_PROGRAMS = | 9 bin_PROGRAMS = |
9 dist_man_MANS = | 10 dist_man_MANS = |
| 11 notrans_dist_man_MANS = |
10 TESTS = | 12 TESTS = |
11 TESTS_ENVIRONMENT = | 13 TESTS_ENVIRONMENT = |
12 noinst_PROGRAMS = genstring | 14 noinst_PROGRAMS = genstring |
13 | 15 |
14 check_PROGRAMS = test_hd | 16 check_PROGRAMS = test_hd |
15 | 17 |
16 test_hd_SOURCES = test_hd.c | 18 test_hd_SOURCES = test_hd.c |
17 | 19 |
18 include_HEADERS = libyasm.h | 20 include_HEADERS = libyasm.h |
19 nodist_include_HEADERS = libyasm-stdint.h | 21 nodist_include_HEADERS = libyasm-stdint.h |
20 | 22 |
21 noinst_HEADERS = util.h | 23 noinst_HEADERS = util.h |
22 | 24 |
23 BUILT_SOURCES = | 25 BUILT_SOURCES = |
24 MAINTAINERCLEANFILES = | 26 MAINTAINERCLEANFILES = |
25 DISTCLEANFILES = | 27 DISTCLEANFILES = |
26 SUFFIXES = | 28 SUFFIXES = |
27 | 29 |
28 # configure.lineno doesn't clean up after itself? | 30 # configure.lineno doesn't clean up after itself? |
29 CLEANFILES = configure.lineno | 31 CLEANFILES = configure.lineno |
30 EXTRA_DIST = config/config.rpath | 32 EXTRA_DIST = config/config.rpath |
31 | 33 |
32 # libyasm-stdint.h doesn't clean up after itself? | 34 # libyasm-stdint.h doesn't clean up after itself? |
33 CONFIG_CLEAN_FILES = libyasm-stdint.h | 35 CONFIG_CLEAN_FILES = libyasm-stdint.h |
34 | 36 |
35 # automake doesn't distribute mkinstalldirs? | |
36 EXTRA_DIST += config/mkinstalldirs | |
37 | |
38 EXTRA_DIST += tools/Makefile.inc | 37 EXTRA_DIST += tools/Makefile.inc |
39 EXTRA_DIST += libyasm/Makefile.inc | 38 EXTRA_DIST += libyasm/Makefile.inc |
40 EXTRA_DIST += modules/Makefile.inc | 39 EXTRA_DIST += modules/Makefile.inc |
41 EXTRA_DIST += frontends/Makefile.inc | 40 EXTRA_DIST += frontends/Makefile.inc |
42 | 41 |
43 include tools/Makefile.inc | 42 include tools/Makefile.inc |
44 | 43 |
45 YASM_MODULES = | 44 YASM_MODULES = |
46 lib_LIBRARIES = libyasm.a | 45 lib_LIBRARIES = libyasm.a |
47 libyasm_a_SOURCES = | 46 libyasm_a_SOURCES = |
48 nodist_libyasm_a_SOURCES = | 47 nodist_libyasm_a_SOURCES = |
49 include modules/Makefile.inc | 48 include modules/Makefile.inc |
50 | 49 |
51 include libyasm/Makefile.inc | 50 include libyasm/Makefile.inc |
52 include frontends/Makefile.inc | 51 include frontends/Makefile.inc |
53 include m4/Makefile.inc | 52 include m4/Makefile.inc |
54 | 53 |
55 EXTRA_DIST += out_test.sh | 54 EXTRA_DIST += out_test.sh |
56 EXTRA_DIST += Artistic.txt | 55 EXTRA_DIST += Artistic.txt |
57 EXTRA_DIST += BSD.txt | 56 EXTRA_DIST += BSD.txt |
58 EXTRA_DIST += GNU_GPL-2.0 | 57 EXTRA_DIST += GNU_GPL-2.0 |
59 EXTRA_DIST += GNU_LGPL-2.0 | 58 EXTRA_DIST += GNU_LGPL-2.0 |
60 EXTRA_DIST += splint.sh | 59 EXTRA_DIST += splint.sh |
61 EXTRA_DIST += Mkfiles/Makefile.flat | 60 EXTRA_DIST += Mkfiles/Makefile.flat |
62 EXTRA_DIST += Mkfiles/Makefile.dj | 61 EXTRA_DIST += Mkfiles/Makefile.dj |
63 EXTRA_DIST += Mkfiles/dj/config.h | 62 EXTRA_DIST += Mkfiles/dj/config.h |
64 EXTRA_DIST += Mkfiles/dj/libyasm-stdint.h | 63 EXTRA_DIST += Mkfiles/dj/libyasm-stdint.h |
| 64 EXTRA_DIST += Mkfiles/vc9/config.h |
65 EXTRA_DIST += Mkfiles/vc9/crt_secure_no_deprecate.vsprops | 65 EXTRA_DIST += Mkfiles/vc9/crt_secure_no_deprecate.vsprops |
| 66 EXTRA_DIST += Mkfiles/vc9/libyasm-stdint.h |
| 67 EXTRA_DIST += Mkfiles/vc9/readme.vc9.txt |
| 68 EXTRA_DIST += Mkfiles/vc9/vc98_swap.py |
| 69 EXTRA_DIST += Mkfiles/vc9/vsyasm.vcproj |
66 EXTRA_DIST += Mkfiles/vc9/yasm.sln | 70 EXTRA_DIST += Mkfiles/vc9/yasm.sln |
67 EXTRA_DIST += Mkfiles/vc9/yasm.vcproj | 71 EXTRA_DIST += Mkfiles/vc9/yasm.vcproj |
68 EXTRA_DIST += Mkfiles/vc9/ytasm.vcproj | 72 EXTRA_DIST += Mkfiles/vc9/ytasm.vcproj |
69 EXTRA_DIST += Mkfiles/vc9/config.h | |
70 EXTRA_DIST += Mkfiles/vc9/libyasm-stdint.h | |
71 EXTRA_DIST += Mkfiles/vc9/readme.vc9.txt | |
72 EXTRA_DIST += Mkfiles/vc9/yasm.rules | 73 EXTRA_DIST += Mkfiles/vc9/yasm.rules |
73 EXTRA_DIST += Mkfiles/vc9/vc98_swap.py | |
74 EXTRA_DIST += Mkfiles/vc9/genmacro/genmacro.vcproj | 74 EXTRA_DIST += Mkfiles/vc9/genmacro/genmacro.vcproj |
75 EXTRA_DIST += Mkfiles/vc9/genmacro/run.bat | 75 EXTRA_DIST += Mkfiles/vc9/genmacro/run.bat |
76 EXTRA_DIST += Mkfiles/vc9/genmodule/genmodule.vcproj | 76 EXTRA_DIST += Mkfiles/vc9/genmodule/genmodule.vcproj |
77 EXTRA_DIST += Mkfiles/vc9/genmodule/run.bat | 77 EXTRA_DIST += Mkfiles/vc9/genmodule/run.bat |
| 78 EXTRA_DIST += Mkfiles/vc9/genperf/genperf.vcproj |
| 79 EXTRA_DIST += Mkfiles/vc9/genperf/run.bat |
78 EXTRA_DIST += Mkfiles/vc9/genstring/genstring.vcproj | 80 EXTRA_DIST += Mkfiles/vc9/genstring/genstring.vcproj |
79 EXTRA_DIST += Mkfiles/vc9/genstring/run.bat | 81 EXTRA_DIST += Mkfiles/vc9/genstring/run.bat |
80 EXTRA_DIST += Mkfiles/vc9/genversion/genversion.vcproj | 82 EXTRA_DIST += Mkfiles/vc9/genversion/genversion.vcproj |
81 EXTRA_DIST += Mkfiles/vc9/genversion/run.bat | 83 EXTRA_DIST += Mkfiles/vc9/genversion/run.bat |
82 EXTRA_DIST += Mkfiles/vc9/libyasm/libyasm.vcproj | 84 EXTRA_DIST += Mkfiles/vc9/libyasm/libyasm.vcproj |
83 EXTRA_DIST += Mkfiles/vc9/modules/modules.vcproj | 85 EXTRA_DIST += Mkfiles/vc9/modules/modules.vcproj |
84 EXTRA_DIST += Mkfiles/vc9/re2c/re2c.vcproj | 86 EXTRA_DIST += Mkfiles/vc9/re2c/re2c.vcproj |
85 EXTRA_DIST += Mkfiles/vc9/re2c/run.bat | 87 EXTRA_DIST += Mkfiles/vc9/re2c/run.bat |
86 EXTRA_DIST += Mkfiles/vc9/genperf/genperf.vcproj | 88 EXTRA_DIST += Mkfiles/vc10/config.h |
87 EXTRA_DIST += Mkfiles/vc9/genperf/run.bat | 89 EXTRA_DIST += Mkfiles/vc10/crt_secure_no_deprecate.props |
| 90 EXTRA_DIST += Mkfiles/vc10/crt_secure_no_deprecate.vsprops |
| 91 EXTRA_DIST += Mkfiles/vc10/libyasm-stdint.h |
| 92 EXTRA_DIST += Mkfiles/vc10/readme.vc10.txt |
| 93 EXTRA_DIST += Mkfiles/vc10/vsyasm.props |
| 94 EXTRA_DIST += Mkfiles/vc10/vsyasm.targets |
| 95 EXTRA_DIST += Mkfiles/vc10/vsyasm.vcxproj |
| 96 EXTRA_DIST += Mkfiles/vc10/vsyasm.xml |
| 97 EXTRA_DIST += Mkfiles/vc10/yasm.sln |
| 98 EXTRA_DIST += Mkfiles/vc10/yasm.vcxproj |
| 99 EXTRA_DIST += Mkfiles/vc10/yasm.vcxproj.filters |
| 100 EXTRA_DIST += Mkfiles/vc10/ytasm.vcxproj |
| 101 EXTRA_DIST += Mkfiles/vc10/genmacro/genmacro.vcxproj |
| 102 EXTRA_DIST += Mkfiles/vc10/genmacro/genmacro.vcxproj.filters |
| 103 EXTRA_DIST += Mkfiles/vc10/genmacro/run.bat |
| 104 EXTRA_DIST += Mkfiles/vc10/genmodule/genmodule.vcxproj |
| 105 EXTRA_DIST += Mkfiles/vc10/genmodule/genmodule.vcxproj.filters |
| 106 EXTRA_DIST += Mkfiles/vc10/genmodule/run.bat |
| 107 EXTRA_DIST += Mkfiles/vc10/genperf/genperf.vcxproj |
| 108 EXTRA_DIST += Mkfiles/vc10/genperf/genperf.vcxproj.filters |
| 109 EXTRA_DIST += Mkfiles/vc10/genperf/run.bat |
| 110 EXTRA_DIST += Mkfiles/vc10/genstring/genstring.vcxproj |
| 111 EXTRA_DIST += Mkfiles/vc10/genstring/genstring.vcxproj.filters |
| 112 EXTRA_DIST += Mkfiles/vc10/genstring/run.bat |
| 113 EXTRA_DIST += Mkfiles/vc10/genversion/genversion.vcxproj |
| 114 EXTRA_DIST += Mkfiles/vc10/genversion/genversion.vcxproj.filters |
| 115 EXTRA_DIST += Mkfiles/vc10/genversion/run.bat |
| 116 EXTRA_DIST += Mkfiles/vc10/libyasm/libyasm.vcxproj |
| 117 EXTRA_DIST += Mkfiles/vc10/libyasm/libyasm.vcxproj.filters |
| 118 EXTRA_DIST += Mkfiles/vc10/modules/modules.vcxproj |
| 119 EXTRA_DIST += Mkfiles/vc10/modules/modules.vcxproj.filters |
| 120 EXTRA_DIST += Mkfiles/vc10/re2c/re2c.vcxproj |
| 121 EXTRA_DIST += Mkfiles/vc10/re2c/re2c.vcxproj.filters |
| 122 EXTRA_DIST += Mkfiles/vc10/re2c/run.bat |
88 | 123 |
89 # Until this gets fixed in automake | 124 # Until this gets fixed in automake |
90 DISTCLEANFILES += libyasm/stamp-h libyasm/stamp-h[0-9]* | 125 DISTCLEANFILES += libyasm/stamp-h libyasm/stamp-h[0-9]* |
91 | 126 |
92 ACLOCAL_AMFLAGS = -I m4 | |
93 | |
94 distclean-local: | 127 distclean-local: |
95 -rm -rf results | 128 -rm -rf results |
96 if HAVE_PYTHON | 129 if HAVE_PYTHON |
97 -rm -rf build | 130 -rm -rf build |
98 endif | 131 endif |
99 | 132 |
| 133 # Until gets fixed libyasm cross-build for target system |
| 134 # use fixinstall-yasm-XXX make targets |
100 all-local: python-build | 135 all-local: python-build |
101 install-exec-hook: python-install | 136 install-exec-hook: python-install |
102 uninstall-hook: python-uninstall | 137 uninstall-hook: python-uninstall |
103 | 138 |
104 if BUILD_MAN | 139 if BUILD_MAN |
105 MAINTAINERCLEANFILES += $(dist_man_MANS) | 140 MAINTAINERCLEANFILES += $(dist_man_MANS) $(notrans_dist_man_MANS) |
106 endif | 141 endif |
107 | 142 |
108 # genstring build | 143 # genstring build |
109 genstring_SOURCES = | 144 genstring_SOURCES = |
110 EXTRA_DIST += genstring.c | 145 EXTRA_DIST += genstring.c |
111 genstring_LDADD = genstring.$(OBJEXT) | 146 genstring_LDADD = genstring.$(OBJEXT) |
112 genstring_LINK = $(CCLD_FOR_BUILD) -o $@ | 147 genstring_LINK = $(CCLD_FOR_BUILD) -o $@ |
113 | 148 |
114 genstring.$(OBJEXT): genstring.c | 149 genstring.$(OBJEXT): genstring.c |
115 $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f genstr
ing.c || echo '$(srcdir)/'`genstring.c | 150 $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f genstr
ing.c || echo '$(srcdir)/'`genstring.c |
116 | 151 |
OLD | NEW |