summaryrefslogtreecommitdiff
path: root/test/Makefile.am
blob: b628536763fd6c9fb9c167225eac297b9e883c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
INCLUDES = -I${top_srcdir}                    \
           -I${top_srcdir}/libnm-util         \
           -I${top_builddir}/libnm-util         \
           -I${top_srcdir}/libnm-glib         \
           -I${top_srcdir}/include            \
	   -I${top_builddir}/include

AM_CPPFLAGS = \
	$(DBUS_CFLAGS) \
	$(GLIB_CFLAGS) \
	-DBINDIR=\"$(bindir)\" \
	-DNM_RUN_DIR=\"$(rundir)\" \
	-DDATADIR=\"$(datadir)\"

bin_PROGRAMS = nm-tool nm-online

noinst_PROGRAMS = 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)