mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-25 18:10:23 +08:00
Move version strings to a separate header
Move version strings to a separate header, instead of needing to include nasm.h in places where it probably really doesn't belong. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
cc147f79e4
commit
2bc0ab38a2
17
Makefile.in
17
Makefile.in
@ -369,6 +369,7 @@ lib/nasmlib.$(O): lib/nasmlib.c compiler.h config.h directiv.h iflag.h \
|
||||
lib/realpath.$(O): lib/realpath.c compiler.h config.h nasmlib.h
|
||||
lib/snprintf.$(O): lib/snprintf.c compiler.h config.h nasmlib.h
|
||||
lib/strlcpy.$(O): lib/strlcpy.c compiler.h config.h
|
||||
lib/ver.$(O): lib/ver.c ver.h version.h
|
||||
lib/vsnprintf.$(O): lib/vsnprintf.c compiler.h config.h nasmlib.h
|
||||
listing.$(O): listing.c compiler.h config.h directiv.h insnsi.h listing.h \
|
||||
nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
|
||||
@ -378,10 +379,10 @@ macros.$(O): macros.c compiler.h config.h directiv.h hashtbl.h insnsi.h \
|
||||
nasm.$(O): nasm.c assemble.h compiler.h config.h directiv.h eval.h float.h \
|
||||
iflag.h iflaggen.h insns.h insnsi.h labels.h listing.h nasm.h nasmlib.h \
|
||||
opflags.h output/outform.h parser.h pptok.h preproc.h raa.h regs.h saa.h \
|
||||
stdscan.h tables.h tokens.h
|
||||
stdscan.h tables.h tokens.h ver.h
|
||||
ndisasm.$(O): ndisasm.c compiler.h config.h directiv.h disasm.h iflag.h \
|
||||
iflaggen.h insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h \
|
||||
regs.h sync.h tables.h tokens.h
|
||||
regs.h sync.h tables.h tokens.h ver.h
|
||||
output/codeview.$(O): output/codeview.c compiler.h config.h directiv.h \
|
||||
insnsi.h md5.h nasm.h nasmlib.h opflags.h output/outlib.h output/pecoff.h \
|
||||
pptok.h preproc.h regs.h saa.h tables.h version.h
|
||||
@ -412,21 +413,21 @@ output/outelf.$(O): output/outelf.c compiler.h config.h directiv.h insnsi.h \
|
||||
output/outelf32.$(O): output/outelf32.c compiler.h config.h directiv.h \
|
||||
eval.h insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h \
|
||||
output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h \
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
|
||||
output/outelf64.$(O): output/outelf64.c compiler.h config.h directiv.h \
|
||||
eval.h insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h \
|
||||
output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h \
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
|
||||
output/outelfx32.$(O): output/outelfx32.c compiler.h config.h directiv.h \
|
||||
eval.h insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h \
|
||||
output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h \
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
|
||||
output/outform.$(O): output/outform.c compiler.h config.h directiv.h \
|
||||
insnsi.h nasm.h nasmlib.h opflags.h output/outform.h pptok.h preproc.h \
|
||||
regs.h tables.h
|
||||
output/outieee.$(O): output/outieee.c compiler.h config.h directiv.h \
|
||||
insnsi.h nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h \
|
||||
pptok.h preproc.h regs.h tables.h
|
||||
pptok.h preproc.h regs.h tables.h ver.h
|
||||
output/outlib.$(O): output/outlib.c compiler.h config.h directiv.h insnsi.h \
|
||||
nasm.h nasmlib.h opflags.h output/outlib.h pptok.h preproc.h regs.h \
|
||||
tables.h
|
||||
@ -435,7 +436,7 @@ output/outmacho.$(O): output/outmacho.c compiler.h config.h directiv.h \
|
||||
pptok.h preproc.h raa.h rbtree.h regs.h saa.h tables.h
|
||||
output/outobj.$(O): output/outobj.c compiler.h config.h directiv.h eval.h \
|
||||
insnsi.h nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h \
|
||||
pptok.h preproc.h regs.h stdscan.h tables.h
|
||||
pptok.h preproc.h regs.h stdscan.h tables.h ver.h
|
||||
output/outrdf2.$(O): output/outrdf2.c compiler.h config.h directiv.h \
|
||||
insnsi.h nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h \
|
||||
pptok.h preproc.h rdoff/rdoff.h regs.h saa.h tables.h
|
||||
@ -467,5 +468,3 @@ sync.$(O): sync.c compiler.h config.h nasmlib.h sync.h
|
||||
tokhash.$(O): tokhash.c compiler.h config.h directiv.h hashtbl.h iflag.h \
|
||||
iflaggen.h insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h \
|
||||
regs.h stdscan.h tables.h tokens.h
|
||||
ver.$(O): ver.c compiler.h config.h directiv.h insnsi.h nasm.h nasmlib.h \
|
||||
opflags.h pptok.h preproc.h regs.h tables.h version.h
|
||||
|
@ -271,6 +271,7 @@ lib/nasmlib.$(O): lib/nasmlib.c compiler.h directiv.h iflag.h iflaggen.h \
|
||||
lib/realpath.$(O): lib/realpath.c compiler.h nasmlib.h
|
||||
lib/snprintf.$(O): lib/snprintf.c compiler.h nasmlib.h
|
||||
lib/strlcpy.$(O): lib/strlcpy.c compiler.h
|
||||
lib/ver.$(O): lib/ver.c ver.h version.h
|
||||
lib/vsnprintf.$(O): lib/vsnprintf.c compiler.h nasmlib.h
|
||||
listing.$(O): listing.c compiler.h directiv.h insnsi.h listing.h nasm.h \
|
||||
nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
|
||||
@ -279,10 +280,10 @@ macros.$(O): macros.c compiler.h directiv.h hashtbl.h insnsi.h nasm.h \
|
||||
nasm.$(O): nasm.c assemble.h compiler.h directiv.h eval.h float.h iflag.h \
|
||||
iflaggen.h insns.h insnsi.h labels.h listing.h nasm.h nasmlib.h opflags.h \
|
||||
output/outform.h parser.h pptok.h preproc.h raa.h regs.h saa.h stdscan.h \
|
||||
tables.h tokens.h
|
||||
tables.h tokens.h ver.h
|
||||
ndisasm.$(O): ndisasm.c compiler.h directiv.h disasm.h iflag.h iflaggen.h \
|
||||
insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h sync.h \
|
||||
tables.h tokens.h
|
||||
tables.h tokens.h ver.h
|
||||
output/codeview.$(O): output/codeview.c compiler.h directiv.h insnsi.h md5.h \
|
||||
nasm.h nasmlib.h opflags.h output/outlib.h output/pecoff.h pptok.h \
|
||||
preproc.h regs.h saa.h tables.h version.h
|
||||
@ -310,20 +311,20 @@ output/outelf.$(O): output/outelf.c compiler.h directiv.h insnsi.h nasm.h \
|
||||
output/outelf32.$(O): output/outelf32.c compiler.h directiv.h eval.h \
|
||||
insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h \
|
||||
output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h \
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
|
||||
output/outelf64.$(O): output/outelf64.c compiler.h directiv.h eval.h \
|
||||
insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h \
|
||||
output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h \
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
|
||||
output/outelfx32.$(O): output/outelfx32.c compiler.h directiv.h eval.h \
|
||||
insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h \
|
||||
output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h \
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
|
||||
output/outform.$(O): output/outform.c compiler.h directiv.h insnsi.h nasm.h \
|
||||
nasmlib.h opflags.h output/outform.h pptok.h preproc.h regs.h tables.h
|
||||
output/outieee.$(O): output/outieee.c compiler.h directiv.h insnsi.h nasm.h \
|
||||
nasmlib.h opflags.h output/outform.h output/outlib.h pptok.h preproc.h \
|
||||
regs.h tables.h
|
||||
regs.h tables.h ver.h
|
||||
output/outlib.$(O): output/outlib.c compiler.h directiv.h insnsi.h nasm.h \
|
||||
nasmlib.h opflags.h output/outlib.h pptok.h preproc.h regs.h tables.h
|
||||
output/outmacho.$(O): output/outmacho.c compiler.h directiv.h insnsi.h \
|
||||
@ -331,7 +332,7 @@ output/outmacho.$(O): output/outmacho.c compiler.h directiv.h insnsi.h \
|
||||
preproc.h raa.h rbtree.h regs.h saa.h tables.h
|
||||
output/outobj.$(O): output/outobj.c compiler.h directiv.h eval.h insnsi.h \
|
||||
nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h pptok.h \
|
||||
preproc.h regs.h stdscan.h tables.h
|
||||
preproc.h regs.h stdscan.h tables.h ver.h
|
||||
output/outrdf2.$(O): output/outrdf2.c compiler.h directiv.h insnsi.h nasm.h \
|
||||
nasmlib.h opflags.h output/outform.h output/outlib.h pptok.h preproc.h \
|
||||
rdoff/rdoff.h regs.h saa.h tables.h
|
||||
@ -362,5 +363,3 @@ sync.$(O): sync.c compiler.h nasmlib.h sync.h
|
||||
tokhash.$(O): tokhash.c compiler.h directiv.h hashtbl.h iflag.h iflaggen.h \
|
||||
insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h \
|
||||
stdscan.h tables.h tokens.h
|
||||
ver.$(O): ver.c compiler.h directiv.h insnsi.h nasm.h nasmlib.h opflags.h \
|
||||
pptok.h preproc.h regs.h tables.h version.h
|
||||
|
@ -176,6 +176,7 @@ nasmlib.o: nasmlib.c compiler.h config.h directiv.h iflag.h iflaggen.h \
|
||||
realpath.o: realpath.c compiler.h config.h nasmlib.h
|
||||
snprintf.o: snprintf.c compiler.h config.h nasmlib.h
|
||||
strlcpy.o: strlcpy.c compiler.h config.h
|
||||
ver.o: ver.c ver.h version.h
|
||||
vsnprintf.o: vsnprintf.c compiler.h config.h nasmlib.h
|
||||
listing.o: listing.c compiler.h config.h directiv.h insnsi.h listing.h \
|
||||
nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
|
||||
@ -184,10 +185,10 @@ macros.o: macros.c compiler.h config.h directiv.h hashtbl.h insnsi.h nasm.h \
|
||||
nasm.o: nasm.c assemble.h compiler.h config.h directiv.h eval.h float.h \
|
||||
iflag.h iflaggen.h insns.h insnsi.h labels.h listing.h nasm.h nasmlib.h \
|
||||
opflags.h outform.h parser.h pptok.h preproc.h raa.h regs.h saa.h stdscan.h \
|
||||
tables.h tokens.h
|
||||
tables.h tokens.h ver.h
|
||||
ndisasm.o: ndisasm.c compiler.h config.h directiv.h disasm.h iflag.h \
|
||||
iflaggen.h insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h \
|
||||
regs.h sync.h tables.h tokens.h
|
||||
regs.h sync.h tables.h tokens.h ver.h
|
||||
codeview.o: codeview.c compiler.h config.h directiv.h insnsi.h md5.h nasm.h \
|
||||
nasmlib.h opflags.h outlib.h pecoff.h pptok.h preproc.h regs.h saa.h \
|
||||
tables.h version.h
|
||||
@ -214,17 +215,19 @@ outelf.o: outelf.c compiler.h config.h directiv.h insnsi.h nasm.h nasmlib.h \
|
||||
regs.h saa.h tables.h
|
||||
outelf32.o: outelf32.c compiler.h config.h directiv.h eval.h insnsi.h nasm.h \
|
||||
nasmlib.h opflags.h dwarf.h elf.h outelf.h outform.h outlib.h stabs.h \
|
||||
pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
|
||||
outelf64.o: outelf64.c compiler.h config.h directiv.h eval.h insnsi.h nasm.h \
|
||||
nasmlib.h opflags.h dwarf.h elf.h outelf.h outform.h outlib.h stabs.h \
|
||||
pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
|
||||
outelfx32.o: outelfx32.c compiler.h config.h directiv.h eval.h insnsi.h \
|
||||
nasm.h nasmlib.h opflags.h dwarf.h elf.h outelf.h outform.h outlib.h \
|
||||
stabs.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
stabs.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h \
|
||||
ver.h
|
||||
outform.o: outform.c compiler.h config.h directiv.h insnsi.h nasm.h \
|
||||
nasmlib.h opflags.h outform.h pptok.h preproc.h regs.h tables.h
|
||||
outieee.o: outieee.c compiler.h config.h directiv.h insnsi.h nasm.h \
|
||||
nasmlib.h opflags.h outform.h outlib.h pptok.h preproc.h regs.h tables.h
|
||||
nasmlib.h opflags.h outform.h outlib.h pptok.h preproc.h regs.h tables.h \
|
||||
ver.h
|
||||
outlib.o: outlib.c compiler.h config.h directiv.h insnsi.h nasm.h nasmlib.h \
|
||||
opflags.h outlib.h pptok.h preproc.h regs.h tables.h
|
||||
outmacho.o: outmacho.c compiler.h config.h directiv.h insnsi.h nasm.h \
|
||||
@ -232,7 +235,7 @@ outmacho.o: outmacho.c compiler.h config.h directiv.h insnsi.h nasm.h \
|
||||
regs.h saa.h tables.h
|
||||
outobj.o: outobj.c compiler.h config.h directiv.h eval.h insnsi.h nasm.h \
|
||||
nasmlib.h opflags.h outform.h outlib.h pptok.h preproc.h regs.h stdscan.h \
|
||||
tables.h
|
||||
tables.h ver.h
|
||||
outrdf2.o: outrdf2.c compiler.h config.h directiv.h insnsi.h nasm.h \
|
||||
nasmlib.h opflags.h outform.h outlib.h pptok.h preproc.h rdoff.h regs.h \
|
||||
saa.h tables.h
|
||||
@ -263,5 +266,3 @@ sync.o: sync.c compiler.h config.h nasmlib.h sync.h
|
||||
tokhash.o: tokhash.c compiler.h config.h directiv.h hashtbl.h iflag.h \
|
||||
iflaggen.h insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h \
|
||||
regs.h stdscan.h tables.h tokens.h
|
||||
ver.o: ver.c compiler.h config.h directiv.h insnsi.h nasm.h nasmlib.h \
|
||||
opflags.h pptok.h preproc.h regs.h tables.h version.h
|
||||
|
@ -313,6 +313,7 @@ lib/nasmlib.$(O): lib/nasmlib.c compiler.h config.h directiv.h iflag.h &
|
||||
lib/realpath.$(O): lib/realpath.c compiler.h config.h nasmlib.h
|
||||
lib/snprintf.$(O): lib/snprintf.c compiler.h config.h nasmlib.h
|
||||
lib/strlcpy.$(O): lib/strlcpy.c compiler.h config.h
|
||||
lib/ver.$(O): lib/ver.c ver.h version.h
|
||||
lib/vsnprintf.$(O): lib/vsnprintf.c compiler.h config.h nasmlib.h
|
||||
listing.$(O): listing.c compiler.h config.h directiv.h insnsi.h listing.h &
|
||||
nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
|
||||
@ -322,10 +323,10 @@ macros.$(O): macros.c compiler.h config.h directiv.h hashtbl.h insnsi.h &
|
||||
nasm.$(O): nasm.c assemble.h compiler.h config.h directiv.h eval.h float.h &
|
||||
iflag.h iflaggen.h insns.h insnsi.h labels.h listing.h nasm.h nasmlib.h &
|
||||
opflags.h output/outform.h parser.h pptok.h preproc.h raa.h regs.h saa.h &
|
||||
stdscan.h tables.h tokens.h
|
||||
stdscan.h tables.h tokens.h ver.h
|
||||
ndisasm.$(O): ndisasm.c compiler.h config.h directiv.h disasm.h iflag.h &
|
||||
iflaggen.h insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h &
|
||||
regs.h sync.h tables.h tokens.h
|
||||
regs.h sync.h tables.h tokens.h ver.h
|
||||
output/codeview.$(O): output/codeview.c compiler.h config.h directiv.h &
|
||||
insnsi.h md5.h nasm.h nasmlib.h opflags.h output/outlib.h output/pecoff.h &
|
||||
pptok.h preproc.h regs.h saa.h tables.h version.h
|
||||
@ -356,21 +357,21 @@ output/outelf.$(O): output/outelf.c compiler.h config.h directiv.h insnsi.h &
|
||||
output/outelf32.$(O): output/outelf32.c compiler.h config.h directiv.h &
|
||||
eval.h insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h &
|
||||
output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h &
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
|
||||
output/outelf64.$(O): output/outelf64.c compiler.h config.h directiv.h &
|
||||
eval.h insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h &
|
||||
output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h &
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
|
||||
output/outelfx32.$(O): output/outelfx32.c compiler.h config.h directiv.h &
|
||||
eval.h insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h &
|
||||
output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h &
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
|
||||
output/outform.$(O): output/outform.c compiler.h config.h directiv.h &
|
||||
insnsi.h nasm.h nasmlib.h opflags.h output/outform.h pptok.h preproc.h &
|
||||
regs.h tables.h
|
||||
output/outieee.$(O): output/outieee.c compiler.h config.h directiv.h &
|
||||
insnsi.h nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h &
|
||||
pptok.h preproc.h regs.h tables.h
|
||||
pptok.h preproc.h regs.h tables.h ver.h
|
||||
output/outlib.$(O): output/outlib.c compiler.h config.h directiv.h insnsi.h &
|
||||
nasm.h nasmlib.h opflags.h output/outlib.h pptok.h preproc.h regs.h &
|
||||
tables.h
|
||||
@ -379,7 +380,7 @@ output/outmacho.$(O): output/outmacho.c compiler.h config.h directiv.h &
|
||||
pptok.h preproc.h raa.h rbtree.h regs.h saa.h tables.h
|
||||
output/outobj.$(O): output/outobj.c compiler.h config.h directiv.h eval.h &
|
||||
insnsi.h nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h &
|
||||
pptok.h preproc.h regs.h stdscan.h tables.h
|
||||
pptok.h preproc.h regs.h stdscan.h tables.h ver.h
|
||||
output/outrdf2.$(O): output/outrdf2.c compiler.h config.h directiv.h &
|
||||
insnsi.h nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h &
|
||||
pptok.h preproc.h rdoff/rdoff.h regs.h saa.h tables.h
|
||||
@ -411,5 +412,3 @@ sync.$(O): sync.c compiler.h config.h nasmlib.h sync.h
|
||||
tokhash.$(O): tokhash.c compiler.h config.h directiv.h hashtbl.h iflag.h &
|
||||
iflaggen.h insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h &
|
||||
regs.h stdscan.h tables.h tokens.h
|
||||
ver.$(O): ver.c compiler.h config.h directiv.h insnsi.h nasm.h nasmlib.h &
|
||||
opflags.h pptok.h preproc.h regs.h tables.h version.h
|
||||
|
@ -282,6 +282,7 @@ lib/nasmlib.$(O): lib/nasmlib.c compiler.h directiv.h iflag.h iflaggen.h \
|
||||
lib/realpath.$(O): lib/realpath.c compiler.h nasmlib.h
|
||||
lib/snprintf.$(O): lib/snprintf.c compiler.h nasmlib.h
|
||||
lib/strlcpy.$(O): lib/strlcpy.c compiler.h
|
||||
lib/ver.$(O): lib/ver.c ver.h version.h
|
||||
lib/vsnprintf.$(O): lib/vsnprintf.c compiler.h nasmlib.h
|
||||
listing.$(O): listing.c compiler.h directiv.h insnsi.h listing.h nasm.h \
|
||||
nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
|
||||
@ -290,10 +291,10 @@ macros.$(O): macros.c compiler.h directiv.h hashtbl.h insnsi.h nasm.h \
|
||||
nasm.$(O): nasm.c assemble.h compiler.h directiv.h eval.h float.h iflag.h \
|
||||
iflaggen.h insns.h insnsi.h labels.h listing.h nasm.h nasmlib.h opflags.h \
|
||||
output/outform.h parser.h pptok.h preproc.h raa.h regs.h saa.h stdscan.h \
|
||||
tables.h tokens.h
|
||||
tables.h tokens.h ver.h
|
||||
ndisasm.$(O): ndisasm.c compiler.h directiv.h disasm.h iflag.h iflaggen.h \
|
||||
insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h sync.h \
|
||||
tables.h tokens.h
|
||||
tables.h tokens.h ver.h
|
||||
output/codeview.$(O): output/codeview.c compiler.h directiv.h insnsi.h md5.h \
|
||||
nasm.h nasmlib.h opflags.h output/outlib.h output/pecoff.h pptok.h \
|
||||
preproc.h regs.h saa.h tables.h version.h
|
||||
@ -321,20 +322,20 @@ output/outelf.$(O): output/outelf.c compiler.h directiv.h insnsi.h nasm.h \
|
||||
output/outelf32.$(O): output/outelf32.c compiler.h directiv.h eval.h \
|
||||
insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h \
|
||||
output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h \
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
|
||||
output/outelf64.$(O): output/outelf64.c compiler.h directiv.h eval.h \
|
||||
insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h \
|
||||
output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h \
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
|
||||
output/outelfx32.$(O): output/outelfx32.c compiler.h directiv.h eval.h \
|
||||
insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h \
|
||||
output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h \
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
|
||||
preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
|
||||
output/outform.$(O): output/outform.c compiler.h directiv.h insnsi.h nasm.h \
|
||||
nasmlib.h opflags.h output/outform.h pptok.h preproc.h regs.h tables.h
|
||||
output/outieee.$(O): output/outieee.c compiler.h directiv.h insnsi.h nasm.h \
|
||||
nasmlib.h opflags.h output/outform.h output/outlib.h pptok.h preproc.h \
|
||||
regs.h tables.h
|
||||
regs.h tables.h ver.h
|
||||
output/outlib.$(O): output/outlib.c compiler.h directiv.h insnsi.h nasm.h \
|
||||
nasmlib.h opflags.h output/outlib.h pptok.h preproc.h regs.h tables.h
|
||||
output/outmacho.$(O): output/outmacho.c compiler.h directiv.h insnsi.h \
|
||||
@ -342,7 +343,7 @@ output/outmacho.$(O): output/outmacho.c compiler.h directiv.h insnsi.h \
|
||||
preproc.h raa.h rbtree.h regs.h saa.h tables.h
|
||||
output/outobj.$(O): output/outobj.c compiler.h directiv.h eval.h insnsi.h \
|
||||
nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h pptok.h \
|
||||
preproc.h regs.h stdscan.h tables.h
|
||||
preproc.h regs.h stdscan.h tables.h ver.h
|
||||
output/outrdf2.$(O): output/outrdf2.c compiler.h directiv.h insnsi.h nasm.h \
|
||||
nasmlib.h opflags.h output/outform.h output/outlib.h pptok.h preproc.h \
|
||||
rdoff/rdoff.h regs.h saa.h tables.h
|
||||
@ -373,5 +374,3 @@ sync.$(O): sync.c compiler.h nasmlib.h sync.h
|
||||
tokhash.$(O): tokhash.c compiler.h directiv.h hashtbl.h iflag.h iflaggen.h \
|
||||
insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h \
|
||||
stdscan.h tables.h tokens.h
|
||||
ver.$(O): ver.c compiler.h directiv.h insnsi.h nasm.h nasmlib.h opflags.h \
|
||||
pptok.h preproc.h regs.h tables.h version.h
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* ----------------------------------------------------------------------- *
|
||||
*
|
||||
* Copyright 1996-2009 The NASM Authors - All Rights Reserved
|
||||
* Copyright 1996-2016 The NASM Authors - All Rights Reserved
|
||||
* See the file AUTHORS included with the NASM distribution for
|
||||
* the specific copyright holders.
|
||||
*
|
||||
@ -31,7 +31,7 @@
|
||||
*
|
||||
* ----------------------------------------------------------------------- */
|
||||
|
||||
#include "nasm.h"
|
||||
#include "ver.h"
|
||||
#include "version.h"
|
||||
|
||||
/* This is printed when entering nasm -v */
|
||||
|
1
nasm.c
1
nasm.c
@ -61,6 +61,7 @@
|
||||
#include "output/outform.h"
|
||||
#include "listing.h"
|
||||
#include "iflag.h"
|
||||
#include "ver.h"
|
||||
|
||||
/*
|
||||
* This is the maximum number of optimization passes to do. If we ever
|
||||
|
9
nasm.h
9
nasm.h
@ -1117,13 +1117,4 @@ extern int globalbits; /* 16, 32 or 64-bit mode */
|
||||
extern int globalrel; /* default to relative addressing? */
|
||||
extern int globalbnd; /* default to using bnd prefix? */
|
||||
|
||||
/*
|
||||
* NASM version strings, defined in ver.c
|
||||
*/
|
||||
extern const char nasm_version[];
|
||||
extern const char nasm_date[];
|
||||
extern const char nasm_compile_options[];
|
||||
extern const char nasm_comment[];
|
||||
extern const char nasm_signature[];
|
||||
|
||||
#endif
|
||||
|
@ -48,6 +48,7 @@
|
||||
#include "insns.h"
|
||||
#include "nasm.h"
|
||||
#include "nasmlib.h"
|
||||
#include "ver.h"
|
||||
#include "sync.h"
|
||||
#include "disasm.h"
|
||||
|
||||
|
@ -53,6 +53,7 @@
|
||||
#include "output/outform.h"
|
||||
#include "output/outlib.h"
|
||||
#include "rbtree.h"
|
||||
#include "ver.h"
|
||||
|
||||
#include "output/dwarf.h"
|
||||
#include "output/stabs.h"
|
||||
|
@ -53,6 +53,7 @@
|
||||
#include "output/outform.h"
|
||||
#include "output/outlib.h"
|
||||
#include "rbtree.h"
|
||||
#include "ver.h"
|
||||
|
||||
#include "output/dwarf.h"
|
||||
#include "output/stabs.h"
|
||||
|
@ -53,6 +53,7 @@
|
||||
#include "output/outform.h"
|
||||
#include "output/outlib.h"
|
||||
#include "rbtree.h"
|
||||
#include "ver.h"
|
||||
|
||||
#include "output/dwarf.h"
|
||||
#include "output/stabs.h"
|
||||
|
@ -77,6 +77,8 @@
|
||||
|
||||
#include "nasm.h"
|
||||
#include "nasmlib.h"
|
||||
#include "ver.h"
|
||||
|
||||
#include "output/outform.h"
|
||||
#include "output/outlib.h"
|
||||
|
||||
|
@ -49,6 +49,8 @@
|
||||
#include "nasmlib.h"
|
||||
#include "stdscan.h"
|
||||
#include "eval.h"
|
||||
#include "ver.h"
|
||||
|
||||
#include "output/outform.h"
|
||||
#include "output/outlib.h"
|
||||
|
||||
|
47
ver.h
Normal file
47
ver.h
Normal file
@ -0,0 +1,47 @@
|
||||
/* ----------------------------------------------------------------------- *
|
||||
*
|
||||
* Copyright 1996-2016 The NASM Authors - All Rights Reserved
|
||||
* See the file AUTHORS included with the NASM distribution for
|
||||
* the specific copyright holders.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following
|
||||
* conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the following
|
||||
* disclaimer in the documentation and/or other materials provided
|
||||
* with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* ----------------------------------------------------------------------- */
|
||||
|
||||
/*
|
||||
* NASM version strings, defined in ver.c
|
||||
*/
|
||||
|
||||
#ifndef NASM_VER_H
|
||||
#define NASM_VER_H
|
||||
|
||||
extern const char nasm_version[];
|
||||
extern const char nasm_date[];
|
||||
extern const char nasm_compile_options[];
|
||||
extern const char nasm_comment[];
|
||||
extern const char nasm_signature[];
|
||||
|
||||
#endif /* NASM_VER_H */
|
Loading…
x
Reference in New Issue
Block a user