Makefile.am 906 Bytes
Newer Older
Sylvain Berfini's avatar
Sylvain Berfini committed
1
EXTRA_DIST=vcards/vcard.vcf vcards/unfoldtest.vcf vcards/foldtest.vcf
Sylvain Berfini's avatar
Sylvain Berfini committed
2

Sylvain Berfini's avatar
Sylvain Berfini committed
3 4 5
if BUILD_TESTS

noinst_PROGRAMS=belcard-tester
Sylvain Berfini's avatar
Sylvain Berfini committed
6
belcard_tester_SOURCES=belcard-tester.cpp belcard-tester.hpp \
7 8 9
			belcard-general-tester.cpp \
			belcard-identification-tester.cpp \
			belcard-addressing-tester.cpp \
Sylvain Berfini's avatar
Sylvain Berfini committed
10
			belcard-communication-tester.cpp \
11 12 13 14 15
			belcard-geographical-tester.cpp \
			belcard-organizational-tester.cpp \
			belcard-explanatory-tester.cpp \
			belcard-security-tester.cpp \
			belcard-calendar-tester.cpp \
16
			belcard-rfc6474-tester.cpp \
17
			belcard-vcard-tester.cpp
18
belcard_tester_LDADD=$(top_builddir)/src/libbelcard.la -lbelr $(CUNIT_LIBS) -lbctoolbox-tester
Sylvain Berfini's avatar
Sylvain Berfini committed
19

20 21 22 23
belcard_tester_CFLAGS=\
	-DBC_CONFIG_FILE=\"config.h\" \
	$(CUNIT_CFLAGS)

24
belcard_tester_AM_CPPFLAGS=-I$(top_srcdir)/include \
Sylvain Berfini's avatar
Sylvain Berfini committed
25 26
			-I$(top_srcdir)/tester \
			-I$(top_srcdir)/tester/common
Sylvain Berfini's avatar
Sylvain Berfini committed
27

Sylvain Berfini's avatar
Sylvain Berfini committed
28
endif # BUILD_TESTS
Sylvain Berfini's avatar
Sylvain Berfini committed
29

Sylvain Berfini's avatar
Sylvain Berfini committed
30
AM_CPPFLAGS=-I$(top_srcdir)/include