summary refs log tree commit diff
path: root/test/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am39
1 files changed, 39 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
new file mode 100644
index 00000000..8e235e43
--- /dev/null
+++ b/test/Makefile.am
@@ -0,0 +1,39 @@
+INCLUDES = -I${top_srcdir}                    \
+           -I${top_srcdir}/libnm-util         \
+           -I${top_srcdir}/libnm-glib         \
+           -I${top_srcdir}/include
+
+AM_CPPFLAGS = \
+	$(DBUS_CFLAGS) \
+	$(GLIB_CFLAGS) \
+	-DBINDIR=\"$(bindir)\" \
+	-DNM_RUN_DIR=\"$(rundir)\" \
+	-DDATADIR=\"$(datadir)\"
+
+bin_PROGRAMS = nm-tool
+
+noinst_PROGRAMS = nm-online libnm-glib-test
+
+nm_tool_SOURCES = nm-tool.c
+nm_tool_LDADD = \
+	$(top_builddir)/libnm-glib/libnm-glib.la \
+	$(top_builddir)/libnm-util/libnm-util.la \
+	$(DBUS_LIBS) \
+	$(GLIB_LIBS)
+
+nm_online_SOURCES = nm-online.c
+nm_online_LDADD = \
+	$(top_builddir)/libnm-util/libnm-util.la \
+	$(DBUS_LIBS) \
+	$(GLIB_LIBS)
+
+libnm_glib_test_SOURCES = libnm-glib-test.c
+libnm_glib_test_CFLAGS = \
+	-Wno-deprecated-declarations \
+	-Wno-deprecated
+libnm_glib_test_LDADD = \
+	$(top_builddir)/libnm-glib/libnm-glib.la \
+	$(top_builddir)/libnm-util/libnm-util.la \
+	$(DBUS_LIBS) \
+	$(GLIB_LIBS)
+