shithub: scc

Download patch

ref: 6fe4bfa800433e39ea7f70645103e5dccdd9411d
parent: 8603664509dc8ef2576905a692bfca40d737637a
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Aug 17 02:04:14 EDT 2018

Remove heading ./ from deps.mk

diff: cannot open b/lib/coff32//null: file does not exist: 'b/lib/coff32//null'
--- a/ar/deps.mk
+++ b/ar/deps.mk
@@ -1,7 +1,7 @@
 main.o: $(DRIVER)/driver.h
 
 #deps
-main.o: ./../inc/ar.h
-main.o: ./../inc/arg.h
-main.o: ./../inc/scc.h
-posix/driver.o: ./posix/driver.h
+main.o: ../inc/ar.h
+main.o: ../inc/arg.h
+main.o: ../inc/scc.h
+posix/driver.o: posix/driver.h
--- a/as/deps.mk
+++ b/as/deps.mk
@@ -1,45 +1,45 @@
 
 #deps
-expr.o: ./../inc/scc.h
-expr.o: ./as.h
-ins.o: ./../inc/scc.h
-ins.o: ./as.h
-main.o: ./../inc/arg.h
-main.o: ./../inc/scc.h
-main.o: ./as.h
-myro.o: ./../inc/myro.h
-myro.o: ./../inc/scc.h
-myro.o: ./as.h
-parser.o: ./../inc/scc.h
-parser.o: ./as.h
-symbol.o: ./../inc/scc.h
-symbol.o: ./as.h
-target/x80/ins.o: ./target/x80/../../../inc/scc.h
-target/x80/ins.o: ./target/x80/../../as.h
-target/x80/ins.o: ./target/x80/proc.h
-target/x80/z80.o: ./target/x80/../../../inc/scc.h
-target/x80/z80.o: ./target/x80/../../as.h
-target/x80/z80.o: ./target/x80/../x80/proc.h
-target/x80/z80tbl.o: ./target/x80/../../../inc/scc.h
-target/x80/z80tbl.o: ./target/x80/../../as.h
-target/x80/z80tbl.o: ./target/x80/../x80/proc.h
-target/x86/amd64.o: ./target/x86/../../../inc/scc.h
-target/x86/amd64.o: ./target/x86/../../as.h
-target/x86/amd64tbl.o: ./target/x86/../../../inc/scc.h
-target/x86/amd64tbl.o: ./target/x86/../../as.h
-target/x86/amd64tbl.o: ./target/x86/../x86/proc.h
-target/x86/i286.o: ./target/x86/../../../inc/scc.h
-target/x86/i286.o: ./target/x86/../../as.h
-target/x86/i286.o: ./target/x86/../x86/proc.h
-target/x86/i286tbl.o: ./target/x86/../../../inc/scc.h
-target/x86/i286tbl.o: ./target/x86/../../as.h
-target/x86/i286tbl.o: ./target/x86/../x86/proc.h
-target/x86/i386.o: ./target/x86/../../../inc/scc.h
-target/x86/i386.o: ./target/x86/../../as.h
-target/x86/i386.o: ./target/x86/../x86/proc.h
-target/x86/i386tbl.o: ./target/x86/../../../inc/scc.h
-target/x86/i386tbl.o: ./target/x86/../../as.h
-target/x86/i386tbl.o: ./target/x86/../x86/proc.h
-target/x86/ins.o: ./target/x86/../../../inc/scc.h
-target/x86/ins.o: ./target/x86/../../as.h
-target/x86/ins.o: ./target/x86/proc.h
+expr.o: ../inc/scc.h
+expr.o: as.h
+ins.o: ../inc/scc.h
+ins.o: as.h
+main.o: ../inc/arg.h
+main.o: ../inc/scc.h
+main.o: as.h
+myro.o: ../inc/myro.h
+myro.o: ../inc/scc.h
+myro.o: as.h
+parser.o: ../inc/scc.h
+parser.o: as.h
+symbol.o: ../inc/scc.h
+symbol.o: as.h
+target/x80/ins.o: target/x80/../../../inc/scc.h
+target/x80/ins.o: target/x80/../../as.h
+target/x80/ins.o: target/x80/proc.h
+target/x80/z80.o: target/x80/../../../inc/scc.h
+target/x80/z80.o: target/x80/../../as.h
+target/x80/z80.o: target/x80/../x80/proc.h
+target/x80/z80tbl.o: target/x80/../../../inc/scc.h
+target/x80/z80tbl.o: target/x80/../../as.h
+target/x80/z80tbl.o: target/x80/../x80/proc.h
+target/x86/amd64.o: target/x86/../../../inc/scc.h
+target/x86/amd64.o: target/x86/../../as.h
+target/x86/amd64tbl.o: target/x86/../../../inc/scc.h
+target/x86/amd64tbl.o: target/x86/../../as.h
+target/x86/amd64tbl.o: target/x86/../x86/proc.h
+target/x86/i286.o: target/x86/../../../inc/scc.h
+target/x86/i286.o: target/x86/../../as.h
+target/x86/i286.o: target/x86/../x86/proc.h
+target/x86/i286tbl.o: target/x86/../../../inc/scc.h
+target/x86/i286tbl.o: target/x86/../../as.h
+target/x86/i286tbl.o: target/x86/../x86/proc.h
+target/x86/i386.o: target/x86/../../../inc/scc.h
+target/x86/i386.o: target/x86/../../as.h
+target/x86/i386.o: target/x86/../x86/proc.h
+target/x86/i386tbl.o: target/x86/../../../inc/scc.h
+target/x86/i386tbl.o: target/x86/../../as.h
+target/x86/i386tbl.o: target/x86/../x86/proc.h
+target/x86/ins.o: target/x86/../../../inc/scc.h
+target/x86/ins.o: target/x86/../../as.h
+target/x86/ins.o: target/x86/proc.h
--- a/cc1/deps.mk
+++ b/cc1/deps.mk
@@ -8,38 +8,38 @@
 types.c: $(PROJECTDIR)/inc/$(STD)/cstd.h
 
 #deps
