aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-04-10 22:56:51 +0000
committerK. Richard Pixley <rich@cygnus>1991-04-10 22:56:51 +0000
commitf2e91404e7f0f821448493cb48c0aa0499f81c42 (patch)
tree475f1cefe575998531859df1740916d2849d904f /ld/Makefile.in
parent74cc5508e7f605763b9f48bd6eff2530fcacd080 (diff)
downloadgdb-f2e91404e7f0f821448493cb48c0aa0499f81c42.zip
gdb-f2e91404e7f0f821448493cb48c0aa0499f81c42.tar.gz
gdb-f2e91404e7f0f821448493cb48c0aa0499f81c42.tar.bz2
Cut 2. Subdirs.
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r--ld/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 388b00a..a8f81c1 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -40,7 +40,7 @@ PROGS = $(HOSTDIR)/ld.new
# for self hosting
GNUTARGET=a.out-generic-big
LDEMULATION=gld
-BFDLIB=$(srcdir)/../bfd/libbfd.a
+BFDLIB=$(srcdir)/../bfd$(subdir)/libbfd.a
OBJS= ldgram.o ldlex.o ldlang.o ldmain.o ldwrite.o ldexp.o ld-lnk960.o ld-gld68k.o \
ld-gld.o ld-gld960.o ld-emul.o ldversion.o ldmisc.o ldsym.o ldfile.o
@@ -113,7 +113,7 @@ ldmisc.o: ldmisc.c
ldsym.o: ldsym.c
clean:
- - rm -f $(OBJS) $(GENERATED_SOURCES) $(GENERATED_HEADERS)
+ - rm -f TAGS $(OBJS) $(GENERATED_SOURCES) $(GENERATED_HEADERS)
- rm -f ld ld1 ld2 ld3 ld.new
@@ -194,7 +194,8 @@ make:
#
Makefile: $(srcdir)/Makefile.in $(srcdir)/configure
- (cd $(srcdir) ; ./configure -host=$(host) $(target))
+ (cd $(srcdir) ; \
+ ./configure `if [ "$(srcdir)" != "." ] ; then echo +f; fi` -host=$(host) $(target))
### Local Variables: ***
### mode:fundamental ***