1999-05-08 12:08:06 +00:00
|
|
|
# $Id: Makefile,v 1.4 1999/05/02 19:50:18 dfr Exp $
|
1999-05-02 19:50:18 +00:00
|
|
|
|
|
|
|
.include "../Makefile.inc0"
|
1997-04-25 22:25:50 +00:00
|
|
|
|
1999-05-08 12:08:06 +00:00
|
|
|
# Not elf specific so don't install in /usr/libexec/elf
|
|
|
|
BINDIR=/usr/bin
|
|
|
|
|
1997-04-25 22:25:50 +00:00
|
|
|
GDBDIR= ${.CURDIR}/../../../../contrib/gdb
|
|
|
|
.PATH: ${GDBDIR}/gdb/gdbserver
|
|
|
|
.PATH: ${GDBDIR}/gdb
|
|
|
|
|
|
|
|
PROG= gdbserver
|
|
|
|
|
|
|
|
SRCS= remote-utils.c utils.c server.c
|
|
|
|
SRCS+= low-fbsd.c
|
|
|
|
|
1999-05-02 19:50:18 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../gdb/${MACHINE_ARCH}
|
|
|
|
CFLAGS+= -I${GDBDIR}/gdb
|
|
|
|
CFLAGS+= -I${GDBDIR}/gdb/config
|
|
|
|
CFLAGS+= -I${GDBDIR}/gdb/gdbserver
|
|
|
|
CFLAGS+= -DNO_MMALLOC
|
1997-04-25 22:25:50 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|