darling-gdb/opcodes/dep-in.sed
Ian Lance Taylor f76db60bbb * Makefile.in (BFD_H): New variable.
(HFILES): New variable.
	(CFILES): Add all C files.
	(.dep, .dep1, dep.sed, dep, dep-in): New targets.
	Delete old dependencies, and build new ones.
	* dep-in.sed: New file.
1997-03-21 19:39:26 +00:00

20 lines
200 B
Sed

:loop
/\\$/N
s/\\\n */ /g
t loop
s! @BFD_H@! $(BFD_H)!g
s!@INCDIR@!$(INCDIR)!g
s!@BFDDIR@!$(BFDDIR)!g
s!@SRCDIR@/!!g
s/\\\n */ /g
s/ *$//
s/ */ /g
s/ *:/:/g
/:$/d
s/\(.\{50\}[^ ]*\) /\1 \\\
/g