Improve handling of alternate settings in the USB stack.
[freebsd.git] / gnu / usr.bin / gdb / gdb / Makefile
1 # $FreeBSD$
2
3 PROG=   gdb${GDB_SUFFIX}
4 SRCS=   gdb.c
5
6 BULIBS= ${OBJ_BU}/libbfd/libbfd${PIE_SUFFIX}.a \
7         ${OBJ_BU}/libopcodes/libopcodes${PIE_SUFFIX}.a \
8         ${OBJ_BU}/libiberty/libiberty${PIE_SUFFIX}.a
9 GDBLIBS= ${OBJ_GDB}/libgdb/libgdb${PIE_SUFFIX}.a
10
11 # libthread_db.so calls back into gdb for the proc services.  Make all the
12 # global symbols visible.
13 LDFLAGS+= -Wl,-E
14
15 DPADD=  ${GDBLIBS} ${BULIBS}
16 LDADD=  ${GDBLIBS} ${BULIBS}
17 LIBADD+=        m edit ncursesw gnuregex
18
19 .include <bsd.prog.mk>
20 CFLAGS+=        -DDEBUGDIR=\"${DEBUGDIR}\"