OLD | NEW |
1 # $Id: Makefile.am 2299 2010-03-04 05:08:00Z peter $ | |
2 | |
3 SUBDIRS = po . | 1 SUBDIRS = po . |
4 | 2 |
5 ACLOCAL_AMFLAGS = -I m4 | 3 ACLOCAL_AMFLAGS = -I m4 |
6 AM_YFLAGS = -d | 4 AM_YFLAGS = -d |
7 AM_CFLAGS = @MORE_CFLAGS@ | 5 AM_CFLAGS = @MORE_CFLAGS@ |
8 | 6 |
9 bin_PROGRAMS = | 7 bin_PROGRAMS = |
10 dist_man_MANS = | 8 dist_man_MANS = |
11 notrans_dist_man_MANS = | 9 notrans_dist_man_MANS = |
12 TESTS = | 10 TESTS = |
(...skipping 13 matching lines...) Expand all Loading... |
26 MAINTAINERCLEANFILES = | 24 MAINTAINERCLEANFILES = |
27 DISTCLEANFILES = | 25 DISTCLEANFILES = |
28 SUFFIXES = | 26 SUFFIXES = |
29 | 27 |
30 # configure.lineno doesn't clean up after itself? | 28 # configure.lineno doesn't clean up after itself? |
31 CLEANFILES = configure.lineno | 29 CLEANFILES = configure.lineno |
32 EXTRA_DIST = config/config.rpath | 30 EXTRA_DIST = config/config.rpath |
33 | 31 |
34 # libyasm-stdint.h doesn't clean up after itself? | 32 # libyasm-stdint.h doesn't clean up after itself? |
35 CONFIG_CLEAN_FILES = libyasm-stdint.h | 33 CONFIG_CLEAN_FILES = libyasm-stdint.h |
| 34 CONFIG_CLEAN_FILES += YASM-VERSION-FILE |
| 35 CONFIG_CLEAN_FILES += YASM-VERSION.h |
36 | 36 |
37 EXTRA_DIST += tools/Makefile.inc | 37 EXTRA_DIST += tools/Makefile.inc |
38 EXTRA_DIST += libyasm/Makefile.inc | 38 EXTRA_DIST += libyasm/Makefile.inc |
39 EXTRA_DIST += modules/Makefile.inc | 39 EXTRA_DIST += modules/Makefile.inc |
40 EXTRA_DIST += frontends/Makefile.inc | 40 EXTRA_DIST += frontends/Makefile.inc |
41 | 41 |
42 include tools/Makefile.inc | 42 include tools/Makefile.inc |
43 | 43 |
44 YASM_MODULES = | 44 YASM_MODULES = |
45 lib_LIBRARIES = libyasm.a | 45 lib_LIBRARIES = libyasm.a |
46 libyasm_a_SOURCES = | 46 libyasm_a_SOURCES = |
47 nodist_libyasm_a_SOURCES = | 47 nodist_libyasm_a_SOURCES = |
48 include modules/Makefile.inc | 48 include modules/Makefile.inc |
49 | 49 |
50 include libyasm/Makefile.inc | 50 include libyasm/Makefile.inc |
51 include frontends/Makefile.inc | 51 include frontends/Makefile.inc |
52 include m4/Makefile.inc | 52 include m4/Makefile.inc |
53 | 53 |
54 EXTRA_DIST += out_test.sh | 54 EXTRA_DIST += out_test.sh |
55 EXTRA_DIST += Artistic.txt | 55 EXTRA_DIST += Artistic.txt |
56 EXTRA_DIST += BSD.txt | 56 EXTRA_DIST += BSD.txt |
57 EXTRA_DIST += GNU_GPL-2.0 | 57 EXTRA_DIST += GNU_GPL-2.0 |
58 EXTRA_DIST += GNU_LGPL-2.0 | 58 EXTRA_DIST += GNU_LGPL-2.0 |
59 EXTRA_DIST += splint.sh | 59 EXTRA_DIST += splint.sh |
| 60 EXTRA_DIST += YASM-VERSION-GEN.sh |
60 EXTRA_DIST += Mkfiles/Makefile.flat | 61 EXTRA_DIST += Mkfiles/Makefile.flat |
61 EXTRA_DIST += Mkfiles/Makefile.dj | 62 EXTRA_DIST += Mkfiles/Makefile.dj |
62 EXTRA_DIST += Mkfiles/dj/config.h | 63 EXTRA_DIST += Mkfiles/dj/config.h |
63 EXTRA_DIST += Mkfiles/dj/libyasm-stdint.h | 64 EXTRA_DIST += Mkfiles/dj/libyasm-stdint.h |
64 EXTRA_DIST += Mkfiles/vc9/config.h | 65 EXTRA_DIST += Mkfiles/vc9/config.h |
65 EXTRA_DIST += Mkfiles/vc9/crt_secure_no_deprecate.vsprops | 66 EXTRA_DIST += Mkfiles/vc9/crt_secure_no_deprecate.vsprops |
66 EXTRA_DIST += Mkfiles/vc9/libyasm-stdint.h | 67 EXTRA_DIST += Mkfiles/vc9/libyasm-stdint.h |
67 EXTRA_DIST += Mkfiles/vc9/readme.vc9.txt | 68 EXTRA_DIST += Mkfiles/vc9/readme.vc9.txt |
68 EXTRA_DIST += Mkfiles/vc9/vc98_swap.py | 69 EXTRA_DIST += Mkfiles/vc9/vc98_swap.py |
69 EXTRA_DIST += Mkfiles/vc9/vsyasm.vcproj | 70 EXTRA_DIST += Mkfiles/vc9/vsyasm.vcproj |
(...skipping 12 matching lines...) Expand all Loading... |
82 EXTRA_DIST += Mkfiles/vc9/genversion/genversion.vcproj | 83 EXTRA_DIST += Mkfiles/vc9/genversion/genversion.vcproj |
83 EXTRA_DIST += Mkfiles/vc9/genversion/run.bat | 84 EXTRA_DIST += Mkfiles/vc9/genversion/run.bat |
84 EXTRA_DIST += Mkfiles/vc9/libyasm/libyasm.vcproj | 85 EXTRA_DIST += Mkfiles/vc9/libyasm/libyasm.vcproj |
85 EXTRA_DIST += Mkfiles/vc9/modules/modules.vcproj | 86 EXTRA_DIST += Mkfiles/vc9/modules/modules.vcproj |
86 EXTRA_DIST += Mkfiles/vc9/re2c/re2c.vcproj | 87 EXTRA_DIST += Mkfiles/vc9/re2c/re2c.vcproj |
87 EXTRA_DIST += Mkfiles/vc9/re2c/run.bat | 88 EXTRA_DIST += Mkfiles/vc9/re2c/run.bat |
88 EXTRA_DIST += Mkfiles/vc10/config.h | 89 EXTRA_DIST += Mkfiles/vc10/config.h |
89 EXTRA_DIST += Mkfiles/vc10/crt_secure_no_deprecate.props | 90 EXTRA_DIST += Mkfiles/vc10/crt_secure_no_deprecate.props |
90 EXTRA_DIST += Mkfiles/vc10/crt_secure_no_deprecate.vsprops | 91 EXTRA_DIST += Mkfiles/vc10/crt_secure_no_deprecate.vsprops |
91 EXTRA_DIST += Mkfiles/vc10/libyasm-stdint.h | 92 EXTRA_DIST += Mkfiles/vc10/libyasm-stdint.h |
| 93 EXTRA_DIST += Mkfiles/vc10/out_copy_rename.bat |
92 EXTRA_DIST += Mkfiles/vc10/readme.vc10.txt | 94 EXTRA_DIST += Mkfiles/vc10/readme.vc10.txt |
93 EXTRA_DIST += Mkfiles/vc10/vsyasm.props | 95 EXTRA_DIST += Mkfiles/vc10/vsyasm.props |
94 EXTRA_DIST += Mkfiles/vc10/vsyasm.targets | 96 EXTRA_DIST += Mkfiles/vc10/vsyasm.targets |
95 EXTRA_DIST += Mkfiles/vc10/vsyasm.vcxproj | 97 EXTRA_DIST += Mkfiles/vc10/vsyasm.vcxproj |
96 EXTRA_DIST += Mkfiles/vc10/vsyasm.xml | 98 EXTRA_DIST += Mkfiles/vc10/vsyasm.xml |
97 EXTRA_DIST += Mkfiles/vc10/yasm.sln | 99 EXTRA_DIST += Mkfiles/vc10/yasm.sln |
98 EXTRA_DIST += Mkfiles/vc10/yasm.vcxproj | 100 EXTRA_DIST += Mkfiles/vc10/yasm.vcxproj |
99 EXTRA_DIST += Mkfiles/vc10/yasm.vcxproj.filters | 101 EXTRA_DIST += Mkfiles/vc10/yasm.vcxproj.filters |
100 EXTRA_DIST += Mkfiles/vc10/ytasm.vcxproj | 102 EXTRA_DIST += Mkfiles/vc10/ytasm.vcxproj |
101 EXTRA_DIST += Mkfiles/vc10/genmacro/genmacro.vcxproj | 103 EXTRA_DIST += Mkfiles/vc10/genmacro/genmacro.vcxproj |
(...skipping 15 matching lines...) Expand all Loading... |
117 EXTRA_DIST += Mkfiles/vc10/libyasm/libyasm.vcxproj.filters | 119 EXTRA_DIST += Mkfiles/vc10/libyasm/libyasm.vcxproj.filters |
118 EXTRA_DIST += Mkfiles/vc10/modules/modules.vcxproj | 120 EXTRA_DIST += Mkfiles/vc10/modules/modules.vcxproj |
119 EXTRA_DIST += Mkfiles/vc10/modules/modules.vcxproj.filters | 121 EXTRA_DIST += Mkfiles/vc10/modules/modules.vcxproj.filters |
120 EXTRA_DIST += Mkfiles/vc10/re2c/re2c.vcxproj | 122 EXTRA_DIST += Mkfiles/vc10/re2c/re2c.vcxproj |
121 EXTRA_DIST += Mkfiles/vc10/re2c/re2c.vcxproj.filters | 123 EXTRA_DIST += Mkfiles/vc10/re2c/re2c.vcxproj.filters |
122 EXTRA_DIST += Mkfiles/vc10/re2c/run.bat | 124 EXTRA_DIST += Mkfiles/vc10/re2c/run.bat |
123 | 125 |
124 # Until this gets fixed in automake | 126 # Until this gets fixed in automake |
125 DISTCLEANFILES += libyasm/stamp-h libyasm/stamp-h[0-9]* | 127 DISTCLEANFILES += libyasm/stamp-h libyasm/stamp-h[0-9]* |
126 | 128 |
| 129 dist-hook: YASM-VERSION-FILE YASM-VERSION.h |
| 130 cp YASM-VERSION-FILE $(distdir)/version |
| 131 cp YASM-VERSION.h $(distdir)/Mkfiles/dj/ |
| 132 cp YASM-VERSION.h $(distdir)/Mkfiles/vc9/ |
| 133 cp YASM-VERSION.h $(distdir)/Mkfiles/vc10/ |
| 134 |
| 135 YASM-VERSION-FILE: $(top_srcdir)/YASM-VERSION-GEN.sh |
| 136 $(top_srcdir)/YASM-VERSION-GEN.sh |
| 137 |
127 distclean-local: | 138 distclean-local: |
128 -rm -rf results | 139 -rm -rf results |
129 if HAVE_PYTHON | 140 if HAVE_PYTHON |
130 -rm -rf build | 141 -rm -rf build |
131 endif | 142 endif |
132 | 143 |
133 # Until gets fixed libyasm cross-build for target system | 144 # Until gets fixed libyasm cross-build for target system |
134 # use fixinstall-yasm-XXX make targets | 145 # use fixinstall-yasm-XXX make targets |
135 all-local: python-build | 146 all-local: python-build |
136 install-exec-hook: python-install | 147 install-exec-hook: python-install |
137 uninstall-hook: python-uninstall | 148 uninstall-hook: python-uninstall |
138 | 149 |
139 if BUILD_MAN | 150 if BUILD_MAN |
140 MAINTAINERCLEANFILES += $(dist_man_MANS) $(notrans_dist_man_MANS) | 151 MAINTAINERCLEANFILES += $(dist_man_MANS) $(notrans_dist_man_MANS) |
141 endif | 152 endif |
142 | 153 |
143 # genstring build | 154 # genstring build |
144 genstring_SOURCES = | 155 genstring_SOURCES = |
145 EXTRA_DIST += genstring.c | 156 EXTRA_DIST += genstring.c |
146 genstring_LDADD = genstring.$(OBJEXT) | 157 genstring_LDADD = genstring.$(OBJEXT) |
147 genstring_LINK = $(CCLD_FOR_BUILD) -o $@ | 158 genstring_LINK = $(CCLD_FOR_BUILD) -o $@ |
148 | 159 |
149 genstring.$(OBJEXT): genstring.c | 160 genstring.$(OBJEXT): genstring.c |
150 $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f genstr
ing.c || echo '$(srcdir)/'`genstring.c | 161 $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f genstr
ing.c || echo '$(srcdir)/'`genstring.c |
151 | 162 |
OLD | NEW |