diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-11-22 10:58:58 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-11-22 10:58:58 +0000 |
| commit | 140932d6d85b561ad06abe5006a5e973a7713c45 (patch) | |
| tree | be1d2469fd1ab2ab0df6164fbc91fb7bbbdd80f5 /gnu/usr.bin/kgdb/xgdb/Makefile | |
| parent | 324ec40db3d437d18da21aa07a7ae4d4ecd9c157 (diff) | |
Tell stupid users to write the bootcode.upstream/2.0_cvsrelease/2.0_cvs
This commit was manufactured to restore the state of the 2.0-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'gnu/usr.bin/kgdb/xgdb/Makefile')
| -rw-r--r-- | gnu/usr.bin/kgdb/xgdb/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/usr.bin/kgdb/xgdb/Makefile b/gnu/usr.bin/kgdb/xgdb/Makefile new file mode 100644 index 000000000000..b8a042ec8dc8 --- /dev/null +++ b/gnu/usr.bin/kgdb/xgdb/Makefile @@ -0,0 +1,40 @@ +# %W% (Berkeley) %G% + +.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 +# XXX objects should be in OBJS so that bsd.prog.mk handles their dependencies +DPADD+= $(GDBOBJS:S/^/..\//g) +# XXX cloned X lib stuff from xditview/Makefile. Should include it +LDDESTDIR= /usr/X386/lib +DPADD+= ${LDDESTDIR}/libXaw.a ${LDDESTDIR}/libXmu.a \ + ${LDDESTDIR}/libXt.a ${LDDESTDIR}/libXext.a \ + ${LDDESTDIR}/libX11.a +DPADD+= ${LINTERM} +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 |
