Baptiste Daroussin ee5a34ecba Convert to LIBADD
Reduce overlinking
2014-11-25 21:18:18 +00:00

20 lines
439 B
Makefile

# $FreeBSD$
PROG= gdbtui${GDB_SUFFIX}
SRCS= tui-main.c
MAN=
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>