aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-01-02 22:48:13 +0000
committerIan Lance Taylor <ian@airs.com>1996-01-02 22:48:13 +0000
commitcd46af111eaebc699cc735387bddfce8ee4c37ff (patch)
treece35b0d5459befbdbb0d826bf2abf4c1d7d160d5 /binutils
parent54b8b5c3423d717905ec31620979c3b3ac2307b7 (diff)
downloadfsf-binutils-gdb-cd46af111eaebc699cc735387bddfce8ee4c37ff.zip
fsf-binutils-gdb-cd46af111eaebc699cc735387bddfce8ee4c37ff.tar.gz
fsf-binutils-gdb-cd46af111eaebc699cc735387bddfce8ee4c37ff.tar.bz2
* Makefile.in: Add targets to automatically rebuild dependencies.
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).
Diffstat (limited to 'binutils')
-rw-r--r--binutils/dep-in.sed15
1 files changed, 15 insertions, 0 deletions
diff --git a/binutils/dep-in.sed b/binutils/dep-in.sed
new file mode 100644
index 0000000..1c46ad2
--- /dev/null
+++ b/binutils/dep-in.sed
@@ -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