diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-06-25 13:06:49 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-06-25 13:06:49 -0700 |
commit | 1acf6ba82293cda3fc18cc3ba3a64328e496ca64 (patch) | |
tree | 8135eb6bc7ba9b0b71d4c1f9b0da8356e4c6b8fa /Mkfiles | |
parent | d219a3e46f0a9fe2b997eee8acd6bbe212bef4da (diff) | |
download | nasm-1acf6ba82293cda3fc18cc3ba3a64328e496ca64.tar.gz nasm-1acf6ba82293cda3fc18cc3ba3a64328e496ca64.tar.bz2 nasm-1acf6ba82293cda3fc18cc3ba3a64328e496ca64.zip |
Handle the new ELF headers in the dependency generation
The dependency machinery relies on properly rooted includes, so give
it to them... the path syntax munging machinery in the dependency
script handles it from a Makefile syntax perspective, and then we can
hope that C compilers are smart enough to deal with forward-slash
paths even when that is not the native syntax.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'Mkfiles')
-rw-r--r-- | Mkfiles/msvc.mak | 10 | ||||
-rw-r--r-- | Mkfiles/netware.mak | 10 | ||||
-rw-r--r-- | Mkfiles/openwcom.mak | 10 | ||||
-rw-r--r-- | Mkfiles/owlinux.mak | 10 |
4 files changed, 28 insertions, 12 deletions
diff --git a/Mkfiles/msvc.mak b/Mkfiles/msvc.mak index a2a5193..e70f1e1 100644 --- a/Mkfiles/msvc.mak +++ b/Mkfiles/msvc.mak @@ -40,7 +40,7 @@ NASM = nasm.$(O) nasmlib.$(O) ver.$(O) \ assemble.$(O) labels.$(O) hashtbl.$(O) crc64.$(O) parser.$(O) \ outform.$(O) outlib.$(O) output/outbin.$(O) \ output/outaout.$(O) output/outcoff.$(O) \ - output/outelf32.$(O) output/outelf64.$(O) \ + output/outelf.$(O) output/outelf32.$(O) output/outelf64.$(O) \ output/outobj.$(O) output/outas86.$(O) output/outrdf2.$(O) \ output/outdbg.$(O) output/outieee.$(O) output/outmacho.$(O) \ preproc.$(O) quote.$(O) pptok.$(O) macros.$(O) \ @@ -232,10 +232,14 @@ output/outcoff.$(O): output/outcoff.c compiler.h insnsi.h nasm.h nasmlib.h \ outform.h outlib.h pptok.h preproc.h raa.h regs.h saa.h output/outdbg.$(O): output/outdbg.c compiler.h insnsi.h nasm.h nasmlib.h \ outform.h pptok.h preproc.h regs.h +output/outelf.$(O): output/outelf.c compiler.h insnsi.h nasm.h nasmlib.h \ + output/dwarf.h output/elfcommon.h output/outelf.h pptok.h preproc.h regs.h output/outelf32.$(O): output/outelf32.c compiler.h insnsi.h nasm.h nasmlib.h \ - outform.h outlib.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h + outform.h outlib.h output/dwarf.h output/elf32.h output/elfcommon.h \ + output/outelf.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h output/outelf64.$(O): output/outelf64.c compiler.h insnsi.h nasm.h nasmlib.h \ - outform.h outlib.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h + outform.h outlib.h output/dwarf.h output/elf64.h output/elfcommon.h \ + output/outelf.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h output/outieee.$(O): output/outieee.c compiler.h insnsi.h nasm.h nasmlib.h \ outform.h pptok.h preproc.h regs.h output/outmacho.$(O): output/outmacho.c compiler.h insnsi.h nasm.h nasmlib.h \ diff --git a/Mkfiles/netware.mak b/Mkfiles/netware.mak index 692206f..30a575a 100644 --- a/Mkfiles/netware.mak +++ b/Mkfiles/netware.mak @@ -36,7 +36,7 @@ NASM = nasm.o nasmlib.o ver.o \ assemble.o labels.o hashtbl.o crc64.o parser.o \ outform.o outlib.o outbin.o \ outaout.o outcoff.o \ - outelf32.o outelf64.o \ + outelf.o outelf32.o outelf64.o \ outobj.o outas86.o outrdf2.o \ outdbg.o outieee.o outmacho.o \ preproc.o quote.o pptok.o macros.o \ @@ -171,10 +171,14 @@ outcoff.o: outcoff.c compiler.h config.h insnsi.h nasm.h nasmlib.h outform.h \ outlib.h pptok.h preproc.h raa.h regs.h saa.h outdbg.o: outdbg.c compiler.h config.h insnsi.h nasm.h nasmlib.h outform.h \ pptok.h preproc.h regs.h +outelf.o: outelf.c compiler.h config.h insnsi.h nasm.h nasmlib.h dwarf.h \ + elfcommon.h outelf.h pptok.h preproc.h regs.h outelf32.o: outelf32.c compiler.h config.h insnsi.h nasm.h nasmlib.h \ - outform.h outlib.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h + outform.h outlib.h dwarf.h elf32.h elfcommon.h outelf.h pptok.h preproc.h \ + raa.h rbtree.h regs.h saa.h stdscan.h outelf64.o: outelf64.c compiler.h config.h insnsi.h nasm.h nasmlib.h \ - outform.h outlib.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h + outform.h outlib.h dwarf.h elf64.h elfcommon.h outelf.h pptok.h preproc.h \ + raa.h rbtree.h regs.h saa.h stdscan.h outieee.o: outieee.c compiler.h config.h insnsi.h nasm.h nasmlib.h outform.h \ pptok.h preproc.h regs.h outmacho.o: outmacho.c compiler.h config.h insnsi.h nasm.h nasmlib.h \ diff --git a/Mkfiles/openwcom.mak b/Mkfiles/openwcom.mak index 5215159..80770b7 100644 --- a/Mkfiles/openwcom.mak +++ b/Mkfiles/openwcom.mak @@ -52,7 +52,7 @@ NASM = nasm.$(O) nasmlib.$(O) ver.$(O) & assemble.$(O) labels.$(O) hashtbl.$(O) crc64.$(O) parser.$(O) & outform.$(O) outlib.$(O) output\outbin.$(O) & output\outaout.$(O) output\outcoff.$(O) & - output\outelf32.$(O) output\outelf64.$(O) & + output\outelf.$(O) output\outelf32.$(O) output\outelf64.$(O) & output\outobj.$(O) output\outas86.$(O) output\outrdf2.$(O) & output\outdbg.$(O) output\outieee.$(O) output\outmacho.$(O) & preproc.$(O) quote.$(O) pptok.$(O) macros.$(O) & @@ -261,10 +261,14 @@ output\outcoff.$(O): output\outcoff.c compiler.h insnsi.h nasm.h nasmlib.h & outform.h outlib.h pptok.h preproc.h raa.h regs.h saa.h output\outdbg.$(O): output\outdbg.c compiler.h insnsi.h nasm.h nasmlib.h & outform.h pptok.h preproc.h regs.h +output\outelf.$(O): output\outelf.c compiler.h insnsi.h nasm.h nasmlib.h & + output\dwarf.h output\elfcommon.h output\outelf.h pptok.h preproc.h regs.h output\outelf32.$(O): output\outelf32.c compiler.h insnsi.h nasm.h nasmlib.h & - outform.h outlib.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h + outform.h outlib.h output\dwarf.h output\elf32.h output\elfcommon.h & + output\outelf.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h output\outelf64.$(O): output\outelf64.c compiler.h insnsi.h nasm.h nasmlib.h & - outform.h outlib.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h + outform.h outlib.h output\dwarf.h output\elf64.h output\elfcommon.h & + output\outelf.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h output\outieee.$(O): output\outieee.c compiler.h insnsi.h nasm.h nasmlib.h & outform.h pptok.h preproc.h regs.h output\outmacho.$(O): output\outmacho.c compiler.h insnsi.h nasm.h nasmlib.h & diff --git a/Mkfiles/owlinux.mak b/Mkfiles/owlinux.mak index be56653..a9ef001 100644 --- a/Mkfiles/owlinux.mak +++ b/Mkfiles/owlinux.mak @@ -63,7 +63,7 @@ NASM = nasm.$(O) nasmlib.$(O) ver.$(O) \ assemble.$(O) labels.$(O) hashtbl.$(O) crc64.$(O) parser.$(O) \ outform.$(O) outlib.$(O) output/outbin.$(O) \ output/outaout.$(O) output/outcoff.$(O) \ - output/outelf32.$(O) output/outelf64.$(O) \ + output/outelf.$(O) output/outelf32.$(O) output/outelf64.$(O) \ output/outobj.$(O) output/outas86.$(O) output/outrdf2.$(O) \ output/outdbg.$(O) output/outieee.$(O) output/outmacho.$(O) \ preproc.$(O) quote.$(O) pptok.$(O) macros.$(O) \ @@ -271,10 +271,14 @@ output/outcoff.$(O): output/outcoff.c compiler.h insnsi.h nasm.h nasmlib.h \ outform.h outlib.h pptok.h preproc.h raa.h regs.h saa.h output/outdbg.$(O): output/outdbg.c compiler.h insnsi.h nasm.h nasmlib.h \ outform.h pptok.h preproc.h regs.h +output/outelf.$(O): output/outelf.c compiler.h insnsi.h nasm.h nasmlib.h \ + output/dwarf.h output/elfcommon.h output/outelf.h pptok.h preproc.h regs.h output/outelf32.$(O): output/outelf32.c compiler.h insnsi.h nasm.h nasmlib.h \ - outform.h outlib.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h + outform.h outlib.h output/dwarf.h output/elf32.h output/elfcommon.h \ + output/outelf.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h output/outelf64.$(O): output/outelf64.c compiler.h insnsi.h nasm.h nasmlib.h \ - outform.h outlib.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h + outform.h outlib.h output/dwarf.h output/elf64.h output/elfcommon.h \ + output/outelf.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h stdscan.h output/outieee.$(O): output/outieee.c compiler.h insnsi.h nasm.h nasmlib.h \ outform.h pptok.h preproc.h regs.h output/outmacho.$(O): output/outmacho.c compiler.h insnsi.h nasm.h nasmlib.h \ |