[Top][All Lists]

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

Re: Any way to specify path for *.la files?

From: Bob Friesenhahn
Subject: Re: Any way to specify path for *.la files?
Date: Mon, 18 Oct 2004 19:34:40 -0500 (CDT)

On Mon, 18 Oct 2004, J.T. Conklin wrote:

Before I sent my message, I tried adding -L's to *_LDFLAGS and
dependent *.la's to LIBADD like this:

   libTAO_CosNaming_la_LDFLAGS = \
     -version-number @TAO_MAJOR@:@TAO_MINOR@:@TAO_BETA@ \
     -L$(TAO_BUILDDIR)/tao \

   libTAO_CosNaming_la_LIBADD = \ \

This resulted in:
    gmake[1]: *** No rule to make target `', needed by 
`'.  Stop.

Can you see what I'm doing wrong from the above snippet?

Yes. The path to the LIBADD .la files must be complete. This aspect does not use -L options to search for .la files. Automake takes care of this part. The -L options are normally used to look for installed libraries referenced like -lTAO. So perhaps

libTAO_CosNaming_la_LIBADD = \
        $(TAO_BUILDDIR)/tao/ \

will work better. I am not sure if Automake allows this part to refer to variables yet though (try it and see).

Bob Friesenhahn

reply via email to

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