mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 23:57:30 -04:00
19 lines
462 B
Makefile
19 lines
462 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= gdb${GDB_SUFFIX}
|
|
SRCS= gdb.c
|
|
|
|
BULIBS= ${OBJ_BU}/libbfd/libbfd.a ${OBJ_BU}/libopcodes/libopcodes.a \
|
|
${OBJ_BU}/libiberty/libiberty.a
|
|
GDBLIBS= ${OBJ_GDB}/libgdb/libgdb.a
|
|
|
|
# libthread_db.so calls back into gdb for the proc services. Make all the
|
|
# global symbols visible.
|
|
LDFLAGS+= -Wl,-E
|
|
|
|
DPADD= ${GDBLIBS} ${BULIBS}
|
|
LDADD= ${GDBLIBS} ${BULIBS}
|
|
LIBADD+= m readline ncursesw gnuregex
|
|
|
|
.include <bsd.prog.mk>
|
|
CFLAGS+= -DDEBUGDIR=\"${DEBUGDIR}\"
|