summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 24d45c950cf28b80fd92da3c9e4bf12397bbd1e8 (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
NULL =

TESTS = coroutine				\
	util					\
	session					\
	usb-acl-helper				\
	$(NULL)

if WITH_PHODAV
TESTS += pipe
endif

noinst_PROGRAMS = $(TESTS) \
		  mock-acl-helper \
		  $(NULL)

AM_CPPFLAGS =					\
	$(COMMON_CFLAGS)			\
	$(GIO_CFLAGS)				\
	-I$(top_srcdir)/src			\
	-I$(top_builddir)/src			\
	-DG_LOG_DOMAIN=\"GSpice\"		\
	$(NULL)

AM_LDFLAGS = $(GIO_LIBS) -static

LDADD =							\
	$(top_builddir)/src/libspice-client-glib-2.0.la	\
	$(NULL)

util_SOURCES = util.c
coroutine_SOURCES = coroutine.c
session_SOURCES = session.c
pipe_SOURCES = pipe.c
usb_acl_helper_SOURCES = usb-acl-helper.c
usb_acl_helper_CFLAGS = -DTESTDIR=\"$(abs_builddir)\"
mock_acl_helper_SOURCES = mock-acl-helper.c

-include $(top_srcdir)/git.mk