2001-03-25 02:20:37 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.include "../Makefile.inc0"
|
|
|
|
|
|
|
|
# Not elf specific so don't install in /usr/libexec/elf
|
|
|
|
BINDIR=/usr/bin
|
|
|
|
|
|
|
|
GDBDIR= ${.CURDIR}/../../../../contrib/gdb.291
|
|
|
|
.PATH: ${GDBDIR}/gdb/gdbserver
|
|
|
|
.PATH: ${GDBDIR}/gdb
|
|
|
|
|
|
|
|
PROG= gdbserver
|
|
|
|
|
|
|
|
SRCS= remote-utils.c utils.c server.c
|
|
|
|
SRCS+= low-fbsd.c
|
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../gdb/${MACHINE_ARCH}
|
|
|
|
CFLAGS+= -I${GDBDIR}/gdb
|
|
|
|
CFLAGS+= -I${GDBDIR}/gdb/config
|
|
|
|
CFLAGS+= -I${GDBDIR}/gdb/gdbserver
|
2001-10-14 02:07:26 +00:00
|
|
|
CFLAGS+= -I../libbfd # for BFD's config.h
|
2001-03-25 02:20:37 +00:00
|
|
|
CFLAGS+= -DNO_MMALLOC
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|