merge from gcc
[deliverable/binutils-gdb.git] / libiberty / Makefile.in
index f5499029696d5915a468454bfee5dff8d1edafa6..877e0a9279f08a010e50ffc239111145ba62cdb3 100644 (file)
@@ -154,10 +154,17 @@ CONFIGURED_OFILES = asprintf.o atexit.o basename.o bcmp.o bcopy.o \
        vsprintf.o waitpid.o
 
 $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
-       -rm -f $(TARGETLIB)
+       -rm -f $(TARGETLIB) pic/$(TARGETLIB)
        $(AR) $(AR_FLAGS) $(TARGETLIB) \
          $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
        $(RANLIB) $(TARGETLIB)
+       if [ x"$(PICFLAG)" != x ]; then \
+         cd pic; \
+         $(AR) $(AR_FLAGS) $(TARGETLIB) \
+           $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
+         $(RANLIB) $(TARGETLIB); \
+         cd ..; \
+       else true; fi
 
 info: libiberty.info info-subdir
 install-info: install-info-subdir
This page took 0.025447 seconds and 4 git commands to generate.