* Makefile.in: Add targets to automatically rebuild dependencies.
authorIan Lance Taylor <ian@airs.com>
Tue, 2 Jan 1996 22:48:13 +0000 (22:48 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 2 Jan 1996 22:48:13 +0000 (22:48 +0000)
Remove targets which just listed dependencies of .o files.
(DEP): New variable.
(HFILES, GENERATED_HFILES): New variables.
(CFILES, GENERATED_CFILES): New variables.
(underscore.c): Don't do anything, just depend upon stamp-under.
(stamp-under): New target; do what underscore.c used to do.
(nlmconv.o): Depend upon sym.h and ecoff.h.
(.dep, .dep1, dep.sed, dep, dep-in): New targets.
(stage1, stage2, stage3, against, comparison): Remove.
(de-stage1, de-stage2, de-stage3): Remove.
(clean, distclean): Remove stamp-under and dep.sed.
* dep-in.sed: New file.

* Makefile.in (OBJDUMP_OBJS): New variable.
($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS).

binutils/dep-in.sed [new file with mode: 0644]

diff --git a/binutils/dep-in.sed b/binutils/dep-in.sed
new file mode 100644 (file)
index 0000000..1c46ad2
--- /dev/null
@@ -0,0 +1,15 @@
+:loop
+/\\$/N
+/\\$/b loop
+
+s!@INCDIR@!$(INCDIR)!g
+s!@SRCDIR@/!!g
+
+s/\\\n */ /g
+
+s/ *$//
+s/  */ /g
+/:$/d
+
+s/\(.\{50\}[^ ]*\) /\1 \\\
+  /g