a8100df3de5ac9c2a94dd6bdbec991e21d7244a4
[dragonfly.git] / gnu / usr.bin / gdb / kgdb / Makefile
1 # $DragonFly: src/gnu/usr.bin/gdb/kgdb/Makefile,v 1.3 2007/10/27 22:36:47 pavalos 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 CLFAGS+= -I${BASEDIR}
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