1 sbin_PROGRAMS = srs-daemon
4 plugindir = $(libdir)/srs/plugins
7 INCLUDES = -I$(top_builddir)
8 AM_CFLAGS = $(INCLUDES) $(GLIB_CFLAGS)
10 QUIET_GEN = $(Q:@=@echo ' GEN '$@;)
13 srs_daemon_PUBLIC_SYMBOLS = \
19 srs_daemon_SOURCES = \
32 $(MURPHY_PULSE_CFLAGS) \
33 $(MURPHY_COMMON_CFLAGS) \
34 $(MURPHY_RESOURCE_CFLAGS) \
36 $(PULSE_GLIB_CFLAGS) \
37 $(MURPHY_GLIB_CFLAGS) \
41 $(MURPHY_PULSE_LIBS) \
42 $(MURPHY_RESOURCE_LIBS) \
43 $(MURPHY_COMMON_LIBS) \
50 srs_daemon_LDFLAGS = \
54 # SRS command line test clinet
55 bin_PROGRAMS += srs-client
57 srs_client_SOURCES = \
62 $(MURPHY_PULSE_CFLAGS) \
63 $(MURPHY_DBUS_CFLAGS) \
64 $(MURPHY_BREEDLINE_CFLAGS) \
65 $(MURPHY_COMMON_CFLAGS) \
69 $(MURPHY_PULSE_LIBS) \
71 $(MURPHY_BREEDLINE_LIBS) \
72 $(MURPHY_COMMON_LIBS) \
79 # D-Bus client interface plugin
80 plugin_LTLIBRARIES += plugin-dbus-client.la
82 plugin_dbus_client_la_SOURCES = \
83 plugins/dbus-client-interface/dbus-client.c
85 plugin_dbus_client_la_CFLAGS = \
90 plugin_dbus_client_la_LDFLAGS = \
91 -module -avoid-version
93 plugin_dbus_client_la_LIBADD = \
97 # SRS fake speech engine plugin
98 plugin_LTLIBRARIES += plugin-fake-speech.la
100 plugin_fake_speech_la_SOURCES = \
101 plugins/fake-speech-engine/fake.c
103 plugin_fake_speech_la_CFLAGS = \
106 plugin_fake_speech_la_LDFLAGS = \
107 -module -avoid-version
109 plugin_fake_speech_la_LIBADD =
111 # SRS CMU Sphinx speech engine plugin
113 plugin_LTLIBRARIES += plugin-sphinx-speech.la
115 plugin_sphinx_speech_la_SOURCES = \
116 plugins/sphinx-speech-engine/sphinx-plugin.c \
117 plugins/sphinx-speech-engine/pulse-interface.c \
118 plugins/sphinx-speech-engine/input-buffer.c \
119 plugins/sphinx-speech-engine/filter-buffer.c \
120 plugins/sphinx-speech-engine/utterance.c \
121 plugins/sphinx-speech-engine/decoder-set.c \
122 plugins/sphinx-speech-engine/options.c
124 plugin_sphinx_speech_la_CFLAGS = \
129 plugin_sphinx_speech_la_LDFLAGS = \
130 -module -avoid-version
132 plugin_sphinx_speech_la_LIBADD = \
137 # SRS Nuance speech engine plugin
138 plugin_LTLIBRARIES += plugin-nuance-speech.la
140 plugin_nuance_speech_la_SOURCES = \
141 plugins/nuance-speech-engine/nuance.c
143 plugin_nuance_speech_la_CFLAGS = \
146 plugin_nuance_speech_la_LDFLAGS = \
147 -module -avoid-version
149 plugin_nuance_speech_la_LIBADD =
151 # SRS fake speech engine plugin
152 plugin_LTLIBRARIES += plugin-simple-disambiguator.la
154 plugin_simple_disambiguator_la_SOURCES = \
155 plugins/simple-disambiguator/disambiguator.c
157 plugin_simple_disambiguator_la_CFLAGS = \
160 plugin_simple_disambiguator_la_LDFLAGS = \
161 -module -avoid-version
163 plugin_simple_disambiguator_la_LIBADD =
166 # Mpris2 client plugin
167 plugin_LTLIBRARIES += plugin-mpris2-client.la
169 plugin_mpris2_client_la_SOURCES = \
170 plugins/mpris2-client/mpris2-plugin.c \
171 plugins/mpris2-client/dbusif.c \
172 plugins/mpris2-client/clients.c
174 plugin_mpris2_client_la_CFLAGS = \
176 $(MURPHY_DBUS_CFLAGS) \
179 plugin_mpris2_client_la_LDFLAGS = \
180 -module -avoid-version
182 plugin_mpris2_client_la_LIBADD = \
183 $(MURPHY_DBUS_LIBS) \
189 # Bluetooth client plugin
190 plugin_LTLIBRARIES += plugin-bluetooth-client.la
192 plugin_bluetooth_client_la_SOURCES = \
193 plugins/bluetooth-client/bluetooth-plugin.c \
194 plugins/bluetooth-client/dbusif.c \
195 plugins/bluetooth-client/pulseif.c \
196 plugins/bluetooth-client/clients.c
198 plugin_bluetooth_client_la_CFLAGS = \
200 $(MURPHY_DBUS_CFLAGS) \
203 plugin_bluetooth_client_la_LDFLAGS = \
204 -module -avoid-version
206 plugin_bluetooth_client_la_LIBADD = \
207 $(MURPHY_DBUS_LIBS) \
213 plugin_LTLIBRARIES += plugin-search-client.la
215 plugin_search_client_la_SOURCES = \
216 plugins/search-client/search-plugin.c
218 plugin_search_client_la_CFLAGS = \
221 plugin_search_client_la_LDFLAGS = \
222 -module -avoid-version
224 plugin_search_client_la_LIBADD =
227 # festival-loader plugin
228 plugin_LTLIBRARIES += plugin-festival-loader.la
230 plugin_festival_loader_la_SOURCES = \
231 plugins/festival/festival-loader.c
233 plugin_festival_loader_la_CFLAGS = \
236 plugin_festival_loader_la_LDFLAGS = \
237 -module -avoid-version
239 plugin_festival_loader_la_LIBADD = -ldl
241 # festival-voice synthesizer plugin
242 plugin_LTLIBRARIES += plugin-festival-voice.la
244 plugin_festival_voice_la_SOURCES = \
245 plugins/festival/festival-voice.c \
246 plugins/festival/libcarnival.cc \
247 plugins/festival/pulse.c
249 plugin_festival_voice_la_CFLAGS = \
252 plugin_festival_voice_la_CXXFLAGS = \
257 plugin_festival_voice_la_LDFLAGS = \
258 -module -avoid-version
261 # simple-voice synthesizer plugin
262 #plugin_LTLIBRARIES += plugin-simple-voice.la
264 #plugin_simple_voice_la_SOURCES = \
265 # plugins/simple-voice/simple-voice.c
267 #plugin_simple_voice_la_CFLAGS = \
270 #plugin_simple_voice_la_LDFLAGS = \
271 # -module -avoid-version
273 #plugin_simple_voice_la_LIBADD =
277 plugin_LTLIBRARIES += plugin-input-handler.la
279 plugin_input_handler_la_SOURCES = \
280 plugins/input-handler/input-plugin.c
282 plugin_input_handler_la_CFLAGS = \
285 plugin_input_handler_la_LDFLAGS = \
287 -module -avoid-version
289 plugin_input_handler_la_LIBADD = \
294 plugin_LTLIBRARIES += plugin-wrt-media-client.la
296 plugin_wrt_media_client_la_SOURCES = \
297 plugins/wrt-media-client/wrt-media-client.c
299 plugin_wrt_media_client_la_CFLAGS = \
301 $(MURPHY_GLIB_CFLAGS) \
304 plugin_wrt_media_client_la_LDFLAGS = \
305 -module -avoid-version
307 plugin_wrt_media_client_la_LIBADD = \
308 $(MURPHY_GLIB_LIBS) \