This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Part of] your Dec., 4th change to libf2c/Makefile.in.


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]

Well, it's fine with me.  I'll test this sometime this weekend (don't
have too much time.

Instead of teaching me LIBTOOL's virtues blow by blow, it might be more
effective to point me at its documentation :-)

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]