1f7119d65413fed7e2f48fab9722dbbaf5eaf130
[dragonfly.git] / gnu / usr.bin / gdb / kgdb / Makefile
1 # $DragonFly: src/gnu/usr.bin/gdb/kgdb/Makefile,v 1.4 2008/07/30 01:48:14 corecode Exp $
2
3 PROG=   kgdb
4 SRCS=   kgdb.c kthr.c trgt.c trgt_${MACHINE_ARCH}.c
5
6 CFLAGS+= -I${.OBJDIR}/../libgdb -I${.CURDIR}/../libgdb -I${BASEDIR}/include
7 CFLAGS+= -I${BASEDIR}/bfd -I${BASEDIR}/gdb -I${BASEDIR}/gdb/config -I${.CURDIR}/../libbfd
8 CFLAGS+= -I${.OBJDIR}/../libbfd
9
10 DPADD=  ${LIBEDIT} ${LIBKVM} ${LIBTERMCAP} ${LIBM}
11 DPADD+= ${GDBLIBS}
12 LDADD=  -L../libgdb -lgdb -L../libbfd -lbfd -L../libopcodes -lopcodes
13 LDADD+= -L../libiberty -liberty
14 LDADD+= -ledit -lkvm -ltermcap -lm
15
16 .include <bsd.prog.mk>
17
18 .PATH:  ${BASEDIR}/gdb