RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: xar/lib/ Makefile.inc.in

From: Anders F. Björklund <afb@rpm5.org>
Date: Sun 11 Nov 2007 - 14:52:45 CET
Message-Id: <20071111135245.CCFA834847E@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Anders F. Björklund
  Root:   /v/rpm/cvs                       Email:  afb@rpm5.org
  Module: xar                              Date:   11-Nov-2007 14:52:45
  Branch: HEAD                             Handle: 2007111113524500

  Modified files:
    xar/lib                 Makefile.inc.in

  Log:
    create the libtool .libs directory too, more automake envy

  Summary:
    Revision    Changes     Path
    1.6         +7  -0      xar/lib/Makefile.inc.in
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: xar/lib/Makefile.inc.in
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 Makefile.inc.in
  --- xar/lib/Makefile.inc.in	2 Oct 2007 21:51:56 -0000	1.5
  +++ xar/lib/Makefile.inc.in	11 Nov 2007 13:52:45 -0000	1.6
  @@ -177,6 +177,13 @@
   endif
   
   $(LIBXAR_LA) : $(LIBXAR_LA).in
  +	@mkdir -p @objroot@lib/.libs
  +ifeq (yes, @shared@)
  +	@ln -sf ../$(LIBXAR_LNAME) @objroot@lib/.libs/$(LIBXAR_LNAME)
  +endif
  +ifeq (yes, @static@)
  +	@ln -sf ../$(LIBXAR_ANAME) @objroot@lib/.libs/$(LIBXAR_ANAME)
  +endif
   	sed -e s/@LIBXAR_SNAME@/$(LT_LIBXAR_SNAME)/ -e s/@LIBXAR_LNAME@/$(LT_LIBXAR_LNAME)/ -e s/@LIBXAR_ANAME@/$(LT_LIBXAR_ANAME)/ < $< > $@
   
   $(LIBXAR_A) : $(LIBXAR_SRCS:@srcroot@%.c=@objroot@%.static.o)
  @@ .
Received on Sun Nov 11 14:52:45 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.