* Makefile.in (program_transform_name): New variable.
(install): Transform library name before installing it.
This commit is contained in:
parent
263af1721b
commit
48fd00b6d8
@ -1,3 +1,8 @@
|
|||||||
|
Tue Feb 6 12:12:22 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* Makefile.in (program_transform_name): New variable.
|
||||||
|
(install): Transform library name before installing it.
|
||||||
|
|
||||||
Mon Feb 5 10:38:27 1996 Ian Lance Taylor <ian@cygnus.com>
|
Mon Feb 5 10:38:27 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* archures.c (bfd_mach_i960_hx): Define.
|
* archures.c (bfd_mach_i960_hx): Define.
|
||||||
|
@ -24,6 +24,7 @@ srcdir = @srcdir@
|
|||||||
|
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
|
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
exec_prefix = @exec_prefix@
|
exec_prefix = @exec_prefix@
|
||||||
bindir = $(exec_prefix)/bin
|
bindir = $(exec_prefix)/bin
|
||||||
libdir = $(exec_prefix)/lib
|
libdir = $(exec_prefix)/lib
|
||||||
@ -625,15 +626,17 @@ force:
|
|||||||
|
|
||||||
install: $(ALLLIBS)
|
install: $(ALLLIBS)
|
||||||
for f in $(ALLLIBS); do \
|
for f in $(ALLLIBS); do \
|
||||||
rm -f $(libdir)/$$f; \
|
tf=lib`echo $$f | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
|
||||||
|
rm -f $(libdir)/$$tf; \
|
||||||
if [ "$$f" = "$(SHLINK)" ]; then \
|
if [ "$$f" = "$(SHLINK)" ]; then \
|
||||||
ln -sf $(SHLIB) $(libdir)/$$f; \
|
ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
|
||||||
|
ln -sf $$ts $(libdir)/$$tf; \
|
||||||
elif [ "$$f" = "$(SHLIB)" ]; then \
|
elif [ "$$f" = "$(SHLIB)" ]; then \
|
||||||
$(INSTALL_PROGRAM) $$f $(libdir)/$$f; \
|
$(INSTALL_PROGRAM) $$f $(libdir)/$$tf; \
|
||||||
else \
|
else \
|
||||||
$(INSTALL_DATA) $$f $(libdir)/$$f; \
|
$(INSTALL_DATA) $$f $(libdir)/$$tf; \
|
||||||
$(RANLIB) $(libdir)/$$f; \
|
$(RANLIB) $(libdir)/$$tf; \
|
||||||
chmod a-x $(libdir)/$$f; \
|
chmod a-x $(libdir)/$$tf; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
# Install BFD include file, and others that it needs. Install them
|
# Install BFD include file, and others that it needs. Install them
|
||||||
|
Loading…
Reference in New Issue
Block a user