summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: de27f441ab09b1c68d9f96cef8a18ad868f73dd7 (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
SUBDIRS = gtest

common_cflags = \
	$(LIBGUPNP_CFLAGS) \
	-I$(top_srcdir)
common_ldadd = \
	$(top_builddir)/libgupnp-av/libgupnp-av-1.0.la \
	$(LIBGUPNP_LIBS)

noinst_PROGRAMS = test-search-criteria-parser

test_search_criteria_parser_SOURCES = test-search-criteria-parser.c
test_search_criteria_parser_LDADD = $(common_ldadd)
test_search_criteria_parser_CFLAGS = $(common_cflags)

check_PROGRAMS = \
	check-search \
	check-feature-list-parser \
	fragments

check_search_SOURCES = check-search.c
check_search_LDADD = $(common_ldadd)
check_search_CFLAGS = $(common_cflags)

check_feature_list_parser_SOURCES = check-feature-list-parser.c
check_feature_list_parser_LDADD = $(common_ldadd)
check_feature_list_parser_CFLAGS = $(common_cflags)

fragments_SOURCES = fragments.c
fragments_LDADD = $(common_ldadd)
fragments_CFLAGS = $(common_cflags) -DABS_TOP_SRCDIR="\"$(abs_top_srcdir)\""

TESTS = $(check_PROGRAMS)