aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 03bd980824872679e832789c14d389ab74106df5 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141

TESTS = \
	test_simple \
	test_interests \
	test_interests_multi \
	test_thousand_indicators

libexec_PROGRAMS = \
	test-interests-client \
	test-interests-server \
	test-interests-server1 \
	test-interests-server2 \
	test-interests-server3 \
	test-interests-server4 \
	test-interests-server5 \
	test-thousand-indicators-client \
	test-thousand-indicators-server \
	test-simple-client \
	test-simple-server

EXTRA_DIST = \
	$(TESTS)

test_simple: test-simple-client test-simple-server

test_simple_client_SOURCES = \
	test-simple-client.c

test_simple_client_CFLAGS = \
	$(LIBINDICATE_CFLAGS) -I$(srcdir)/..

test_simple_client_LDADD = \
	../libindicate/libindicate.la \
	$(LIBINDICATE_LIBS)

test_simple_server_SOURCES = \
	test-simple-server.c

test_simple_server_CFLAGS = \
	$(LIBINDICATE_CFLAGS) -I$(srcdir)/..

test_simple_server_LDADD = \
	../libindicate/libindicate.la \
	$(LIBINDICATE_LIBS)

test_interests: test-interests-client test-interests-server

test_interests_client_SOURCES = \
	test-interests-client.c

test_interests_client_CFLAGS = \
	$(LIBINDICATE_CFLAGS) -I$(srcdir)/..

test_interests_client_LDADD = \
	../libindicate/libindicate.la \
	$(LIBINDICATE_LIBS)

test_interests_server_SOURCES = \
	test-interests-server.c

test_interests_server_CFLAGS = \
	$(LIBINDICATE_CFLAGS) -I$(srcdir)/..

test_interests_server_LDADD = \
	../libindicate/libindicate.la \
	$(LIBINDICATE_LIBS)

test_interests_multi: test-interests-client test-interests-server1 test-interests-server2 test-interests-server3 test-interests-server4 test-interests-server5

test_interests_server1_SOURCES = \
	test-interests-server1.c

test_interests_server1_CFLAGS = \
	$(LIBINDICATE_CFLAGS) -I$(srcdir)/..

test_interests_server1_LDADD = \
	../libindicate/libindicate.la \
	$(LIBINDICATE_LIBS)

test_interests_server2_SOURCES = \
	test-interests-server2.c

test_interests_server2_CFLAGS = \
	$(LIBINDICATE_CFLAGS) -I$(srcdir)/..

test_interests_server2_LDADD = \
	../libindicate/libindicate.la \
	$(LIBINDICATE_LIBS)

test_interests_server3_SOURCES = \
	test-interests-server3.c

test_interests_server3_CFLAGS = \
	$(LIBINDICATE_CFLAGS) -I$(srcdir)/..

test_interests_server3_LDADD = \
	../libindicate/libindicate.la \
	$(LIBINDICATE_LIBS)

test_interests_server4_SOURCES = \
	test-interests-server4.c

test_interests_server4_CFLAGS = \
	$(LIBINDICATE_CFLAGS) -I$(srcdir)/..

test_interests_server4_LDADD = \
	../libindicate/libindicate.la \
	$(LIBINDICATE_LIBS)

test_interests_server5_SOURCES = \
	test-interests-server5.c

test_interests_server5_CFLAGS = \
	$(LIBINDICATE_CFLAGS) -I$(srcdir)/..

test_interests_server5_LDADD = \
	../libindicate/libindicate.la \
	$(LIBINDICATE_LIBS)

test_thousand_indicators: test-thousand-indicators-client test-thousand-indicators-server

test_thousand_indicators_client_SOURCES = \
	test-thousand-indicators-client.c

test_thousand_indicators_client_CFLAGS = \
	$(LIBINDICATE_CFLAGS) -I$(srcdir)/..

test_thousand_indicators_client_LDADD = \
	../libindicate/libindicate.la \
	$(LIBINDICATE_LIBS)

test_thousand_indicators_server_SOURCES = \
	test-thousand-indicators-server.c

test_thousand_indicators_server_CFLAGS = \
	$(LIBINDICATE_CFLAGS) -I$(srcdir)/..

test_thousand_indicators_server_LDADD = \
	../libindicate/libindicate.la \
	$(LIBINDICATE_LIBS)