diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-06-24 04:26:21 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-06-24 04:26:21 +0000 |
commit | cd9a2f5c280b40222d21ca68b5b0962ff712d6cf (patch) | |
tree | dc80da53186aab7c56424c2574b0cd7928930721 /gnu/usr.bin/binutils/gdb | |
parent | 2388d5d1cef849c6482878f223517c38456feecf (diff) | |
download | src-cd9a2f5c280b40222d21ca68b5b0962ff712d6cf.tar.gz src-cd9a2f5c280b40222d21ca68b5b0962ff712d6cf.zip |
Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src. This is the final version of the
patches, incorporating the feedback I've received from -current.
Notes
Notes:
svn path=/head/; revision=16663
Diffstat (limited to 'gnu/usr.bin/binutils/gdb')
-rw-r--r-- | gnu/usr.bin/binutils/gdb/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile index 942a967a975d..716789e4d4d3 100644 --- a/gnu/usr.bin/binutils/gdb/Makefile +++ b/gnu/usr.bin/binutils/gdb/Makefile @@ -1,4 +1,4 @@ -# $Id: $ +# $Id: Makefile,v 1.12 1996/05/07 23:15:24 wosch Exp $ PROG = gdb BINDIR= /usr/bin @@ -50,25 +50,25 @@ CFLAGS+= -I$(.CURDIR)/. -I${DESTDIR}/usr/include/readline -I$(.CURDIR)/../bfd DPADD+= ${LIBREADLINE} ${LIBTERMCAP} ${LIBGNUREGEX} LDADD+= -lreadline -ltermcap -lgnuregex -.if exists(${.CURDIR}/../libiberty/obj) -LDADD+= -L${.CURDIR}/../libiberty/obj -liberty -DPADD+= ${.CURDIR}/../libiberty/obj/libiberty.a +.if exists(${.OBJDIR}/../libiberty) +LDADD+= -L${.OBJDIR}/../libiberty -liberty +DPADD+= ${.OBJDIR}/../libiberty/libiberty.a .else LDADD+= -L${.CURDIR}/../libiberty/ -liberty DPADD+= ${.CURDIR}/../libiberty/libiberty.a .endif -.if exists(${.CURDIR}/../bfd/obj) -LDADD+= -L${.CURDIR}/../bfd/obj -lbfd -DPADD+= ${.CURDIR}/../bfd/obj/libbfd.a +.if exists(${.OBJDIR}/../bfd) +LDADD+= -L${.OBJDIR}/../bfd -lbfd +DPADD+= ${.OBJDIR}/../bfd/libbfd.a .else LDADD+= -L${.CURDIR}/../bfd/ -lbfd DPADD+= ${.CURDIR}/../bfd/libbfd.a .endif -.if exists(${.CURDIR}/../mmalloc/obj) -LDADD+= -L${.CURDIR}/../mmalloc/obj -lmmalloc -DPADD+= ${.CURDIR}/../mmalloc/obj/libmmalloc.a +.if exists(${.OBJDIR}/../mmalloc) +LDADD+= -L${.OBJDIR}/../mmalloc -lmmalloc +DPADD+= ${.OBJDIR}/../mmalloc/libmmalloc.a .else LDADD+= -L${.CURDIR}/../mmalloc/ -lmmalloc DPADD+= ${.CURDIR}/../mmalloc/libmmalloc.a |