diff options
author | Stu Grossman <grossman@cygnus> | 1996-10-09 14:47:29 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1996-10-09 14:47:29 +0000 |
commit | 5faa6e1e4f24dfdede379d837647a6b8e8edd98b (patch) | |
tree | f24240ea55a7f34958a5231920a86fa0924fd9f2 /gdb/Makefile.in | |
parent | ed46a8ee9b1c901294d2632688a68d9dbaf4b0c9 (diff) | |
download | gdb-5faa6e1e4f24dfdede379d837647a6b8e8edd98b.zip gdb-5faa6e1e4f24dfdede379d837647a6b8e8edd98b.tar.gz gdb-5faa6e1e4f24dfdede379d837647a6b8e8edd98b.tar.bz2 |
* Makefile.in (init.c): Retro HPUX grep lacks -h option. Strip
filenames with sed instead.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index de5a5b8..ca0df9b 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -602,8 +602,8 @@ init.c: $(OBS) $(TSOBS) -e '/[a-z0-9A-Z_]*-exp.tab.o/d' \ -e 's/\.o/.c/' \ -e 's|\([^ ][^ ]*\)|$(srcdir)/\1|g' | \ - xargs grep -h -s '^_initialize_[a-z_0-9A-Z]* *(' | \ - sed -e 's/^\([a-z_0-9A-Z]*\).*/ {extern void \1 PARAMS ((void)); \1 ();}/p' >>init.c-tmp + xargs grep -s '^_initialize_[a-z_0-9A-Z]* *(' | \ + sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/ {extern void \1 PARAMS ((void)); \1 ();}/p' >>init.c-tmp @echo '}' >>init.c-tmp @mv init.c-tmp init.c |