summary refs log tree commit diff
path: root/src/tests/config/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/config/Makefile.am')
-rw-r--r--src/tests/config/Makefile.am33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/tests/config/Makefile.am b/src/tests/config/Makefile.am
new file mode 100644
index 00000000..66009c87
--- /dev/null
+++ b/src/tests/config/Makefile.am
@@ -0,0 +1,33 @@
+AM_CPPFLAGS = \
+	-I$(top_srcdir)/include \
+	-I$(top_srcdir)/libnm-core \
+	-I$(top_builddir)/libnm-core \
+	-I$(top_srcdir)/src/ \
+	-I$(top_srcdir)/src/devices \
+	-I${top_srcdir}/src/platform \
+	-DG_LOG_DOMAIN=\""NetworkManager"\" \
+	-DNETWORKMANAGER_COMPILATION \
+	-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
+	$(GLIB_CFLAGS) \
+	$(DBUS_CFLAGS) \
+	-DSRCDIR=\""$(srcdir)"\"
+
+noinst_PROGRAMS = \
+	test-config
+
+test_config_SOURCES = \
+	nm-test-device.c \
+	nm-test-device.h \
+	test-config.c
+
+test_config_LDADD = \
+	$(top_builddir)/src/libNetworkManager.la
+
+TESTS = test-config
+
+EXTRA_DIST = \
+	NetworkManager.conf \
+	bad.conf \
+	conf.d/00-overrides.conf \
+	conf.d/10-more.conf \
+	conf.d/90-last.conf