summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-20 15:20:16 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-20 15:20:16 -0700
commitcfb7176ca211d2bdc8c790c1b49e6f29db42f777 (patch)
tree5c8749b99df0ac2a1b508d2e2e52248e3a170dc0 /Makefile.in
parent76cbaa4b2e433ed78031dc75ae1b3183867c55ab (diff)
downloadnasm-cfb7176ca211d2bdc8c790c1b49e6f29db42f777.tar.gz
nasm-cfb7176ca211d2bdc8c790c1b49e6f29db42f777.tar.bz2
nasm-cfb7176ca211d2bdc8c790c1b49e6f29db42f777.zip
Move the output format macros into the macros.pl mechanism
Move the handling of "extra" macros (i.e. output format macros) into the macros.pl mechanism. This allows us to change the format of the internal macro store in the future - e.g. to a single byte store without redundant pointers. Also, stop using indicies into a long array when there is no good reason to not just use different arrays.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index f8f3361..d6b6544 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -114,9 +114,10 @@ version.sed: version version.pl
# This source file is generated from the standard macros file
# `standard.mac' by another Perl script. Again, it's part of the
# standard distribution.
-macros.c: macros.pl pptok.ph standard.mac version.mac $(srcdir)/macros/*.mac
+macros.c: macros.pl pptok.ph standard.mac version.mac \
+ $(srcdir)/macros/*.mac $(srcdir)/output/*.mac
$(PERL) $(srcdir)/macros.pl $(srcdir)/standard.mac version.mac \
- $(srcdir)/macros/*.mac
+ $(srcdir)/macros/*.mac $(srcdir)/output/*.mac
# These source files are generated from regs.dat by yet another
# perl script.