summaryrefslogtreecommitdiff
path: root/libf2c/Makefile.in
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-21 00:28:48 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-21 00:28:48 +0000
commitc6cb1810c0d92c0652f51f1467af3cf23dc541ef (patch)
tree6bee11d365b73b1831fee96112af58baab78e513 /libf2c/Makefile.in
parent7640e8c3bc2ded81cac240fb64b42d414127f164 (diff)
downloadgcc-c6cb1810c0d92c0652f51f1467af3cf23dc541ef.tar.gz
X
* configure.in (version, target_alias): Define. * Makefile.in (version, target_alias, libsubdir): Define. (install): Remove check for libsubdir. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20633 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libf2c/Makefile.in')
-rw-r--r--libf2c/Makefile.in24
1 files changed, 3 insertions, 21 deletions
diff --git a/libf2c/Makefile.in b/libf2c/Makefile.in
index abce5ea5c67..a48b6e25713 100644
--- a/libf2c/Makefile.in
+++ b/libf2c/Makefile.in
@@ -26,6 +26,8 @@ SHELL = /bin/sh
srcdir = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
+target_alias = @target_alias@
+version = @version@
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib
@@ -34,6 +36,7 @@ mandir = $(prefix)/man
infodir = $(prefix)/info
includedir = $(prefix)/include
docdir = $(datadir)/doc
+libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(version)
TO_TOPDIR = ..
@@ -199,27 +202,6 @@ check:
cd libU77; $(MAKE) G77DIR=../../../gcc/ check
install:
- @if [ x$(libsubdir) = x ]; then \
- echo ''; \
- echo 'libf2c error: libsubdir environment variable is not'; \
- echo ' exported by top-level Makefile. libg2c.a and g2c.h'; \
- echo ' are installed in the directory tree identified named'; \
- echo ' by that variable, the same tree in which the gcc-'; \
- echo ' specific executables, libraries, and so on are installed.'; \
- echo ' Rather than try to extract the name of this tree via'; \
- echo ' a kludge, libf2c/Makefile.in simply assumes it is passed'; \
- echo ' in as an environment variable. Someone needs to make'; \
- echo ' the appropriate changes to the top-level Makefile.in for'; \
- echo ' this to happen.'; \
- echo ''; \
- echo ' In the meantime, you can try setting libsubdir explicitly'; \
- echo ' in the make command line via libsubdir=/foo/lib/gcc-lib/...,'; \
- echo ' where foo and ... indicate wherever the cc1 and f771'; \
- echo ' executables were installed as part of this overall'; \
- echo ' installation process.'; \
- echo ''; \
- exit 1; \
- fi
$(INSTALL_DATA) $(LIBG2C) $(libsubdir)/$(LIBG2C).n
( cd $(libsubdir) ; $(RANLIB) $(LIBG2C).n )
mv -f $(libsubdir)/$(LIBG2C).n $(libsubdir)/$(LIBG2C)