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