freebsd-dev/gnu/usr.bin/binutils/gdbserver5/Makefile

25 lines
514 B
Makefile

# $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
CFLAGS+= -I../libbfd # for BFD's config.h
CFLAGS+= -DNO_MMALLOC
.include <bsd.prog.mk>