3 # This file is part of polypaudio.
5 # polypaudio is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # polypaudio is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with polypaudio; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 polypincludedir=$(includedir)/polyp
21 polypconfdir=$(sysconfdir)/polypaudio
23 modlibdir=$(libdir)/polypaudio-@PA_MAJORMINOR@
25 AM_CFLAGS=-D_GNU_SOURCE -I$(top_srcdir) $(PTHREAD_CFLAGS)
26 AM_CFLAGS+=-DDLSEARCHPATH=\"$(modlibdir)\"
27 AM_CFLAGS+=-DDEFAULT_SCRIPT_FILE=\"$(polypconfdir)/default.pa\"
28 AM_CFLAGS+=-DDEFAULT_CONFIG_FILE=\"$(polypconfdir)/daemon.conf\"
29 AM_CFLAGS+=-DDEFAULT_CLIENT_CONFIG_FILE=\"$(polypconfdir)/client.conf\"
30 AM_CFLAGS+=-DPOLYPAUDIO_BINARY=\"$(bindir)/polypaudio\"
32 AM_LDADD=$(PTHREAD_LIBS) -lm
33 AM_LIBADD=$(PTHREAD_LIBS) -lm
35 EXTRA_DIST = default.pa daemon.conf.in client.conf.in depmod.py esdcompat.sh.in
36 bin_PROGRAMS = polypaudio pacat pactl
37 bin_SCRIPTS = esdcompat.sh
45 polypconf_DATA=default.pa daemon.conf client.conf
47 BUILT_SOURCES=polyplib-version.h
49 polypinclude_HEADERS= \
56 polyplib-introspect.h \
57 polyplib-subscribe.h \
58 polyplib-operation.h \
68 ### Warning! Due to an obscure bug in libtool/automake it is required
69 ### that the libraries in modlib_LTLIBRARIES are specified in-order,
70 ### i.e. libraries near the end of the list depend on libraries near
71 ### the head, and not the other way!
88 libprotocol-simple.la \
89 libprotocol-esound.la \
90 libprotocol-native.la \
92 module-cli-protocol-tcp.la \
93 module-cli-protocol-unix.la \
95 module-pipe-source.la \
98 module-simple-protocol-tcp.la \
99 module-simple-protocol-unix.la \
100 module-esound-protocol-tcp.la \
101 module-esound-protocol-unix.la \
102 module-native-protocol-tcp.la \
103 module-native-protocol-unix.la \
104 module-native-protocol-fd.la \
107 module-esound-compat-spawnfd.la \
108 module-esound-compat-spawnpid.la
111 libpolyp-@PA_MAJORMINOR@.la \
112 libpolyp-error-@PA_MAJORMINOR@.la \
113 libpolyp-mainloop-@PA_MAJORMINOR@.la \
114 libpolyp-simple-@PA_MAJORMINOR@.la
116 polypaudio_SOURCES = idxset.c idxset.h \
120 mainloop.c mainloop.h \
121 memblock.c memblock.h \
123 sample-util.c sample-util.h \
124 memblockq.c memblockq.h \
127 source-output.c source-output.h \
128 sink-input.c sink-input.h \
132 mainloop-signal.c mainloop-signal.h \
133 mainloop-api.c mainloop-api.h \
135 hashmap.c hashmap.h \
136 namereg.c namereg.h \
138 resampler.c resampler.h \
140 memchunk.c memchunk.h \
141 sconv-s16le.c sconv-s16le.h \
142 sconv-s16be.c sconv-s16be.h \
144 modargs.c modargs.h \
145 cmdline.c cmdline.h \
146 cli-command.c cli-command.h \
147 cli-text.c cli-text.h \
148 tokenizer.c tokenizer.h \
149 dynarray.c dynarray.h \
151 sound-file.c sound-file.h \
152 play-memchunk.c play-memchunk.h \
153 autoload.c autoload.h \
154 xmalloc.c xmalloc.h \
155 subscribe.h subscribe.c \
157 sound-file-stream.c sound-file-stream.h \
158 cpulimit.c cpulimit.h \
161 modinfo.c modinfo.h \
162 daemon-conf.c daemon-conf.h \
163 dumpmodules.c dumpmodules.h \
164 conf-parser.h conf-parser.c
166 polypaudio_CFLAGS = $(AM_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSNDFILE_CFLAGS)
167 polypaudio_INCLUDES = $(INCLTDL)
168 polypaudio_LDADD = $(AM_LDADD) $(LIBLTDL) $(LIBSAMPLERATE_LIBS) $(LIBSNDFILE_LIBS) $(LEXLIB)
169 polypaudio_LDFLAGS=-export-dynamic
171 libprotocol_simple_la_SOURCES = protocol-simple.c protocol-simple.h
172 libprotocol_simple_la_LDFLAGS = -avoid-version
173 libprotocol_simple_la_LIBADD = $(AM_LIBADD) libsocket-server.la libiochannel.la
175 libsocket_server_la_SOURCES = socket-server.c socket-server.h
176 libsocket_server_la_LDFLAGS = -avoid-version
177 libsocket_server_la_LIBADD = $(AM_LIBADD) libiochannel.la libsocket-util.la
179 libsocket_client_la_SOURCES = socket-client.c socket-client.h
180 libsocket_client_la_LDFLAGS = -avoid-version
181 libsocket_client_la_LIBADD = $(AM_LIBADD) libiochannel.la libsocket-util.la
183 libpstream_la_SOURCES = pstream.c pstream.h
184 libpstream_la_LDFLAGS = -avoid-version
185 libpstream_la_LIBADD = $(AM_LIBADD) libpacket.la libiochannel.la
187 libpstream_util_la_SOURCES = pstream-util.c pstream-util.h
188 libpstream_util_la_LDFLAGS = -avoid-version
189 libpstream_util_la_LIBADD = $(AM_LIBADD) libpacket.la libpstream.la libtagstruct.la
191 libpdispatch_la_SOURCES = pdispatch.c pdispatch.h
192 libpdispatch_la_LDFLAGS = -avoid-version
193 libpdispatch_la_LIBADD = $(AM_LIBADD) libtagstruct.la
195 libiochannel_la_SOURCES = iochannel.c iochannel.h
196 libiochannel_la_LDFLAGS = -avoid-version
197 libiochannel_la_LIBADD = $(AM_LIBADD) libsocket-util.la
199 libpacket_la_SOURCES = packet.c packet.h
200 libpacket_la_LDFLAGS = -avoid-version
202 liboss_util_la_SOURCES = oss-util.c oss-util.h
203 liboss_util_la_LDFLAGS = -avoid-version
205 libioline_la_SOURCES = ioline.c ioline.h
206 libioline_la_LDFLAGS = -avoid-version
207 libioline_la_LIBADD = $(AM_LIBADD) libiochannel.la
209 libcli_la_SOURCES = cli.c cli.h
210 libcli_la_LDFLAGS = -avoid-version
211 libcli_la_LIBADD = $(AM_LIBADD) libiochannel.la libioline.la
213 libprotocol_cli_la_SOURCES = protocol-cli.c protocol-cli.h
214 libprotocol_cli_la_LDFLAGS = -avoid-version
215 libprotocol_cli_la_LIBADD = $(AM_LIBADD) libsocket-server.la libiochannel.la libcli.la
217 libprotocol_native_la_SOURCES = protocol-native.c protocol-native.h native-common.h
218 libprotocol_native_la_LDFLAGS = -avoid-version
219 libprotocol_native_la_LIBADD = $(AM_LIBADD) libsocket-server.la libpstream.la libpstream-util.la libpdispatch.la libtagstruct.la libauthkey.la
221 libtagstruct_la_SOURCES = tagstruct.c tagstruct.h
222 libtagstruct_la_LDFLAGS = -avoid-version
224 libprotocol_esound_la_SOURCES = protocol-esound.c protocol-esound.h esound.h
225 libprotocol_esound_la_LDFLAGS = -avoid-version
226 libprotocol_esound_la_LIBADD = $(AM_LIBADD) libsocket-server.la libiochannel.la libauthkey.la
228 libauthkey_la_SOURCES = authkey.c authkey.h
229 libauthkey_la_LDFLAGS = -avoid-version
231 libsocket_util_la_SOURCES = socket-util.c socket-util.h
232 libsocket_util_la_LDFLAGS = -avoid-version
234 module_simple_protocol_tcp_la_SOURCES = module-protocol-stub.c
235 module_simple_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
236 module_simple_protocol_tcp_la_LDFLAGS = -module -avoid-version
237 module_simple_protocol_tcp_la_LIBADD = $(AM_LIBADD) libprotocol-simple.la libsocket-server.la
239 module_simple_protocol_unix_la_SOURCES = module-protocol-stub.c
240 module_simple_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
241 module_simple_protocol_unix_la_LDFLAGS = -module -avoid-version
242 module_simple_protocol_unix_la_LIBADD = $(AM_LIBADD) libprotocol-simple.la libsocket-server.la libsocket-util.la
244 module_cli_protocol_tcp_la_SOURCES = module-protocol-stub.c
245 module_cli_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
246 module_cli_protocol_tcp_la_LDFLAGS = -module -avoid-version
247 module_cli_protocol_tcp_la_LIBADD = $(AM_LIBADD) libprotocol-cli.la libsocket-server.la
249 module_cli_protocol_unix_la_SOURCES = module-protocol-stub.c
250 module_cli_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
251 module_cli_protocol_unix_la_LDFLAGS = -module -avoid-version
252 module_cli_protocol_unix_la_LIBADD = $(AM_LIBADD) libprotocol-cli.la libsocket-server.la libsocket-util.la
254 module_native_protocol_tcp_la_SOURCES = module-protocol-stub.c
255 module_native_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
256 module_native_protocol_tcp_la_LDFLAGS = -module -avoid-version
257 module_native_protocol_tcp_la_LIBADD = $(AM_LIBADD) libprotocol-native.la libsocket-server.la
259 module_native_protocol_unix_la_SOURCES = module-protocol-stub.c
260 module_native_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
261 module_native_protocol_unix_la_LDFLAGS = -module -avoid-version
262 module_native_protocol_unix_la_LIBADD = $(AM_LIBADD) libprotocol-native.la libsocket-server.la libsocket-util.la
264 module_native_protocol_fd_la_SOURCES = module-native-protocol-fd.c
265 module_native_protocol_fd_la_CFLAGS = $(AM_CFLAGS)
266 module_native_protocol_fd_la_LDFLAGS = -module -avoid-version
267 module_native_protocol_fd_la_LIBADD = $(AM_LIBADD) libprotocol-native.la libsocket-server.la libsocket-util.la
269 module_esound_protocol_tcp_la_SOURCES = module-protocol-stub.c
270 module_esound_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
271 module_esound_protocol_tcp_la_LDFLAGS = -module -avoid-version
272 module_esound_protocol_tcp_la_LIBADD = $(AM_LIBADD) libprotocol-esound.la libsocket-server.la
274 module_esound_protocol_unix_la_SOURCES = module-protocol-stub.c
275 module_esound_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
276 module_esound_protocol_unix_la_LDFLAGS = -module -avoid-version
277 module_esound_protocol_unix_la_LIBADD = $(AM_LIBADD) libprotocol-esound.la libsocket-server.la libsocket-util.la
279 module_pipe_sink_la_SOURCES = module-pipe-sink.c
280 module_pipe_sink_la_LDFLAGS = -module -avoid-version
281 module_pipe_sink_la_LIBADD = $(AM_LIBADD) libiochannel.la
283 module_pipe_source_la_SOURCES = module-pipe-source.c
284 module_pipe_source_la_LDFLAGS = -module -avoid-version
285 module_pipe_source_la_LIBADD = $(AM_LIBADD) libiochannel.la
287 module_oss_la_SOURCES = module-oss.c
288 module_oss_la_LDFLAGS = -module -avoid-version
289 module_oss_la_LIBADD = $(AM_LIBADD) libiochannel.la liboss-util.la
291 module_oss_mmap_la_SOURCES = module-oss-mmap.c
292 module_oss_mmap_la_LDFLAGS = -module -avoid-version
293 module_oss_mmap_la_LIBADD = $(AM_LIBADD) liboss-util.la
295 module_cli_la_SOURCES = module-cli.c
296 module_cli_la_LDFLAGS = -module -avoid-version
297 module_cli_la_LIBADD = $(AM_LIBADD) libcli.la libiochannel.la
299 module_sine_la_SOURCES = module-sine.c
300 module_sine_la_LDFLAGS = -module -avoid-version
301 module_sine_la_LIBADD = $(AM_LIBADD)
303 module_combine_la_SOURCES = module-combine.c
304 module_combine_la_LDFLAGS = -module -avoid-version
305 module_combine_la_LIBADD = $(AM_LIBADD)
307 module_esound_compat_spawnfd_la_SOURCES = module-esound-compat-spawnfd.c
308 module_esound_compat_spawnfd_la_LDFLAGS = -module -avoid-version
309 module_esound_compat_spawnfd_la_LIBADD = $(AM_LIBADD)
311 module_esound_compat_spawnpid_la_SOURCES = module-esound-compat-spawnpid.c
312 module_esound_compat_spawnpid_la_LDFLAGS = -module -avoid-version
313 module_esound_compat_spawnpid_la_LIBADD = $(AM_LIBADD)
315 libpolyp_@PA_MAJORMINOR@_la_SOURCES = polyplib.h \
317 tagstruct.c tagstruct.h \
318 iochannel.c iochannel.h \
319 pstream.c pstream.h \
320 pstream-util.c pstream-util.h \
321 pdispatch.c pdispatch.h \
322 mainloop-api.c mainloop-api.h \
325 memblock.c memblock.h \
326 socket-client.c socket-client.h \
329 dynarray.c dynarray.h \
330 memchunk.c memchunk.h \
331 authkey.c authkey.h \
332 socket-util.c socket-util.h \
335 xmalloc.c xmalloc.h \
336 polyplib-operation.c polyplib-operation.h \
337 polyplib-context.c polyplib-context.h \
338 polyplib-stream.c polyplib-stream.h \
339 polyplib-introspect.c polyplib-introspect.h \
340 polyplib-scache.c polyplib-scache.h \
341 polyplib-subscribe.c polyplib-subscribe.h \
342 polyplib-internal.h \
347 client-conf.c client-conf.h \
348 conf-parser.c conf-parser.h
350 libpolyp_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS)
351 libpolyp_@PA_MAJORMINOR@_la_LDFLAGS = -version-info 0:0:0
353 libpolyp_mainloop_@PA_MAJORMINOR@_la_SOURCES = mainloop-api.h mainloop-api.c \
354 mainloop.c mainloop.h \
355 mainloop-signal.c mainloop-signal.h
356 libpolyp_mainloop_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS)
357 libpolyp_mainloop_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) libpolyp-@PA_MAJORMINOR@.la
358 libpolyp_mainloop_@PA_MAJORMINOR@_la_LDFLAGS = -version-info 0:0:0
360 libpolyp_error_@PA_MAJORMINOR@_la_SOURCES = polyplib-error.c polyplib-error.h
361 libpolyp_error_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS)
362 libpolyp_error_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) libpolyp-@PA_MAJORMINOR@.la
363 libpolyp_error_@PA_MAJORMINOR@_la_LDFLAGS = -version-info 0:0:0
365 libpolyp_simple_@PA_MAJORMINOR@_la_SOURCES = polyplib-simple.c polyplib-simple.h
366 libpolyp_simple_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS)
367 libpolyp_simple_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) libpolyp-@PA_MAJORMINOR@.la libpolyp-mainloop-@PA_MAJORMINOR@.la
368 libpolyp_simple_@PA_MAJORMINOR@_la_LDFLAGS = -version-info 0:0:0
370 pacat_SOURCES = pacat.c
371 pacat_LDADD = $(AM_LDADD) libpolyp-@PA_MAJORMINOR@.la libpolyp-error-@PA_MAJORMINOR@.la libpolyp-mainloop-@PA_MAJORMINOR@.la
372 pacat_CFLAGS = $(AM_CFLAGS)
374 pactl_SOURCES = pactl.c
375 pactl_LDADD = $(AM_LDADD) libpolyp-@PA_MAJORMINOR@.la libpolyp-error-@PA_MAJORMINOR@.la libpolyp-mainloop-@PA_MAJORMINOR@.la $(LIBSNDFILE_LIBS)
376 pactl_CFLAGS = $(AM_CFLAGS) $(LIBSDNFILE_CFLAGS)
378 pacat_simple_SOURCES = pacat-simple.c
379 pacat_simple_LDADD = $(AM_LDADD) libpolyp-@PA_MAJORMINOR@.la libpolyp-simple-@PA_MAJORMINOR@.la libpolyp-error-@PA_MAJORMINOR@.la libpolyp-mainloop-@PA_MAJORMINOR@.la
380 pacat_simple_CFLAGS = $(AM_CFLAGS)
382 parec_simple_SOURCES = parec-simple.c
383 parec_simple_LDADD = $(AM_LDADD) libpolyp-@PA_MAJORMINOR@.la libpolyp-simple-@PA_MAJORMINOR@.la libpolyp-error-@PA_MAJORMINOR@.la libpolyp-mainloop-@PA_MAJORMINOR@.la
384 parec_simple_CFLAGS = $(AM_CFLAGS)
386 mainloop_test_SOURCES = mainloop-test.c
387 mainloop_test_CFLAGS = $(AM_CFLAGS)
388 mainloop_test_LDADD = $(AM_LDADD) libpolyp-mainloop-@PA_MAJORMINOR@.la libpolyp-@PA_MAJORMINOR@.la
390 cpulimit_test_SOURCES = cpulimit-test.c cpulimit.c util.c log.c
391 cpulimit_test_CFLAGS = $(AM_CFLAGS)
392 cpulimit_test_LDADD = $(AM_LDADD) libpolyp-mainloop-@PA_MAJORMINOR@.la
394 cpulimit_test2_SOURCES = cpulimit-test.c cpulimit.c util.c log.c
395 cpulimit_test2_CFLAGS = $(AM_CFLAGS) -DTEST2
396 cpulimit_test2_LDADD = $(AM_LDADD) libpolyp-mainloop-@PA_MAJORMINOR@.la
401 modlib_LTLIBRARIES+= \
404 module_x11_bell_la_SOURCES = module-x11-bell.c
405 module_x11_bell_la_CFLAGS = $(AM_CFLAGS) $(X_CFLAGS)
406 module_x11_bell_la_LDFLAGS = -module -avoid-version
407 module_x11_bell_la_LIBADD = $(AM_LIBADD) $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIB)
413 modlib_LTLIBRARIES+= \
415 module-alsa-sink.la \
416 module-alsa-source.la
418 libalsa_util_la_SOURCES = alsa-util.c alsa-util.h
419 libalsa_util_la_LDFLAGS = -avoid-version
420 libalsa_util_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS)
421 libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
423 module_alsa_sink_la_SOURCES = module-alsa-sink.c
424 module_alsa_sink_la_LDFLAGS = -module -avoid-version
425 module_alsa_sink_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
426 module_alsa_sink_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
428 module_alsa_source_la_SOURCES = module-alsa-source.c
429 module_alsa_source_la_LDFLAGS = -module -avoid-version
430 module_alsa_source_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
431 module_alsa_source_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
438 libpolyp-mainloop-glib-@PA_MAJORMINOR@.la
443 libpolyp_mainloop_glib_@PA_MAJORMINOR@_la_SOURCES = glib-mainloop.h glib-mainloop.c
444 libpolyp_mainloop_glib_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(GLIB20_CFLAGS)
445 libpolyp_mainloop_glib_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) libpolyp-mainloop-@PA_MAJORMINOR@.la $(GLIB20_LIBS)
446 libpolyp_mainloop_glib_@PA_MAJORMINOR@_la_LDFLAGS = -version-info 0:0:0
448 mainloop_test_glib_SOURCES = $(mainloop_test_SOURCES)
449 mainloop_test_glib_CFLAGS = $(mainloop_test_CFLAGS) $(GLIB20_CFLAGS) -DGLIB_MAIN_LOOP
450 mainloop_test_glib_LDADD = $(mainloop_test_LDADD) $(GLIB20_LIBS) libpolyp-mainloop-glib-@PA_MAJORMINOR@.la
458 libpolyp-mainloop-glib12-@PA_MAJORMINOR@.la
462 libpolyp_mainloop_glib12_@PA_MAJORMINOR@_la_SOURCES = glib-mainloop.h glib12-mainloop.c
463 libpolyp_mainloop_glib12_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(GLIB12_CFLAGS)
464 libpolyp_mainloop_glib12_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) libpolyp-mainloop-@PA_MAJORMINOR@.la $(GLIB12_LIBS)
465 libpolyp_mainloop_glib12_@PA_MAJORMINOR@_la_LDFLAGS = -version-info 0:0:0
467 mainloop_test_glib12_SOURCES = $(mainloop_test_SOURCES)
468 mainloop_test_glib12_CFLAGS = $(mainloop_test_CFLAGS) $(GLIB12_CFLAGS) -DGLIB_MAIN_LOOP
469 mainloop_test_glib12_LDADD = $(mainloop_test_LDADD) $(GLIB12_LIBS) libpolyp-mainloop-glib12-@PA_MAJORMINOR@.la
473 ### libpolypcore (needs to be updated)
475 if BUILD_LIBPOLYPCORE
477 polypinclude_HEADERS+=cli-command.h\
507 lib_LTLIBRARIES+= libpolypcore.la
509 libpolypcore_la_SOURCES = idxset.c idxset.h \
512 mainloop.c mainloop.h \
513 memblock.c memblock.h \
515 sample-util.c sample-util.h \
516 memblockq.c memblockq.h \
519 source-output.c source-output.h \
520 sink-input.c sink-input.h \
524 mainloop-signal.c mainloop-signal.h \
525 mainloop-api.c mainloop-api.h \
527 hashmap.c hashmap.h \
528 namereg.c namereg.h \
530 resampler.c resampler.h \
532 memchunk.c memchunk.h \
533 sconv-s16le.c sconv-s16le.h \
534 sconv-s16be.c sconv-s16be.h \
536 modargs.c modargs.h \
537 cli-command.c cli-command.h \
538 cli-text.c cli-text.h \
539 tokenizer.c tokenizer.h \
540 dynarray.c dynarray.h
550 esdcompat.sh: esdcompat.sh.in Makefile
551 sed -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
552 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
553 -e 's,@POLYPAUDIO_BINARY\@,$(bindir)/polypaudio,g' < $< > $@
555 client.conf: client.conf.in Makefile
556 sed -e 's,@POLYPAUDIO_BINARY\@,$(bindir)/polypaudio,g' < $< > $@
558 daemon.conf: daemon.conf.in Makefile
559 sed -e 's,@DLSEARCHPATH\@,$(modlibdir),g' \
560 -e 's,@DEFAULT_CONFIG_FILE\@,$(polypconfdir)/daemon.conf,g' < $< > $@
563 chown root:root $(DESTDIR)$(bindir)/polypaudio
564 chmod u+s $(DESTDIR)$(bindir)/polypaudio