aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-10-15 00:15:01 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-10-15 00:15:01 +0000
commit54751142df75dd2e7c8191a33f96b0901f081cd3 (patch)
tree55b34f7e28d37b8fa04493859012c001679c2641 /gnu
parent17ee2b2055eef93a9ef458617cc52434643961e8 (diff)
downloadsrc-54751142df75dd2e7c8191a33f96b0901f081cd3.tar.gz
src-54751142df75dd2e7c8191a33f96b0901f081cd3.zip
Install gdb in /usr/lib/aout or /usr/lib/elf depending on format.
Notes
Notes: svn path=/head/; revision=40365
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 c031ae9eddbb..aa69d58ad5a3 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"