2002-05-01 04:52:49 +08:00
|
|
|
#
|
|
|
|
# Auto-configuring Makefile for the Netwide Assembler.
|
|
|
|
#
|
|
|
|
# The Netwide Assembler is copyright (C) 1996 Simon Tatham and
|
|
|
|
# Julian Hall. All rights reserved. The software is
|
2007-12-29 22:44:23 +08:00
|
|
|
# redistributable under the license given in the file "LICENSE"
|
2002-05-01 04:52:49 +08:00
|
|
|
# distributed in the NASM archive.
|
|
|
|
|
2016-03-10 06:11:40 +08:00
|
|
|
@SET_MAKE@
|
|
|
|
|
2007-06-22 03:00:12 +08:00
|
|
|
top_srcdir = @top_srcdir@
|
2002-05-01 04:58:18 +08:00
|
|
|
srcdir = @srcdir@
|
2016-05-17 11:30:09 +08:00
|
|
|
objdir = @builddir@
|
2002-05-01 04:58:18 +08:00
|
|
|
VPATH = @srcdir@
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
|
|
mandir = @mandir@
|
2007-10-19 14:33:06 +08:00
|
|
|
datarootdir = @datarootdir@
|
2002-05-01 04:52:49 +08:00
|
|
|
|
2002-05-01 04:58:18 +08:00
|
|
|
CC = @CC@
|
2005-10-21 03:46:34 +08:00
|
|
|
CFLAGS = @CFLAGS@
|
2007-04-16 07:10:26 +08:00
|
|
|
BUILD_CFLAGS = $(CFLAGS) @DEFS@
|
2016-05-26 03:06:29 +08:00
|
|
|
INTERNAL_CFLAGS = -I$(srcdir) -I$(objdir) \
|
|
|
|
-I$(srcdir)/include -I$(objdir)/include \
|
|
|
|
-I$(srcdir)/x86 -I$(objdir)/x86 \
|
|
|
|
-I$(srcdir)/asm -I$(objdir)/asm \
|
|
|
|
-I$(srcdir)/disasm -I$(objdir)/disasm \
|
|
|
|
-I$(srcdir)/output -I$(objdir)/output
|
2005-10-21 03:46:34 +08:00
|
|
|
ALL_CFLAGS = $(BUILD_CFLAGS) $(INTERNAL_CFLAGS)
|
2002-05-01 04:58:18 +08:00
|
|
|
LDFLAGS = @LDFLAGS@
|
2002-05-27 07:55:34 +08:00
|
|
|
LIBS = @LIBS@
|
2016-03-08 18:06:39 +08:00
|
|
|
|
|
|
|
AR = @AR@
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
STRIP = @STRIP@
|
|
|
|
|
2016-02-18 16:54:30 +08:00
|
|
|
PERL = perl
|
2016-05-17 12:24:26 +08:00
|
|
|
PERLFLAGS = -I$(srcdir)/perllib -I$(srcdir)
|
2016-02-18 16:54:30 +08:00
|
|
|
RUNPERL = $(PERL) $(PERLFLAGS)
|
|
|
|
|
2002-05-01 04:58:18 +08:00
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
2002-05-01 04:52:49 +08:00
|
|
|
|
2002-05-01 04:58:18 +08:00
|
|
|
NROFF = @NROFF@
|
2013-02-18 02:50:19 +08:00
|
|
|
ASCIIDOC = @ASCIIDOC@
|
|
|
|
XMLTO = @XMLTO@
|
2002-05-01 04:57:38 +08:00
|
|
|
|
2016-03-04 13:37:37 +08:00
|
|
|
MAKENSIS = makensis
|
|
|
|
|
2007-09-26 04:34:55 +08:00
|
|
|
MKDIR = mkdir
|
|
|
|
RM = rm
|
2010-11-05 19:18:51 +08:00
|
|
|
FIND = find
|
2007-09-26 04:34:55 +08:00
|
|
|
|
2002-05-19 10:02:20 +08:00
|
|
|
# Binary suffixes
|
|
|
|
O = @OBJEXT@
|
|
|
|
X = @EXEEXT@
|
2016-03-10 06:11:40 +08:00
|
|
|
A = @LIBEXT@
|
2002-05-19 10:02:20 +08:00
|
|
|
|
2011-06-25 23:51:44 +08:00
|
|
|
# Debug stuff
|
|
|
|
ifeq ($(TRACE),1)
|
|
|
|
CFLAGS += -DNASM_TRACE
|
|
|
|
endif
|
|
|
|
|
2016-03-08 18:06:39 +08:00
|
|
|
.SUFFIXES: .c .i .s .$(O) .$(A) .1 .txt .xml
|
2002-05-01 04:58:18 +08:00
|
|
|
|
2010-10-29 03:55:16 +08:00
|
|
|
.PHONY: all doc rdf install clean distclean cleaner spotless install_rdf test
|
2010-11-05 19:18:51 +08:00
|
|
|
.PHONY: install_doc everything install_everything strip perlreq dist tags TAGS
|
2016-03-04 13:37:37 +08:00
|
|
|
.PHONY: manpages nsis
|
2002-05-01 04:57:59 +08:00
|
|
|
|
2002-05-19 10:02:20 +08:00
|
|
|
.c.$(O):
|
2005-10-21 03:46:34 +08:00
|
|
|
$(CC) -c $(ALL_CFLAGS) -o $@ $<
|
2002-05-01 04:58:18 +08:00
|
|
|
|
|
|
|
.c.s:
|
2005-10-21 03:46:34 +08:00
|
|
|
$(CC) -S $(ALL_CFLAGS) -o $@ $<
|
2002-05-01 04:58:18 +08:00
|
|
|
|
|
|
|
.c.i:
|
2005-10-21 03:46:34 +08:00
|
|
|
$(CC) -E $(ALL_CFLAGS) -o $@ $<
|
2002-05-01 04:52:49 +08:00
|
|
|
|
2013-10-24 20:22:19 +08:00
|
|
|
.txt.xml:
|
|
|
|
$(ASCIIDOC) -b docbook -d manpage -o $@ $<
|
|
|
|
|
|
|
|
.xml.1:
|
|
|
|
$(XMLTO) man --skip-validation $< 2>/dev/null
|
2013-02-18 02:50:19 +08:00
|
|
|
|
2008-06-16 14:50:50 +08:00
|
|
|
#-- Begin File Lists --#
|
2017-03-01 10:08:21 +08:00
|
|
|
NASM = asm/nasm.$(O)
|
|
|
|
NDISASM = disasm/ndisasm.$(O)
|
|
|
|
|
|
|
|
LIBOBJ = stdlib/snprintf.$(O) stdlib/vsnprintf.$(O) stdlib/strlcpy.$(O) \
|
|
|
|
stdlib/strnlen.$(O) \
|
|
|
|
nasmlib/ver.$(O) \
|
|
|
|
nasmlib/crc64.$(O) nasmlib/malloc.$(O) \
|
|
|
|
nasmlib/error.$(O) nasmlib/md5c.$(O) nasmlib/string.$(O) \
|
|
|
|
nasmlib/file.$(O) nasmlib/mmap.$(O) nasmlib/ilog2.$(O) \
|
|
|
|
nasmlib/realpath.$(O) nasmlib/filename.$(O) nasmlib/srcfile.$(O) \
|
|
|
|
nasmlib/zerobuf.$(O) nasmlib/readnum.$(O) nasmlib/bsi.$(O) \
|
|
|
|
nasmlib/rbtree.$(O) nasmlib/hashtbl.$(O) \
|
|
|
|
nasmlib/raa.$(O) nasmlib/saa.$(O) \
|
|
|
|
nasmlib/strlist.$(O) \
|
|
|
|
common/common.$(O) \
|
|
|
|
x86/insnsa.$(O) x86/insnsb.$(O) x86/insnsd.$(O) x86/insnsn.$(O) \
|
|
|
|
x86/regs.$(O) x86/regvals.$(O) x86/regflags.$(O) x86/regdis.$(O) \
|
|
|
|
x86/disp8.$(O) x86/iflag.$(O) \
|
|
|
|
\
|
2016-05-26 03:06:29 +08:00
|
|
|
asm/float.$(O) \
|
|
|
|
asm/directiv.$(O) \
|
|
|
|
asm/assemble.$(O) asm/labels.$(O) asm/parser.$(O) \
|
|
|
|
asm/preproc.$(O) asm/quote.$(O) asm/pptok.$(O) \
|
2017-03-01 10:13:43 +08:00
|
|
|
asm/listing.$(O) asm/eval.$(O) asm/exprlib.$(O) asm/exprdump.$(O) \
|
2016-05-26 03:06:29 +08:00
|
|
|
asm/stdscan.$(O) \
|
|
|
|
asm/strfunc.$(O) asm/tokhash.$(O) \
|
|
|
|
asm/segalloc.$(O) \
|
|
|
|
asm/preproc-nop.$(O) \
|
|
|
|
asm/rdstrnum.$(O) \
|
|
|
|
\
|
|
|
|
macros/macros.$(O) \
|
|
|
|
\
|
2016-09-25 00:46:47 +08:00
|
|
|
output/outform.$(O) output/outlib.$(O) output/legacy.$(O) \
|
|
|
|
output/nulldbg.$(O) output/nullout.$(O) \
|
2009-06-28 13:07:33 +08:00
|
|
|
output/outbin.$(O) output/outaout.$(O) output/outcoff.$(O) \
|
2016-04-10 22:37:11 +08:00
|
|
|
output/outelf.$(O) \
|
2002-06-06 10:41:20 +08:00
|
|
|
output/outobj.$(O) output/outas86.$(O) output/outrdf2.$(O) \
|
2016-02-13 13:18:12 +08:00
|
|
|
output/outdbg.$(O) output/outieee.$(O) output/outmacho.$(O) \
|
2017-03-01 10:08:21 +08:00
|
|
|
output/codeview.$(O) \
|
|
|
|
\
|
|
|
|
disasm/disasm.$(O) disasm/sync.$(O)
|
2008-06-16 14:50:50 +08:00
|
|
|
#-- End File Lists --#
|
2002-05-01 04:52:49 +08:00
|
|
|
|
2016-03-04 13:37:37 +08:00
|
|
|
all: nasm$(X) ndisasm$(X) rdf
|
2002-05-01 04:52:49 +08:00
|
|
|
|
2016-03-08 18:06:39 +08:00
|
|
|
NASMLIB = libnasm.$(A)
|
2002-05-19 10:02:20 +08:00
|
|
|
|
2016-03-08 18:06:39 +08:00
|
|
|
$(NASMLIB): $(LIBOBJ)
|
|
|
|
$(RM) -f $(NASMLIB)
|
|
|
|
$(AR) cq $(NASMLIB) $(LIBOBJ)
|
|
|
|
$(RANLIB) $(NASMLIB)
|
|
|
|
|
|
|
|
nasm$(X): $(NASM) $(NASMLIB)
|
|
|
|
$(CC) $(LDFLAGS) -o nasm$(X) $(NASM) $(NASMLIB) $(LIBS)
|
|
|
|
|
|
|
|
ndisasm$(X): $(NDISASM) $(NASMLIB)
|
|
|
|
$(CC) $(LDFLAGS) -o ndisasm$(X) $(NDISASM) $(NASMLIB) $(LIBS)
|
2002-05-19 10:02:20 +08:00
|
|
|
|
2002-05-01 04:54:13 +08:00
|
|
|
# These source files are automagically generated from a single
|
2002-05-01 04:52:49 +08:00
|
|
|
# instruction-table file by a Perl script. They're distributed,
|
|
|
|
# though, so it isn't necessary to have Perl just to recompile NASM
|
|
|
|
# from the distribution.
|
2016-05-26 03:06:29 +08:00
|
|
|
INSDEP = x86/insns.dat x86/insns.pl
|
|
|
|
|
|
|
|
x86/iflag.c: $(INSDEP)
|
|
|
|
$(RUNPERL) $(srcdir)/x86/insns.pl -fc \
|
|
|
|
$(srcdir)/x86/insns.dat x86/iflag.c
|
|
|
|
x86/iflaggen.h: $(INSDEP)
|
|
|
|
$(RUNPERL) $(srcdir)/x86/insns.pl -fh \
|
|
|
|
$(srcdir)/x86/insns.dat x86/iflaggen.h
|
|
|
|
x86/insnsb.c: $(INSDEP)
|
|
|
|
$(RUNPERL) $(srcdir)/x86/insns.pl -b \
|
|
|
|
$(srcdir)/x86/insns.dat x86/insnsb.c
|
|
|
|
x86/insnsa.c: $(INSDEP)
|
|
|
|
$(RUNPERL) $(srcdir)/x86/insns.pl -a \
|
|
|
|
$(srcdir)/x86/insns.dat x86/insnsa.c
|
|
|
|
x86/insnsd.c: $(INSDEP)
|
|
|
|
$(RUNPERL) $(srcdir)/x86/insns.pl -d \
|
|
|
|
$(srcdir)/x86/insns.dat x86/insnsd.c
|
|
|
|
x86/insnsi.h: $(INSDEP)
|
|
|
|
$(RUNPERL) $(srcdir)/x86/insns.pl -i \
|
|
|
|
$(srcdir)/x86/insns.dat x86/insnsi.h
|
|
|
|
x86/insnsn.c: $(INSDEP)
|
|
|
|
$(RUNPERL) $(srcdir)/x86/insns.pl -n \
|
|
|
|
$(srcdir)/x86/insns.dat x86/insnsn.c
|
2002-05-01 04:52:49 +08:00
|
|
|
|
2002-05-04 11:57:52 +08:00
|
|
|
# These files contains all the standard macros that are derived from
|
|
|
|
# the version number.
|
|
|
|
version.h: version version.pl
|
2016-02-18 16:54:30 +08:00
|
|
|
$(RUNPERL) $(srcdir)/version.pl h < $(srcdir)/version > version.h
|
2002-05-04 11:57:52 +08:00
|
|
|
version.mac: version version.pl
|
2016-02-18 16:54:30 +08:00
|
|
|
$(RUNPERL) $(srcdir)/version.pl mac < $(srcdir)/version > version.mac
|
2007-09-23 07:35:11 +08:00
|
|
|
version.sed: version version.pl
|
2016-02-18 16:54:30 +08:00
|
|
|
$(RUNPERL) $(srcdir)/version.pl sed < $(srcdir)/version > version.sed
|
2008-07-14 04:54:47 +08:00
|
|
|
version.mak: version version.pl
|
2016-02-18 16:54:30 +08:00
|
|
|
$(RUNPERL) $(srcdir)/version.pl make < $(srcdir)/version > version.mak
|
2016-03-04 13:37:37 +08:00
|
|
|
nsis/version.nsh: version version.pl
|
2016-03-08 04:15:40 +08:00
|
|
|
$(RUNPERL) $(srcdir)/version.pl nsis < $(srcdir)/version > nsis/version.nsh
|
2007-09-23 07:35:11 +08:00
|
|
|
|
2002-05-01 04:52:49 +08:00
|
|
|
# This source file is generated from the standard macros file
|
|
|
|
# `standard.mac' by another Perl script. Again, it's part of the
|
|
|
|
# standard distribution.
|
2016-05-26 03:06:29 +08:00
|
|
|
macros/macros.c: macros/macros.pl asm/pptok.ph version.mac \
|
2008-06-21 06:20:16 +08:00
|
|
|
$(srcdir)/macros/*.mac $(srcdir)/output/*.mac
|
2016-05-26 03:06:29 +08:00
|
|
|
$(RUNPERL) $(srcdir)/macros/macros.pl version.mac \
|
2008-06-21 06:20:16 +08:00
|
|
|
$(srcdir)/macros/*.mac $(srcdir)/output/*.mac
|
2002-06-06 10:41:20 +08:00
|
|
|
|
|
|
|
# These source files are generated from regs.dat by yet another
|
|
|
|
# perl script.
|
2016-05-26 03:06:29 +08:00
|
|
|
x86/regs.c: x86/regs.dat x86/regs.pl
|
|
|
|
$(RUNPERL) $(srcdir)/x86/regs.pl c \
|
|
|
|
$(srcdir)/x86/regs.dat > x86/regs.c
|
|
|
|
x86/regflags.c: x86/regs.dat x86/regs.pl
|
|
|
|
$(RUNPERL) $(srcdir)/x86/regs.pl fc \
|
|
|
|
$(srcdir)/x86/regs.dat > x86/regflags.c
|
|
|
|
x86/regdis.c: x86/regs.dat x86/regs.pl
|
|
|
|
$(RUNPERL) $(srcdir)/x86/regs.pl dc \
|
|
|
|
$(srcdir)/x86/regs.dat > x86/regdis.c
|
|
|
|
x86/regdis.h: x86/regs.dat x86/regs.pl
|
|
|
|
$(RUNPERL) $(srcdir)/x86/regs.pl dh \
|
|
|
|
$(srcdir)/x86/regs.dat > x86/regdis.h
|
|
|
|
x86/regvals.c: x86/regs.dat x86/regs.pl
|
|
|
|
$(RUNPERL) $(srcdir)/x86/regs.pl vc \
|
|
|
|
$(srcdir)/x86/regs.dat > x86/regvals.c
|
|
|
|
x86/regs.h: x86/regs.dat x86/regs.pl
|
|
|
|
$(RUNPERL) $(srcdir)/x86/regs.pl h \
|
|
|
|
$(srcdir)/x86/regs.dat > x86/regs.h
|
2002-05-01 04:52:49 +08:00
|
|
|
|
2007-09-12 09:29:43 +08:00
|
|
|
# Assembler token hash
|
2016-05-26 03:06:29 +08:00
|
|
|
asm/tokhash.c: x86/insns.dat x86/regs.dat asm/tokens.dat asm/tokhash.pl \
|
|
|
|
perllib/phash.ph
|
|
|
|
$(RUNPERL) $(srcdir)/asm/tokhash.pl c \
|
|
|
|
$(srcdir)/x86/insns.dat $(srcdir)/x86/regs.dat \
|
|
|
|
$(srcdir)/asm/tokens.dat > asm/tokhash.c
|
2007-08-31 05:50:20 +08:00
|
|
|
|
2007-09-25 03:30:54 +08:00
|
|
|
# Assembler token metadata
|
2016-05-26 03:06:29 +08:00
|
|
|
asm/tokens.h: x86/insns.dat x86/regs.dat asm/tokens.dat asm/tokhash.pl \
|
|
|
|
perllib/phash.ph
|
|
|
|
$(RUNPERL) $(srcdir)/asm/tokhash.pl h \
|
|
|
|
$(srcdir)/x86/insns.dat $(srcdir)/x86/regs.dat \
|
|
|
|
$(srcdir)/asm/tokens.dat > asm/tokens.h
|
2007-09-25 03:30:54 +08:00
|
|
|
|
2007-09-12 09:29:43 +08:00
|
|
|
# Preprocessor token hash
|
2016-05-26 03:06:29 +08:00
|
|
|
asm/pptok.h: asm/pptok.dat asm/pptok.pl perllib/phash.ph
|
|
|
|
$(RUNPERL) $(srcdir)/asm/pptok.pl h \
|
|
|
|
$(srcdir)/asm/pptok.dat asm/pptok.h
|
|
|
|
asm/pptok.c: asm/pptok.dat asm/pptok.pl perllib/phash.ph
|
|
|
|
$(RUNPERL) $(srcdir)/asm/pptok.pl c \
|
|
|
|
$(srcdir)/asm/pptok.dat asm/pptok.c
|
|
|
|
asm/pptok.ph: asm/pptok.dat asm/pptok.pl perllib/phash.ph
|
|
|
|
$(RUNPERL) $(srcdir)/asm/pptok.pl ph \
|
|
|
|
$(srcdir)/asm/pptok.dat asm/pptok.ph
|
2007-09-12 09:29:43 +08:00
|
|
|
|
2009-07-13 03:04:56 +08:00
|
|
|
# Directives hash
|
2016-05-26 03:06:29 +08:00
|
|
|
asm/directiv.h: asm/directiv.dat asm/directiv.pl perllib/phash.ph
|
|
|
|
$(RUNPERL) $(srcdir)/asm/directiv.pl h \
|
|
|
|
$(srcdir)/asm/directiv.dat asm/directiv.h
|
|
|
|
asm/directiv.c: asm/directiv.dat asm/directiv.pl perllib/phash.ph
|
|
|
|
$(RUNPERL) $(srcdir)/asm/directiv.pl c \
|
|
|
|
$(srcdir)/asm/directiv.dat asm/directiv.c
|
2009-07-13 03:04:56 +08:00
|
|
|
|
2002-05-01 05:09:12 +08:00
|
|
|
# This target generates all files that require perl.
|
|
|
|
# This allows easier generation of distribution (see dist target).
|
2016-05-26 03:06:29 +08:00
|
|
|
PERLREQ = x86/insnsb.c x86/insnsa.c x86/insnsd.c x86/insnsi.h x86/insnsn.c \
|
|
|
|
x86/regs.c x86/regs.h x86/regflags.c x86/regdis.c x86/regdis.h \
|
|
|
|
x86/regvals.c asm/tokhash.c asm/tokens.h asm/pptok.h asm/pptok.c \
|
|
|
|
x86/iflag.c x86/iflaggen.h \
|
|
|
|
macros/macros.c \
|
|
|
|
asm/pptok.ph asm/directiv.c asm/directiv.h \
|
2016-03-04 13:37:37 +08:00
|
|
|
version.h version.mac version.mak nsis/version.nsh
|
2002-05-19 09:59:37 +08:00
|
|
|
perlreq: $(PERLREQ)
|
2002-05-01 05:09:12 +08:00
|
|
|
|
2016-03-04 13:37:37 +08:00
|
|
|
# NSIS is not built except by explicit request, as it only applies to
|
|
|
|
# Windows platforms
|
|
|
|
nsis/arch.nsh: nsis/getpearch.pl nasm$(X)
|
|
|
|
$(PERL) $(srcdir)/nsis/getpearch.pl nasm$(X) > nsis/arch.nsh
|
|
|
|
|
2016-05-17 11:30:09 +08:00
|
|
|
# Should only be done after "make everything".
|
|
|
|
# The use of redirection here keeps makensis from moving the cwd to the
|
|
|
|
# source directory.
|
2016-03-04 13:37:37 +08:00
|
|
|
nsis: nsis/nasm.nsi nsis/arch.nsh nsis/version.nsh
|
2016-05-17 11:30:09 +08:00
|
|
|
$(MAKENSIS) -Dsrcdir="$(srcdir)" -Dobjdir="$(objdir)" - < "$<"
|
2016-03-04 13:37:37 +08:00
|
|
|
|
2013-10-24 20:25:51 +08:00
|
|
|
# Generated manpages, also pregenerated for distribution
|
|
|
|
manpages: nasm.1 ndisasm.1
|
|
|
|
|
2002-05-19 10:02:20 +08:00
|
|
|
install: nasm$(X) ndisasm$(X)
|
2007-09-26 04:34:55 +08:00
|
|
|
$(MKDIR) -p $(INSTALLROOT)$(bindir)
|
2002-05-19 10:02:20 +08:00
|
|
|
$(INSTALL_PROGRAM) nasm$(X) $(INSTALLROOT)$(bindir)/nasm$(X)
|
|
|
|
$(INSTALL_PROGRAM) ndisasm$(X) $(INSTALLROOT)$(bindir)/ndisasm$(X)
|
2007-09-26 04:34:55 +08:00
|
|
|
$(MKDIR) -p $(INSTALLROOT)$(mandir)/man1
|
2002-05-01 04:58:18 +08:00
|
|
|
$(INSTALL_DATA) $(srcdir)/nasm.1 $(INSTALLROOT)$(mandir)/man1/nasm.1
|
|
|
|
$(INSTALL_DATA) $(srcdir)/ndisasm.1 $(INSTALLROOT)$(mandir)/man1/ndisasm.1
|
2002-05-01 04:52:49 +08:00
|
|
|
|
|
|
|
clean:
|
2016-07-14 08:21:59 +08:00
|
|
|
for d in . stdlib nasmlib output asm disasm x86 common macros; do \
|
2016-05-26 03:06:29 +08:00
|
|
|
$(RM) -f "$$d"/*.$(O) "$$d"/*.s "$$d"/*.i "$$d"/*.$(A) ; \
|
|
|
|
done
|
2007-09-26 04:34:55 +08:00
|
|
|
$(RM) -f nasm$(X) ndisasm$(X)
|
2016-03-04 13:37:37 +08:00
|
|
|
$(RM) -f nasm-*-installer-*.exe
|
2010-11-05 19:18:51 +08:00
|
|
|
$(RM) -f tags TAGS
|
2016-03-04 13:37:37 +08:00
|
|
|
$(RM) -f nsis/arch.nsh
|
2002-05-01 04:58:18 +08:00
|
|
|
cd rdoff && $(MAKE) clean
|
2002-05-01 04:52:49 +08:00
|
|
|
|
2002-05-01 04:54:58 +08:00
|
|
|
distclean: clean
|
2016-10-07 05:17:38 +08:00
|
|
|
$(RM) -f config.log config.status config/config.h
|
2007-09-26 04:34:55 +08:00
|
|
|
$(RM) -f Makefile *~ *.bak *.lst *.bin
|
|
|
|
$(RM) -f output/*~ output/*.bak
|
|
|
|
$(RM) -f test/*.lst test/*.bin test/*.$(O) test/*.bin
|
|
|
|
$(RM) -rf autom4te*.cache
|
2002-05-01 04:58:18 +08:00
|
|
|
cd rdoff && $(MAKE) distclean
|
2002-05-01 04:54:58 +08:00
|
|
|
|
|
|
|
cleaner: clean
|
2013-02-18 05:31:59 +08:00
|
|
|
$(RM) -f $(PERLREQ) *.1 nasm.spec
|
2002-05-01 04:58:18 +08:00
|
|
|
cd doc && $(MAKE) clean
|
2002-05-01 04:54:58 +08:00
|
|
|
|
|
|
|
spotless: distclean cleaner
|
2007-09-26 04:34:55 +08:00
|
|
|
$(RM) -f doc/Makefile doc/*~ doc/*.bak
|
2002-05-01 04:52:49 +08:00
|
|
|
|
2002-05-01 05:09:12 +08:00
|
|
|
strip:
|
2007-09-26 04:34:55 +08:00
|
|
|
$(STRIP) --strip-unneeded nasm$(X) ndisasm$(X)
|
2002-05-01 05:09:12 +08:00
|
|
|
|
2016-03-08 18:06:39 +08:00
|
|
|
rdf: $(NASMLIB)
|
2011-06-24 04:26:59 +08:00
|
|
|
cd rdoff && $(MAKE) all
|
2002-05-01 04:52:49 +08:00
|
|
|
|
2010-11-05 19:18:51 +08:00
|
|
|
TAGS:
|
|
|
|
$(RM) -f TAGS
|
|
|
|
$(FIND) . -name '*.[hcS]' -print | xargs etags -a
|
|
|
|
|
|
|
|
tags:
|
|
|
|
$(RM) -f tags
|
|
|
|
$(FIND) . -name '*.[hcS]' -print | xargs ctags -a
|
|
|
|
|
2010-12-26 04:32:09 +08:00
|
|
|
cscope:
|
|
|
|
$(RM) -f cscope.out cscope.files
|
|
|
|
$(FIND) . -name '*.[hcS]' -print > cscope.files
|
|
|
|
cscope -b -f cscope.out
|
|
|
|
|
2002-05-01 04:52:49 +08:00
|
|
|
rdf_install install_rdf:
|
2002-05-01 04:58:18 +08:00
|
|
|
cd rdoff && $(MAKE) install
|
|
|
|
|
|
|
|
doc:
|
|
|
|
cd doc && $(MAKE) all
|
|
|
|
|
|
|
|
doc_install install_doc:
|
|
|
|
cd doc && $(MAKE) install
|
|
|
|
|
2016-03-04 13:37:37 +08:00
|
|
|
everything: all manpages doc rdf
|
2002-05-01 04:58:18 +08:00
|
|
|
|
|
|
|
install_everything: everything install install_doc install_rdf
|
|
|
|
|
2013-10-24 20:57:57 +08:00
|
|
|
dist:
|
|
|
|
$(MAKE) alldeps
|
|
|
|
$(MAKE) spotless perlreq manpages spec
|
2003-09-01 12:19:37 +08:00
|
|
|
autoheader
|
2002-05-01 05:09:12 +08:00
|
|
|
autoconf
|
2007-09-26 04:34:55 +08:00
|
|
|
$(RM) -rf ./autom4te*.cache
|
2002-05-06 07:48:07 +08:00
|
|
|
|
|
|
|
tar: dist
|
2007-09-05 14:40:51 +08:00
|
|
|
tar -cvj --exclude CVS -C .. -f ../nasm-`cat version`-`date +%Y%m%d`.tar.bz2 `basename \`pwd\``
|
2002-05-04 13:14:03 +08:00
|
|
|
|
2002-05-21 10:46:45 +08:00
|
|
|
spec: nasm.spec
|
|
|
|
|
2007-09-23 07:35:11 +08:00
|
|
|
nasm.spec: nasm.spec.in version.sed
|
|
|
|
sed -f version.sed < nasm.spec.in > nasm.spec
|
2002-06-06 10:41:20 +08:00
|
|
|
|
2005-10-21 03:46:34 +08:00
|
|
|
splint:
|
2004-12-17 09:06:10 +08:00
|
|
|
splint -weak *.c
|
|
|
|
|
2008-06-04 18:44:31 +08:00
|
|
|
test: nasm$(X)
|
2016-02-18 16:54:30 +08:00
|
|
|
cd test && $(RUNPERL) performtest.pl --nasm=../nasm *.asm
|
2008-06-04 18:44:31 +08:00
|
|
|
|
2013-11-24 16:26:35 +08:00
|
|
|
golden: nasm$(X)
|
2016-02-18 16:54:30 +08:00
|
|
|
cd test && $(RUNPERL) performtest.pl --golden --nasm=../nasm *.asm
|
2013-11-24 16:26:35 +08:00
|
|
|
|
2002-06-06 10:41:20 +08:00
|
|
|
#
|
|
|
|
# This build dependencies in *ALL* makefiles. Partially for that reason,
|
|
|
|
# it's expected to be invoked manually.
|
|
|
|
#
|
2016-05-26 03:06:29 +08:00
|
|
|
alldeps: perlreq tools/syncfiles.pl tools/mkdep.pl
|
|
|
|
$(RUNPERL) tools/syncfiles.pl Makefile.in Mkfiles/*.mak
|
|
|
|
$(RUNPERL) tools/mkdep.pl -M Makefile.in Mkfiles/*.mak -- \
|
2016-10-07 05:08:31 +08:00
|
|
|
. include asm common config disasm macros nasmlib \
|
|
|
|
output stdlib x86
|
2002-06-06 10:41:20 +08:00
|
|
|
./config.status
|
|
|
|
|
|
|
|
#-- Magic hints to mkdep.pl --#
|
|
|
|
# @object-ending: ".$(O)"
|
|
|
|
# @path-separator: "/"
|
|
|
|
#-- Everything below is generated by mkdep.pl - do not edit --#
|
2016-08-17 05:48:54 +08:00
|
|
|
asm/assemble.$(O): asm/assemble.c asm/assemble.h asm/directiv.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/listing.h asm/pptok.h asm/preproc.h asm/tokens.h config/config.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/msvc.h config/unknown.h config/watcom.h include/compiler.h \
|
|
|
|
include/disp8.h include/iflag.h include/insns.h include/nasm.h \
|
|
|
|
include/nasmint.h include/nasmlib.h include/opflags.h include/strlist.h \
|
|
|
|
include/tables.h x86/iflaggen.h x86/insnsi.h x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
asm/directiv.$(O): asm/directiv.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
|
|
|
include/compiler.h include/hashtbl.h include/nasm.h include/nasmint.h \
|
2016-10-04 16:12:28 +08:00
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
x86/insnsi.h x86/regs.h
|
2016-10-20 04:23:04 +08:00
|
|
|
asm/eval.$(O): asm/eval.c asm/directiv.h asm/eval.h asm/float.h asm/pptok.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/labels.h include/nasm.h \
|
|
|
|
include/nasmint.h include/nasmlib.h include/opflags.h include/strlist.h \
|
|
|
|
include/tables.h x86/insnsi.h x86/regs.h
|
2017-03-01 10:14:35 +08:00
|
|
|
asm/exprdump.$(O): asm/exprdump.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
|
|
|
config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
|
|
|
include/compiler.h include/nasm.h include/nasmint.h include/nasmlib.h \
|
|
|
|
include/opflags.h include/strlist.h include/tables.h x86/insnsi.h \
|
|
|
|
x86/regs.h
|
2016-10-20 04:23:04 +08:00
|
|
|
asm/exprlib.$(O): asm/exprlib.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
|
|
|
config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
include/compiler.h include/nasm.h include/nasmint.h include/nasmlib.h \
|
|
|
|
include/opflags.h include/strlist.h include/tables.h x86/insnsi.h \
|
|
|
|
x86/regs.h
|
2016-10-20 04:23:04 +08:00
|
|
|
asm/float.$(O): asm/float.c asm/directiv.h asm/float.h asm/pptok.h \
|
|
|
|
asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
2016-10-04 16:12:28 +08:00
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
x86/insnsi.h x86/regs.h
|
2016-10-20 04:23:04 +08:00
|
|
|
asm/labels.$(O): asm/labels.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
|
|
|
config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
|
|
|
include/compiler.h include/hashtbl.h include/labels.h include/nasm.h \
|
|
|
|
include/nasmint.h include/nasmlib.h include/opflags.h include/strlist.h \
|
|
|
|
include/tables.h x86/insnsi.h x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/listing.$(O): asm/listing.c asm/directiv.h asm/listing.h asm/pptok.h \
|
|
|
|
asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
x86/insnsi.h x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
asm/nasm.$(O): asm/nasm.c asm/assemble.h asm/directiv.h asm/eval.h \
|
|
|
|
asm/float.h asm/listing.h asm/parser.h asm/pptok.h asm/preproc.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/stdscan.h asm/tokens.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/iflag.h include/insns.h \
|
|
|
|
include/labels.h include/nasm.h include/nasmint.h include/nasmlib.h \
|
|
|
|
include/opflags.h include/raa.h include/saa.h include/strlist.h \
|
|
|
|
include/tables.h include/ver.h output/outform.h x86/iflaggen.h x86/insnsi.h \
|
|
|
|
x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
asm/parser.$(O): asm/parser.c asm/directiv.h asm/eval.h asm/float.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/parser.h asm/pptok.h asm/preproc.h asm/stdscan.h asm/tokens.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
|
|
|
include/compiler.h include/iflag.h include/insns.h include/nasm.h \
|
|
|
|
include/nasmint.h include/nasmlib.h include/opflags.h include/strlist.h \
|
|
|
|
include/tables.h x86/iflaggen.h x86/insnsi.h x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/pptok.$(O): asm/pptok.c asm/pptok.h asm/preproc.h config/config.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/msvc.h config/unknown.h config/watcom.h include/compiler.h \
|
|
|
|
include/hashtbl.h include/nasmint.h include/nasmlib.h
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/preproc-nop.$(O): asm/preproc-nop.c asm/directiv.h asm/listing.h \
|
|
|
|
asm/pptok.h asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
x86/insnsi.h x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/preproc.$(O): asm/preproc.c asm/directiv.h asm/eval.h asm/listing.h \
|
|
|
|
asm/pptok.h asm/preproc.h asm/quote.h asm/stdscan.h asm/tokens.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
|
|
|
include/compiler.h include/hashtbl.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
x86/insnsi.h x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/quote.$(O): asm/quote.c asm/quote.h config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/nasmlib.h
|
2016-08-17 05:48:54 +08:00
|
|
|
asm/rdstrnum.$(O): asm/rdstrnum.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
|
|
|
include/compiler.h include/nasm.h include/nasmint.h include/nasmlib.h \
|
|
|
|
include/opflags.h include/strlist.h include/tables.h x86/insnsi.h \
|
|
|
|
x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
asm/segalloc.$(O): asm/segalloc.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
asm/tokens.h config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
include/compiler.h include/iflag.h include/insns.h include/nasm.h \
|
|
|
|
include/nasmint.h include/nasmlib.h include/opflags.h include/strlist.h \
|
|
|
|
include/tables.h x86/iflaggen.h x86/insnsi.h x86/regs.h
|
|
|
|
asm/stdscan.$(O): asm/stdscan.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
|
|
|
asm/quote.h asm/stdscan.h asm/tokens.h config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/iflag.h \
|
|
|
|
include/insns.h include/nasm.h include/nasmint.h include/nasmlib.h \
|
|
|
|
include/opflags.h include/strlist.h include/tables.h x86/iflaggen.h \
|
|
|
|
x86/insnsi.h x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
asm/strfunc.$(O): asm/strfunc.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
|
|
|
include/compiler.h include/nasm.h include/nasmint.h include/nasmlib.h \
|
|
|
|
include/opflags.h include/strlist.h include/tables.h x86/insnsi.h \
|
|
|
|
x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
asm/tokhash.$(O): asm/tokhash.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/stdscan.h asm/tokens.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/hashtbl.h include/iflag.h \
|
|
|
|
include/insns.h include/nasm.h include/nasmint.h include/nasmlib.h \
|
|
|
|
include/opflags.h include/strlist.h include/tables.h x86/iflaggen.h \
|
|
|
|
x86/insnsi.h x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
common/common.$(O): common/common.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
asm/tokens.h config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
2016-08-17 05:48:54 +08:00
|
|
|
include/compiler.h include/iflag.h include/insns.h include/nasm.h \
|
2016-10-04 16:12:28 +08:00
|
|
|
include/nasmint.h include/nasmlib.h include/opflags.h include/strlist.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
include/tables.h x86/iflaggen.h x86/insnsi.h x86/regs.h
|
|
|
|
disasm/disasm.$(O): disasm/disasm.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
asm/tokens.h config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
|
|
|
disasm/disasm.h disasm/sync.h include/compiler.h include/disp8.h \
|
|
|
|
include/iflag.h include/insns.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
x86/iflaggen.h x86/insnsi.h x86/regdis.h x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
disasm/ndisasm.$(O): disasm/ndisasm.c asm/directiv.h asm/pptok.h \
|
|
|
|
asm/preproc.h asm/tokens.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h disasm/disasm.h disasm/sync.h include/compiler.h \
|
|
|
|
include/iflag.h include/insns.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
include/ver.h x86/iflaggen.h x86/insnsi.h x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
disasm/sync.$(O): disasm/sync.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h disasm/sync.h include/compiler.h \
|
|
|
|
include/nasmint.h include/nasmlib.h
|
2016-08-17 05:48:54 +08:00
|
|
|
macros/macros.$(O): macros/macros.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
|
|
|
include/compiler.h include/hashtbl.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
output/outform.h x86/insnsi.h x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/bsi.$(O): nasmlib/bsi.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
include/nasmlib.h
|
2016-10-20 04:23:04 +08:00
|
|
|
nasmlib/crc64.$(O): nasmlib/crc64.c config/config.h config/msvc.h \
|
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/hashtbl.h \
|
|
|
|
include/nasmint.h include/nasmlib.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/error.$(O): nasmlib/error.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/nasmlib.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/file.$(O): nasmlib/file.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
2017-02-24 10:39:00 +08:00
|
|
|
include/nasmlib.h nasmlib/file.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/filename.$(O): nasmlib/filename.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/nasmlib.h
|
2016-08-17 05:48:54 +08:00
|
|
|
nasmlib/hashtbl.$(O): nasmlib/hashtbl.c asm/directiv.h asm/pptok.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/hashtbl.h include/nasm.h \
|
|
|
|
include/nasmint.h include/nasmlib.h include/opflags.h include/strlist.h \
|
|
|
|
include/tables.h x86/insnsi.h x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/ilog2.$(O): nasmlib/ilog2.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/nasmlib.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/malloc.$(O): nasmlib/malloc.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/nasmlib.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/md5c.$(O): nasmlib/md5c.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/md5.h \
|
|
|
|
include/nasmint.h
|
2017-02-24 10:39:00 +08:00
|
|
|
nasmlib/mmap.$(O): nasmlib/mmap.c config/config.h config/msvc.h \
|
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/nasmlib.h nasmlib/file.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/raa.$(O): nasmlib/raa.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/raa.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/rbtree.$(O): nasmlib/rbtree.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/rbtree.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/readnum.$(O): nasmlib/readnum.c asm/directiv.h asm/pptok.h \
|
|
|
|
asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
x86/insnsi.h x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/realpath.$(O): nasmlib/realpath.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/nasmlib.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/saa.$(O): nasmlib/saa.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/saa.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/srcfile.$(O): nasmlib/srcfile.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/hashtbl.h \
|
|
|
|
include/nasmint.h include/nasmlib.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/string.$(O): nasmlib/string.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/nasmlib.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/strlist.$(O): nasmlib/strlist.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/strlist.h
|
2016-05-26 03:06:29 +08:00
|
|
|
nasmlib/ver.$(O): nasmlib/ver.c include/ver.h version.h
|
2016-10-07 05:08:31 +08:00
|
|
|
nasmlib/zerobuf.$(O): nasmlib/zerobuf.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/nasmlib.h
|
2016-08-17 05:48:54 +08:00
|
|
|
output/codeview.$(O): output/codeview.c asm/directiv.h asm/pptok.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/hashtbl.h include/md5.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
include/nasm.h include/nasmint.h include/nasmlib.h include/opflags.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
include/saa.h include/strlist.h include/tables.h output/outlib.h \
|
|
|
|
output/pecoff.h version.h x86/insnsi.h x86/regs.h
|
|
|
|
output/legacy.$(O): output/legacy.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
|
|
|
config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
include/compiler.h include/nasm.h include/nasmint.h include/nasmlib.h \
|
|
|
|
include/opflags.h include/strlist.h include/tables.h output/outlib.h \
|
|
|
|
x86/insnsi.h x86/regs.h
|
2016-10-20 04:23:04 +08:00
|
|
|
output/nulldbg.$(O): output/nulldbg.c asm/directiv.h asm/pptok.h \
|
|
|
|
asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
output/outlib.h x86/insnsi.h x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
output/nullout.$(O): output/nullout.c asm/directiv.h asm/pptok.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
output/outlib.h x86/insnsi.h x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
output/outaout.$(O): output/outaout.c asm/directiv.h asm/eval.h asm/pptok.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/preproc.h asm/stdscan.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/raa.h include/saa.h \
|
|
|
|
include/strlist.h include/tables.h output/outform.h output/outlib.h \
|
|
|
|
x86/insnsi.h x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
output/outas86.$(O): output/outas86.c asm/directiv.h asm/pptok.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/raa.h include/saa.h \
|
|
|
|
include/strlist.h include/tables.h output/outform.h output/outlib.h \
|
|
|
|
x86/insnsi.h x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
output/outbin.$(O): output/outbin.c asm/directiv.h asm/eval.h asm/pptok.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/preproc.h asm/stdscan.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/labels.h include/nasm.h \
|
|
|
|
include/nasmint.h include/nasmlib.h include/opflags.h include/saa.h \
|
|
|
|
include/strlist.h include/tables.h output/outform.h output/outlib.h \
|
|
|
|
x86/insnsi.h x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
output/outcoff.$(O): output/outcoff.c asm/directiv.h asm/eval.h asm/pptok.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/raa.h include/saa.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
include/strlist.h include/tables.h output/outform.h output/outlib.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
output/pecoff.h x86/insnsi.h x86/regs.h
|
|
|
|
output/outdbg.$(O): output/outdbg.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
|
|
|
config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
|
|
|
include/compiler.h include/nasm.h include/nasmint.h include/nasmlib.h \
|
|
|
|
include/opflags.h include/strlist.h include/tables.h output/outform.h \
|
|
|
|
output/outlib.h x86/insnsi.h x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
output/outelf.$(O): output/outelf.c asm/directiv.h asm/eval.h asm/pptok.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/preproc.h asm/stdscan.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/raa.h include/rbtree.h \
|
|
|
|
include/saa.h include/strlist.h include/tables.h include/ver.h \
|
|
|
|
output/dwarf.h output/elf.h output/outelf.h output/outform.h \
|
|
|
|
output/outlib.h output/stabs.h x86/insnsi.h x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
output/outform.$(O): output/outform.c asm/directiv.h asm/pptok.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
output/outform.h x86/insnsi.h x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
output/outieee.$(O): output/outieee.c asm/directiv.h asm/pptok.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
include/ver.h output/outform.h output/outlib.h x86/insnsi.h x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
output/outlib.$(O): output/outlib.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
include/compiler.h include/nasm.h include/nasmint.h include/nasmlib.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
include/opflags.h include/strlist.h include/tables.h output/outlib.h \
|
2016-10-04 16:12:28 +08:00
|
|
|
x86/insnsi.h x86/regs.h
|
2016-10-20 04:23:04 +08:00
|
|
|
output/outmacho.$(O): output/outmacho.c asm/directiv.h asm/pptok.h \
|
|
|
|
asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/raa.h include/rbtree.h \
|
|
|
|
include/saa.h include/strlist.h include/tables.h output/outform.h \
|
|
|
|
output/outlib.h x86/insnsi.h x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
output/outobj.$(O): output/outobj.c asm/directiv.h asm/eval.h asm/pptok.h \
|
|
|
|
asm/preproc.h asm/stdscan.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
include/ver.h output/outform.h output/outlib.h x86/insnsi.h x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
output/outrdf2.$(O): output/outrdf2.c asm/directiv.h asm/pptok.h \
|
|
|
|
asm/preproc.h config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/rdoff.h include/saa.h \
|
|
|
|
include/strlist.h include/tables.h output/outform.h output/outlib.h \
|
|
|
|
x86/insnsi.h x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
stdlib/snprintf.$(O): stdlib/snprintf.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/nasmlib.h
|
2016-10-07 05:08:31 +08:00
|
|
|
stdlib/strlcpy.$(O): stdlib/strlcpy.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h
|
2016-10-07 05:08:31 +08:00
|
|
|
stdlib/strnlen.$(O): stdlib/strnlen.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h
|
2016-10-07 05:08:31 +08:00
|
|
|
stdlib/vsnprintf.$(O): stdlib/vsnprintf.c config/config.h config/msvc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/nasmlib.h
|
2016-08-17 05:48:54 +08:00
|
|
|
x86/disp8.$(O): x86/disp8.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
|
|
|
include/compiler.h include/disp8.h include/nasm.h include/nasmint.h \
|
|
|
|
include/nasmlib.h include/opflags.h include/strlist.h include/tables.h \
|
|
|
|
x86/insnsi.h x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
x86/iflag.$(O): x86/iflag.c config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/iflag.h include/nasmint.h \
|
|
|
|
x86/iflaggen.h
|
2016-08-17 05:48:54 +08:00
|
|
|
x86/insnsa.$(O): x86/insnsa.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
asm/tokens.h config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
include/compiler.h include/iflag.h include/insns.h include/nasm.h \
|
|
|
|
include/nasmint.h include/nasmlib.h include/opflags.h include/strlist.h \
|
|
|
|
include/tables.h x86/iflaggen.h x86/insnsi.h x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
x86/insnsb.$(O): x86/insnsb.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
asm/tokens.h config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
include/compiler.h include/iflag.h include/insns.h include/nasm.h \
|
|
|
|
include/nasmint.h include/nasmlib.h include/opflags.h include/strlist.h \
|
|
|
|
include/tables.h x86/iflaggen.h x86/insnsi.h x86/regs.h
|
2016-08-17 05:48:54 +08:00
|
|
|
x86/insnsd.$(O): x86/insnsd.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
asm/tokens.h config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
include/compiler.h include/iflag.h include/insns.h include/nasm.h \
|
|
|
|
include/nasmint.h include/nasmlib.h include/opflags.h include/strlist.h \
|
|
|
|
include/tables.h x86/iflaggen.h x86/insnsi.h x86/regs.h
|
|
|
|
x86/insnsn.$(O): x86/insnsn.c config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/nasmint.h include/tables.h \
|
|
|
|
x86/insnsi.h
|
2016-08-17 05:48:54 +08:00
|
|
|
x86/regdis.$(O): x86/regdis.c x86/regdis.h x86/regs.h
|
|
|
|
x86/regflags.$(O): x86/regflags.c asm/directiv.h asm/pptok.h asm/preproc.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/config.h config/msvc.h config/unknown.h config/watcom.h \
|
|
|
|
include/compiler.h include/nasm.h include/nasmint.h include/nasmlib.h \
|
|
|
|
include/opflags.h include/strlist.h include/tables.h x86/insnsi.h \
|
|
|
|
x86/regs.h
|
2016-10-07 05:08:31 +08:00
|
|
|
x86/regs.$(O): x86/regs.c config/config.h config/msvc.h config/unknown.h \
|
2016-10-20 04:23:04 +08:00
|
|
|
config/watcom.h include/compiler.h include/nasmint.h include/tables.h \
|
2016-10-07 05:08:31 +08:00
|
|
|
x86/insnsi.h
|
2016-10-20 04:23:04 +08:00
|
|
|
x86/regvals.$(O): x86/regvals.c config/config.h config/msvc.h \
|
|
|
|
config/unknown.h config/watcom.h include/compiler.h include/nasmint.h \
|
|
|
|
include/tables.h x86/insnsi.h
|