summaryrefslogtreecommitdiff
path: root/src/settings/plugins/keyfile/tests/Makefile.am
blob: affe8dcae4065289d7d3be14375e82bca6f0a023 (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
SUBDIRS=keyfiles

INCLUDES = \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/libnm-util \
	-I$(top_srcdir)/libnm-glib \
	-I$(srcdir)/../

noinst_PROGRAMS = test-keyfile

test_keyfile_SOURCES = \
	test-keyfile.c

test_keyfile_CPPFLAGS = \
	$(GLIB_CFLAGS) \
	$(DBUS_CFLAGS) \
	-DTEST_KEYFILES_DIR=\"$(abs_srcdir)/keyfiles\" \
	-DTEST_SCRATCH_DIR=\"$(abs_builddir)/keyfiles\"

test_keyfile_LDADD = \
	$(builddir)/../libkeyfile-io.la \
	$(top_builddir)/libnm-glib/libnm-glib.la \
	$(top_builddir)/libnm-util/libnm-util.la \
	$(DBUS_LIBS)

if WITH_TESTS

check-local: test-keyfile
	$(abs_builddir)/test-keyfile

endif