summaryrefslogtreecommitdiff
path: root/src/test/Makefile.am
blob: 6305bd4c7975fcd810ad7c946043efb3531cd736 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
regression_SOURCES = 		\
	regression.c		\
	regression.h		\
	regression-component.c	\
	regression-classify.c	\
	regression-utils.c	\
	regression-recur.c	\
	regression-storage.c

if WITH_CXX_BINDINGS
cxx_inc=-DWITH_CXX_BINDINGS
cxx_libs=../libical/libical_cxx.la
regression_SOURCES +=          \
regression-cxx.cpp
else
cxx_inc=
cxx_libs=
endif

if WITH_BDB4
bdb4_inc=-DWITH_BDB -I@BDB_DIR@/include
bdb4_libs=@BDB_DIR_LIB@/@BDB_LIB@
else
bdb4_inc=
bdb4_libs=
endif

if OS_WIN32
else
STOW = stow
TIMEZONES = timezones
endif

check_PROGRAMS = copycluster regression parser $(STOW) recur testmime testvcal process $(TIMEZONES)

LDADD =  ../libicalss/libicalss.la ../libicalvcal/libicalvcal.la $(cxx_libs) ../libical/libical.la $(bdb4_libs)

LIBS = @PTHREAD_LIBS@

INCLUDES = 						\
	-I$(top_srcdir)					\
	-I$(top_srcdir)/src				\
	-I$(top_builddir)/src				\
	-I$(top_srcdir)/src/libical			\
	-I$(top_builddir)/src/libical			\
	-I$(top_builddir)/src/libicalss			\
	-I$(top_srcdir)/src/libicalss			\
	-DTEST_DATADIR=\"$(top_srcdir)/test-data\"	\
	$(cxx_inc) $(bdb4_inc)

TESTS=regression timezones

parser_SOURCES = icaltestparser.c

# clusterin.vcd should be a real file with data but it doesn't seem to be in cvs
CLEANFILES = 				\
	test_fileset.ics 		\
	test_fileset_locktest.ics	\
	filesetout.ics 			\
	clusterin.vcd

clean-local:
	rm -rf calendar

distclean: clean