summaryrefslogtreecommitdiff
path: root/cli/test/Makefile.am
blob: 8e556ee91b2d546ac57b21295b8ea124e70fa92d (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
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_srcdir)/libqmi-glib/generated \
	-I$(top_builddir)/libqmi-glib/generated

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

if WITH_TESTS

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

endif