diff options
author | H.J. Lu <hjl@gnu.org> | 2001-10-20 05:39:06 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2001-10-19 22:39:06 -0700 |
commit | afb649d5c9f791f9e506053aa897804e3c53adab (patch) | |
tree | 0db3eb96b333e459f8e27a25491059be973f60a1 /libiberty/Makefile.in | |
parent | adf97f5809ecc5a286023e50fcf6302ad0f3f40a (diff) | |
download | gcc-afb649d5c9f791f9e506053aa897804e3c53adab.zip gcc-afb649d5c9f791f9e506053aa897804e3c53adab.tar.gz gcc-afb649d5c9f791f9e506053aa897804e3c53adab.tar.bz2 |
Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if necessary.
2001-10-19 H.J. Lu <hjl@gnu.org>
* Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
necessary.
From-SVN: r46369
Diffstat (limited to 'libiberty/Makefile.in')
-rw-r--r-- | libiberty/Makefile.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index f549902..877e0a9 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -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 |