aboutsummaryrefslogtreecommitdiff
path: root/gas/Makefile.in
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-07-25 03:03:45 +0000
committerDoug Evans <dje@google.com>1998-07-25 03:03:45 +0000
commitdb36f77fa000ef0254b94933514abea6ca366d69 (patch)
treee045d24e8f290f400ff817fcf7f96f789e0faa18 /gas/Makefile.in
parent2326d6300387b37b9f3e94ae8eac626100afc183 (diff)
downloadgdb-db36f77fa000ef0254b94933514abea6ca366d69.zip
gdb-db36f77fa000ef0254b94933514abea6ca366d69.tar.gz
gdb-db36f77fa000ef0254b94933514abea6ca366d69.tar.bz2
* Makefile.am (install-exec-local): Split into two ...
(install-exec-bindir,install-exec-tooldir): New rules. * Makefile.in: Regenerate.
Diffstat (limited to 'gas/Makefile.in')
-rw-r--r--gas/Makefile.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/gas/Makefile.in b/gas/Makefile.in
index ddb6ae0..9cab930 100644
--- a/gas/Makefile.in
+++ b/gas/Makefile.in
@@ -1757,20 +1757,28 @@ cgen.o: cgen.c cgen.h cgen-opc.h subsegs.h \
$(srcdir)/../opcodes/$(CGEN_CPU_PREFIX)-opc.h
.PHONY: install-exec-local install-data-local
+.PHONY: install-exec-bindir install-exec-tooldir
-install-exec-local: $(noinst_PROGRAMS)
- $(mkinstalldirs) $(bindir) $(tooldir)/bin
+install-exec-local: install-exec-bindir install-exec-tooldir
+
+install-exec-bindir: $(noinst_PROGRAMS)
+ $(mkinstalldirs) $(bindir)
@list='$(noinst_PROGRAMS)'; for p in $$list; do \
if test -f $$p; then \
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
else :; fi; \
done
+
+install-exec-tooldir: $(noinst_PROGRAMS)
+ $(mkinstalldirs) $(tooldir)/bin
n=`echo as | sed '$(transform)'`; \
if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/as$(EXEEXT)" ]; then \
rm -f $(tooldir)/bin/as$(EXEEXT); \
ln $(bindir)/$$n$(EXEEXT) $(tooldir)/bin/as$(EXEEXT) >/dev/null 2>/dev/null \
|| $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) as-new$(EXEEXT) $(tooldir)/bin/as$(EXEEXT); \
+ else \
+ true ; \
fi
# These exist for maintenance purposes.