161 lines
5.3 KiB
Makefile
161 lines
5.3 KiB
Makefile
# $Id: Makefile.am 2047 2008-04-01 04:25:15Z peter $
|
|
|
|
SUBDIRS = po .
|
|
|
|
AM_YFLAGS = -d
|
|
AM_CFLAGS = @MORE_CFLAGS@
|
|
|
|
bin_PROGRAMS =
|
|
dist_man_MANS =
|
|
TESTS =
|
|
TESTS_ENVIRONMENT =
|
|
|
|
noinst_PROGRAMS = genstring yasm
|
|
noinst_LIBRARIES = libyasm.a
|
|
#noinst_LTLIBRARIES =
|
|
#noinst_SCRIPTS =
|
|
#noinst_DATA =
|
|
noinst_HEADERS = util.h libyasm.h libyasm-stdint.h libyasm/arch.h libyasm/assocdat.h libyasm/bitvect.h libyasm/bytecode.h libyasm/compat-queue.h libyasm/coretype.h libyasm/dbgfmt.h libyasm/errwarn.h libyasm/expr.h libyasm/file.h libyasm/floatnum.h libyasm/hamt.h libyasm/insn.h libyasm/intnum.h libyasm/inttree.h libyasm/linemap.h libyasm/listfmt.h libyasm/md5.h libyasm/module.h libyasm/objfmt.h libyasm/parser.h libyasm/phash.h libyasm/preproc.h libyasm/section.h libyasm/symrec.h libyasm/valparam.h libyasm/value.h
|
|
#noinst_TEXINFOS =
|
|
noinst_MANS = yasm.1 yasm_arch.7 yasm_parsers.7 yasm_dbgfmts.7 yasm_objfmts.7
|
|
|
|
check_PROGRAMS = test_hd
|
|
|
|
test_hd_SOURCES = test_hd.c
|
|
|
|
#include_HEADERS = libyasm.h
|
|
#nodist_include_HEADERS = libyasm-stdint.h
|
|
|
|
BUILT_SOURCES =
|
|
MAINTAINERCLEANFILES =
|
|
DISTCLEANFILES =
|
|
SUFFIXES =
|
|
|
|
# configure.lineno doesn't clean up after itself?
|
|
CLEANFILES = configure.lineno
|
|
EXTRA_DIST = config/config.rpath
|
|
|
|
# libyasm-stdint.h doesn't clean up after itself?
|
|
CONFIG_CLEAN_FILES = libyasm-stdint.h
|
|
|
|
# automake doesn't distribute mkinstalldirs?
|
|
EXTRA_DIST += config/mkinstalldirs
|
|
|
|
EXTRA_DIST += tools/Makefile.inc
|
|
EXTRA_DIST += libyasm/Makefile.inc
|
|
EXTRA_DIST += modules/Makefile.inc
|
|
EXTRA_DIST += frontends/Makefile.inc
|
|
|
|
include tools/Makefile.inc
|
|
|
|
YASM_MODULES =
|
|
#lib_LIBRARIES = libyasm.a
|
|
libyasm_a_SOURCES =
|
|
nodist_libyasm_a_SOURCES =
|
|
include modules/Makefile.inc
|
|
|
|
include libyasm/Makefile.inc
|
|
include frontends/Makefile.inc
|
|
include m4/Makefile.inc
|
|
|
|
EXTRA_DIST += out_test.sh
|
|
EXTRA_DIST += Artistic.txt
|
|
EXTRA_DIST += BSD.txt
|
|
EXTRA_DIST += GNU_GPL-2.0
|
|
EXTRA_DIST += GNU_LGPL-2.0
|
|
EXTRA_DIST += splint.sh
|
|
EXTRA_DIST += Mkfiles/Makefile.flat
|
|
EXTRA_DIST += Mkfiles/Makefile.dj
|
|
EXTRA_DIST += Mkfiles/dj/config.h
|
|
EXTRA_DIST += Mkfiles/dj/libyasm-stdint.h
|
|
EXTRA_DIST += Mkfiles/vc/yasm.sln
|
|
EXTRA_DIST += Mkfiles/vc/yasm.vcproj
|
|
EXTRA_DIST += Mkfiles/vc/config.h
|
|
EXTRA_DIST += Mkfiles/vc/libyasm-stdint.h
|
|
EXTRA_DIST += Mkfiles/vc/genmacro/genmacro.vcproj
|
|
EXTRA_DIST += Mkfiles/vc/genmacro/run.bat
|
|
EXTRA_DIST += Mkfiles/vc/genmodule/genmodule.vcproj
|
|
EXTRA_DIST += Mkfiles/vc/genmodule/run.bat
|
|
EXTRA_DIST += Mkfiles/vc/genstring/genstring.vcproj
|
|
EXTRA_DIST += Mkfiles/vc/genstring/run.bat
|
|
EXTRA_DIST += Mkfiles/vc/genversion/genversion.vcproj
|
|
EXTRA_DIST += Mkfiles/vc/genversion/run.bat
|
|
EXTRA_DIST += Mkfiles/vc/libyasm/libyasm.vcproj
|
|
EXTRA_DIST += Mkfiles/vc/modules/modules.vcproj
|
|
EXTRA_DIST += Mkfiles/vc/re2c/re2c.vcproj
|
|
EXTRA_DIST += Mkfiles/vc/re2c/run.bat
|
|
EXTRA_DIST += Mkfiles/vc/genperf/genperf.vcproj
|
|
EXTRA_DIST += Mkfiles/vc/genperf/run.bat
|
|
EXTRA_DIST += Mkfiles/vc8/crt_secure_no_deprecate.vsprops
|
|
EXTRA_DIST += Mkfiles/vc8/yasm.sln
|
|
EXTRA_DIST += Mkfiles/vc8/yasm.vcproj
|
|
EXTRA_DIST += Mkfiles/vc8/config.h
|
|
EXTRA_DIST += Mkfiles/vc8/libyasm-stdint.h
|
|
EXTRA_DIST += Mkfiles/vc8/readme.vc8.txt
|
|
EXTRA_DIST += Mkfiles/vc8/yasm.rules
|
|
EXTRA_DIST += Mkfiles/vc8/genmacro/genmacro.vcproj
|
|
EXTRA_DIST += Mkfiles/vc8/genmacro/run.bat
|
|
EXTRA_DIST += Mkfiles/vc8/genmodule/genmodule.vcproj
|
|
EXTRA_DIST += Mkfiles/vc8/genmodule/run.bat
|
|
EXTRA_DIST += Mkfiles/vc8/genstring/genstring.vcproj
|
|
EXTRA_DIST += Mkfiles/vc8/genstring/run.bat
|
|
EXTRA_DIST += Mkfiles/vc8/genversion/genversion.vcproj
|
|
EXTRA_DIST += Mkfiles/vc8/genversion/run.bat
|
|
EXTRA_DIST += Mkfiles/vc8/libyasm/libyasm.vcproj
|
|
EXTRA_DIST += Mkfiles/vc8/modules/modules.vcproj
|
|
EXTRA_DIST += Mkfiles/vc8/re2c/re2c.vcproj
|
|
EXTRA_DIST += Mkfiles/vc8/re2c/run.bat
|
|
EXTRA_DIST += Mkfiles/vc8/genperf/genperf.vcproj
|
|
EXTRA_DIST += Mkfiles/vc8/genperf/run.bat
|
|
EXTRA_DIST += Mkfiles/vc9/crt_secure_no_deprecate.vsprops
|
|
EXTRA_DIST += Mkfiles/vc9/yasm.sln
|
|
EXTRA_DIST += Mkfiles/vc9/yasm.vcproj
|
|
EXTRA_DIST += Mkfiles/vc9/config.h
|
|
EXTRA_DIST += Mkfiles/vc9/libyasm-stdint.h
|
|
EXTRA_DIST += Mkfiles/vc9/readme.vc9.txt
|
|
EXTRA_DIST += Mkfiles/vc9/yasm.rules
|
|
EXTRA_DIST += Mkfiles/vc9/vc928.c
|
|
EXTRA_DIST += Mkfiles/vc9/genmacro/genmacro.vcproj
|
|
EXTRA_DIST += Mkfiles/vc9/genmacro/run.bat
|
|
EXTRA_DIST += Mkfiles/vc9/genmodule/genmodule.vcproj
|
|
EXTRA_DIST += Mkfiles/vc9/genmodule/run.bat
|
|
EXTRA_DIST += Mkfiles/vc9/genstring/genstring.vcproj
|
|
EXTRA_DIST += Mkfiles/vc9/genstring/run.bat
|
|
EXTRA_DIST += Mkfiles/vc9/genversion/genversion.vcproj
|
|
EXTRA_DIST += Mkfiles/vc9/genversion/run.bat
|
|
EXTRA_DIST += Mkfiles/vc9/libyasm/libyasm.vcproj
|
|
EXTRA_DIST += Mkfiles/vc9/modules/modules.vcproj
|
|
EXTRA_DIST += Mkfiles/vc9/re2c/re2c.vcproj
|
|
EXTRA_DIST += Mkfiles/vc9/re2c/run.bat
|
|
EXTRA_DIST += Mkfiles/vc9/genperf/genperf.vcproj
|
|
EXTRA_DIST += Mkfiles/vc9/genperf/run.bat
|
|
|
|
# Until this gets fixed in automake
|
|
DISTCLEANFILES += libyasm/stamp-h libyasm/stamp-h[0-9]*
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
distclean-local:
|
|
-rm -rf results
|
|
if HAVE_PYTHON
|
|
-rm -rf build
|
|
endif
|
|
|
|
all-local: python-build
|
|
install-exec-hook: python-install
|
|
uninstall-hook: python-uninstall
|
|
|
|
if BUILD_MAN
|
|
MAINTAINERCLEANFILES += $(dist_man_MANS)
|
|
endif
|
|
|
|
# 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
|
|
|