summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-10-15 00:15:01 +0000
committerpeter <peter@FreeBSD.org>1998-10-15 00:15:01 +0000
commit3ed74bd188547d400ff9824f772a8480b403a369 (patch)
treedeb90217514e866ff2381bee04f89e132a2cafdf /gnu
parent68b03ab551368c9e52815b2d9c98a47bb6f7a264 (diff)
downloadFreeBSD-src-3ed74bd188547d400ff9824f772a8480b403a369.zip
FreeBSD-src-3ed74bd188547d400ff9824f772a8480b403a369.tar.gz
Install gdb in /usr/lib/aout or /usr/lib/elf depending on format.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gdb/Makefile.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/Makefile.inc b/gnu/usr.bin/gdb/Makefile.inc
index c031ae9..aa69d58 100644
--- a/gnu/usr.bin/gdb/Makefile.inc
+++ b/gnu/usr.bin/gdb/Makefile.inc
@@ -1,7 +1,13 @@
-# $Id$
+# $Id: Makefile.inc,v 1.4 1998/05/01 14:37:36 bde Exp $
CFLAGS+=-I${GDBDIR}/include -I${GDBDIR}/gdb -I${GDBDIR}/bfd
CFLAGS+=-I${GDBDIR}/libiberty -I${GDBDIR}/gdb/config
CFLAGS+=-DHAVE_CONFIG_H
+.if ${OBJFORMAT} == elf
+BINDIR?= /usr/libexec/elf
+.else
+BINDIR?= /usr/libexec/aout
+.endif
+
.include "../Makefile.inc"
OpenPOWER on IntegriCloud