summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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