mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-15 00:00:20 +00: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
|