2005-12-09 23:25:22 +00:00
|
|
|
INCLUDES = -I${top_srcdir} -I${top_srcdir}/include
|
|
|
|
|
|
|
|
|
|
lib_LTLIBRARIES=libnm-util.la
|
|
|
|
|
|
2008-08-27 02:57:21 +00:00
|
|
|
libnm_util_la_CPPFLAGS = \
|
|
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
|
$(DBUS_CFLAGS) \
|
|
|
|
|
$(UUID_CFLAGS) \
|
|
|
|
|
-DDBUS_API_SUBJECT_TO_CHANGE \
|
2008-03-12 19:44:00 +00:00
|
|
|
-DG_DISABLE_DEPRECATED
|
2005-12-09 23:25:22 +00:00
|
|
|
|
2007-11-07 16:06:43 +00:00
|
|
|
libnm_util_include_HEADERS = \
|
|
|
|
|
nm-connection.h \
|
|
|
|
|
nm-setting.h \
|
2008-03-14 22:40:35 +00:00
|
|
|
nm-setting-8021x.h \
|
2007-11-07 16:06:43 +00:00
|
|
|
nm-setting-connection.h \
|
|
|
|
|
nm-setting-ip4-config.h \
|
|
|
|
|
nm-setting-ppp.h \
|
2008-03-11 16:37:41 +00:00
|
|
|
nm-setting-pppoe.h \
|
2007-11-29 14:38:07 +00:00
|
|
|
nm-setting-serial.h \
|
2007-12-10 09:17:40 +00:00
|
|
|
nm-setting-gsm.h \
|
2008-01-21 19:14:18 +00:00
|
|
|
nm-setting-cdma.h \
|
2007-11-07 16:06:43 +00:00
|
|
|
nm-setting-wired.h \
|
|
|
|
|
nm-setting-wireless.h \
|
|
|
|
|
nm-setting-wireless-security.h \
|
|
|
|
|
nm-setting-vpn.h \
|
|
|
|
|
nm-utils.h
|
|
|
|
|
|
2005-12-09 23:25:22 +00:00
|
|
|
libnm_util_la_SOURCES= \
|
2008-05-19 07:43:13 +00:00
|
|
|
crypto.c \
|
|
|
|
|
crypto.h \
|
2007-05-07 14:39:20 +00:00
|
|
|
nm-connection.c \
|
2007-11-07 16:06:43 +00:00
|
|
|
nm-param-spec-specialized.c \
|
2008-07-16 21:21:09 +00:00
|
|
|
nm-param-spec-specialized.h \
|
2007-05-07 14:39:20 +00:00
|
|
|
nm-setting.c \
|
2008-03-14 22:40:35 +00:00
|
|
|
nm-setting-8021x.c \
|
2007-11-07 16:06:43 +00:00
|
|
|
nm-setting-connection.c \
|
|
|
|
|
nm-setting-ip4-config.c \
|
2008-06-26 21:30:33 +00:00
|
|
|
nm-setting-ip6-config.c \
|
2007-11-07 16:06:43 +00:00
|
|
|
nm-setting-ppp.c \
|
2008-03-11 16:37:41 +00:00
|
|
|
nm-setting-pppoe.c \
|
2007-11-29 14:38:07 +00:00
|
|
|
nm-setting-serial.c \
|
2007-12-10 09:17:40 +00:00
|
|
|
nm-setting-gsm.c \
|
2008-01-21 19:14:18 +00:00
|
|
|
nm-setting-cdma.c \
|
2007-11-07 16:06:43 +00:00
|
|
|
nm-setting-wired.c \
|
|
|
|
|
nm-setting-wireless.c \
|
|
|
|
|
nm-setting-wireless-security.c \
|
|
|
|
|
nm-setting-vpn.c \
|
2007-09-12 16:23:53 +00:00
|
|
|
nm-utils.c \
|
2008-11-20 20:17:01 +00:00
|
|
|
nm-utils-private.h \
|
2007-11-07 16:06:43 +00:00
|
|
|
$(libnm_util_include_HEADERS)
|
2005-12-09 23:25:22 +00:00
|
|
|
|
2008-08-27 02:57:21 +00:00
|
|
|
libnm_util_la_LIBADD = $(GLIB_LIBS) $(DBUS_LIBS) $(UUID_LIBS)
|
2008-05-19 07:43:13 +00:00
|
|
|
|
2008-12-05 21:46:40 +00:00
|
|
|
libnm_util_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libnm-util.ver \
|
|
|
|
|
-version-info "1:0:0"
|
2008-08-22 11:32:25 +00:00
|
|
|
|
2008-05-19 07:43:13 +00:00
|
|
|
if WITH_GNUTLS
|
|
|
|
|
libnm_util_la_SOURCES += crypto_gnutls.c
|
|
|
|
|
libnm_util_la_CPPFLAGS += $(LIBGCRYPT_CFLAGS) $(GNUTLS_CFLAGS)
|
|
|
|
|
libnm_util_la_LIBADD += $(LIBGCRYPT_LIBS) $(GNUTLS_LIBS)
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if WITH_NSS
|
|
|
|
|
libnm_util_la_SOURCES += crypto_nss.c
|
|
|
|
|
libnm_util_la_CPPFLAGS += $(NSS_CFLAGS)
|
|
|
|
|
libnm_util_la_LIBADD += $(NSS_LIBS)
|
|
|
|
|
endif
|
|
|
|
|
|
2005-12-09 23:25:22 +00:00
|
|
|
libnm_util_includedir=$(includedir)/NetworkManager
|
|
|
|
|
|
2008-05-19 07:43:13 +00:00
|
|
|
noinst_PROGRAMS = test-crypto
|
|
|
|
|
|
2008-08-22 11:32:37 +00:00
|
|
|
test_crypto_SOURCES = test-crypto.c crypto.c
|
2008-05-19 07:43:13 +00:00
|
|
|
test_crypto_CPPFLAGS = $(GLIB_CFLAGS) -D_GNU_SOURCE
|
2008-06-10 20:50:59 +00:00
|
|
|
test_crypto_LDADD = $(GLIB_LIBS) libnm-util.la
|
2008-05-19 07:43:13 +00:00
|
|
|
|
2008-08-22 11:32:37 +00:00
|
|
|
if WITH_GNUTLS
|
|
|
|
|
test_crypto_SOURCES += crypto_gnutls.c
|
|
|
|
|
test_crypto_CPPFLAGS += $(LIBGCRYPT_CFLAGS) $(GNUTLS_CFLAGS)
|
|
|
|
|
test_crypto_LDADD += $(LIBGCRYPT_LIBS) $(GNUTLS_LIBS)
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if WITH_NSS
|
|
|
|
|
test_crypto_SOURCES += crypto_nss.c
|
|
|
|
|
test_crypto_CPPFLAGS += $(NSS_CFLAGS)
|
|
|
|
|
test_crypto_LDADD += $(NSS_LIBS)
|
|
|
|
|
endif
|
|
|
|
|
|
2005-12-09 23:25:22 +00:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
|
pkgconfig_DATA = libnm-util.pc
|
|
|
|
|
|
|
|
|
|
DISTCLEANFILES = libnm-util.pc
|
|
|
|
|
|
2008-10-30 19:39:51 +00:00
|
|
|
EXTRA_DIST = libnm-util.pc.in libnm-util.ver nm-setting-ip6-config.h
|
2008-07-16 21:21:09 +00:00
|
|
|
|