From e0345d1748d2ec7e1bc50ca0fad0752c34886754 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sat, 26 Jun 2004 08:48:50 +0000 Subject: [PATCH] Fixed world breakage in the NOSHARED=yes case (missing library). Fixed some style bugs. --- gnu/usr.bin/gdb/gdb/Makefile | 8 ++++---- gnu/usr.bin/gdb/gdbtui/Makefile | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gnu/usr.bin/gdb/gdb/Makefile b/gnu/usr.bin/gdb/gdb/Makefile index b2e7e322a71..4269d8a6ea3 100644 --- a/gnu/usr.bin/gdb/gdb/Makefile +++ b/gnu/usr.bin/gdb/gdb/Makefile @@ -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 diff --git a/gnu/usr.bin/gdb/gdbtui/Makefile b/gnu/usr.bin/gdb/gdbtui/Makefile index bd4ec756c09..c627aefc8d2 100644 --- a/gnu/usr.bin/gdb/gdbtui/Makefile +++ b/gnu/usr.bin/gdb/gdbtui/Makefile @@ -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