2011-04-10 06:04:29 -06:00
|
|
|
if ENABLE_UNIT_TESTS
|
2011-09-23 10:53:49 -06:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include
|
2011-04-10 06:04:29 -06:00
|
|
|
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 \
|
2012-06-12 12:59:42 -06:00
|
|
|
$(top_srcdir)/src/synproto.c \
|
2011-04-10 06:04:29 -06:00
|
|
|
$(fake_syms)
|
2012-06-12 12:59:42 -06:00
|
|
|
|
|
|
|
eventcomm_test_LDADD = $(MTDEV_LIBS)
|
2011-04-10 06:04:29 -06:00
|
|
|
endif
|
|
|
|
|
|
|
|
TESTS = $(noinst_PROGRAMS)
|
|
|
|
endif
|