mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 13:10:29 +01:00
0.7 requires dbus 1.1 or greater (for system bus activation), so make that explicit, and remove compat code for D-Bus 0.6 and earlier. Consolidate the various glib pkgconfig checks into one, since most anything will require gthread, glib, and gobject anyway. Fixup the docs makefile to be more automake-compatible and let 'make clean' actually work correctly when docs are built.
46 lines
965 B
Makefile
46 lines
965 B
Makefile
SUBDIRS=certs
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/libnm-util
|
|
|
|
noinst_PROGRAMS = test-settings-defaults test-crypto
|
|
|
|
test_settings_defaults_SOURCES = \
|
|
test-settings-defaults.c
|
|
|
|
test_settings_defaults_CPPFLAGS = \
|
|
$(GLIB_CFLAGS) \
|
|
$(DBUS_CFLAGS)
|
|
|
|
test_settings_defaults_LDADD = \
|
|
$(GLIB_LIBS) \
|
|
$(DBUS_LIBS) \
|
|
$(top_builddir)/libnm-util/libnm-util.la
|
|
|
|
test_crypto_SOURCES = \
|
|
test-crypto.c
|
|
|
|
test_crypto_CPPFLAGS = \
|
|
$(GLIB_CFLAGS) \
|
|
-D_GNU_SOURCE
|
|
|
|
test_crypto_LDADD = \
|
|
$(GLIB_LIBS) \
|
|
$(top_builddir)/libnm-util/libtest-crypto.la
|
|
|
|
|
|
if WITH_TESTS
|
|
|
|
check-local: test-settings-defaults test-crypto
|
|
$(abs_builddir)/test-settings-defaults
|
|
$(abs_builddir)/test-crypto \
|
|
$(top_srcdir)/libnm-util/tests/certs/test_ca_cert.pem \
|
|
$(top_srcdir)/libnm-util/tests/certs/test_key_and_cert.pem \
|
|
$(top_srcdir)/libnm-util/tests/certs/test_key_and_cert.pem \
|
|
"test" \
|
|
$(top_srcdir)/libnm-util/tests/certs/test-cert.p12 \
|
|
"test"
|
|
|
|
endif
|
|
|