summary refs log tree commit diff
path: root/src/dnsmasq-manager/tests/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/dnsmasq-manager/tests/Makefile.am')
-rw-r--r--src/dnsmasq-manager/tests/Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/dnsmasq-manager/tests/Makefile.am b/src/dnsmasq-manager/tests/Makefile.am
new file mode 100644
index 00000000..9c7f4ab5
--- /dev/null
+++ b/src/dnsmasq-manager/tests/Makefile.am
@@ -0,0 +1,23 @@
+AM_CPPFLAGS = \
+	-I$(top_srcdir)/include \
+	-I$(top_builddir)/include \
+	-I${top_srcdir}/libnm-util \
+	-I${top_builddir}/libnm-util \
+	-I$(top_srcdir)/src/dnsmasq-manager \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/platform \
+	-DG_LOG_DOMAIN=\""NetworkManager"\" \
+	-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
+	$(GLIB_CFLAGS) \
+	-DTESTDIR="\"$(abs_srcdir)\""
+
+noinst_PROGRAMS = test-dnsmasq-utils
+
+test_dnsmasq_utils_SOURCES = \
+	test-dnsmasq-utils.c
+
+test_dnsmasq_utils_LDADD = \
+	$(top_builddir)/src/libNetworkManager.la
+
+TESTS = test-dnsmasq-utils
+