[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automake/376: Controlling the order of installation

From: Alexandre Duret-Lutz
Subject: Re: automake/376: Controlling the order of installation
Date: Tue, 26 Nov 2002 21:57:02 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7 (i386-debian-linux-gnu)

>>> "Philip" == Philip Willoughby <address@hidden> writes:

 Philip> I have:
 Philip> libaptttest_la_SOURCES=aptt/test/test.c
 Philip> @LTLIBINTL@

 Philip> libapttlog_la_SOURCES=aptt/log/log.c
 Philip> address@hidden@

 Philip> in a  Unfortunately, automake does not recognise that
 Philip> must be installed prior to the installation of

 Philip> Is there a way to hint to automake that the order is
 Philip> important without moving to recursive make?

Maybe you could try using the same dir-prefix for both libraries.

Something like

 nobase_lib_LTLIBRARIES = yourpkg/
 libaptttest_la_SOURCES = aptt/test/test.c
 libaptttest_la_LIBADD = @LTLIBINTL@
 yourpkg_libapttlog_la_SOURCES = aptt/log/log.c
 yourpkg_libapttlog_la_LIBADD = @LIBLTDL@

then libraries should be installed in the order they appear in

 Philip> Alternatively, does anyone have a patch to
 Philip> automagically do the right thing?

Right now this seems hard.  I've submitted this as PR/376, so we
don't forget about it eventually.  Fortunatelly it's more
frequent that dependent libraries get installed in the same
Alexandre Duret-Lutz

reply via email to

[Prev in Thread] Current Thread [Next in Thread]