2004-12-01 07:49:18 +00:00
|
|
|
SUBDIRS = po .
|
2001-12-26 07:14:05 +00:00
|
|
|
|
2010-01-07 07:00:05 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2001-12-27 04:00:58 +00:00
|
|
|
AM_YFLAGS = -d
|
2003-03-13 04:03:59 +00:00
|
|
|
AM_CFLAGS = @MORE_CFLAGS@
|
2001-12-26 07:14:05 +00:00
|
|
|
|
2003-03-14 04:40:04 +00:00
|
|
|
bin_PROGRAMS =
|
2005-01-13 07:14:48 +00:00
|
|
|
dist_man_MANS =
|
2010-01-07 07:00:05 +00:00
|
|
|
notrans_dist_man_MANS =
|
2001-12-26 07:14:05 +00:00
|
|
|
TESTS =
|
2006-04-17 03:21:41 +00:00
|
|
|
TESTS_ENVIRONMENT =
|
2006-04-05 05:39:23 +00:00
|
|
|
noinst_PROGRAMS = genstring
|
2001-12-26 07:14:05 +00:00
|
|
|
|
2004-03-14 22:25:18 +00:00
|
|
|
check_PROGRAMS = test_hd
|
|
|
|
|
|
|
|
|
|
test_hd_SOURCES = test_hd.c
|
|
|
|
|
|
2003-03-15 05:07:49 +00:00
|
|
|
include_HEADERS = libyasm.h
|
2007-02-22 03:40:31 +00:00
|
|
|
nodist_include_HEADERS = libyasm-stdint.h
|
2003-03-15 05:07:49 +00:00
|
|
|
|
2003-05-05 03:42:12 +00:00
|
|
|
noinst_HEADERS = util.h
|
|
|
|
|
|
2001-12-26 07:14:05 +00:00
|
|
|
BUILT_SOURCES =
|
2007-09-10 06:59:47 +00:00
|
|
|
MAINTAINERCLEANFILES =
|
|
|
|
|
DISTCLEANFILES =
|
|
|
|
|
SUFFIXES =
|
2006-04-05 05:39:23 +00:00
|
|
|
|
2002-06-24 07:30:28 +00:00
|
|
|
# configure.lineno doesn't clean up after itself?
|
|
|
|
|
CLEANFILES = configure.lineno
|
2003-05-31 22:23:08 +00:00
|
|
|
EXTRA_DIST = config/config.rpath
|
|
|
|
|
|
2007-02-18 20:42:55 +00:00
|
|
|
# libyasm-stdint.h doesn't clean up after itself?
|
|
|
|
|
CONFIG_CLEAN_FILES = libyasm-stdint.h
|
2011-08-27 09:25:30 -07:00
|
|
|
CONFIG_CLEAN_FILES += YASM-VERSION-FILE
|
2011-09-03 21:27:21 -07:00
|
|
|
CONFIG_CLEAN_FILES += YASM-VERSION.h
|
2005-09-05 20:53:07 +00:00
|
|
|
|
2003-05-31 22:23:08 +00:00
|
|
|
EXTRA_DIST += tools/Makefile.inc
|
|
|
|
|
EXTRA_DIST += libyasm/Makefile.inc
|
|
|
|
|
EXTRA_DIST += modules/Makefile.inc
|
|
|
|
|
EXTRA_DIST += frontends/Makefile.inc
|
2001-12-26 07:14:05 +00:00
|
|
|
|
2002-08-09 05:22:07 +00:00
|
|
|
include tools/Makefile.inc
|
2004-12-01 07:49:18 +00:00
|
|
|
|
|
|
|
|
YASM_MODULES =
|
|
|
|
|
lib_LIBRARIES = libyasm.a
|
|
|
|
|
libyasm_a_SOURCES =
|
2007-02-22 03:40:31 +00:00
|
|
|
nodist_libyasm_a_SOURCES =
|
2003-03-13 06:55:46 +00:00
|
|
|
include modules/Makefile.inc
|
2004-12-01 07:49:18 +00:00
|
|
|
|
|
|
|
|
include libyasm/Makefile.inc
|
2003-03-13 06:55:46 +00:00
|
|
|
include frontends/Makefile.inc
|
2004-12-01 07:49:18 +00:00
|
|
|
include m4/Makefile.inc
|
2001-12-26 07:14:05 +00:00
|
|
|
|
2003-05-31 22:23:08 +00:00
|
|
|
EXTRA_DIST += out_test.sh
|
2003-07-11 04:35:42 +00:00
|
|
|
EXTRA_DIST += Artistic.txt
|
|
|
|
|
EXTRA_DIST += BSD.txt
|
|
|
|
|
EXTRA_DIST += GNU_GPL-2.0
|
|
|
|
|
EXTRA_DIST += GNU_LGPL-2.0
|
2003-05-31 22:23:08 +00:00
|
|
|
EXTRA_DIST += splint.sh
|
2011-08-27 09:25:30 -07:00
|
|
|
EXTRA_DIST += YASM-VERSION-GEN.sh
|
2014-08-10 10:18:30 -07:00
|
|
|
EXTRA_DIST += CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += ConfigureChecks.cmake
|
|
|
|
|
EXTRA_DIST += config.h.cmake
|
|
|
|
|
EXTRA_DIST += libyasm-stdint.h.cmake
|
|
|
|
|
EXTRA_DIST += cmake/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += cmake/modules/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += cmake/modules/DummyCFile.c
|
|
|
|
|
EXTRA_DIST += cmake/modules/VersionGen.cmake
|
|
|
|
|
EXTRA_DIST += cmake/modules/YasmMacros.cmake
|
|
|
|
|
EXTRA_DIST += frontends/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += frontends/tasm/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += frontends/vsyasm/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += frontends/yasm/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += frontends/yasm/genstring.py
|
|
|
|
|
EXTRA_DIST += frontends/yasm/yasm-plugin.c
|
|
|
|
|
EXTRA_DIST += frontends/yasm/yasm-plugin.h
|
|
|
|
|
EXTRA_DIST += libyasm/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += libyasm/cmake-module.c
|
|
|
|
|
EXTRA_DIST += modules/arch/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/arch/lc3b/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/arch/x86/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/dbgfmts/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/dbgfmts/codeview/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/dbgfmts/dwarf2/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/dbgfmts/null/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/dbgfmts/stabs/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/listfmts/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/listfmts/nasm/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/objfmts/bin/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/objfmts/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/objfmts/coff/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/objfmts/dbg/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/objfmts/elf/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/objfmts/macho/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/objfmts/rdf/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/objfmts/xdf/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/parsers/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/parsers/gas/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/parsers/nasm/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/preprocs/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/preprocs/cpp/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/preprocs/gas/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/preprocs/nasm/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += modules/preprocs/raw/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += plugins/README
|
|
|
|
|
EXTRA_DIST += plugins/dbg/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += plugins/dbg/dbg-objfmt.c
|
|
|
|
|
EXTRA_DIST += plugins/dbg/init_plugin.c
|
|
|
|
|
EXTRA_DIST += plugins/dbg/README
|
|
|
|
|
EXTRA_DIST += plugins/x86/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += plugins/x86/init_plugin.c
|
|
|
|
|
EXTRA_DIST += plugins/x86/README
|
|
|
|
|
EXTRA_DIST += tools/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += tools/genmacro/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += tools/genperf/CMakeLists.txt
|
|
|
|
|
EXTRA_DIST += tools/re2c/CMakeLists.txt
|
2003-05-31 22:23:08 +00:00
|
|
|
EXTRA_DIST += Mkfiles/Makefile.flat
|
|
|
|
|
EXTRA_DIST += Mkfiles/Makefile.dj
|
2003-09-05 04:20:46 +00:00
|
|
|
EXTRA_DIST += Mkfiles/dj/config.h
|
2007-02-18 20:42:55 +00:00
|
|
|
EXTRA_DIST += Mkfiles/dj/libyasm-stdint.h
|
2002-04-15 04:20:38 +00:00
|
|
|
|
2003-03-15 05:07:49 +00:00
|
|
|
# Until this gets fixed in automake
|
2007-09-10 06:59:47 +00:00
|
|
|
DISTCLEANFILES += libyasm/stamp-h libyasm/stamp-h[0-9]*
|
2003-03-15 05:07:49 +00:00
|
|
|
|
2011-10-31 00:10:39 -07:00
|
|
|
dist-hook: YASM-VERSION-FILE YASM-VERSION.h
|
2011-08-27 09:25:30 -07:00
|
|
|
cp YASM-VERSION-FILE $(distdir)/version
|
2011-10-31 00:10:39 -07:00
|
|
|
cp YASM-VERSION.h $(distdir)/Mkfiles/dj/
|
2011-08-27 09:25:30 -07:00
|
|
|
|
|
|
|
|
YASM-VERSION-FILE: $(top_srcdir)/YASM-VERSION-GEN.sh
|
|
|
|
|
$(top_srcdir)/YASM-VERSION-GEN.sh
|
|
|
|
|
|
2002-11-17 08:34:15 +00:00
|
|
|
distclean-local:
|
|
|
|
|
-rm -rf results
|
2006-04-04 06:07:32 +00:00
|
|
|
if HAVE_PYTHON
|
|
|
|
|
-rm -rf build
|
|
|
|
|
endif
|
|
|
|
|
|
2010-01-07 07:00:05 +00:00
|
|
|
# Until gets fixed libyasm cross-build for target system
|
|
|
|
|
# use fixinstall-yasm-XXX make targets
|
2006-04-05 02:05:19 +00:00
|
|
|
all-local: python-build
|
2006-12-24 21:18:01 +00:00
|
|
|
install-exec-hook: python-install
|
2006-04-04 06:07:32 +00:00
|
|
|
uninstall-hook: python-uninstall
|
2004-09-07 07:39:26 +00:00
|
|
|
|
|
|
|
|
if BUILD_MAN
|
2010-01-07 07:00:05 +00:00
|
|
|
MAINTAINERCLEANFILES += $(dist_man_MANS) $(notrans_dist_man_MANS)
|
2004-09-07 07:39:26 +00:00
|
|
|
endif
|
2006-04-05 05:39:23 +00:00
|
|
|
|
|
|
|
|
# genstring build
|
|
|
|
|
genstring_SOURCES =
|
|
|
|
|
EXTRA_DIST += genstring.c
|
|
|
|
|
genstring_LDADD = genstring.$(OBJEXT)
|
|
|
|
|
genstring_LINK = $(CCLD_FOR_BUILD) -o $@
|
|
|
|
|
|
|
|
|
|
genstring.$(OBJEXT): genstring.c
|
|
|
|
|
$(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f genstring.c || echo '$(srcdir)/'`genstring.c
|
|
|
|
|
|