diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-10-13 19:04:08 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-10-13 19:04:08 +0000 |
commit | d684720f2942469235f050c9901acc4eb11738b5 (patch) | |
tree | 245cdf8a11980eed2bc1d0b2cac367ba4d8afed9 /bfd/dep-in.sed | |
parent | 3fd4fab335f4b2f216434e1373b9e7ab10a062de (diff) | |
download | gdb-d684720f2942469235f050c9901acc4eb11738b5.zip gdb-d684720f2942469235f050c9901acc4eb11738b5.tar.gz gdb-d684720f2942469235f050c9901acc4eb11738b5.tar.bz2 |
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"...
Diffstat (limited to 'bfd/dep-in.sed')
-rw-r--r-- | bfd/dep-in.sed | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bfd/dep-in.sed b/bfd/dep-in.sed new file mode 100644 index 0000000..f2dc0b6 --- /dev/null +++ b/bfd/dep-in.sed @@ -0,0 +1,21 @@ +: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 |