-builtin.o: ./../inc/scc.h
-builtin.o: ./cc1.h
-code.o: ./../inc/scc.h
-code.o: ./cc1.h
-cpp.o: ./../inc/scc.h
-cpp.o: ./cc1.h
-decl.o: ./../inc/scc.h
-decl.o: ./cc1.h
-error.o: ./../inc/scc.h
-error.o: ./cc1.h
-expr.o: ./../inc/scc.h
-expr.o: ./cc1.h
-fold.o: ./../inc/scc.h
-fold.o: ./cc1.h
-init.o: ./../inc/scc.h
-init.o: ./cc1.h
-lex.o: ./../inc/scc.h
-lex.o: ./cc1.h
-main.o: ./../inc/arg.h
-main.o: ./../inc/scc.h
-main.o: ./cc1.h
-stmt.o: ./../inc/scc.h
-stmt.o: ./cc1.h
-symbol.o: ./../inc/scc.h
-symbol.o: ./cc1.h
-target/amd64-sysv/arch.o: ./target/amd64-sysv/../../../inc/scc.h
-target/amd64-sysv/arch.o: ./target/amd64-sysv/../../cc1.h
-target/arm64-sysv/arch.o: ./target/arm64-sysv/../../../inc/scc.h
-target/arm64-sysv/arch.o: ./target/arm64-sysv/../../cc1.h
-target/i386-sysv/arch.o: ./target/i386-sysv/../../../inc/scc.h
-target/i386-sysv/arch.o: ./target/i386-sysv/../../cc1.h
-target/z80-scc/arch.o: ./target/z80-scc/../../../inc/scc.h
-target/z80-scc/arch.o: ./target/z80-scc/../../cc1.h
-types.o: ./../inc/scc.h
-types.o: ./cc1.h
+builtin.o: ../inc/scc.h
+builtin.o: cc1.h
+code.o: ../inc/scc.h
+code.o: cc1.h
+cpp.o: ../inc/scc.h
+cpp.o: cc1.h
+decl.o: ../inc/scc.h
+decl.o: cc1.h
+error.o: ../inc/scc.h
+error.o: cc1.h
+expr.o: ../inc/scc.h
+expr.o: cc1.h
+fold.o: ../inc/scc.h
+fold.o: cc1.h
+init.o: ../inc/scc.h
+init.o: cc1.h
+lex.o: ../inc/scc.h
+lex.o: cc1.h
+main.o: ../inc/arg.h
+main.o: ../inc/scc.h
+main.o: cc1.h
+stmt.o: ../inc/scc.h
+stmt.o: cc1.h
+symbol.o: ../inc/scc.h
+symbol.o: cc1.h
+target/amd64-sysv/arch.o: target/amd64-sysv/../../../inc/scc.h
+target/amd64-sysv/arch.o: target/amd64-sysv/../../cc1.h
+target/arm64-sysv/arch.o: target/arm64-sysv/../../../inc/scc.h
+target/arm64-sysv/arch.o: target/arm64-sysv/../../cc1.h
+target/i386-sysv/arch.o: target/i386-sysv/../../../inc/scc.h
+target/i386-sysv/arch.o: target/i386-sysv/../../cc1.h
+target/z80-scc/arch.o: target/z80-scc/../../../inc/scc.h
+target/z80-scc/arch.o: target/z80-scc/../../cc1.h
+types.o: ../inc/scc.h
+types.o: cc1.h
--- a/cc2/deps.mk
+++ b/cc2/deps.mk
@@ -1,57 +1,57 @@
 parser.c: $(PROJECTDIR)/inc/$(STD)/cstd.h
 
 #deps
