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