This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Part of] your Dec., 4th change to libf2c/Makefile.in.
Toon Moene <toon@moene.indiv.nluug.nl> writes:
|> Alexandre Oliva wrote:
|>
|> > On Jan 18, 2002, Toon Moene <toon@moene.indiv.nluug.nl> wrote:
|> >
|> > > OK, installed as the attached patch.
|> >
|> > Thanks, but...
|> >
|> > > uninstall:
|> > > ! rm -f $(libsubdir)/$(MULTISUBDIR)/include/g2c.h $(libsubdir)/$(MULTISUBDIR)/$(LIBG2C_BASE).*
|> > > rm -f $(prefix)/lib/$(LIBG2C_BASE).so*
|> >
|> > How about:
|> >
|> > $(LIBTOOL) --mode=uninstall rm -f $(libdir)$(MULTISUBDIR)/$(LIBG2C_BASE).la
|> >
|> > instead of assuming the shared library prefix is .so, and not taking
|> > multilibs into account, and assuming libdir is $(prefix)/lib?
|>
|> [AFAICS, there needs to be a `/' between $(libdir) and $(MULTISUBDIR) -
|> I did this wrong the first time around]
No, $(MULTISUBDIR) always starts with / iff non-empty.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."