ref: 285830f3c70d81af18754aa53b16439c6a207a43
parent: a33062b124d31a503e3800e9d050d32982520a95
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue Feb 26 06:46:51 EST 2019
Update deps.mk
--- a/src/cmd/deps.mk
+++ b/src/cmd/deps.mk
@@ -45,10 +45,19 @@
./as/target/x86/ins.o: $(INCDIR)/scc/scc/scc.h
./as/target/x86/ins.o: ./as/target/x86/../../as.h
./as/target/x86/ins.o: ./as/target/x86/proc.h
-./ld.o: $(INCDIR)/scc/scc/ar.h
-./ld.o: $(INCDIR)/scc/scc/mach.h
-./ld.o: $(INCDIR)/scc/scc/scc.h
-./ld.o: $(INCDIR)/scc/scc/syslibs.h
+./ld/main.o: $(INCDIR)/scc/scc/syslibs.h
+./ld/main.o: ./ld/ld.h
+./ld/pass1.o: $(INCDIR)/scc/scc/ar.h
+./ld/pass1.o: $(INCDIR)/scc/scc/mach.h
+./ld/pass1.o: $(INCDIR)/scc/scc/scc.h
+./ld/pass1.o: ./ld/ld.h
+./ld/pass2.o: $(INCDIR)/scc/scc/mach.h
+./ld/pass2.o: ./ld/ld.h
+./ld/pass3.o: $(INCDIR)/scc/scc/mach.h
+./ld/pass3.o: ./ld/ld.h
+./ld/symbol.o: $(INCDIR)/scc/scc/mach.h
+./ld/symbol.o: $(INCDIR)/scc/scc/scc.h
+./ld/symbol.o: ./ld/ld.h
./nm.o: $(INCDIR)/scc/scc/arg.h
./nm.o: $(INCDIR)/scc/scc/mach.h
./objdump.o: $(INCDIR)/scc/scc/arg.h
--- a/src/libmach/coff32/deps.mk
+++ b/src/libmach/coff32/deps.mk
@@ -12,7 +12,9 @@
./coff32getsect.o: $(INCDIR)/scc/scc/mach.h
./coff32getsect.o: ./../libmach.h
./coff32getsect.o: ./coff32.h
-./coff32namidx.o: $(INCDIR)/scc/scc/mach.h
+./coff32getsyms.o: $(INCDIR)/scc/scc/mach.h
+./coff32getsyms.o: ./../libmach.h
+./coff32getsyms.o: ./coff32.h
./coff32new.o: $(INCDIR)/scc/scc/mach.h
./coff32new.o: ./../libmach.h
./coff32new.o: ./coff32.h
--- a/src/libmach/deps.mk
+++ b/src/libmach/deps.mk
@@ -18,7 +18,9 @@
./coff32/coff32getsect.o: $(INCDIR)/scc/scc/mach.h
./coff32/coff32getsect.o: ./coff32/../libmach.h
./coff32/coff32getsect.o: ./coff32/coff32.h
-./coff32/coff32namidx.o: $(INCDIR)/scc/scc/mach.h
+./coff32/coff32getsyms.o: $(INCDIR)/scc/scc/mach.h
+./coff32/coff32getsyms.o: ./coff32/../libmach.h
+./coff32/coff32getsyms.o: ./coff32/coff32.h
./coff32/coff32new.o: $(INCDIR)/scc/scc/mach.h
./coff32/coff32new.o: ./coff32/../libmach.h
./coff32/coff32new.o: ./coff32/coff32.h
@@ -39,24 +41,10 @@
./coff32/coff32write.o: $(INCDIR)/scc/scc/mach.h
./coff32/coff32write.o: ./coff32/../libmach.h
./coff32/coff32write.o: ./coff32/coff32.h
-./del.o: $(INCDIR)/scc/scc/mach.h
-./del.o: ./libmach.h
./formember.o: $(INCDIR)/scc/scc/ar.h
./formember.o: $(INCDIR)/scc/scc/mach.h
-./forsym.o: $(INCDIR)/scc/scc/mach.h
-./forsym.o: ./libmach.h
-./getidx.o: $(INCDIR)/scc/scc/mach.h
-./getidx.o: ./libmach.h
./getindex.o: $(INCDIR)/scc/scc/mach.h
./getindex.o: ./libmach.h
-./getsect.o: $(INCDIR)/scc/scc/mach.h
-./getsect.o: ./libmach.h
-./namidx.o: $(INCDIR)/scc/scc/mach.h
-./namidx.o: ./libmach.h
-./namindex.o: $(INCDIR)/scc/scc/mach.h
-./namindex.o: ./libmach.h
-./new.o: $(INCDIR)/scc/scc/mach.h
-./new.o: ./libmach.h
./objdel.o: $(INCDIR)/scc/scc/mach.h
./objdel.o: ./libmach.h
./objfree.o: $(INCDIR)/scc/scc/mach.h
@@ -73,6 +61,8 @@
./objsect.o: ./libmach.h
./objstrip.o: $(INCDIR)/scc/scc/mach.h
./objstrip.o: ./libmach.h
+./objsyms.o: $(INCDIR)/scc/scc/mach.h
+./objsyms.o: ./libmach.h
./objtype.o: $(INCDIR)/scc/scc/mach.h
./objtype.o: ./libmach.h
./objwrite.o: $(INCDIR)/scc/scc/mach.h
@@ -79,17 +69,7 @@
./objwrite.o: ./libmach.h
./pack.o: $(INCDIR)/scc/scc/mach.h
./pack.o: ./libmach.h
-./probe.o: $(INCDIR)/scc/scc/mach.h
-./probe.o: ./libmach.h
-./read.o: $(INCDIR)/scc/scc/mach.h
-./read.o: ./libmach.h
-./setidx.o: $(INCDIR)/scc/scc/mach.h
-./setidx.o: ./libmach.h
./setindex.o: $(INCDIR)/scc/scc/mach.h
./setindex.o: ./libmach.h
-./strip.o: $(INCDIR)/scc/scc/mach.h
-./strip.o: ./libmach.h
./unpack.o: $(INCDIR)/scc/scc/mach.h
./unpack.o: ./libmach.h
-./write.o: $(INCDIR)/scc/scc/mach.h
-./write.o: ./libmach.h