-code.o: ./../inc/scc.h
-code.o: ./cc2.h
-main.o: ./../inc/arg.h
-main.o: ./../inc/scc.h
-main.o: ./cc2.h
-main.o: ./error.h
-node.o: ./../inc/scc.h
-node.o: ./cc2.h
-optm.o: ./../inc/scc.h
-optm.o: ./cc2.h
-parser.o: ./../inc/scc.h
-parser.o: ./cc2.h
-peep.o: ./../inc/scc.h
-peep.o: ./cc2.h
-symbol.o: ./../inc/scc.h
-symbol.o: ./cc2.h
-target/amd64-sysv/cgen.o: ./target/amd64-sysv/../../../inc/scc.h
-target/amd64-sysv/cgen.o: ./target/amd64-sysv/../../cc2.h
-target/amd64-sysv/cgen.o: ./target/amd64-sysv/arch.h
-target/amd64-sysv/code.o: ./target/amd64-sysv/../../../inc/scc.h
-target/amd64-sysv/code.o: ./target/amd64-sysv/../../cc2.h
-target/amd64-sysv/code.o: ./target/amd64-sysv/arch.h
-target/amd64-sysv/optm.o: ./target/amd64-sysv/../../../inc/scc.h
-target/amd64-sysv/optm.o: ./target/amd64-sysv/../../cc2.h
-target/amd64-sysv/types.o: ./target/amd64-sysv/../../../inc/scc.h
-target/amd64-sysv/types.o: ./target/amd64-sysv/../../cc2.h
-target/i386-sysv/cgen.o: ./target/i386-sysv/../../../inc/scc.h
-target/i386-sysv/cgen.o: ./target/i386-sysv/../../cc2.h
-target/i386-sysv/cgen.o: ./target/i386-sysv/arch.h
-target/i386-sysv/code.o: ./target/i386-sysv/../../../inc/scc.h
-target/i386-sysv/code.o: ./target/i386-sysv/../../cc2.h
-target/i386-sysv/code.o: ./target/i386-sysv/arch.h
-target/i386-sysv/optm.o: ./target/i386-sysv/../../../inc/scc.h
-target/i386-sysv/optm.o: ./target/i386-sysv/../../cc2.h
-target/i386-sysv/types.o: ./target/i386-sysv/../../../inc/scc.h
-target/i386-sysv/types.o: ./target/i386-sysv/../../cc2.h
-target/qbe/cgen.o: ./target/qbe/../../../inc/scc.h
-target/qbe/cgen.o: ./target/qbe/../../cc2.h
-target/qbe/cgen.o: ./target/qbe/arch.h
-target/qbe/code.o: ./target/qbe/../../../inc/scc.h
-target/qbe/code.o: ./target/qbe/../../cc2.h
-target/qbe/code.o: ./target/qbe/arch.h
-target/qbe/optm.o: ./target/qbe/../../../inc/scc.h
-target/qbe/optm.o: ./target/qbe/../../cc2.h
-target/z80-scc/cgen.o: ./target/z80-scc/../../../inc/scc.h
-target/z80-scc/cgen.o: ./target/z80-scc/../../cc2.h
-target/z80-scc/cgen.o: ./target/z80-scc/arch.h
-target/z80-scc/code.o: ./target/z80-scc/../../../inc/scc.h
-target/z80-scc/code.o: ./target/z80-scc/../../cc2.h
-target/z80-scc/code.o: ./target/z80-scc/arch.h
-target/z80-scc/optm.o: ./target/z80-scc/../../../inc/scc.h
-target/z80-scc/optm.o: ./target/z80-scc/../../cc2.h
-target/z80-scc/types.o: ./target/z80-scc/../../../inc/scc.h
-target/z80-scc/types.o: ./target/z80-scc/../../cc2.h
+code.o: ../inc/scc.h
+code.o: cc2.h
+main.o: ../inc/arg.h
+main.o: ../inc/scc.h
+main.o: cc2.h
+main.o: error.h
+node.o: ../inc/scc.h
+node.o: cc2.h
+optm.o: ../inc/scc.h
+optm.o: cc2.h
+parser.o: ../inc/scc.h
+parser.o: cc2.h
+peep.o: ../inc/scc.h
+peep.o: cc2.h
+symbol.o: ../inc/scc.h
+symbol.o: cc2.h
+target/amd64-sysv/cgen.o: target/amd64-sysv/../../../inc/scc.h
+target/amd64-sysv/cgen.o: target/amd64-sysv/../../cc2.h
+target/amd64-sysv/cgen.o: target/amd64-sysv/arch.h
+target/amd64-sysv/code.o: target/amd64-sysv/../../../inc/scc.h
+target/amd64-sysv/code.o: target/amd64-sysv/../../cc2.h
+target/amd64-sysv/code.o: target/amd64-sysv/arch.h
+target/amd64-sysv/optm.o: target/amd64-sysv/../../../inc/scc.h
+target/amd64-sysv/optm.o: target/amd64-sysv/../../cc2.h
+target/amd64-sysv/types.o: target/amd64-sysv/../../../inc/scc.h
+target/amd64-sysv/types.o: target/amd64-sysv/../../cc2.h
+target/i386-sysv/cgen.o: target/i386-sysv/../../../inc/scc.h
+target/i386-sysv/cgen.o: target/i386-sysv/../../cc2.h
+target/i386-sysv/cgen.o: target/i386-sysv/arch.h
+target/i386-sysv/code.o: target/i386-sysv/../../../inc/scc.h
+target/i386-sysv/code.o: target/i386-sysv/../../cc2.h
+target/i386-sysv/code.o: target/i386-sysv/arch.h
+target/i386-sysv/optm.o: target/i386-sysv/../../../inc/scc.h
+target/i386-sysv/optm.o: target/i386-sysv/../../cc2.h
+target/i386-sysv/types.o: target/i386-sysv/../../../inc/scc.h
+target/i386-sysv/types.o: target/i386-sysv/../../cc2.h
+target/qbe/cgen.o: target/qbe/../../../inc/scc.h
+target/qbe/cgen.o: target/qbe/../../cc2.h
+target/qbe/cgen.o: target/qbe/arch.h
+target/qbe/code.o: target/qbe/../../../inc/scc.h
+target/qbe/code.o: target/qbe/../../cc2.h
+target/qbe/code.o: target/qbe/arch.h
+target/qbe/optm.o: target/qbe/../../../inc/scc.h
+target/qbe/optm.o: target/qbe/../../cc2.h
+target/z80-scc/cgen.o: target/z80-scc/../../../inc/scc.h
+target/z80-scc/cgen.o: target/z80-scc/../../cc2.h
+target/z80-scc/cgen.o: target/z80-scc/arch.h
+target/z80-scc/code.o: target/z80-scc/../../../inc/scc.h
+target/z80-scc/code.o: target/z80-scc/../../cc2.h
+target/z80-scc/code.o: target/z80-scc/arch.h
+target/z80-scc/optm.o: target/z80-scc/../../../inc/scc.h
+target/z80-scc/optm.o: target/z80-scc/../../cc2.h
+target/z80-scc/types.o: target/z80-scc/../../../inc/scc.h
+target/z80-scc/types.o: target/z80-scc/../../cc2.h
--- a/driver/posix/deps.mk
+++ b/driver/posix/deps.mk
@@ -1,8 +1,8 @@
 #deps
