1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Remove readline copy, now gdb use gnu lib tree libreadline

This commit is contained in:
Andrey A. Chernov 1994-05-09 18:13:54 +00:00
parent e9ca3bdf0e
commit 13adc6f931
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1470

View File

@ -8,13 +8,12 @@ GDBSRCS= blockframe.c breakpoint.c command.c copying.c core.c \
remote-sl.c source.c stack.c symmisc.c symtab.c \
utils.c valarith.c valops.c valprint.c values.c \
version.c
READLINESRCS= funmap.c history.c keymaps.c readline.c
SRCS= $(CONFIGSRCS) $(GDBSRCS) $(READLINESRCS) init.c
CFLAGS+= -I. -I$(.CURDIR) -I$(.CURDIR)/config -I$(.CURDIR)/readline \
-DHAVE_VPRINTF -DVI_MODE -DKERNELDEBUG -DNEWVM
LDADD= -ltermcap
SRCS= $(CONFIGSRCS) $(GDBSRCS) init.c
CFLAGS+= -I. -I$(.CURDIR) -I$(.CURDIR)/config \
-DHAVE_VPRINTF -DKERNELDEBUG -DNEWVM
LDADD= -lreadline -ltermcap
YFLAGS=
.PATH: $(.CURDIR)/config $(.CURDIR)/readline
.PATH: $(.CURDIR)/config
depend:
@ -29,9 +28,7 @@ $(OBJS): param.h
init.c: $(CONFIGSRCS) $(GDBSRCS) $(READLINESRCS)
-((cd $(.CURDIR)/config; \
egrep -h '^_initialize_[^ ]* *\(\)' $(CONFIGSRCS)); \
(cd $(.CURDIR); egrep -h '^_initialize_[^ ]* *\(\)' $(GDBSRCS)); \
(cd $(.CURDIR)/readline; \
egrep -h '^_initialize_[^ ]* *\(\)' $(READLINESRCS))) | \
(cd $(.CURDIR); egrep -h '^_initialize_[^ ]* *\(\)' $(GDBSRCS))) | \
(echo 'void initialize_all_files () {'; sed -e 's/$$/;/'; echo '}') \
> init.c