aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.am
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-08-06 22:57:44 +0000
committerIan Lance Taylor <ian@airs.com>1997-08-06 22:57:44 +0000
commitc40331ba92d810a8b23306995143846cbd864088 (patch)
tree890433bad9d2a988ce7a310fa7cd9e5f86a75631 /bfd/Makefile.am
parent1e3212743a122e89fd149dbb347c74585bee89fd (diff)
downloadgdb-c40331ba92d810a8b23306995143846cbd864088.zip
gdb-c40331ba92d810a8b23306995143846cbd864088.tar.gz
gdb-c40331ba92d810a8b23306995143846cbd864088.tar.bz2
* Makefile.am (docdir): Define.
* Makefile.in: Rebuild.
Diffstat (limited to 'bfd/Makefile.am')
-rw-r--r--bfd/Makefile.am15
1 files changed, 11 insertions, 4 deletions
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 912712a..ad7d646 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -6,6 +6,8 @@ DEP = mkdep
SUBDIRS = doc
+docdir = doc
+
lib_LTLIBRARIES = libbfd.la
# bfd.h goes here, for now
@@ -423,10 +425,15 @@ libbfd_la_LIBADD = `cat ofiles`
# directory so that we don't have to convert all the programs that use
# libbfd.a simultaneously. This is a hack which should be removed if
# everything else starts using libtool. FIXME.
+
noinst_LIBRARIES = libbfd.a
-libbfd.a: libbfd.la
- rm -f libbfd.a
- $(LN_S) .libs/libbfd.a libbfd.a
+
+stamp-lib: libbfd.la
+ cp .libs/libbfd.a libbfd.tmp
+ $(SHELL) $(srcdir)/../move-if-change libbfd.tmp libbfd.a
+ touch stamp-lib
+
+libbfd.a: stamp-lib ; @true
# This file holds an array associating configuration triplets and
# vector names. It is built from config.bfd. It is not compiled by
@@ -555,7 +562,7 @@ $(srcdir)/libcoff.h:
MOSTLYCLEANFILES = elf32-target.h elf64-target.h ofiles stamp-ofiles \
targmatch.h
-CLEANFILES = bfd.h dep.sed stmp-bfd.h .dep .dep1
+CLEANFILES = bfd.h dep.sed stmp-bfd.h .dep .dep1 libbfd.a stamp-lib
start-sanitize-arc:
elf32-arc.lo: elf32-arc.c elf-bfd.h $(INCDIR)/elf/common.h \