blob: 4a5a050810f85a0a3713ae5fa0ff82301b5fb283 (
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
|
# Rules for the test code (use `make check` to execute)
SUBDIRS = dgreftest uitests
if ENABLE_TESTS
TESTS = resource enginetest paintertest configfile audiocache \
audiocachefile audiocacheidmanager audiocacheeventhandler \
randomtest atomictest syncedsettingstest imagecachetest \
semaphoretest drumkitcreatortest bytesizeparsertest notifiertest \
instrumentparsertest drumkitparsertest
EXTRA_DIST = \
dgunit.h \
drumkit_creator.h \
lv2_test_host.h \
scopedfile.h
if ENABLE_LV2
TESTS += lv2
endif
check_PROGRAMS = $(TESTS)
resource_CXXFLAGS = -DOUTPUT=\"resource\" $(SNDFILE_CFLAGS) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/hugin
resource_LDFLAGS = $(SNDFILE_LIBS)
resource_SOURCES = \
$(top_srcdir)/plugingui/resource.cc \
$(top_srcdir)/plugingui/resource_data.cc \
$(top_srcdir)/hugin/hugin.c \
$(top_srcdir)/src/random.cc \
dgtest.cc \
drumkit_creator.cc \
resource_test.cc
audiocache_CXXFLAGS = -DOUTPUT=\"audiocache\" \
-I$(top_srcdir)/src -I$(top_srcdir)/include \
-I$(top_srcdir)/hugin -DDISABLE_HUGIN $(PTHREAD_CFLAGS) $(SNDFILE_CFLAGS)
audiocache_LDFLAGS = $(PTHREAD_LIBS) $(SNDFILE_LIBS)
audiocache_SOURCES = \
$(top_srcdir)/src/audiocache.cc \
$(top_srcdir)/src/audiocacheeventhandler.cc \
$(top_srcdir)/src/audiocachefile.cc \
$(top_srcdir)/src/audiocacheidmanager.cc \
$(top_srcdir)/src/thread.cc \
$(top_srcdir)/src/semaphore.cc \
$(top_srcdir)/src/audiofile.cc \
$(top_srcdir)/src/random.cc \
dgtest.cc \
drumkit_creator.cc \
audiocachetest.cc
audiocachefile_CXXFLAGS = -DOUTPUT=\"audiocachefile\" \
-I$(top_srcdir)/src -I$(top_srcdir)/include \
-I$(top_srcdir)/hugin -DDISABLE_HUGIN $(PTHREAD_CFLAGS) $(SNDFILE_CFLAGS)
audiocachefile_LDFLAGS = $(PTHREAD_LIBS) $(SNDFILE_LIBS)
audiocachefile_SOURCES = \
$(top_srcdir)/src/audiocachefile.cc \
$(top_srcdir)/src/thread.cc \
$(top_srcdir)/src/semaphore.cc \
$(top_srcdir)/src/audiofile.cc \
$(top_srcdir)/src/random.cc \
dgtest.cc \
drumkit_creator.cc \
audiocachefiletest.cc
audiocacheidmanager_CXXFLAGS = -DOUTPUT=\"audiocacheidmanager\" \
\
-I$(top_srcdir)/src -I$(top_srcdir)/include \
-I$(top_srcdir)/hugin -DDISABLE_HUGIN $(SNDFILE_CFLAGS)
audiocacheidmanager_LDFLAGS = $(SNDFILE_LIBS)
audiocacheidmanager_SOURCES = \
$(top_srcdir)/src/audiocacheidmanager.cc \
dgtest.cc \
audiocacheidmanagertest.cc
audiocacheeventhandler_CXXFLAGS = -DOUTPUT=\"audiocacheeventhandler\" \
\
-I$(top_srcdir)/src -I$(top_srcdir)/include \
-I$(top_srcdir)/hugin -DDISABLE_HUGIN $(PTHREAD_CFLAGS) $(SNDFILE_CFLAGS)
audiocacheeventhandler_LDFLAGS = $(PTHREAD_LIBS) $(SNDFILE_LIBS)
audiocacheeventhandler_SOURCES = \
$(top_srcdir)/src/audiocacheeventhandler.cc \
$(top_srcdir)/src/audiocacheidmanager.cc \
$(top_srcdir)/src/audiocachefile.cc \
$(top_srcdir)/src/thread.cc \
$(top_srcdir)/src/semaphore.cc \
dgtest.cc \
audiocacheeventhandlertest.cc
enginetest_CXXFLAGS = -DOUTPUT=\"enginetest\" \
-I$(top_srcdir)/src -I$(top_srcdir)/include \
-I$(top_srcdir)/hugin $(PTHREAD_CFLAGS) $(SNDFILE_CFLAGS)
enginetest_LDFLAGS = $(PTHREAD_LIBS) $(SNDFILE_LIBS) \
$(top_srcdir)/src/libdg.la
enginetest_SOURCES = \
$(top_srcdir)/hugin/hugin.c \
dgtest.cc \
drumkit_creator.cc \
enginetest.cc
paintertest_CXXFLAGS = -DOUTPUT=\"paintertest\" \
-I$(top_srcdir)/src -I$(top_srcdir)/include -I$(top_srcdir)/plugingui \
-I$(top_srcdir)/hugin $(PTHREAD_CFLAGS)
paintertest_LDFLAGS = $(top_srcdir)/plugingui/libdggui.la
paintertest_SOURCES = \
$(top_srcdir)/hugin/hugin.c \
dgtest.cc \
paintertest.cc
lv2_CXXFLAGS = -DOUTPUT=\"lv2\" \
-I$(top_srcdir)/src \
`pkg-config --cflags serd-0` `pkg-config --cflags lilv-0` \
-DLV2_PATH=\"@LV2DIR@\" $(SNDFILE_CFLAGS)
lv2_LDFLAGS = `pkg-config --libs serd-0` \
`pkg-config --libs lilv-0` -lcrypto \
$(SNDFILE_LIBS)
lv2_SOURCES = \
$(top_srcdir)/src/random.cc \
dgtest.cc \
drumkit_creator.cc \
lv2_test_host.cc \
lv2.cc
configfile_CXXFLAGS = -DOUTPUT=\"configfile\" \
-I$(top_srcdir)/hugin
configfile_LDFLAGS =
configfile_SOURCES = \
$(top_srcdir)/src/configfile.cc \
$(top_srcdir)/hugin/hugin.c \
dgtest.cc \
configtest.cc
randomtest_CXXFLAGS = -DOUTPUT=\"randomtest\" \
-I$(top_srcdir)/src \
-I$(top_srcdir)/hugin -DDISABLE_HUGIN
randomtest_CFLAGS = -DDISABLE_HUGIN
randomtest_LDFLAGS =
randomtest_SOURCES = \
$(top_srcdir)/src/random.cc \
dgtest.cc \
randomtest.cc
atomictest_CXXFLAGS = -DOUTPUT=\"atomictest\" \
-I$(top_srcdir)/src -I$(top_srcdir)/hugin
atomictest_LDFLAGS =
atomictest_SOURCES = atomictest.cc dgtest.cc
syncedsettingstest_CXXFLAGS = -DOUTPUT=\"syncedsettingstest\" \
-I$(top_srcdir)/src -I$(top_srcdir)/hugin
syncedsettingstest_LDFLAGS =
syncedsettingstest_SOURCES = syncedsettings.cc dgtest.cc
imagecachetest_CXXFLAGS = -DOUTPUT=\"imagecachetest\" \
-I$(top_srcdir)/src -I$(top_srcdir)/plugingui -I$(top_srcdir)/hugin
imagecachetest_LDFLAGS = $(top_srcdir)/plugingui/libdggui.la
imagecachetest_SOURCES = \
$(top_srcdir)/hugin/hugin.c \
imagecachetest.cc \
dgtest.cc
semaphoretest_CXXFLAGS = -DOUTPUT=\"semaphoretest\" \
-I$(top_srcdir)/src -I$(top_srcdir)/hugin $(PTHREAD_CFLAGS)
semaphoretest_LDFLAGS = $(PTHREAD_LIBS)
semaphoretest_SOURCES = \
$(top_srcdir)/hugin/hugin.c \
$(top_srcdir)/src/semaphore.cc \
semaphoretest.cc \
dgtest.cc
drumkitcreatortest_CXXFLAGS = -DOUTPUT=\"drumkitcreatortest\" \
-I$(top_srcdir)/src \
-I$(top_srcdir)/hugin -DDISABLE_HUGIN $(SNDFILE_CFLAGS)
drumkitcreatortest_CFLAGS = -DDISABLE_HUGIN
drumkitcreatortest_LDFLAGS = $(SNDFILE_LIBS)
drumkitcreatortest_SOURCES = \
$(top_srcdir)/src/random.cc \
dgtest.cc \
drumkit_creator.cc \
drumkitcreatortest.cc
bytesizeparsertest_CXXFLAGS = -DOUTPUT=\"bytesizeparsertest\" \
-I$(top_srcdir)/src
bytesizeparsertest_LDFLAGS =
bytesizeparsertest_SOURCES = \
$(top_srcdir)/src/bytesizeparser.cc \
bytesizeparsertest.cc \
dgtest.cc
notifiertest_CXXFLAGS = -DOUTPUT=\"notifiertest\" \
-I$(top_srcdir)/src
notifiertest_LDFLAGS =
notifiertest_SOURCES = \
notifiertest.cc \
dgtest.cc
instrumentparsertest_CXXFLAGS = -DOUTPUT=\"instrumentparsertest\" \
-I$(top_srcdir)/src -I$(top_srcdir)/include
instrumentparsertest_LDFLAGS = \
$(top_srcdir)/src/libdg.la
instrumentparsertest_SOURCES = \
$(top_srcdir)/hugin/hugin.c \
instrumentparsertest.cc \
scopedfile.cc \
dgtest.cc
drumkitparsertest_CXXFLAGS = -DOUTPUT=\"drumkitparsertest\" \
-I$(top_srcdir)/src -I$(top_srcdir)/include
drumkitparsertest_LDFLAGS = $(top_srcdir)/src/libdg.la
drumkitparsertest_SOURCES = \
$(top_srcdir)/hugin/hugin.c \
drumkitparsertest.cc \
scopedfile.cc \
dgtest.cc
endif
|