aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.dist
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-05-04 05:07:07 +0000
committerJohn Gilmore <gnu@cygnus>1991-05-04 05:07:07 +0000
commit77ac93922c95502680f05f799f78e1426a766141 (patch)
treed3e03aabf7f5734351e4851d2930aa748bfafd6f /gdb/Makefile.dist
parent7c884bf00367d2d4bff476e7ffccf551329635fa (diff)
downloadgdb-77ac93922c95502680f05f799f78e1426a766141.zip
gdb-77ac93922c95502680f05f799f78e1426a766141.tar.gz
gdb-77ac93922c95502680f05f799f78e1426a766141.tar.bz2
See ChangeLog.
Diffstat (limited to 'gdb/Makefile.dist')
-rwxr-xr-xgdb/Makefile.dist7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/Makefile.dist b/gdb/Makefile.dist
index fc7efb1..66afd17 100755
--- a/gdb/Makefile.dist
+++ b/gdb/Makefile.dist
@@ -61,7 +61,8 @@ MALLOC_CFLAGS =
INCLUDE_DIR = ${srcdir}/../include
INCLUDE_DEP = $$(INCLUDE_DIR)
-# Where is the BFD library? Traditionally ../bfd or ./bfd
+# Where is the source dir for the BFD library? Traditionally ../bfd or ./bfd
+# (When we want the binary library built from it, we use ${BFD_DIR}${subdir}.)
BFD_DIR = ${srcdir}/../bfd
BFD_DEP = $$(BFD_DIR)
@@ -81,7 +82,7 @@ CFLAGS = ${GLOBAL_CFLAGS} ${PROFILE_CFLAGS} ${MALLOC_CFLAGS} ${INCLUDE_CFLAGS}
LDFLAGS = $(CFLAGS)
# Where is the "-liberty" library, containing getopt and obstack?
-LIBIBERTY = ${srcdir}/../libiberty/libiberty.a
+LIBIBERTY = ${srcdir}/../libiberty${subdir}/libiberty.a
# Flags that describe where you can find the termcap library.
# You may need to make other arrangements for USG.
@@ -94,7 +95,7 @@ TERMCAP = -ltermcap
# {X,T}M_CLIBS, if defined, has system-dependent libs
# For example, -lPW for System V to get alloca().
# FIXME STOPGAP FOR BFD LIBRARY: BFD stuff
-CLIBS = ${TERMCAP} $(XM_CLIBS) ${TM_CLIBS} ${BFD_DIR}/libbfd.a \
+CLIBS = ${TERMCAP} $(XM_CLIBS) ${TM_CLIBS} ${BFD_DIR}${subdir}/libbfd.a \
${LIBIBERTY}
CDEPS = ${XM_CDEPS} ${TM_CDEPS} ${BFD_DIR}/libbfd.a \
${LIBIBERTY}