darling-gdb/bfd/dep-in.sed
Ken Raeburn d684720f29 Make "make dep" easier to work with. Updated lots of dependencies.
Don't try "make dep" alone; use "make dep DEP=mymkdep", where "mymkdep" has
been hacked to use "gcc -MM"...
1993-10-13 19:04:08 +00:00

22 lines
279 B
Sed

:loop
/\\$/N
/\\$/b loop
s! @BFD_H@!!g
s!@INCDIR@!$(INCDIR)!g
s!@srcdir@/!!g
s!hosts/.*\.h ! !g
s/ sysdep.h//g
s/ libbfd.h//g
s! \$(INCDIR)/fopen-.*\.h!!g
s! \$(INCDIR)/ansidecl\.h!!g
s! \$(INCDIR)/obstack\.h!!g
s/\\\n *\\/\\/g
s/\\\n *$/ /g
/^ *\\$/d
s/ *$//
s/ */ /g
/:$/d