mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-04 20:01:21 +08:00
Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after install.
2004-04-23 Laurent GUERBY <laurent@guerby.net> * Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after install. From-SVN: r81105
This commit is contained in:
parent
99a8881684
commit
5a944040b8
@ -1,3 +1,8 @@
|
||||
2004-04-23 Laurent GUERBY <laurent@guerby.net>
|
||||
|
||||
* Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after
|
||||
install.
|
||||
|
||||
2004-04-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
* Make-lang.in (GNATBIND_OBJS): Add s-addope.o.
|
||||
|
@ -105,10 +105,7 @@ MKDIR = mkdir -p
|
||||
AR = ar
|
||||
AR_FLAGS = rc
|
||||
LS = ls
|
||||
# How to invoke ranlib.
|
||||
RANLIB = ranlib
|
||||
# Test to use to see whether ranlib exists on the system.
|
||||
RANLIB_TEST = [ -f /usr/bin/ranlib -o -f /bin/ranlib ]
|
||||
RANLIB = @RANLIB@
|
||||
|
||||
SHELL = @SHELL@
|
||||
PWD_COMMAND = $${PWDCMD-pwd}
|
||||
@ -1722,8 +1719,9 @@ install-gnatlib: ../stamp-gnatlib
|
||||
$(INSTALL_DATA_DATE) $$file $(DESTDIR)$(ADA_RTL_OBJ_DIR); \
|
||||
done
|
||||
-$(INSTALL_DATA) rts/g-trasym$(objext) $(DESTDIR)$(ADA_RTL_OBJ_DIR)
|
||||
-for file in rts/*$(arext);do \
|
||||
-cd rts; for file in *$(arext);do \
|
||||
$(INSTALL_DATA) $$file $(DESTDIR)$(ADA_RTL_OBJ_DIR); \
|
||||
$(RANLIB) $(DESTDIR)$(ADA_RTL_OBJ_DIR)/$$file; \
|
||||
done
|
||||
# Install the shared libraries, if any, using $(INSTALL) instead
|
||||
# of $(INSTALL_DATA). The latter may force a mode inappropriate
|
||||
@ -1811,12 +1809,13 @@ gnatlib: ../stamp-gnatlib1 ../stamp-gnatlib2
|
||||
ifneq ($(PREFIX_OBJS),)
|
||||
$(AR) $(AR_FLAGS) rts/libgccprefix$(arext) $(PREFIX_OBJS);
|
||||
endif
|
||||
if $(RANLIB_TEST) ; then $(RANLIB) rts/libgnat$(arext); else true; fi
|
||||
-$(RANLIB) rts/libgnat$(arext)
|
||||
$(AR) $(AR_FLAGS) rts/libgnarl$(arext) \
|
||||
$(addprefix rts/,$(GNATRTL_TASKING_OBJS))
|
||||
if $(RANLIB_TEST) ; then $(RANLIB) rts/libgnarl$(arext); else true; fi
|
||||
-$(RANLIB) rts/libgnarl$(arext)
|
||||
ifeq ($(GMEM_LIB),gmemlib)
|
||||
$(AR) $(AR_FLAGS) rts/libgmem$(arext) rts/memtrack.o;
|
||||
$(AR) $(AR_FLAGS) rts/libgmem$(arext) rts/memtrack.o
|
||||
-$(RANLIB) rts/libgmem$(arext)
|
||||
endif
|
||||
$(CHMOD) a-wx rts/*.ali
|
||||
touch ../stamp-gnatlib
|
||||
|
Loading…
x
Reference in New Issue
Block a user