aboutsummaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorLaurynas Biveinis <lauras@softhome.net>2001-03-07 19:05:25 +0000
committerLaurynas Biveinis <lauras@gcc.gnu.org>2001-03-07 19:05:25 +0000
commit6822468a694e59639c0f97975a2f48951501fd37 (patch)
tree5a63f49cafc51764eba2c494622de93c7ce5b9c4 /gcc/Makefile.in
parent6e4874924886d039c2b6a0195ae68494770f0a5a (diff)
downloadgcc-6822468a694e59639c0f97975a2f48951501fd37.zip
gcc-6822468a694e59639c0f97975a2f48951501fd37.tar.gz
gcc-6822468a694e59639c0f97975a2f48951501fd37.tar.bz2
Makefile.in: Remove RANLIB definition.
* Makefile.in: Remove RANLIB definition. Use RANLIB in RANLIB_FOR_TARGET, EXTRA_HOST_FLAGS, EXTRA_TARGET_FLAGS, EXTRA_GCC_FLAGS, $(DO_X) targets only when the RANLIB is set. * Makefile.in: Set RANLIB to @RANLIB@. Remove RANLIB_TEST. * fixinc/inclhack.def (djgpp_wchar_h): New test. * fixinc/fixincl.x: Regenerated. From-SVN: r40299
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in12
1 files changed, 3 insertions, 9 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index be2e4ad..53780db 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -112,6 +112,7 @@ FLEXFLAGS =
AR = ar
AR_FLAGS = rc
DLLTOOL = dlltool
+RANLIB = @RANLIB@
SHELL = /bin/sh
# on sysV, define this as cp.
INSTALL = @INSTALL@
@@ -140,13 +141,6 @@ OUTPUT_OPTION = @OUTPUT_OPTION@
ZLIB = @zlibdir@ -lz
ZLIBINC = @zlibinc@
-# How to invoke ranlib.
-RANLIB = ranlib
-# Test to use to see whether ranlib exists on the system.
-RANLIB_TEST = \
- [ -f $(RANLIB) ] \
- || [ -f /usr/bin/ranlib -o -f /bin/ranlib ]
-
# Substitution type for target's getgroups 2nd arg.
TARGET_GETGROUPS_T = @TARGET_GETGROUPS_T@
@@ -958,7 +952,7 @@ compilations: $(BACKEND)
libbackend.a: $(OBJS)
-rm -rf libbackend.a
$(AR) $(AR_FLAGS) libbackend.a $(OBJS)
- if $(RANLIB_TEST) ; then $(RANLIB) libbackend.a ; else true ; fi
+ -$(RANLIB) libbackend.a
# We call this executable `xgcc' rather than `gcc'
# to avoid confusion if the current directory is in the path
@@ -1907,7 +1901,7 @@ LIBCPP_DEPS = cpplib.h cpphash.h intl.h system.h
libcpp.a: $(LIBCPP_OBJS)
-rm -rf libcpp.a
$(AR) $(AR_FLAGS) libcpp.a $(LIBCPP_OBJS)
- if $(RANLIB_TEST) ; then $(RANLIB) libcpp.a ; else true ; fi
+ -$(RANLIB) libcpp.a
cpp0$(exeext): cppmain.o intl.o libcpp.a $(LIBDEPS)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o cpp0$(exeext) cppmain.o \