Fixed world breakage in the NOSHARED=yes case (missing library).

Fixed some style bugs.
This commit is contained in:
bde 2004-06-26 08:48:50 +00:00
parent 202cd82950
commit f63653614b
2 changed files with 9 additions and 9 deletions

View File

@ -3,15 +3,15 @@
PROG= gdb
SRCS= gdb.c
BULIBS= ${OBJ_BU}/libbfd/libbfd.a ${OBJ_BU}/libopcodes/libopcodes.a \
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
# libthread_db.so calls back into gdb for the proc services. Make all the
# global symbols visible.
LDFLAGS+= -Wl,-E
DPADD+= ${GDBLIBS} ${BULIBS} ${LIBREADLINE} ${LIBM}
LDADD+= ${GDBLIBS} ${BULIBS} -lreadline -lm
DPADD= ${GDBLIBS} ${BULIBS} ${LIBM} ${LIBREADLINE} ${LIBTERMCAP}
LDADD= ${GDBLIBS} ${BULIBS} -lm -lreadline -ltermcap
.include <bsd.prog.mk>

View File

@ -1,18 +1,18 @@
# $FreeBSD$
PROG= gdbtui
NOMAN= yes
SRCS= tui-main.c
NOMAN= noman
BULIBS= ${OBJ_BU}/libbfd/libbfd.a ${OBJ_BU}/libopcodes/libopcodes.a \
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
# libthread_db.so calls back into gdb for the proc services. Make all the
# global symbols visible.
LDFLAGS+= -Wl,-E
DPADD+= ${GDBLIBS} ${BULIBS} ${LIBREADLINE} ${LIBM}
LDADD+= ${GDBLIBS} ${BULIBS} -lreadline -lm
DPADD= ${GDBLIBS} ${BULIBS} ${LIBM} ${LIBREADLINE} ${LIBTERMCAP}
LDADD= ${GDBLIBS} ${BULIBS} -lm -lreadline -ltermcap
.include <bsd.prog.mk>