mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
d684720f29
Don't try "make dep" alone; use "make dep DEP=mymkdep", where "mymkdep" has been hacked to use "gcc -MM"...
22 lines
279 B
Sed
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
|