core: yet more consistent usage of libnl CFLAGS and LIBS

This patch has been used in OpenEmbedded [1] since commit b167a9a9 [2][3].

[1] http://www.openembedded.org/
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/recipes/networkmanager/networkmanager/0002-respect-libnl-flags-also-in-dns-manager-vpn-manager-.patch?id=b167a9a9e55a7a493a7ee565cec9c7dd463362ff
[3] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=b167a9a9e55a7a493a7ee565cec9c7dd463362ff

Signed-off-by: Philip Balister <philip@balister.org>
This commit is contained in:
Philip Balister 2011-05-19 15:40:07 -05:00 committed by Dan Williams
parent a23f3da669
commit 0e45771126
3 changed files with 6 additions and 0 deletions

View file

@ -19,12 +19,14 @@ libdns_manager_la_SOURCES = \
nm-dns-utils.c
libdns_manager_la_CPPFLAGS = \
$(LIBNL_CFLAGS) \
$(DBUS_CFLAGS) \
$(GLIB_CFLAGS) \
-DLOCALSTATEDIR=\"$(localstatedir)\"
libdns_manager_la_LIBADD = \
$(top_builddir)/src/logging/libnm-logging.la \
$(LIBNL_LIBS) \
$(DBUS_LIBS) \
$(GLIB_LIBS)

View file

@ -19,10 +19,12 @@ libmodem_manager_la_SOURCES = \
nm-modem-types.h
libmodem_manager_la_CPPFLAGS = \
$(LIBNL_CFLAGS) \
$(DBUS_CFLAGS)
libmodem_manager_la_LIBADD = \
$(top_builddir)/marshallers/libmarshallers.la \
$(top_builddir)/src/logging/libnm-logging.la \
$(LIBNL_LIBS) \
$(DBUS_LIBS)

View file

@ -22,6 +22,7 @@ libvpn_manager_la_SOURCES = \
nm-vpn-connection.h
libvpn_manager_la_CPPFLAGS = \
$(LIBNL_CFLAGS) \
$(DBUS_CFLAGS) \
$(GLIB_CFLAGS) \
-DG_DISABLE_DEPRECATED
@ -30,6 +31,7 @@ libvpn_manager_la_LIBADD = \
$(top_builddir)/marshallers/libmarshallers.la \
$(top_builddir)/src/logging/libnm-logging.la \
$(top_builddir)/libnm-util/libnm-util.la \
$(LIBNL_LIBS) \
$(DBUS_LIBS) \
$(GLIB_LIBS)