-scc.o: ./../../inc/arg.h
-scc.o: ./../../inc/ldflags.h
-scc.o: ./../../inc/scc.h
-scc.o: ./../../inc/syscrts.h
-scc.o: ./../../inc/sysincludes.h
-scc.o: ./../../inc/syslibs.h
-scc.o: ./config.h
+scc.o: ../../inc/arg.h
+scc.o: ../../inc/ldflags.h
+scc.o: ../../inc/scc.h
+scc.o: ../../inc/syscrts.h
+scc.o: ../../inc/sysincludes.h
+scc.o: ../../inc/syslibs.h
+scc.o: config.h
--- a/ld/deps.mk
+++ b/ld/deps.mk
@@ -1,14 +1,14 @@
 
 #deps
-coff32.o: ./../inc/coff32/aouthdr.h
-coff32.o: ./../inc/coff32/filehdr.h
-coff32.o: ./../inc/coff32/scnhdr.h
-coff32.o: ./../inc/coff32/syms.h
-coff32.o: ./../inc/scc.h
-coff32.o: ./ld.h
-main.o: ./../inc/ar.h
-main.o: ./../inc/scc.h
-main.o: ./../inc/syslibs.h
-main.o: ./ld.h
-obj.o: ./../inc/scc.h
-obj.o: ./ld.h
+coff32.o: ../inc/coff32/aouthdr.h
+coff32.o: ../inc/coff32/filehdr.h
+coff32.o: ../inc/coff32/scnhdr.h
+coff32.o: ../inc/coff32/syms.h
+coff32.o: ../inc/scc.h
+coff32.o: ld.h
+main.o: ../inc/ar.h
+main.o: ../inc/scc.h
+main.o: ../inc/syslibs.h
+main.o: ld.h
+obj.o: ../inc/scc.h
+obj.o: ld.h
--- /dev/null
+++ b/lib/coff32/deps.mk
@@ -1,0 +1,18 @@
+#deps
+packaout.o: ./../../../inc/coff32/aouthdr.h
+packaout.o: ./coff32.h
+packent.o: ./../../../inc/coff32/syms.h
+packent.o: ./coff32.h
+packhdr.o: ./../../../inc/coff32/filehdr.h
+packhdr.o: ./coff32.h
+packscn.o: ./../../../inc/coff32/filehdr.h
+packscn.o: ./../../../inc/coff32/scnhdr.h
+packscn.o: ./coff32.h
+unpackaout.o: ./../../../inc/coff32/aouthdr.h
+unpackaout.o: ./coff32.h
+unpackent.o: ./../../../inc/coff32/syms.h
+unpackent.o: ./coff32.h
+unpackhdr.o: ./../../../inc/coff32/filehdr.h
+unpackhdr.o: ./coff32.h
+unpackscn.o: ./../../../inc/coff32/scnhdr.h
+unpackscn.o: ./coff32.h
--- a/nm/deps.mk
+++ b/nm/deps.mk
@@ -1,12 +1,12 @@
 
 #deps
-coff32.o: ./../inc/coff32/filehdr.h
-coff32.o: ./../inc/coff32/scnhdr.h
-coff32.o: ./../inc/coff32/syms.h
-coff32.o: ./../inc/scc.h
-coff32.o: ./nm.h
-formats.o: ./nm.h
-main.o: ./../inc/ar.h
-main.o: ./../inc/arg.h
-main.o: ./../inc/scc.h
-main.o: ./nm.h
+coff32.o: ../inc/coff32/filehdr.h
+coff32.o: ../inc/coff32/scnhdr.h
+coff32.o: ../inc/coff32/syms.h
+coff32.o: ../inc/scc.h
+coff32.o: nm.h
+formats.o: nm.h
+main.o: ../inc/ar.h
+main.o: ../inc/arg.h
+main.o: ../inc/scc.h
+main.o: nm.h
--- a/objdump/deps.mk
+++ b/objdump/deps.mk
@@ -1,4 +1,4 @@
 #deps
-main.o: ./../inc/arg.h
-main.o: ./../inc/myro.h
-main.o: ./../inc/scc.h
+main.o: ../inc/arg.h
+main.o: ../inc/myro.h
+main.o: ../inc/scc.h