summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 7da92f125e4e6a9b7c787cbf68cc3c116fd88fdb (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
YELP_COMMON_CFLAGS =				\
	$(YELP_CFLAGS)				\
	$(AM_CFLAGS)				\
	$(YELP_DEFINES)				\
	-DDATADIR=\""$(datadir)"\"		\
	-I$(top_srcdir)/libyelp
YELP_COMMON_LDADD =				\
	$(YELP_LIBS)				\
	$(top_builddir)/libyelp/libyelp.la

check_PROGRAMS =				\
	test-magic				\
	test-settings				\
	test-transform				\
	test-uri				\
	test-view

if ENABLE_LZMA
check_PROGRAMS += test-lzma
test_lzma_CFLAGS = $(YELP_COMMON_CFLAGS)
test_lzma_LDADD = $(YELP_COMMON_LDADD)
endif

if ENABLE_BZ2
check_PROGRAMS += test-bz2
test_bz2_CFLAGS = $(YELP_COMMON_CFLAGS)
test_bz2_LDADD = $(YELP_COMMON_LDADD)
endif

test_magic_CFLAGS = $(YELP_COMMON_CFLAGS)
test_magic_LDADD = $(YELP_COMMON_LDADD)

test_settings_CFLAGS = $(YELP_COMMON_CFLAGS)
test_settings_LDADD = $(YELP_COMMON_LDADD)

test_transform_CFLAGS = $(YELP_COMMON_CFLAGS)
test_transform_LDADD = $(YELP_COMMON_LDADD)

test_uri_CFLAGS = $(YELP_COMMON_CFLAGS)
test_uri_LDADD = $(YELP_COMMON_LDADD)

test_view_CFLAGS = $(YELP_COMMON_CFLAGS)
test_view_LDADD = $(YELP_COMMON_LDADD)