c0e157e3b2
One must build yasm (included in the yasm directory) before building GMP, if building on an x86_64 machine. Note: make test and make tune do not currently build.
52 lines
1.8 KiB
Makefile
52 lines
1.8 KiB
Makefile
# $Id: Makefile.inc 1464 2006-04-05 07:14:41Z peter $
|
|
|
|
libyasm_a_SOURCES += modules/preprocs/nasm/nasm-preproc.c
|
|
libyasm_a_SOURCES += modules/preprocs/nasm/nasm-pp.h
|
|
libyasm_a_SOURCES += modules/preprocs/nasm/nasm-pp.c
|
|
libyasm_a_SOURCES += modules/preprocs/nasm/nasm.h
|
|
libyasm_a_SOURCES += modules/preprocs/nasm/nasmlib.h
|
|
libyasm_a_SOURCES += modules/preprocs/nasm/nasmlib.c
|
|
libyasm_a_SOURCES += modules/preprocs/nasm/nasm-eval.h
|
|
libyasm_a_SOURCES += modules/preprocs/nasm/nasm-eval.c
|
|
|
|
YASM_MODULES += preproc_nasm
|
|
|
|
$(top_srcdir)/src/preprocs/nasm/nasm-pp.c: nasm-macros.c
|
|
|
|
nasm-macros.c: $(top_srcdir)/modules/preprocs/nasm/standard.mac version.mac genmacro$(EXEEXT)
|
|
$(top_builddir)/genmacro$(EXEEXT) $(top_srcdir)/modules/preprocs/nasm/standard.mac version.mac
|
|
|
|
BUILT_SOURCES += nasm-macros.c
|
|
CLEANFILES += nasm-macros.c
|
|
|
|
noinst_PROGRAMS += genmacro
|
|
|
|
genmacro_SOURCES =
|
|
EXTRA_DIST += modules/preprocs/nasm/genmacro.c
|
|
genmacro_LDADD = genmacro.$(OBJEXT)
|
|
genmacro_LINK = $(CCLD_FOR_BUILD) -o $@
|
|
|
|
genmacro.$(OBJEXT): modules/preprocs/nasm/genmacro.c
|
|
$(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f modules/preprocs/nasm/genmacro.c || echo '$(srcdir)/'`modules/preprocs/nasm/genmacro.c
|
|
|
|
version.mac: genversion$(EXEEXT)
|
|
$(top_builddir)/genversion$(EXEEXT) $@
|
|
|
|
BUILT_SOURCES += version.mac
|
|
CLEANFILES += version.mac
|
|
|
|
noinst_PROGRAMS += genversion
|
|
|
|
genversion_SOURCES =
|
|
EXTRA_DIST += modules/preprocs/nasm/genversion.c
|
|
genversion_LDADD = genversion.$(OBJEXT)
|
|
genversion_LINK = $(CCLD_FOR_BUILD) -o $@
|
|
|
|
genversion.$(OBJEXT): modules/preprocs/nasm/genversion.c
|
|
$(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f modules/preprocs/nasm/genversion.c || echo '$(srcdir)/'`modules/preprocs/nasm/genversion.c
|
|
|
|
EXTRA_DIST += modules/preprocs/nasm/standard.mac
|
|
EXTRA_DIST += modules/preprocs/nasm/tests/Makefile.inc
|
|
|
|
include modules/preprocs/nasm/tests/Makefile.inc
|