summaryrefslogtreecommitdiff
path: root/test/Makefile.am
blob: 6fbbd231272d4f896f8ce91a5a6c28043cadaab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if ENABLE_UNIT_TESTS
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include
AM_CFLAGS = $(XORG_CFLAGS) $(CWARNFLAGS)
fake_syms = fake-symbols.c fake-symbols.h

if BUILD_EVENTCOMM
noinst_PROGRAMS = eventcomm-test

eventcomm_test_SOURCES = eventcomm-test.c\
			 $(top_srcdir)/src/eventcomm.c \
			 $(top_srcdir)/src/synproto.c \
			 $(fake_syms)

eventcomm_test_LDADD = $(MTDEV_LIBS)
endif

TESTS = $(noinst_PROGRAMS)
endif