diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-09-27 21:35:04 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-09-27 21:35:04 -0700 |
commit | ab8447ed99c2de5fffc11307883ddaf63ef02a47 (patch) | |
tree | 62a1afe299786d3d3acf05aed13d5eecabab963c | |
parent | 747a80e0d6cc04baace65cea5c266414ba487b02 (diff) | |
download | nasm-ab8447ed99c2de5fffc11307883ddaf63ef02a47.tar.gz nasm-ab8447ed99c2de5fffc11307883ddaf63ef02a47.tar.bz2 nasm-ab8447ed99c2de5fffc11307883ddaf63ef02a47.zip |
Exclude config.h from the dependency list for the canned makefiles
For the canned makefiles, we almost certainly don't have config.h, and
shouldn't include it in the list of dependencies.
-rw-r--r-- | Mkfiles/msvc.mak | 121 | ||||
-rw-r--r-- | Mkfiles/openwcom.mak | 121 | ||||
-rw-r--r-- | Mkfiles/owlinux.mak | 121 | ||||
-rwxr-xr-x | mkdep.pl | 26 |
4 files changed, 198 insertions, 191 deletions
diff --git a/Mkfiles/msvc.mak b/Mkfiles/msvc.mak index 5871efb..d0ab870 100644 --- a/Mkfiles/msvc.mak +++ b/Mkfiles/msvc.mak @@ -171,76 +171,75 @@ everything: all doc rdf #-- Magic hints to mkdep.pl --# # @object-ending: ".$(O)" # @path-separator: "/" +# @exclude: "config.h" #-- Everything below is generated by mkdep.pl - do not edit --# -assemble.$(O): assemble.c assemble.h compiler.h config.h insns.h insnsi.h \ - nasm.h nasmlib.h pptok.h preproc.h regflags.c regs.h regvals.c tokens.h \ - version.h +assemble.$(O): assemble.c assemble.h compiler.h insns.h insnsi.h nasm.h \ + nasmlib.h pptok.h preproc.h regflags.c regs.h regvals.c tokens.h version.h crc64.$(O): crc64.c -disasm.$(O): disasm.c compiler.h config.h disasm.h insns.h insnsi.h insnsn.c \ - names.c nasm.h nasmlib.h regdis.c regs.c regs.h sync.h tokens.h version.h -eval.$(O): eval.c compiler.h config.h eval.h float.h insnsi.h labels.h \ - nasm.h nasmlib.h regs.h version.h -exprlib.$(O): exprlib.c compiler.h config.h insnsi.h nasm.h nasmlib.h regs.h \ - version.h -float.$(O): float.c compiler.h config.h insnsi.h nasm.h nasmlib.h regs.h \ - version.h -hashtbl.$(O): hashtbl.c compiler.h config.h hashtbl.h insnsi.h nasm.h \ +disasm.$(O): disasm.c compiler.h disasm.h insns.h insnsi.h insnsn.c names.c \ + nasm.h nasmlib.h regdis.c regs.c regs.h sync.h tokens.h version.h +eval.$(O): eval.c compiler.h eval.h float.h insnsi.h labels.h nasm.h \ nasmlib.h regs.h version.h -insnsa.$(O): insnsa.c compiler.h config.h insns.h insnsi.h nasm.h nasmlib.h \ - regs.h tokens.h version.h -insnsd.$(O): insnsd.c compiler.h config.h insns.h insnsi.h nasm.h nasmlib.h \ - regs.h tokens.h version.h +exprlib.$(O): exprlib.c compiler.h insnsi.h nasm.h nasmlib.h regs.h \ + version.h +float.$(O): float.c compiler.h insnsi.h nasm.h nasmlib.h regs.h version.h +hashtbl.$(O): hashtbl.c compiler.h hashtbl.h insnsi.h nasm.h nasmlib.h \ + regs.h version.h +insnsa.$(O): insnsa.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h \ + tokens.h version.h +insnsd.$(O): insnsd.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h \ + tokens.h version.h insnsn.$(O): insnsn.c -labels.$(O): labels.c compiler.h config.h hashtbl.h insnsi.h nasm.h \ - nasmlib.h regs.h version.h -listing.$(O): listing.c compiler.h config.h insnsi.h listing.h nasm.h \ - nasmlib.h regs.h version.h +labels.$(O): labels.c compiler.h hashtbl.h insnsi.h nasm.h nasmlib.h regs.h \ + version.h +listing.$(O): listing.c compiler.h insnsi.h listing.h nasm.h nasmlib.h \ + regs.h version.h macros.$(O): macros.c names.$(O): names.c insnsn.c regs.c -nasm.$(O): nasm.c assemble.h compiler.h config.h eval.h insns.h insnsi.h \ - labels.h listing.h nasm.h nasmlib.h outform.h parser.h pptok.h preproc.h \ - regs.h stdscan.h tokens.h version.h -nasmlib.$(O): nasmlib.c compiler.h config.h insns.h insnsi.h nasm.h \ - nasmlib.h regs.h tokens.h version.h -ndisasm.$(O): ndisasm.c compiler.h config.h disasm.h insns.h insnsi.h nasm.h \ +nasm.$(O): nasm.c assemble.h compiler.h eval.h insns.h insnsi.h labels.h \ + listing.h nasm.h nasmlib.h outform.h parser.h pptok.h preproc.h regs.h \ + stdscan.h tokens.h version.h +nasmlib.$(O): nasmlib.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h \ + tokens.h version.h +ndisasm.$(O): ndisasm.c compiler.h disasm.h insns.h insnsi.h nasm.h \ nasmlib.h regs.h sync.h tokens.h version.h -outform.$(O): outform.c compiler.h config.h insnsi.h nasm.h nasmlib.h \ +outform.$(O): outform.c compiler.h insnsi.h nasm.h nasmlib.h outform.h \ + regs.h version.h +output/outaout.$(O): output/outaout.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h stdscan.h version.h +output/outas86.$(O): output/outas86.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h version.h +output/outbin.$(O): output/outbin.c compiler.h eval.h insnsi.h labels.h \ + nasm.h nasmlib.h outform.h regs.h stdscan.h version.h +output/outcoff.$(O): output/outcoff.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h version.h +output/outdbg.$(O): output/outdbg.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h version.h +output/outelf32.$(O): output/outelf32.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h stdscan.h version.h +output/outelf64.$(O): output/outelf64.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h stdscan.h version.h +output/outieee.$(O): output/outieee.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h version.h +output/outmacho.$(O): output/outmacho.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h version.h +output/outobj.$(O): output/outobj.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h stdscan.h version.h +output/outrdf.$(O): output/outrdf.c compiler.h insnsi.h nasm.h nasmlib.h \ outform.h regs.h version.h -output/outaout.$(O): output/outaout.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h stdscan.h version.h -output/outas86.$(O): output/outas86.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h version.h -output/outbin.$(O): output/outbin.c compiler.h config.h eval.h insnsi.h \ - labels.h nasm.h nasmlib.h outform.h regs.h stdscan.h version.h -output/outcoff.$(O): output/outcoff.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h version.h -output/outdbg.$(O): output/outdbg.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h version.h -output/outelf32.$(O): output/outelf32.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h stdscan.h version.h -output/outelf64.$(O): output/outelf64.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h stdscan.h version.h -output/outieee.$(O): output/outieee.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h version.h -output/outmacho.$(O): output/outmacho.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h version.h -output/outobj.$(O): output/outobj.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h stdscan.h version.h -output/outrdf.$(O): output/outrdf.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h version.h -output/outrdf2.$(O): output/outrdf2.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h rdoff/rdoff.h regs.h version.h -parser.$(O): parser.c compiler.h config.h float.h insns.h insnsi.h nasm.h \ - nasmlib.h parser.h regflags.c regs.h stdscan.h tokens.h version.h -pptok.$(O): pptok.c compiler.h config.h nasmlib.h pptok.h preproc.h -preproc.$(O): preproc.c compiler.h config.h hashtbl.h insnsi.h macros.c \ - nasm.h nasmlib.h pptok.h preproc.h regs.h version.h +output/outrdf2.$(O): output/outrdf2.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h rdoff/rdoff.h regs.h version.h +parser.$(O): parser.c compiler.h float.h insns.h insnsi.h nasm.h nasmlib.h \ + parser.h regflags.c regs.h stdscan.h tokens.h version.h +pptok.$(O): pptok.c compiler.h nasmlib.h pptok.h preproc.h +preproc.$(O): preproc.c compiler.h hashtbl.h insnsi.h macros.c nasm.h \ + nasmlib.h pptok.h preproc.h regs.h version.h regdis.$(O): regdis.c regflags.$(O): regflags.c regs.$(O): regs.c regvals.$(O): regvals.c -stdscan.$(O): stdscan.c compiler.h config.h insns.h insnsi.h nasm.h \ - nasmlib.h regs.h stdscan.h tokens.h version.h -sync.$(O): sync.c compiler.h config.h nasmlib.h sync.h -tokhash.$(O): tokhash.c compiler.h config.h insns.h insnsi.h nasm.h \ - nasmlib.h regs.h tokens.h version.h +stdscan.$(O): stdscan.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h \ + stdscan.h tokens.h version.h +sync.$(O): sync.c compiler.h nasmlib.h sync.h +tokhash.$(O): tokhash.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h \ + tokens.h version.h diff --git a/Mkfiles/openwcom.mak b/Mkfiles/openwcom.mak index a9d0c13..382dc05 100644 --- a/Mkfiles/openwcom.mak +++ b/Mkfiles/openwcom.mak @@ -195,77 +195,76 @@ everything: all doc rdf #-- Magic hints to mkdep.pl --# # @object-ending: ".$(O)" # @path-separator: "\" +# @exclude: "config.h" # @continuation: "&" #-- Everything below is generated by mkdep.pl - do not edit --# -assemble.$(O): assemble.c assemble.h compiler.h config.h insns.h insnsi.h & - nasm.h nasmlib.h pptok.h preproc.h regflags.c regs.h regvals.c tokens.h & - version.h +assemble.$(O): assemble.c assemble.h compiler.h insns.h insnsi.h nasm.h & + nasmlib.h pptok.h preproc.h regflags.c regs.h regvals.c tokens.h version.h crc64.$(O): crc64.c -disasm.$(O): disasm.c compiler.h config.h disasm.h insns.h insnsi.h insnsn.c & - names.c nasm.h nasmlib.h regdis.c regs.c regs.h sync.h tokens.h version.h -eval.$(O): eval.c compiler.h config.h eval.h float.h insnsi.h labels.h & - nasm.h nasmlib.h regs.h version.h -exprlib.$(O): exprlib.c compiler.h config.h insnsi.h nasm.h nasmlib.h regs.h & - version.h -float.$(O): float.c compiler.h config.h insnsi.h nasm.h nasmlib.h regs.h & - version.h -hashtbl.$(O): hashtbl.c compiler.h config.h hashtbl.h insnsi.h nasm.h & +disasm.$(O): disasm.c compiler.h disasm.h insns.h insnsi.h insnsn.c names.c & + nasm.h nasmlib.h regdis.c regs.c regs.h sync.h tokens.h version.h +eval.$(O): eval.c compiler.h eval.h float.h insnsi.h labels.h nasm.h & nasmlib.h regs.h version.h -insnsa.$(O): insnsa.c compiler.h config.h insns.h insnsi.h nasm.h nasmlib.h & - regs.h tokens.h version.h -insnsd.$(O): insnsd.c compiler.h config.h insns.h insnsi.h nasm.h nasmlib.h & - regs.h tokens.h version.h +exprlib.$(O): exprlib.c compiler.h insnsi.h nasm.h nasmlib.h regs.h & + version.h +float.$(O): float.c compiler.h insnsi.h nasm.h nasmlib.h regs.h version.h +hashtbl.$(O): hashtbl.c compiler.h hashtbl.h insnsi.h nasm.h nasmlib.h & + regs.h version.h +insnsa.$(O): insnsa.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h & + tokens.h version.h +insnsd.$(O): insnsd.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h & + tokens.h version.h insnsn.$(O): insnsn.c -labels.$(O): labels.c compiler.h config.h hashtbl.h insnsi.h nasm.h & - nasmlib.h regs.h version.h -listing.$(O): listing.c compiler.h config.h insnsi.h listing.h nasm.h & - nasmlib.h regs.h version.h +labels.$(O): labels.c compiler.h hashtbl.h insnsi.h nasm.h nasmlib.h regs.h & + version.h +listing.$(O): listing.c compiler.h insnsi.h listing.h nasm.h nasmlib.h & + regs.h version.h macros.$(O): macros.c names.$(O): names.c insnsn.c regs.c -nasm.$(O): nasm.c assemble.h compiler.h config.h eval.h insns.h insnsi.h & - labels.h listing.h nasm.h nasmlib.h outform.h parser.h pptok.h preproc.h & - regs.h stdscan.h tokens.h version.h -nasmlib.$(O): nasmlib.c compiler.h config.h insns.h insnsi.h nasm.h & - nasmlib.h regs.h tokens.h version.h -ndisasm.$(O): ndisasm.c compiler.h config.h disasm.h insns.h insnsi.h nasm.h & +nasm.$(O): nasm.c assemble.h compiler.h eval.h insns.h insnsi.h labels.h & + listing.h nasm.h nasmlib.h outform.h parser.h pptok.h preproc.h regs.h & + stdscan.h tokens.h version.h +nasmlib.$(O): nasmlib.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h & + tokens.h version.h +ndisasm.$(O): ndisasm.c compiler.h disasm.h insns.h insnsi.h nasm.h & nasmlib.h regs.h sync.h tokens.h version.h -outform.$(O): outform.c compiler.h config.h insnsi.h nasm.h nasmlib.h & +outform.$(O): outform.c compiler.h insnsi.h nasm.h nasmlib.h outform.h & + regs.h version.h +output\outaout.$(O): output\outaout.c compiler.h insnsi.h nasm.h nasmlib.h & + outform.h regs.h stdscan.h version.h +output\outas86.$(O): output\outas86.c compiler.h insnsi.h nasm.h nasmlib.h & + outform.h regs.h version.h +output\outbin.$(O): output\outbin.c compiler.h eval.h insnsi.h labels.h & + nasm.h nasmlib.h outform.h regs.h stdscan.h version.h +output\outcoff.$(O): output\outcoff.c compiler.h insnsi.h nasm.h nasmlib.h & + outform.h regs.h version.h +output\outdbg.$(O): output\outdbg.c compiler.h insnsi.h nasm.h nasmlib.h & + outform.h regs.h version.h +output\outelf32.$(O): output\outelf32.c compiler.h insnsi.h nasm.h nasmlib.h & + outform.h regs.h stdscan.h version.h +output\outelf64.$(O): output\outelf64.c compiler.h insnsi.h nasm.h nasmlib.h & + outform.h regs.h stdscan.h version.h +output\outieee.$(O): output\outieee.c compiler.h insnsi.h nasm.h nasmlib.h & + outform.h regs.h version.h +output\outmacho.$(O): output\outmacho.c compiler.h insnsi.h nasm.h nasmlib.h & + outform.h regs.h version.h +output\outobj.$(O): output\outobj.c compiler.h insnsi.h nasm.h nasmlib.h & + outform.h regs.h stdscan.h version.h +output\outrdf.$(O): output\outrdf.c compiler.h insnsi.h nasm.h nasmlib.h & outform.h regs.h version.h -output\outaout.$(O): output\outaout.c compiler.h config.h insnsi.h nasm.h & - nasmlib.h outform.h regs.h stdscan.h version.h -output\outas86.$(O): output\outas86.c compiler.h config.h insnsi.h nasm.h & - nasmlib.h outform.h regs.h version.h -output\outbin.$(O): output\outbin.c compiler.h config.h eval.h insnsi.h & - labels.h nasm.h nasmlib.h outform.h regs.h stdscan.h version.h -output\outcoff.$(O): output\outcoff.c compiler.h config.h insnsi.h nasm.h & - nasmlib.h outform.h regs.h version.h -output\outdbg.$(O): output\outdbg.c compiler.h config.h insnsi.h nasm.h & - nasmlib.h outform.h regs.h version.h -output\outelf32.$(O): output\outelf32.c compiler.h config.h insnsi.h nasm.h & - nasmlib.h outform.h regs.h stdscan.h version.h -output\outelf64.$(O): output\outelf64.c compiler.h config.h insnsi.h nasm.h & - nasmlib.h outform.h regs.h stdscan.h version.h -output\outieee.$(O): output\outieee.c compiler.h config.h insnsi.h nasm.h & - nasmlib.h outform.h regs.h version.h -output\outmacho.$(O): output\outmacho.c compiler.h config.h insnsi.h nasm.h & - nasmlib.h outform.h regs.h version.h -output\outobj.$(O): output\outobj.c compiler.h config.h insnsi.h nasm.h & - nasmlib.h outform.h regs.h stdscan.h version.h -output\outrdf.$(O): output\outrdf.c compiler.h config.h insnsi.h nasm.h & - nasmlib.h outform.h regs.h version.h -output\outrdf2.$(O): output\outrdf2.c compiler.h config.h insnsi.h nasm.h & - nasmlib.h outform.h rdoff\rdoff.h regs.h version.h -parser.$(O): parser.c compiler.h config.h float.h insns.h insnsi.h nasm.h & - nasmlib.h parser.h regflags.c regs.h stdscan.h tokens.h version.h -pptok.$(O): pptok.c compiler.h config.h nasmlib.h pptok.h preproc.h -preproc.$(O): preproc.c compiler.h config.h hashtbl.h insnsi.h macros.c & - nasm.h nasmlib.h pptok.h preproc.h regs.h version.h +output\outrdf2.$(O): output\outrdf2.c compiler.h insnsi.h nasm.h nasmlib.h & + outform.h rdoff\rdoff.h regs.h version.h +parser.$(O): parser.c compiler.h float.h insns.h insnsi.h nasm.h nasmlib.h & + parser.h regflags.c regs.h stdscan.h tokens.h version.h +pptok.$(O): pptok.c compiler.h nasmlib.h pptok.h preproc.h +preproc.$(O): preproc.c compiler.h hashtbl.h insnsi.h macros.c nasm.h & + nasmlib.h pptok.h preproc.h regs.h version.h regdis.$(O): regdis.c regflags.$(O): regflags.c regs.$(O): regs.c regvals.$(O): regvals.c -stdscan.$(O): stdscan.c compiler.h config.h insns.h insnsi.h nasm.h & - nasmlib.h regs.h stdscan.h tokens.h version.h -sync.$(O): sync.c compiler.h config.h nasmlib.h sync.h -tokhash.$(O): tokhash.c compiler.h config.h insns.h insnsi.h nasm.h & - nasmlib.h regs.h tokens.h version.h +stdscan.$(O): stdscan.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h & + stdscan.h tokens.h version.h +sync.$(O): sync.c compiler.h nasmlib.h sync.h +tokhash.$(O): tokhash.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h & + tokens.h version.h diff --git a/Mkfiles/owlinux.mak b/Mkfiles/owlinux.mak index b8fe063..6745eb6 100644 --- a/Mkfiles/owlinux.mak +++ b/Mkfiles/owlinux.mak @@ -188,77 +188,76 @@ everything: all doc rdf #-- Magic hints to mkdep.pl --# # @object-ending: ".$(O)" # @path-separator: "/" +# @exclude: "config.h" # @continuation: "\" #-- Everything below is generated by mkdep.pl - do not edit --# -assemble.$(O): assemble.c assemble.h compiler.h config.h insns.h insnsi.h \ - nasm.h nasmlib.h pptok.h preproc.h regflags.c regs.h regvals.c tokens.h \ - version.h +assemble.$(O): assemble.c assemble.h compiler.h insns.h insnsi.h nasm.h \ + nasmlib.h pptok.h preproc.h regflags.c regs.h regvals.c tokens.h version.h crc64.$(O): crc64.c -disasm.$(O): disasm.c compiler.h config.h disasm.h insns.h insnsi.h insnsn.c \ - names.c nasm.h nasmlib.h regdis.c regs.c regs.h sync.h tokens.h version.h -eval.$(O): eval.c compiler.h config.h eval.h float.h insnsi.h labels.h \ - nasm.h nasmlib.h regs.h version.h -exprlib.$(O): exprlib.c compiler.h config.h insnsi.h nasm.h nasmlib.h regs.h \ - version.h -float.$(O): float.c compiler.h config.h insnsi.h nasm.h nasmlib.h regs.h \ - version.h -hashtbl.$(O): hashtbl.c compiler.h config.h hashtbl.h insnsi.h nasm.h \ +disasm.$(O): disasm.c compiler.h disasm.h insns.h insnsi.h insnsn.c names.c \ + nasm.h nasmlib.h regdis.c regs.c regs.h sync.h tokens.h version.h +eval.$(O): eval.c compiler.h eval.h float.h insnsi.h labels.h nasm.h \ nasmlib.h regs.h version.h -insnsa.$(O): insnsa.c compiler.h config.h insns.h insnsi.h nasm.h nasmlib.h \ - regs.h tokens.h version.h -insnsd.$(O): insnsd.c compiler.h config.h insns.h insnsi.h nasm.h nasmlib.h \ - regs.h tokens.h version.h +exprlib.$(O): exprlib.c compiler.h insnsi.h nasm.h nasmlib.h regs.h \ + version.h +float.$(O): float.c compiler.h insnsi.h nasm.h nasmlib.h regs.h version.h +hashtbl.$(O): hashtbl.c compiler.h hashtbl.h insnsi.h nasm.h nasmlib.h \ + regs.h version.h +insnsa.$(O): insnsa.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h \ + tokens.h version.h +insnsd.$(O): insnsd.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h \ + tokens.h version.h insnsn.$(O): insnsn.c -labels.$(O): labels.c compiler.h config.h hashtbl.h insnsi.h nasm.h \ - nasmlib.h regs.h version.h -listing.$(O): listing.c compiler.h config.h insnsi.h listing.h nasm.h \ - nasmlib.h regs.h version.h +labels.$(O): labels.c compiler.h hashtbl.h insnsi.h nasm.h nasmlib.h regs.h \ + version.h +listing.$(O): listing.c compiler.h insnsi.h listing.h nasm.h nasmlib.h \ + regs.h version.h macros.$(O): macros.c names.$(O): names.c insnsn.c regs.c -nasm.$(O): nasm.c assemble.h compiler.h config.h eval.h insns.h insnsi.h \ - labels.h listing.h nasm.h nasmlib.h outform.h parser.h pptok.h preproc.h \ - regs.h stdscan.h tokens.h version.h -nasmlib.$(O): nasmlib.c compiler.h config.h insns.h insnsi.h nasm.h \ - nasmlib.h regs.h tokens.h version.h -ndisasm.$(O): ndisasm.c compiler.h config.h disasm.h insns.h insnsi.h nasm.h \ +nasm.$(O): nasm.c assemble.h compiler.h eval.h insns.h insnsi.h labels.h \ + listing.h nasm.h nasmlib.h outform.h parser.h pptok.h preproc.h regs.h \ + stdscan.h tokens.h version.h +nasmlib.$(O): nasmlib.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h \ + tokens.h version.h +ndisasm.$(O): ndisasm.c compiler.h disasm.h insns.h insnsi.h nasm.h \ nasmlib.h regs.h sync.h tokens.h version.h -outform.$(O): outform.c compiler.h config.h insnsi.h nasm.h nasmlib.h \ +outform.$(O): outform.c compiler.h insnsi.h nasm.h nasmlib.h outform.h \ + regs.h version.h +output/outaout.$(O): output/outaout.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h stdscan.h version.h +output/outas86.$(O): output/outas86.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h version.h +output/outbin.$(O): output/outbin.c compiler.h eval.h insnsi.h labels.h \ + nasm.h nasmlib.h outform.h regs.h stdscan.h version.h +output/outcoff.$(O): output/outcoff.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h version.h +output/outdbg.$(O): output/outdbg.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h version.h +output/outelf32.$(O): output/outelf32.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h stdscan.h version.h +output/outelf64.$(O): output/outelf64.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h stdscan.h version.h +output/outieee.$(O): output/outieee.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h version.h +output/outmacho.$(O): output/outmacho.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h version.h +output/outobj.$(O): output/outobj.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h regs.h stdscan.h version.h +output/outrdf.$(O): output/outrdf.c compiler.h insnsi.h nasm.h nasmlib.h \ outform.h regs.h version.h -output/outaout.$(O): output/outaout.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h stdscan.h version.h -output/outas86.$(O): output/outas86.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h version.h -output/outbin.$(O): output/outbin.c compiler.h config.h eval.h insnsi.h \ - labels.h nasm.h nasmlib.h outform.h regs.h stdscan.h version.h -output/outcoff.$(O): output/outcoff.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h version.h -output/outdbg.$(O): output/outdbg.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h version.h -output/outelf32.$(O): output/outelf32.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h stdscan.h version.h -output/outelf64.$(O): output/outelf64.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h stdscan.h version.h -output/outieee.$(O): output/outieee.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h version.h -output/outmacho.$(O): output/outmacho.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h version.h -output/outobj.$(O): output/outobj.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h stdscan.h version.h -output/outrdf.$(O): output/outrdf.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h regs.h version.h -output/outrdf2.$(O): output/outrdf2.c compiler.h config.h insnsi.h nasm.h \ - nasmlib.h outform.h rdoff/rdoff.h regs.h version.h -parser.$(O): parser.c compiler.h config.h float.h insns.h insnsi.h nasm.h \ - nasmlib.h parser.h regflags.c regs.h stdscan.h tokens.h version.h -pptok.$(O): pptok.c compiler.h config.h nasmlib.h pptok.h preproc.h -preproc.$(O): preproc.c compiler.h config.h hashtbl.h insnsi.h macros.c \ - nasm.h nasmlib.h pptok.h preproc.h regs.h version.h +output/outrdf2.$(O): output/outrdf2.c compiler.h insnsi.h nasm.h nasmlib.h \ + outform.h rdoff/rdoff.h regs.h version.h +parser.$(O): parser.c compiler.h float.h insns.h insnsi.h nasm.h nasmlib.h \ + parser.h regflags.c regs.h stdscan.h tokens.h version.h +pptok.$(O): pptok.c compiler.h nasmlib.h pptok.h preproc.h +preproc.$(O): preproc.c compiler.h hashtbl.h insnsi.h macros.c nasm.h \ + nasmlib.h pptok.h preproc.h regs.h version.h regdis.$(O): regdis.c regflags.$(O): regflags.c regs.$(O): regs.c regvals.$(O): regvals.c -stdscan.$(O): stdscan.c compiler.h config.h insns.h insnsi.h nasm.h \ - nasmlib.h regs.h stdscan.h tokens.h version.h -sync.$(O): sync.c compiler.h config.h nasmlib.h sync.h -tokhash.$(O): tokhash.c compiler.h config.h insns.h insnsi.h nasm.h \ - nasmlib.h regs.h tokens.h version.h +stdscan.$(O): stdscan.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h \ + stdscan.h tokens.h version.h +sync.$(O): sync.c compiler.h nasmlib.h sync.h +tokhash.$(O): tokhash.c compiler.h insns.h insnsi.h nasm.h nasmlib.h regs.h \ + tokens.h version.h @@ -95,6 +95,7 @@ sub insert_deps($) { my($sep) = '/'; my($cont) = "\\"; my($maxline) = 78; # Seems like a reasonable default + my @exclude = (); # Don't exclude anything while ( defined($line = <IN>) ) { if ( $line =~ /^\s*\#\s*@([a-z0-9-]+):\s*\"([^\"]*)\"/ ) { @@ -107,6 +108,8 @@ sub insert_deps($) { $maxline = $val+0; } elsif ( $parm eq 'continuation' ) { $cont = $val; + } elsif ( $parm eq 'exclude' ) { + @exclude = split(/\,/, $val); } } elsif ( $line eq $barrier ) { last; # Stop reading input at barrier line @@ -115,6 +118,11 @@ sub insert_deps($) { } close(IN); + my $e, %do_exclude; + foreach $e (@exclude) { + $do_exclude{$e} = 1; + } + my $dfile, $ofile, $str, $sl, $len; my @deps, $dep; @@ -127,14 +135,16 @@ sub insert_deps($) { $len = length($str); print OUT $str; foreach $dep ($dfile, alldeps($dfile)) { - $str = convert_file($dep,$sep); - $sl = length($str)+1; - if ( $len+$sl > $maxline-2 ) { - print OUT ' ', $cont, "\n ", $str; - $len = $sl; - } else { - print OUT ' ', $str; - $len += $sl; + unless ($do_exclude{$dep}) { + $str = convert_file($dep,$sep); + $sl = length($str)+1; + if ( $len+$sl > $maxline-2 ) { + print OUT ' ', $cont, "\n ", $str; + $len = $sl; + } else { + print OUT ' ', $str; + $len += $sl; + } } } print OUT "\n"; |