1PROG= kgdb 2SRCS= kgdb.c kthr.c kld.c trgt.c trgt_${MACHINE_ARCH}.c 3 4CFLAGS+= -I${.OBJDIR}/../libgdb -I${.CURDIR}/../libgdb -I${BASEDIR}/include 5CFLAGS+= -I${BASEDIR}/bfd -I${BASEDIR}/gdb -I${BASEDIR}/gdb/config -I${.CURDIR}/../libbfd 6CFLAGS+= -I${.OBJDIR}/../libbfd -I${BASEDIR}/gdb/common 7CFLAGS+= -D_KERNEL_STRUCTURES 8 9DPADD= ${LIBEDIT} ${LIBKVM} ${LIBTERMCAP} ${LIBM} ${LIBZ} 10DPADD+= ${GDBLIBS} 11LDADD= -L../libgdb -lgdb -L../libbfd -lbfd -L../libopcodes -lopcodes 12LDADD+= -L../libiberty -liberty -L../libdecnumber -ldecnumber 13LDADD+= -ledit -lkvm -ltermcap -lm -lz 14 15WARNS?= 2 16 17.include <bsd.prog.mk> 18 19.PATH: ${BASEDIR}/gdb 20