summaryrefslogtreecommitdiff
path: root/cli/test/Makefile.am
blob: b30a6e906850f86b401fea78e9071da8251a9d2a (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
noinst_PROGRAMS = \
	test-helpers

test_helpers_SOURCES = \
	test-helpers.c \
	$(top_srcdir)/cli/qmicli-helpers.h \
	$(top_srcdir)/cli/qmicli-helpers.c

test_helpers_CPPFLAGS = \
	$(QMICLI_CFLAGS) \
	-I$(top_srcdir) \
	-I$(top_srcdir)/cli \
	-I$(top_srcdir)/libqmi-glib \
	-I$(top_builddir)/libqmi-glib

test_helpers_LDADD = \
	$(QMICLI_LIBS) \
	$(top_builddir)/libqmi-glib/libqmi-glib.la

if WITH_TESTS

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

endif