blob: 23793b89d03e4d31593c4a37c31b79a05bc83e1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: Makefile,v 1.1 1995/10/18 08:40:16 deraadt Exp $
.include "../config/Makefile.$(MACHINE)"
PROG= xgdb
SRCS= xgdb.c xgdbinit.c
GDBOBJS+= $(CONFIGSRCS:R:S/$/.o/g) \
blockframe.o breakpoint.o command.o copying.o core.o \
cplus-dem.o dbxread.o environ.o eval.o expprint.o \
expread.o findvar.o infcmd.o inflow.o infrun.o \
main.o obstack.o printcmd.o regex.o remote.o \
remote-sl.o source.o stack.o symmisc.o symtab.o \
utils.o valarith.o valops.o valprint.o values.o \
version.o \
funmap.o history.o keymaps.o readline.o
CFLAGS+= -I.. -I$(.CURDIR)/.. -I$(.CURDIR)/../config \
-DHAVE_VPRINTF -DVI_MODE -DKERNELDEBUG
LDFLAGS+= -L/usr/lib/X11
LDADD+= $(GDBOBJS:S/^/..\//g) -lXaw -lXmu -lXt -lXext -lX11 -ltermcap
NOMAN= noman
.include "../../Makefile.inc"
.include <bsd.prog.mk>
#
# Generate the constructor
#
xgdbinit.c: ../init.c xgdb.c
-(sed -e '/^}$$/d' ../init.c; \
egrep -h '^_initialize_[^ ]* *\(\)' $(.CURDIR)/xgdb.c; \
echo ';}') > xgdbinit.c
CLEANFILES+= xgdbinit.c
|