From: Ian Lance Taylor Date: Tue, 2 Jan 1996 22:48:13 +0000 (+0000) Subject: * Makefile.in: Add targets to automatically rebuild dependencies. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd46af111eaebc699cc735387bddfce8ee4c37ff;p=binutils-gdb.git * 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). --- diff --git a/binutils/dep-in.sed b/binutils/dep-in.sed new file mode 100644 index 00000000000..1c46ad2e197 --- /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