mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-01 09:49:43 +08:00
* Makefile.in (init.c): Retro HPUX grep lacks -h option. Strip
filenames with sed instead.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Wed Oct 9 07:42:44 1996 Stu Grossman (grossman@critters.cygnus.com)
|
||||||
|
|
||||||
|
* Makefile.in (init.c): Retro HPUX grep lacks -h option. Strip
|
||||||
|
filenames with sed instead.
|
||||||
|
|
||||||
Tue Oct 8 15:59:44 1996 Stu Grossman (grossman@critters.cygnus.com)
|
Tue Oct 8 15:59:44 1996 Stu Grossman (grossman@critters.cygnus.com)
|
||||||
|
|
||||||
* defs.h: Remove decls of xmalloc and xrealloc. There is a
|
* defs.h: Remove decls of xmalloc and xrealloc. There is a
|
||||||
|
@ -602,8 +602,8 @@ init.c: $(OBS) $(TSOBS)
|
|||||||
-e '/[a-z0-9A-Z_]*-exp.tab.o/d' \
|
-e '/[a-z0-9A-Z_]*-exp.tab.o/d' \
|
||||||
-e 's/\.o/.c/' \
|
-e 's/\.o/.c/' \
|
||||||
-e 's|\([^ ][^ ]*\)|$(srcdir)/\1|g' | \
|
-e 's|\([^ ][^ ]*\)|$(srcdir)/\1|g' | \
|
||||||
xargs grep -h -s '^_initialize_[a-z_0-9A-Z]* *(' | \
|
xargs grep -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
|
sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/ {extern void \1 PARAMS ((void)); \1 ();}/p' >>init.c-tmp
|
||||||
@echo '}' >>init.c-tmp
|
@echo '}' >>init.c-tmp
|
||||||
@mv init.c-tmp init.c
|
@mv init.c-tmp init.c
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user