[Top][All Lists]

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

external SW

From: Joakim Tjernlund
Subject: external SW
Date: Fri, 18 Dec 2009 14:37:19 +0100

In our apps we some some external SW such as quagga. During
our build we build quagga using an internal
$(QUAGGADIR)/Makefile:  Makefile
        $(ENV_VARS) \
        cd $(QUAGGADIR); \
        $(top_srcdir)/ext/quagga/$(QUAGGADIR)/configure \
--with-cc=$(CC) \
address@hidden@ \
address@hidden@ \
address@hidden@ \
--localstatedir=/var/run \
CC="$(CC)" \
CPPFLAGS="-idirafter @prefix@/include -I$(top_srcdir)/ne -DLOCKLESS_VTYSH" \
CFLAGS="-g -Os" \
LDFLAGS="address@hidden@/lib" \
LIBS="../$(top_builddir)/ne/nlib_te_if/ \
 ../$(top_builddir)/ne/nlib_psi_if/libnlib_psi_if.a \
 ../$(top_builddir)/ne/nlib_sys_if/ \
 ../$(top_builddir)/ne/nlib_strings_if/" \
--enable-vtysh \
--enable-netlink \
--enable-static \
--disable-shared \

Notice that LIBS points to the build tree as I would like quagga to use libs
from the build tree instead of DESTDIR/prefix but the above doesn't work as
gcc does not understand .la files. Any ideas what I can do to use the libs
from the build tree?

Next question:
In AM manual chap 23.1 one can read:
 With the -local targets, there is no particular guarantee of execution order; 
 they are run early, but with parallel make, there is no way to be sure of that.

Does this mean I cannot use -local targets if I want to use parallel make?

reply via email to

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