1 # This file is part of PulseAudio.
3 # Copyright 2004-2006 Lennart Poettering
4 # Copyright 2006 Pierre Ossman <ossman@cendio.se> for Cendio AB
5 # Copyright 2006 Diego Pettenò
7 # PulseAudio is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU Lesser General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
12 # PulseAudio is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # General Public License for more details.
17 # You should have received a copy of the GNU Lesser General Public License
18 # along with PulseAudio; if not, write to the Free Software
19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22 ###################################
24 ###################################
26 pulseincludedir=$(includedir)/pulse
27 pulsecoreincludedir=$(includedir)/pulsecore
28 pulselibexecdir=$(libexecdir)/pulse
30 xdgautostartdir=$(sysconfdir)/xdg/autostart
33 alsaprofilesetsdir=$(datadir)/pulseaudio/alsa-mixer/profile-sets
34 alsapathsdir=$(datadir)/pulseaudio/alsa-mixer/paths
37 dbuspolicydir=$(sysconfdir)/dbus-1/system.d
40 ###################################
41 # Compiler/linker flags #
42 ###################################
46 -I$(top_srcdir)/src/modules \
47 -I$(top_builddir)/src/modules \
49 -DPA_ALSA_PATHS_DIR=\"$(alsapathsdir)\" \
50 -DPA_ALSA_PROFILE_SETS_DIR=\"$(alsaprofilesetsdir)\"
51 AM_CXXFLAGS = $(AM_CFLAGS)
52 SERVER_CFLAGS = -D__INCLUDED_FROM_PULSE_AUDIO
54 AM_LIBADD = $(PTHREAD_LIBS) $(INTLLIBS)
55 AM_LDADD = $(PTHREAD_LIBS) $(INTLLIBS)
56 AM_LDFLAGS = $(NODELETE_LDFLAGS)
59 AM_CFLAGS+=$(GCOV_CFLAGS)
60 AM_CXXFLAGS+=$(GCOV_CFLAGS)
61 AM_LDFLAGS+=$(GCOV_LIBS)
69 AM_LDFLAGS+=-Wl,--export-all-symbols,--enable-auto-import -no-undefined
70 WINSOCK_LIBS=-lwsock32 -lws2_32 -lwininet
74 AM_LDFLAGS+=-Wl,-headerpad_max_install_names -headerpad_max_install_names
79 MODULE_LDFLAGS = $(AM_LDFLAGS) -module -disable-static -avoid-version $(NOUNDEFINED_LDFLAGS)
80 MODULE_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
82 ###################################
84 ###################################
87 pulse/client.conf.in \
89 daemon/daemon.conf.in \
90 daemon/default.pa.in \
94 daemon/start-pulseaudio-x11.in \
95 daemon/start-pulseaudio-kde.in \
98 modules/module-defs.h.m4 \
99 daemon/pulseaudio.desktop.in \
100 daemon/pulseaudio-kde.desktop.in \
102 daemon/pulseaudio-system.conf \
103 modules/echo-cancel/adrian-license.txt
113 daemon/pulseaudio-system.conf
117 xdgautostart_in_files = \
118 daemon/pulseaudio.desktop.in \
119 daemon/pulseaudio-kde.desktop.in
120 xdgautostart_DATA = $(xdgautostart_in_files:.desktop.in=.desktop)
121 @INTLTOOL_DESKTOP_RULE@
125 ###################################
127 ###################################
131 include $(top_srcdir)/orc.mak
134 ###################################
136 ###################################
138 bin_PROGRAMS = pulseaudio
140 pulseaudio_SOURCES = \
141 daemon/caps.c daemon/caps.h \
142 daemon/cmdline.c daemon/cmdline.h \
143 daemon/cpulimit.c daemon/cpulimit.h \
144 daemon/daemon-conf.c daemon/daemon-conf.h \
145 daemon/dumpmodules.c daemon/dumpmodules.h \
146 daemon/ltdl-bind-now.c daemon/ltdl-bind-now.h \
149 pulseaudio_CFLAGS = $(AM_CFLAGS) $(CAP_CFLAGS)
150 pulseaudio_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(LIBLTDL) $(CAP_LIBS)
151 # This is needed because automake doesn't properly expand the foreach below
152 pulseaudio_DEPENDENCIES = libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(PREOPEN_LIBS)
155 pulseaudio_CFLAGS += $(DBUS_CFLAGS)
156 pulseaudio_SOURCES += daemon/server-lookup.c daemon/server-lookup.h
157 pulseaudio_LDADD += $(DBUS_LIBS)
161 PREOPEN_LIBS = $(PREOPEN_MODS)
163 PREOPEN_LIBS = $(modlibexec_LTLIBRARIES)
167 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(IMMEDIATE_LDFLAGS) -dlpreopen force $(foreach f,$(PREOPEN_LIBS),-dlpreopen $(f))
169 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(IMMEDIATE_LDFLAGS) -dlopen force $(foreach f,$(PREOPEN_LIBS),-dlopen $(f))
172 ###################################
174 ###################################
176 bin_SCRIPTS = esdcompat
183 bin_PROGRAMS += pasuspender
187 bin_PROGRAMS += pacmd
191 bin_PROGRAMS += pax11publish
192 bin_SCRIPTS += start-pulseaudio-x11 start-pulseaudio-kde
195 pacat_SOURCES = utils/pacat.c
196 pacat_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(LIBSNDFILE_LIBS)
197 pacat_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
198 pacat_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
200 pactl_SOURCES = utils/pactl.c
201 pactl_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(LIBSNDFILE_LIBS)
202 pactl_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
203 pactl_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
205 pasuspender_SOURCES = utils/pasuspender.c
206 pasuspender_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
207 pasuspender_CFLAGS = $(AM_CFLAGS)
208 pasuspender_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
210 pacmd_SOURCES = utils/pacmd.c
211 pacmd_CFLAGS = $(AM_CFLAGS)
212 pacmd_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
213 pacmd_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
215 pax11publish_SOURCES = utils/pax11publish.c
216 pax11publish_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
217 pax11publish_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(X11_LIBS)
218 pax11publish_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
220 ###################################
222 ###################################
230 thread-mainloop-test \
233 get-binary-name-test \
261 # These tests need a running pulseaudio daemon
301 TESTS_ENVIRONMENT=MAKE_CHECK=1
302 TESTS = $(TESTS_default)
304 if BUILD_TESTS_DEFAULT
305 noinst_PROGRAMS = $(TESTS_default) $(TESTS_norun) $(TESTS_daemon)
307 check_PROGRAMS = $(TESTS_default) $(TESTS_norun)
310 check-daemon: $(TESTS_daemon)
311 PATH=$(builddir):${PATH} $(top_srcdir)/src/tests/test-daemon.sh $(TESTS_daemon)
320 @echo "Tests are disabled!"
321 @echo "Pass option \"--enable-tests\" to configure and install \"check\" library properly!"
326 mainloop_test_SOURCES = tests/mainloop-test.c
327 mainloop_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
328 mainloop_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
329 mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
331 thread_mainloop_test_SOURCES = tests/thread-mainloop-test.c
332 thread_mainloop_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
333 thread_mainloop_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
334 thread_mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
336 utf8_test_SOURCES = tests/utf8-test.c
337 utf8_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
338 utf8_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
339 utf8_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
341 format_test_SOURCES = tests/format-test.c
342 format_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
343 format_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
344 format_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
346 get_binary_name_test_SOURCES = tests/get-binary-name-test.c
347 get_binary_name_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
348 get_binary_name_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
349 get_binary_name_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
351 ipacl_test_SOURCES = tests/ipacl-test.c
352 ipacl_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
353 ipacl_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
354 ipacl_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
356 hook_list_test_SOURCES = tests/hook-list-test.c
357 hook_list_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
358 hook_list_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
359 hook_list_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
361 memblock_test_SOURCES = tests/memblock-test.c
362 memblock_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
363 memblock_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
364 memblock_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
366 thread_test_SOURCES = tests/thread-test.c
367 thread_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
368 thread_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
369 thread_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
371 once_test_SOURCES = tests/once-test.c
372 once_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
373 once_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
374 once_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
376 flist_test_SOURCES = tests/flist-test.c
377 flist_test_CFLAGS = $(AM_CFLAGS)
378 flist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
379 flist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
381 asyncq_test_SOURCES = tests/asyncq-test.c
382 asyncq_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
383 asyncq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
384 asyncq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
386 asyncmsgq_test_SOURCES = tests/asyncmsgq-test.c
387 asyncmsgq_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
388 asyncmsgq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
389 asyncmsgq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
391 queue_test_SOURCES = tests/queue-test.c
392 queue_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
393 queue_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
394 queue_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
396 rtpoll_test_SOURCES = tests/rtpoll-test.c
397 rtpoll_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
398 rtpoll_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
399 rtpoll_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
401 mcalign_test_SOURCES = tests/mcalign-test.c
402 mcalign_test_CFLAGS = $(AM_CFLAGS)
403 mcalign_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
404 mcalign_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
406 pacat_simple_SOURCES = tests/pacat-simple.c
407 pacat_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la
408 pacat_simple_CFLAGS = $(AM_CFLAGS)
409 pacat_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
411 parec_simple_SOURCES = tests/parec-simple.c
412 parec_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la
413 parec_simple_CFLAGS = $(AM_CFLAGS)
414 parec_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
416 extended_test_SOURCES = tests/extended-test.c
417 extended_test_LDADD = $(AM_LDADD) libpulse.la
418 extended_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
419 extended_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
421 strlist_test_SOURCES = tests/strlist-test.c
422 strlist_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
423 strlist_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
424 strlist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
426 close_test_SOURCES = tests/close-test.c
427 close_test_CFLAGS = $(AM_CFLAGS)
428 close_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
429 close_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
431 volume_test_SOURCES = tests/volume-test.c
432 volume_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
433 volume_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
434 volume_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
436 channelmap_test_SOURCES = tests/channelmap-test.c
437 channelmap_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
438 channelmap_test_LDADD = $(AM_LDADD) libpulse.la
439 channelmap_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
441 cpulimit_test_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
442 cpulimit_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
443 cpulimit_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
444 cpulimit_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
446 cpulimit_test2_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
447 cpulimit_test2_CFLAGS = $(AM_CFLAGS) -DTEST2 $(LIBCHECK_CFLAGS)
448 cpulimit_test2_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
449 cpulimit_test2_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
451 mainloop_test_glib_SOURCES = $(mainloop_test_SOURCES)
452 mainloop_test_glib_CFLAGS = $(mainloop_test_CFLAGS) $(LIBCHECK_CFLAGS) $(GLIB20_CFLAGS) -DGLIB_MAIN_LOOP
453 mainloop_test_glib_LDADD = $(mainloop_test_LDADD) $(GLIB20_LIBS) libpulse-mainloop-glib.la
454 mainloop_test_glib_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
456 memblockq_test_SOURCES = tests/memblockq-test.c
457 memblockq_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
458 memblockq_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
459 memblockq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
461 sync_playback_SOURCES = tests/sync-playback.c
462 sync_playback_LDADD = $(AM_LDADD) libpulse.la
463 sync_playback_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
464 sync_playback_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
466 interpol_test_SOURCES = tests/interpol-test.c
467 interpol_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
468 interpol_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
469 interpol_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
471 sig2str_test_SOURCES = tests/sig2str-test.c
472 sig2str_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
473 sig2str_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
474 sig2str_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
476 resampler_test_SOURCES = tests/resampler-test.c
477 resampler_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
478 resampler_test_CFLAGS = $(AM_CFLAGS)
479 resampler_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
481 mix_test_SOURCES = tests/mix-test.c
482 mix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
483 mix_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
484 mix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
486 remix_test_SOURCES = tests/remix-test.c
487 remix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
488 remix_test_CFLAGS = $(AM_CFLAGS)
489 remix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
491 smoother_test_SOURCES = tests/smoother-test.c
492 smoother_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
493 smoother_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
494 smoother_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
496 proplist_test_SOURCES = tests/proplist-test.c
497 proplist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
498 proplist_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
499 proplist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
501 cpu_test_SOURCES = tests/cpu-test.c
502 cpu_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
503 cpu_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
504 cpu_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
506 rtstutter_SOURCES = tests/rtstutter.c
507 rtstutter_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
508 rtstutter_CFLAGS = $(AM_CFLAGS)
509 rtstutter_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
511 stripnul_SOURCES = tests/stripnul.c
512 stripnul_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
513 stripnul_CFLAGS = $(AM_CFLAGS)
514 stripnul_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
516 lock_autospawn_test_SOURCES = tests/lock-autospawn-test.c
517 lock_autospawn_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
518 lock_autospawn_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
519 lock_autospawn_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
521 sigbus_test_SOURCES = tests/sigbus-test.c
522 sigbus_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
523 sigbus_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
524 sigbus_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
526 gtk_test_SOURCES = tests/gtk-test.c
527 gtk_test_LDADD = $(AM_LDADD) $(GTK20_LIBS) libpulse-mainloop-glib.la libpulse.la
528 gtk_test_CFLAGS = $(AM_CFLAGS) $(GTK20_CFLAGS)
529 gtk_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
531 alsa_time_test_SOURCES = tests/alsa-time-test.c
532 alsa_time_test_LDADD = $(AM_LDADD) $(ASOUNDLIB_LIBS)
533 alsa_time_test_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS) $(LIBCHECK_CFLAGS)
534 alsa_time_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
536 usergroup_test_SOURCES = tests/usergroup-test.c
537 usergroup_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
538 usergroup_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
539 usergroup_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
541 connect_stress_SOURCES = tests/connect-stress.c
542 connect_stress_LDADD = $(AM_LDADD) libpulse.la
543 connect_stress_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
544 connect_stress_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
546 echo_cancel_test_SOURCES = $(module_echo_cancel_la_SOURCES)
547 nodist_echo_cancel_test_SOURCES = $(nodist_module_echo_cancel_la_SOURCES)
548 echo_cancel_test_LDADD = $(module_echo_cancel_la_LIBADD)
549 echo_cancel_test_CFLAGS = $(module_echo_cancel_la_CFLAGS) -DECHO_CANCEL_TEST=1
551 echo_cancel_test_CXXFLAGS = $(module_echo_cancel_la_CXXFLAGS) -DECHO_CANCEL_TEST=1
553 echo_cancel_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
555 ###################################
557 ###################################
559 pkglib_LTLIBRARIES = \
560 libpulsecommon-@PA_MAJORMINOR@.la
562 # We duplicate files from pulse/ in this to allow as-needed linking. If we did
563 # not do this, in situations where code in libpulsecommon uses code in
564 # libpulse, we would then need to link libpulsecommon to libpulse (in addition
565 # to the existing libpulse being linked to libpulsecommon). Duplicating the
566 # code allows us to prevent this circular linking.
567 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES = \
568 pulse/client-conf.c pulse/client-conf.h \
569 pulse/fork-detect.c pulse/fork-detect.h \
570 pulse/xmalloc.c pulse/xmalloc.h \
571 pulse/proplist.c pulse/proplist.h \
572 pulse/utf8.c pulse/utf8.h \
573 pulse/channelmap.c pulse/channelmap.h \
574 pulse/sample.c pulse/sample.h \
575 pulse/util.c pulse/util.h \
576 pulse/timeval.c pulse/timeval.h \
577 pulse/rtclock.c pulse/rtclock.h \
578 pulse/volume.c pulse/volume.h \
580 pulsecore/authkey.c pulsecore/authkey.h \
581 pulsecore/conf-parser.c pulsecore/conf-parser.h \
582 pulsecore/core-error.c pulsecore/core-error.h \
583 pulsecore/core-rtclock.c pulsecore/core-rtclock.h \
584 pulsecore/core-util.c pulsecore/core-util.h \
586 pulsecore/dynarray.c pulsecore/dynarray.h \
587 pulsecore/endianmacros.h \
588 pulsecore/flist.c pulsecore/flist.h \
589 pulsecore/hashmap.c pulsecore/hashmap.h \
590 pulsecore/i18n.c pulsecore/i18n.h \
591 pulsecore/idxset.c pulsecore/idxset.h \
592 pulsecore/arpa-inet.c pulsecore/arpa-inet.h \
593 pulsecore/iochannel.c pulsecore/iochannel.h \
594 pulsecore/ioline.c pulsecore/ioline.h \
595 pulsecore/ipacl.c pulsecore/ipacl.h \
597 pulsecore/lock-autospawn.c pulsecore/lock-autospawn.h \
598 pulsecore/log.c pulsecore/log.h \
599 pulsecore/ratelimit.c pulsecore/ratelimit.h \
601 pulsecore/mcalign.c pulsecore/mcalign.h \
602 pulsecore/memblock.c pulsecore/memblock.h \
603 pulsecore/memblockq.c pulsecore/memblockq.h \
604 pulsecore/memchunk.c pulsecore/memchunk.h \
605 pulsecore/native-common.h \
606 pulsecore/once.c pulsecore/once.h \
607 pulsecore/packet.c pulsecore/packet.h \
608 pulsecore/parseaddr.c pulsecore/parseaddr.h \
609 pulsecore/pdispatch.c pulsecore/pdispatch.h \
610 pulsecore/pid.c pulsecore/pid.h \
611 pulsecore/pipe.c pulsecore/pipe.h \
612 pulsecore/memtrap.c pulsecore/memtrap.h \
613 pulsecore/aupdate.c pulsecore/aupdate.h \
614 pulsecore/proplist-util.c pulsecore/proplist-util.h \
615 pulsecore/pstream-util.c pulsecore/pstream-util.h \
616 pulsecore/pstream.c pulsecore/pstream.h \
617 pulsecore/queue.c pulsecore/queue.h \
618 pulsecore/random.c pulsecore/random.h \
620 pulsecore/shm.c pulsecore/shm.h \
621 pulsecore/bitset.c pulsecore/bitset.h \
622 pulsecore/socket-client.c pulsecore/socket-client.h \
623 pulsecore/socket-server.c pulsecore/socket-server.h \
624 pulsecore/socket-util.c pulsecore/socket-util.h \
625 pulsecore/strbuf.c pulsecore/strbuf.h \
626 pulsecore/strlist.c pulsecore/strlist.h \
627 pulsecore/tagstruct.c pulsecore/tagstruct.h \
628 pulsecore/time-smoother.c pulsecore/time-smoother.h \
629 pulsecore/tokenizer.c pulsecore/tokenizer.h \
630 pulsecore/usergroup.c pulsecore/usergroup.h \
631 pulsecore/sndfile-util.c pulsecore/sndfile-util.h \
635 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulsecore/poll-win32.c pulsecore/poll.h
637 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulsecore/poll-posix.c pulsecore/poll.h
640 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
641 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
642 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) $(LIBWRAP_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) $(LIBSNDFILE_LIBS)
645 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
646 pulse/client-conf-x11.c pulse/client-conf-x11.h \
647 pulsecore/x11prop.c pulsecore/x11prop.h
648 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
649 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
652 # proplist-util.h uses these header files, but not the library itself!
653 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(GLIB20_CFLAGS) $(GTK20_CFLAGS)
655 ## Please note that libpulsecommon implicitly also depends on<
656 ## libpulse! i.e. we have a cyclic dependancy here. Which is intended
657 ## since libpulse only includes stable, official APIs, while
658 ## libpulsecommon only includes unofficial APIs.
661 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
662 pulsecore/mutex-win32.c pulsecore/mutex.h \
663 pulsecore/thread-win32.c pulsecore/thread.h \
664 pulsecore/semaphore-win32.c pulsecore/semaphore.h
667 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
668 pulsecore/mutex-posix.c pulsecore/mutex.h \
669 pulsecore/thread-posix.c pulsecore/thread.h \
670 pulsecore/semaphore-osx.c pulsecore/semaphore.h
671 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += "-I/Developer/Headers/FlatCarbon/"
672 #libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += "-framework CoreServices"
674 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
675 pulsecore/mutex-posix.c pulsecore/mutex.h \
676 pulsecore/thread-posix.c pulsecore/thread.h \
677 pulsecore/semaphore-posix.c pulsecore/semaphore.h
682 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(LIBASYNCNS_CFLAGS)
683 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD += $(LIBASYNCNS_LIBS)
687 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulsecore/dllmain.c
691 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
692 pulsecore/dbus-util.c pulsecore/dbus-util.h \
693 pulsecore/rtkit.c pulsecore/rtkit.h
694 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(DBUS_CFLAGS)
695 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD += $(DBUS_LIBS)
698 ###################################
700 ###################################
702 pulseinclude_HEADERS = \
708 pulse/ext-device-manager.h \
709 pulse/ext-device-restore.h \
710 pulse/ext-stream-restore.h \
714 pulse/mainloop-api.h \
715 pulse/mainloop-signal.h \
726 pulse/thread-mainloop.h \
739 pulseinclude_HEADERS += \
740 pulse/glib-mainloop.h
743 libpulse-mainloop-glib.la
747 libpulse_la_SOURCES = \
749 pulse/channelmap.c pulse/channelmap.h \
750 pulse/context.c pulse/context.h \
752 pulse/error.c pulse/error.h \
753 pulse/ext-device-manager.c pulse/ext-device-manager.h \
754 pulse/ext-device-restore.c pulse/ext-device-restore.h \
755 pulse/ext-stream-restore.c pulse/ext-stream-restore.h \
756 pulse/format.c pulse/format.h \
759 pulse/introspect.c pulse/introspect.h \
760 pulse/mainloop-api.c pulse/mainloop-api.h \
761 pulse/mainloop-signal.c pulse/mainloop-signal.h \
762 pulse/mainloop.c pulse/mainloop.h \
763 pulse/operation.c pulse/operation.h \
764 pulse/proplist.c pulse/proplist.h \
766 pulse/rtclock.c pulse/rtclock.h \
767 pulse/sample.c pulse/sample.h \
768 pulse/scache.c pulse/scache.h \
769 pulse/stream.c pulse/stream.h \
770 pulse/subscribe.c pulse/subscribe.h \
771 pulse/thread-mainloop.c pulse/thread-mainloop.h \
772 pulse/timeval.c pulse/timeval.h \
773 pulse/utf8.c pulse/utf8.h \
774 pulse/util.c pulse/util.h \
775 pulse/volume.c pulse/volume.h \
776 pulse/xmalloc.c pulse/xmalloc.h
778 libpulse_la_CFLAGS = $(AM_CFLAGS) $(LIBJSON_CFLAGS)
779 libpulse_la_LIBADD = $(AM_LIBADD) $(WINSOCK_LIBS) $(LTLIBICONV) $(LIBJSON_LIBS) libpulsecommon-@PA_MAJORMINOR@.la
780 libpulse_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_VERSION_INFO)
783 libpulse_la_CFLAGS += $(DBUS_CFLAGS)
784 libpulse_la_LIBADD += $(DBUS_LIBS)
787 libpulse_simple_la_SOURCES = pulse/simple.c pulse/simple.h
788 libpulse_simple_la_CFLAGS = $(AM_CFLAGS)
789 libpulse_simple_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
790 libpulse_simple_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_SIMPLE_VERSION_INFO)
792 libpulse_mainloop_glib_la_SOURCES = pulse/glib-mainloop.h pulse/glib-mainloop.c
793 libpulse_mainloop_glib_la_CFLAGS = $(AM_CFLAGS) $(GLIB20_CFLAGS)
794 libpulse_mainloop_glib_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(GLIB20_LIBS)
795 libpulse_mainloop_glib_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_MAINLOOP_GLIB_VERSION_INFO)
797 ###################################
799 ###################################
802 padsplibdir = $(pkglibdir)
803 padsplib_LTLIBRARIES = libpulsedsp.la
807 -e "s|@pkglibdir[@]|$(pkglibdir)|g"
809 padsp: utils/padsp.in
816 libpulsedsp_la_SOURCES = utils/padsp.c
817 libpulsedsp_la_CFLAGS = $(AM_CFLAGS)
818 libpulsedsp_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
819 libpulsedsp_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version -disable-static
821 ###################################
822 # Daemon core library #
823 ###################################
825 lib_LTLIBRARIES += libpulsecore-@PA_MAJORMINOR@.la
829 libpulsecore_@PA_MAJORMINOR@_la_SOURCES = \
830 pulsecore/asyncmsgq.c pulsecore/asyncmsgq.h \
831 pulsecore/asyncq.c pulsecore/asyncq.h \
832 pulsecore/auth-cookie.c pulsecore/auth-cookie.h \
833 pulsecore/cli-command.c pulsecore/cli-command.h \
834 pulsecore/cli-text.c pulsecore/cli-text.h \
835 pulsecore/client.c pulsecore/client.h \
836 pulsecore/card.c pulsecore/card.h \
837 pulsecore/core-scache.c pulsecore/core-scache.h \
838 pulsecore/core-subscribe.c pulsecore/core-subscribe.h \
839 pulsecore/core.c pulsecore/core.h \
840 pulsecore/fdsem.c pulsecore/fdsem.h \
841 pulsecore/g711.c pulsecore/g711.h \
842 pulsecore/hook-list.c pulsecore/hook-list.h \
843 pulsecore/ltdl-helper.c pulsecore/ltdl-helper.h \
844 pulsecore/modargs.c pulsecore/modargs.h \
845 pulsecore/modinfo.c pulsecore/modinfo.h \
846 pulsecore/module.c pulsecore/module.h \
847 pulsecore/msgobject.c pulsecore/msgobject.h \
848 pulsecore/namereg.c pulsecore/namereg.h \
849 pulsecore/object.c pulsecore/object.h \
850 pulsecore/play-memblockq.c pulsecore/play-memblockq.h \
851 pulsecore/play-memchunk.c pulsecore/play-memchunk.h \
852 pulsecore/remap.c pulsecore/remap.h \
853 pulsecore/remap_mmx.c pulsecore/remap_sse.c \
854 pulsecore/resampler.c pulsecore/resampler.h \
855 pulsecore/rtpoll.c pulsecore/rtpoll.h \
856 pulsecore/sample-util.c pulsecore/sample-util.h \
858 pulsecore/cpu-arm.c pulsecore/cpu-arm.h \
859 pulsecore/cpu-x86.c pulsecore/cpu-x86.h \
860 pulsecore/cpu-orc.c pulsecore/cpu-orc.h \
861 pulsecore/svolume_c.c pulsecore/svolume_arm.c \
862 pulsecore/svolume_mmx.c pulsecore/svolume_sse.c \
863 pulsecore/sconv-s16be.c pulsecore/sconv-s16be.h \
864 pulsecore/sconv-s16le.c pulsecore/sconv-s16le.h \
865 pulsecore/sconv_sse.c \
866 pulsecore/sconv.c pulsecore/sconv.h \
867 pulsecore/shared.c pulsecore/shared.h \
868 pulsecore/sink-input.c pulsecore/sink-input.h \
869 pulsecore/sink.c pulsecore/sink.h \
870 pulsecore/device-port.c pulsecore/device-port.h \
871 pulsecore/sioman.c pulsecore/sioman.h \
872 pulsecore/sound-file-stream.c pulsecore/sound-file-stream.h \
873 pulsecore/sound-file.c pulsecore/sound-file.h \
874 pulsecore/source-output.c pulsecore/source-output.h \
875 pulsecore/source.c pulsecore/source.h \
876 pulsecore/start-child.c pulsecore/start-child.h \
877 pulsecore/thread-mq.c pulsecore/thread-mq.h \
880 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSPEEX_CFLAGS) $(LIBSNDFILE_CFLAGS) $(WINSOCK_CFLAGS)
881 libpulsecore_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
882 libpulsecore_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) $(LIBLTDL) $(LIBSAMPLERATE_LIBS) $(LIBSPEEX_LIBS) $(LIBSNDFILE_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) libpulsecommon-@PA_MAJORMINOR@.la libpulse.la libpulsecore-foreign.la
885 noinst_LTLIBRARIES += libpulsecore_sconv_neon.la
886 libpulsecore_sconv_neon_la_SOURCES = pulsecore/sconv_neon.c
887 libpulsecore_sconv_neon_la_CFLAGS = $(AM_CFLAGS) $(NEON_CFLAGS)
888 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += libpulsecore_sconv_neon.la
892 ORC_SOURCE += pulsecore/svolume
893 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/svolume_orc.c
894 nodist_libpulsecore_@PA_MAJORMINOR@_la_SOURCES = pulsecore/svolume-orc-gen.c pulsecore/svolume-orc-gen.h
895 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(ORC_CFLAGS)
896 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(ORC_LIBS)
900 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/x11wrap.c pulsecore/x11wrap.h
901 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
902 libpulsecore_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
906 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += \
907 pulsecore/dbus-shared.c pulsecore/dbus-shared.h \
908 pulsecore/protocol-dbus.c pulsecore/protocol-dbus.h
909 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(DBUS_CFLAGS)
910 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(DBUS_LIBS)
914 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-gdbm.c
915 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(GDBM_CFLAGS)
916 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(GDBM_LIBS)
920 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-tdb.c
921 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(TDB_CFLAGS)
922 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(TDB_LIBS)
926 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-simple.c
929 # We split the foreign code off to not be annoyed by warnings we don't care about
930 noinst_LTLIBRARIES += libpulsecore-foreign.la
932 libpulsecore_foreign_la_SOURCES = \
933 pulsecore/ffmpeg/resample2.c pulsecore/ffmpeg/avcodec.h pulsecore/ffmpeg/dsputil.h
935 libpulsecore_foreign_la_CFLAGS = $(AM_CFLAGS) $(FOREIGN_CFLAGS)
937 ###################################
938 # Plug-in support libraries #
939 ###################################
941 ### Warning! Due to an obscure bug in libtool/automake it is required
942 ### that the libraries in modlibexec_LTLIBRARIES are specified in-order,
943 ### i.e. libraries near the end of the list depend on libraries near
944 ### the head, and not the other way!
946 modlibexec_LTLIBRARIES = \
949 libprotocol-simple.la \
950 libprotocol-http.la \
951 libprotocol-native.la
954 modlibexec_LTLIBRARIES += libwebrtc-util.la
958 modlibexec_LTLIBRARIES += \
959 libprotocol-esound.la
962 # We need to emulate sendmsg/recvmsg to support this on Win32
964 modlibexec_LTLIBRARIES += \
969 modlibexec_LTLIBRARIES += \
973 libprotocol_simple_la_SOURCES = pulsecore/protocol-simple.c pulsecore/protocol-simple.h
974 libprotocol_simple_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
975 libprotocol_simple_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
977 libcli_la_SOURCES = pulsecore/cli.c pulsecore/cli.h
978 libcli_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
979 libcli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
981 libprotocol_cli_la_SOURCES = pulsecore/protocol-cli.c pulsecore/protocol-cli.h
982 libprotocol_cli_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
983 libprotocol_cli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la libcli.la
985 libprotocol_http_la_SOURCES = pulsecore/protocol-http.c pulsecore/protocol-http.h pulsecore/mime-type.c pulsecore/mime-type.h
986 libprotocol_http_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
987 libprotocol_http_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
989 libprotocol_native_la_SOURCES = pulsecore/protocol-native.c pulsecore/protocol-native.h pulsecore/native-common.h
990 libprotocol_native_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS)
991 libprotocol_native_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
992 libprotocol_native_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
994 libprotocol_native_la_CFLAGS += $(DBUS_CFLAGS)
995 libprotocol_native_la_LIBADD += $(DBUS_LIBS)
999 libprotocol_esound_la_SOURCES = pulsecore/protocol-esound.c pulsecore/protocol-esound.h pulsecore/esound.h
1000 libprotocol_esound_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
1001 libprotocol_esound_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1004 librtp_la_SOURCES = \
1005 modules/rtp/rtp.c modules/rtp/rtp.h \
1006 modules/rtp/sdp.c modules/rtp/sdp.h \
1007 modules/rtp/sap.c modules/rtp/sap.h \
1008 modules/rtp/rtsp_client.c modules/rtp/rtsp_client.h \
1009 modules/rtp/headerlist.c modules/rtp/headerlist.h
1010 librtp_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
1011 librtp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1013 libraop_la_SOURCES = \
1014 modules/raop/raop_client.c modules/raop/raop_client.h \
1015 modules/raop/base64.c modules/raop/base64.h
1016 libraop_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_CFLAGS) -I$(top_srcdir)/src/modules/rtp
1017 libraop_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
1018 libraop_la_LIBADD = $(AM_LIBADD) $(OPENSSL_LIBS) libpulsecore-@PA_MAJORMINOR@.la librtp.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1021 libavahi_wrap_la_SOURCES = pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
1022 libavahi_wrap_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
1023 libavahi_wrap_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1024 libavahi_wrap_la_LIBADD = $(AM_LIBADD) $(AVAHI_CFLAGS) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1026 ###################################
1027 # Plug-in libraries #
1028 ###################################
1031 # Serveral module (e.g. libalsa-util.la)
1032 modlibexec_LTLIBRARIES += \
1033 module-console-kit.la
1036 modlibexec_LTLIBRARIES += \
1038 module-cli-protocol-tcp.la \
1039 module-simple-protocol-tcp.la \
1040 module-null-sink.la \
1041 module-null-source.la \
1042 module-sine-source.la \
1044 module-volume-restore.la \
1045 module-device-manager.la \
1046 module-device-restore.la \
1047 module-stream-restore.la \
1048 module-card-restore.la \
1049 module-default-device-restore.la \
1050 module-always-sink.la \
1051 module-rescue-streams.la \
1052 module-intended-roles.la \
1053 module-suspend-on-idle.la \
1054 module-echo-cancel.la \
1055 module-http-protocol-tcp.la \
1057 module-native-protocol-tcp.la \
1058 module-native-protocol-fd.la \
1060 module-combine-sink.la \
1061 module-remap-sink.la \
1062 module-ladspa-sink.la \
1063 module-tunnel-sink.la \
1064 module-tunnel-source.la \
1065 module-position-event-sounds.la \
1066 module-augment-properties.la \
1067 module-role-cork.la \
1068 module-loopback.la \
1069 module-virtual-sink.la \
1070 module-virtual-source.la \
1071 module-virtual-surround-sink.la \
1072 module-switch-on-connect.la \
1073 module-switch-on-port-available.la \
1074 module-filter-apply.la \
1075 module-filter-heuristics.la
1078 modlibexec_LTLIBRARIES += \
1079 module-esound-protocol-tcp.la \
1080 module-esound-sink.la
1083 # See comment at librtp.la above
1085 modlibexec_LTLIBRARIES += \
1086 module-rtp-send.la \
1091 modlibexec_LTLIBRARIES += \
1092 module-cli-protocol-unix.la \
1093 module-simple-protocol-unix.la \
1094 module-http-protocol-unix.la \
1095 module-native-protocol-unix.la
1097 modlibexec_LTLIBRARIES += \
1098 module-esound-protocol-unix.la
1103 modlibexec_LTLIBRARIES += \
1104 module-pipe-sink.la \
1105 module-pipe-source.la
1110 modlibexec_LTLIBRARIES += \
1111 module-esound-compat-spawnfd.la \
1112 module-esound-compat-spawnpid.la
1117 modlibexec_LTLIBRARIES += \
1122 modlibexec_LTLIBRARIES += \
1123 module-x11-bell.la \
1124 module-x11-publish.la \
1125 module-x11-xsmp.la \
1126 module-x11-cork-request.la
1130 modlibexec_LTLIBRARIES += \
1136 modlibexec_LTLIBRARIES += \
1137 module-coreaudio-detect.la \
1138 module-coreaudio-device.la
1141 pulselibexec_PROGRAMS =
1144 modlibexec_LTLIBRARIES += \
1146 module-alsa-sink.la \
1147 module-alsa-source.la \
1150 dist_alsaprofilesets_DATA = \
1151 modules/alsa/mixer/profile-sets/default.conf \
1152 modules/alsa/mixer/profile-sets/extra-hdmi.conf \
1153 modules/alsa/mixer/profile-sets/force-speaker.conf \
1154 modules/alsa/mixer/profile-sets/force-speaker-and-int-mic.conf \
1155 modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf \
1156 modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \
1157 modules/alsa/mixer/profile-sets/native-instruments-audio8dj.conf \
1158 modules/alsa/mixer/profile-sets/native-instruments-traktor-audio6.conf \
1159 modules/alsa/mixer/profile-sets/native-instruments-traktor-audio10.conf \
1160 modules/alsa/mixer/profile-sets/native-instruments-traktorkontrol-s4.conf \
1161 modules/alsa/mixer/profile-sets/native-instruments-korecontroller.conf \
1162 modules/alsa/mixer/profile-sets/kinect-audio.conf
1165 dist_udevrules_DATA = \
1166 modules/alsa/mixer/profile-sets/90-pulseaudio.rules
1169 dist_alsapaths_DATA = \
1170 modules/alsa/mixer/paths/analog-input-aux.conf \
1171 modules/alsa/mixer/paths/analog-input.conf \
1172 modules/alsa/mixer/paths/analog-input.conf.common \
1173 modules/alsa/mixer/paths/analog-input-fm.conf \
1174 modules/alsa/mixer/paths/analog-input-linein.conf \
1175 modules/alsa/mixer/paths/analog-input-mic.conf \
1176 modules/alsa/mixer/paths/analog-input-dock-mic.conf \
1177 modules/alsa/mixer/paths/analog-input-front-mic.conf \
1178 modules/alsa/mixer/paths/analog-input-headphone-mic.conf \
1179 modules/alsa/mixer/paths/analog-input-internal-mic.conf \
1180 modules/alsa/mixer/paths/analog-input-internal-mic-always.conf \
1181 modules/alsa/mixer/paths/analog-input-rear-mic.conf \
1182 modules/alsa/mixer/paths/analog-input-mic.conf.common \
1183 modules/alsa/mixer/paths/analog-input-mic-line.conf \
1184 modules/alsa/mixer/paths/analog-input-tvtuner.conf \
1185 modules/alsa/mixer/paths/analog-input-video.conf \
1186 modules/alsa/mixer/paths/analog-output.conf \
1187 modules/alsa/mixer/paths/analog-output-speaker.conf \
1188 modules/alsa/mixer/paths/analog-output-speaker-always.conf \
1189 modules/alsa/mixer/paths/analog-output.conf.common \
1190 modules/alsa/mixer/paths/analog-output-desktop-speaker.conf \
1191 modules/alsa/mixer/paths/analog-output-headphones.conf \
1192 modules/alsa/mixer/paths/analog-output-headphones-2.conf \
1193 modules/alsa/mixer/paths/analog-output-mono.conf \
1194 modules/alsa/mixer/paths/iec958-stereo-output.conf \
1195 modules/alsa/mixer/paths/hdmi-output-0.conf \
1196 modules/alsa/mixer/paths/hdmi-output-1.conf \
1197 modules/alsa/mixer/paths/hdmi-output-2.conf \
1198 modules/alsa/mixer/paths/hdmi-output-3.conf
1203 modlibexec_LTLIBRARIES += \
1208 modlibexec_LTLIBRARIES += \
1209 module-zeroconf-publish.la \
1210 module-zeroconf-discover.la
1214 modlibexec_LTLIBRARIES += \
1215 module-bonjour-publish.la
1219 modlibexec_LTLIBRARIES += \
1224 modlibexec_LTLIBRARIES += \
1225 module-xenpv-sink.la
1230 modlibexec_LTLIBRARIES += \
1231 module-mmkbd-evdev.la
1235 modlibexec_LTLIBRARIES += \
1236 module-jack-sink.la \
1237 module-jack-source.la
1240 modlibexec_LTLIBRARIES += \
1241 module-jackdbus-detect.la
1247 modlibexec_LTLIBRARIES += \
1250 pulselibexec_PROGRAMS += \
1255 modlibexec_LTLIBRARIES += \
1260 modlibexec_LTLIBRARIES += \
1261 module-hal-detect.la
1265 modlibexec_LTLIBRARIES += \
1266 module-udev-detect.la
1270 modlibexec_LTLIBRARIES += \
1271 module-systemd-login.la
1275 modlibexec_LTLIBRARIES += \
1276 module-rygel-media-server.la \
1277 module-dbus-protocol.la
1281 modlibexec_LTLIBRARIES += \
1282 libbluetooth-util.la \
1283 module-bluetooth-proximity.la \
1284 module-bluetooth-discover.la \
1285 module-bluetooth-policy.la \
1286 module-bluetooth-device.la
1288 pulselibexec_PROGRAMS += \
1293 modlibexec_LTLIBRARIES += \
1297 modlibexec_LTLIBRARIES += \
1298 module-raop-discover.la
1304 modlibexec_LTLIBRARIES += \
1305 module-equalizer-sink.la
1306 bin_SCRIPTS += utils/qpaeq
1310 # These are generated by an M4 script
1312 module-cli-symdef.h \
1313 module-cli-protocol-tcp-symdef.h \
1314 module-cli-protocol-unix-symdef.h \
1315 module-pipe-sink-symdef.h \
1316 module-pipe-source-symdef.h \
1317 module-simple-protocol-tcp-symdef.h \
1318 module-simple-protocol-unix-symdef.h \
1319 module-native-protocol-tcp-symdef.h \
1320 module-native-protocol-unix-symdef.h \
1321 module-native-protocol-fd-symdef.h \
1322 module-sine-symdef.h \
1323 module-combine-symdef.h \
1324 module-combine-sink-symdef.h \
1325 module-remap-sink-symdef.h \
1326 module-ladspa-sink-symdef.h \
1327 module-equalizer-sink-symdef.h \
1328 module-match-symdef.h \
1329 module-tunnel-sink-symdef.h \
1330 module-tunnel-source-symdef.h \
1331 module-null-sink-symdef.h \
1332 module-null-source-symdef.h \
1333 module-sine-source-symdef.h \
1334 module-zeroconf-publish-symdef.h \
1335 module-zeroconf-discover-symdef.h \
1336 module-bonjour-publish-symdef.h \
1337 module-lirc-symdef.h \
1338 module-xenpv-sink-symdef.h \
1339 module-mmkbd-evdev-symdef.h \
1340 module-http-protocol-tcp-symdef.h \
1341 module-http-protocol-unix-symdef.h \
1342 module-rygel-media-server-symdef.h \
1343 module-x11-bell-symdef.h \
1344 module-x11-publish-symdef.h \
1345 module-x11-xsmp-symdef.h \
1346 module-x11-cork-request-symdef.h \
1347 module-oss-symdef.h \
1348 module-alsa-sink-symdef.h \
1349 module-alsa-source-symdef.h \
1350 module-alsa-card-symdef.h \
1351 module-coreaudio-detect-symdef.h \
1352 module-coreaudio-device-symdef.h \
1353 module-solaris-symdef.h \
1354 module-waveout-symdef.h \
1355 module-detect-symdef.h \
1356 module-rtp-send-symdef.h \
1357 module-rtp-recv-symdef.h \
1358 module-jackdbus-detect-symdef.h \
1359 module-jack-sink-symdef.h \
1360 module-jack-source-symdef.h \
1361 module-volume-restore-symdef.h \
1362 module-device-manager-symdef.h \
1363 module-device-restore-symdef.h \
1364 module-stream-restore-symdef.h \
1365 module-card-restore-symdef.h \
1366 module-default-device-restore-symdef.h \
1367 module-always-sink-symdef.h \
1368 module-rescue-streams-symdef.h \
1369 module-intended-roles-symdef.h \
1370 module-suspend-on-idle-symdef.h \
1371 module-echo-cancel-symdef.h \
1372 module-hal-detect-symdef.h \
1373 module-udev-detect-symdef.h \
1374 module-systemd-login-symdef.h \
1375 module-bluetooth-proximity-symdef.h \
1376 module-bluetooth-discover-symdef.h \
1377 module-bluetooth-policy-symdef.h \
1378 module-bluetooth-device-symdef.h \
1379 module-raop-sink-symdef.h \
1380 module-raop-discover-symdef.h \
1381 module-gconf-symdef.h \
1382 module-position-event-sounds-symdef.h \
1383 module-augment-properties-symdef.h \
1384 module-role-cork-symdef.h \
1385 module-console-kit-symdef.h \
1386 module-dbus-protocol-symdef.h \
1387 module-loopback-symdef.h \
1388 module-virtual-sink-symdef.h \
1389 module-virtual-source-symdef.h \
1390 module-virtual-surround-sink-symdef.h \
1391 module-switch-on-connect-symdef.h \
1392 module-switch-on-port-available-symdef.h \
1393 module-filter-apply-symdef.h \
1394 module-filter-heuristics-symdef.h
1398 module-esound-protocol-tcp-symdef.h \
1399 module-esound-protocol-unix-symdef.h \
1400 module-esound-compat-spawnfd-symdef.h \
1401 module-esound-compat-spawnpid-symdef.h \
1402 module-esound-sink-symdef.h
1405 EXTRA_DIST += $(SYMDEF_FILES)
1406 BUILT_SOURCES += $(SYMDEF_FILES) builddirs
1408 $(SYMDEF_FILES): modules/module-defs.h.m4
1409 $(AM_V_at)$(MKDIR_P) modules
1410 $(AM_V_GEN)$(M4) -Dfname="$@" $< > $@
1414 $(AM_V_at)$(MKDIR_P) daemon modules
1418 module_simple_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1419 module_simple_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1420 module_simple_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1421 module_simple_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-simple.la
1423 module_simple_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1424 module_simple_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1425 module_simple_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1426 module_simple_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-simple.la
1430 module_cli_la_SOURCES = modules/module-cli.c
1431 module_cli_la_LDFLAGS = $(MODULE_LDFLAGS)
1432 module_cli_la_LIBADD = $(MODULE_LIBADD) libcli.la
1434 module_cli_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1435 module_cli_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1436 module_cli_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1437 module_cli_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-cli.la
1439 module_cli_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1440 module_cli_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1441 module_cli_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1442 module_cli_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-cli.la
1446 module_http_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1447 module_http_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1448 module_http_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1449 module_http_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-http.la
1451 module_http_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1452 module_http_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1453 module_http_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1454 module_http_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-http.la
1458 module_dbus_protocol_la_SOURCES = \
1459 modules/dbus/iface-card.c modules/dbus/iface-card.h \
1460 modules/dbus/iface-card-profile.c modules/dbus/iface-card-profile.h \
1461 modules/dbus/iface-client.c modules/dbus/iface-client.h \
1462 modules/dbus/iface-core.c modules/dbus/iface-core.h \
1463 modules/dbus/iface-device.c modules/dbus/iface-device.h \
1464 modules/dbus/iface-device-port.c modules/dbus/iface-device-port.h \
1465 modules/dbus/iface-memstats.c modules/dbus/iface-memstats.h \
1466 modules/dbus/iface-module.c modules/dbus/iface-module.h \
1467 modules/dbus/iface-sample.c modules/dbus/iface-sample.h \
1468 modules/dbus/iface-stream.c modules/dbus/iface-stream.h \
1469 modules/dbus/module-dbus-protocol.c
1470 module_dbus_protocol_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1471 module_dbus_protocol_la_LDFLAGS = $(MODULE_LDFLAGS)
1472 module_dbus_protocol_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1476 module_native_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1477 module_native_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1478 module_native_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1479 module_native_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1481 module_native_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1482 module_native_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1483 module_native_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1484 module_native_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1486 module_native_protocol_fd_la_SOURCES = modules/module-native-protocol-fd.c
1487 module_native_protocol_fd_la_CFLAGS = $(AM_CFLAGS)
1488 module_native_protocol_fd_la_LDFLAGS = $(MODULE_LDFLAGS)
1489 module_native_protocol_fd_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1494 module_esound_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1495 module_esound_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1496 module_esound_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1497 module_esound_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-esound.la
1499 module_esound_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1500 module_esound_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1501 module_esound_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1502 module_esound_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-esound.la
1504 module_esound_compat_spawnfd_la_SOURCES = modules/module-esound-compat-spawnfd.c
1505 module_esound_compat_spawnfd_la_LDFLAGS = $(MODULE_LDFLAGS)
1506 module_esound_compat_spawnfd_la_LIBADD = $(MODULE_LIBADD)
1508 module_esound_compat_spawnpid_la_SOURCES = modules/module-esound-compat-spawnpid.c
1509 module_esound_compat_spawnpid_la_LDFLAGS = $(MODULE_LDFLAGS)
1510 module_esound_compat_spawnpid_la_LIBADD = $(MODULE_LIBADD)
1512 module_esound_sink_la_SOURCES = modules/module-esound-sink.c
1513 module_esound_sink_la_LDFLAGS = $(MODULE_LDFLAGS) $(WINSOCK_LIBS)
1514 module_esound_sink_la_LIBADD = $(MODULE_LIBADD)
1519 module_pipe_sink_la_SOURCES = modules/module-pipe-sink.c
1520 module_pipe_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1521 module_pipe_sink_la_LIBADD = $(MODULE_LIBADD)
1523 module_pipe_source_la_SOURCES = modules/module-pipe-source.c
1524 module_pipe_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1525 module_pipe_source_la_LIBADD = $(MODULE_LIBADD)
1527 # Fake sources/sinks
1529 module_sine_la_SOURCES = modules/module-sine.c
1530 module_sine_la_LDFLAGS = $(MODULE_LDFLAGS)
1531 module_sine_la_LIBADD = $(MODULE_LIBADD)
1533 module_null_sink_la_SOURCES = modules/module-null-sink.c
1534 module_null_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1535 module_null_sink_la_LIBADD = $(MODULE_LIBADD)
1537 module_null_source_la_SOURCES = modules/module-null-source.c
1538 module_null_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1539 module_null_source_la_LIBADD = $(MODULE_LIBADD)
1541 module_sine_source_la_SOURCES = modules/module-sine-source.c
1542 module_sine_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1543 module_sine_source_la_LIBADD = $(MODULE_LIBADD)
1547 module_combine_la_SOURCES = modules/module-combine.c
1548 module_combine_la_LDFLAGS = $(MODULE_LDFLAGS)
1549 module_combine_la_LIBADD = $(MODULE_LIBADD)
1551 module_combine_sink_la_SOURCES = modules/module-combine-sink.c
1552 module_combine_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1553 module_combine_sink_la_LIBADD = $(MODULE_LIBADD)
1555 module_switch_on_connect_la_SOURCES = modules/module-switch-on-connect.c
1556 module_switch_on_connect_la_LDFLAGS = $(MODULE_LDFLAGS)
1557 module_switch_on_connect_la_LIBADD = $(MODULE_LIBADD)
1559 module_switch_on_port_available_la_SOURCES = modules/module-switch-on-port-available.c
1560 module_switch_on_port_available_la_LDFLAGS = $(MODULE_LDFLAGS)
1561 module_switch_on_port_available_la_LIBADD = $(MODULE_LIBADD)
1563 module_filter_apply_la_SOURCES = modules/module-filter-apply.c
1564 module_filter_apply_la_LDFLAGS = $(MODULE_LDFLAGS)
1565 module_filter_apply_la_LIBADD = $(MODULE_LIBADD)
1567 module_filter_heuristics_la_SOURCES = modules/module-filter-heuristics.c
1568 module_filter_heuristics_la_LDFLAGS = $(MODULE_LDFLAGS)
1569 module_filter_heuristics_la_LIBADD = $(MODULE_LIBADD)
1571 module_remap_sink_la_SOURCES = modules/module-remap-sink.c
1572 module_remap_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1573 module_remap_sink_la_LIBADD = $(MODULE_LIBADD)
1575 module_ladspa_sink_la_SOURCES = modules/module-ladspa-sink.c modules/ladspa.h
1576 module_ladspa_sink_la_CFLAGS = -DLADSPA_PATH=\"$(libdir)/ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa:/usr/local/lib64/ladspa:/usr/lib64/ladspa\" $(AM_CFLAGS)
1577 module_ladspa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1578 module_ladspa_sink_la_LIBADD = $(MODULE_LIBADD) $(LIBLTDL)
1581 module_ladspa_sink_la_CFLAGS += $(DBUS_CFLAGS)
1582 module_ladspa_sink_la_LIBADD += $(DBUS_LIBS)
1585 module_equalizer_sink_la_SOURCES = modules/module-equalizer-sink.c
1586 module_equalizer_sink_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS) $(DBUS_CFLAGS) $(FFTW_CFLAGS)
1587 module_equalizer_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1588 module_equalizer_sink_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(FFTW_LIBS)
1590 module_match_la_SOURCES = modules/module-match.c
1591 module_match_la_LDFLAGS = $(MODULE_LDFLAGS)
1592 module_match_la_LIBADD = $(MODULE_LIBADD)
1594 module_tunnel_sink_la_SOURCES = modules/module-tunnel.c
1595 module_tunnel_sink_la_CFLAGS = -DTUNNEL_SINK=1 $(AM_CFLAGS)
1596 module_tunnel_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1597 module_tunnel_sink_la_LIBADD = $(MODULE_LIBADD)
1599 module_tunnel_source_la_SOURCES = modules/module-tunnel.c
1600 module_tunnel_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1601 module_tunnel_source_la_LIBADD = $(MODULE_LIBADD)
1603 module_loopback_la_SOURCES = modules/module-loopback.c
1604 module_loopback_la_LDFLAGS = $(MODULE_LDFLAGS)
1605 module_loopback_la_LIBADD = $(MODULE_LIBADD)
1607 module_virtual_sink_la_SOURCES = modules/module-virtual-sink.c
1608 module_virtual_sink_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS)
1609 module_virtual_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1610 module_virtual_sink_la_LIBADD = $(MODULE_LIBADD)
1612 module_virtual_source_la_SOURCES = modules/module-virtual-source.c
1613 module_virtual_source_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS)
1614 module_virtual_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1615 module_virtual_source_la_LIBADD = $(MODULE_LIBADD)
1617 module_virtual_surround_sink_la_SOURCES = modules/module-virtual-surround-sink.c
1618 module_virtual_surround_sink_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS)
1619 module_virtual_surround_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1620 module_virtual_surround_sink_la_LIBADD = $(MODULE_LIBADD)
1624 module_x11_bell_la_SOURCES = modules/x11/module-x11-bell.c
1625 module_x11_bell_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1626 module_x11_bell_la_LDFLAGS = $(MODULE_LDFLAGS)
1627 module_x11_bell_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1629 module_x11_publish_la_SOURCES = modules/x11/module-x11-publish.c
1630 module_x11_publish_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1631 module_x11_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1632 module_x11_publish_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la $(X11_LIBS)
1634 module_x11_xsmp_la_SOURCES = modules/x11/module-x11-xsmp.c
1635 module_x11_xsmp_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1636 module_x11_xsmp_la_LDFLAGS = $(MODULE_LDFLAGS)
1637 module_x11_xsmp_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1639 module_x11_cork_request_la_SOURCES = modules/x11/module-x11-cork-request.c
1640 module_x11_cork_request_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1641 module_x11_cork_request_la_LDFLAGS = $(MODULE_LDFLAGS)
1642 module_x11_cork_request_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1646 liboss_util_la_SOURCES = modules/oss/oss-util.c modules/oss/oss-util.h
1647 liboss_util_la_LDFLAGS = -avoid-version
1648 liboss_util_la_LIBADD = $(MODULE_LIBADD)
1650 module_oss_la_SOURCES = modules/oss/module-oss.c
1651 module_oss_la_LDFLAGS = $(MODULE_LDFLAGS)
1652 module_oss_la_LIBADD = $(MODULE_LIBADD) liboss-util.la
1656 module_coreaudio_detect_la_SOURCES = modules/macosx/module-coreaudio-detect.c
1657 module_coreaudio_detect_la_LDFLAGS = $(MODULE_LDFLAGS) \
1658 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1659 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1660 module_coreaudio_detect_la_LIBADD = $(MODULE_LIBADD)
1662 module_coreaudio_device_la_SOURCES = modules/macosx/module-coreaudio-device.c
1663 module_coreaudio_device_la_LDFLAGS = $(MODULE_LDFLAGS) \
1664 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1665 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1666 module_coreaudio_device_la_LIBADD = $(MODULE_LIBADD)
1670 libalsa_util_la_SOURCES = \
1671 modules/alsa/alsa-util.c modules/alsa/alsa-util.h \
1672 modules/alsa/alsa-ucm.c modules/alsa/alsa-ucm.h \
1673 modules/alsa/alsa-mixer.c modules/alsa/alsa-mixer.h \
1674 modules/alsa/alsa-sink.c modules/alsa/alsa-sink.h \
1675 modules/alsa/alsa-source.c modules/alsa/alsa-source.h \
1676 modules/reserve-wrap.c modules/reserve-wrap.h
1677 libalsa_util_la_LDFLAGS = -avoid-version
1678 libalsa_util_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS)
1679 libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS) $(ASOUNDLIB_CFLAGS)
1682 libalsa_util_la_SOURCES += modules/udev-util.h modules/udev-util.c
1683 libalsa_util_la_LIBADD += $(UDEV_LIBS)
1684 libalsa_util_la_CFLAGS += $(UDEV_CFLAGS)
1688 libalsa_util_la_SOURCES += modules/reserve.h modules/reserve.c modules/reserve-monitor.h modules/reserve-monitor.c
1689 libalsa_util_la_LIBADD += $(DBUS_LIBS)
1690 libalsa_util_la_CFLAGS += $(DBUS_CFLAGS)
1693 module_alsa_sink_la_SOURCES = modules/alsa/module-alsa-sink.c
1694 module_alsa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1695 module_alsa_sink_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1696 module_alsa_sink_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1698 module_alsa_source_la_SOURCES = modules/alsa/module-alsa-source.c
1699 module_alsa_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1700 module_alsa_source_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1701 module_alsa_source_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1703 module_alsa_card_la_SOURCES = modules/alsa/module-alsa-card.c
1704 module_alsa_card_la_LDFLAGS = $(MODULE_LDFLAGS)
1705 module_alsa_card_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1706 module_alsa_card_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1710 module_solaris_la_SOURCES = modules/module-solaris.c
1711 module_solaris_la_LDFLAGS = $(MODULE_LDFLAGS)
1712 module_solaris_la_LIBADD = $(MODULE_LIBADD)
1716 module_zeroconf_publish_la_SOURCES = modules/module-zeroconf-publish.c
1717 module_zeroconf_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1718 module_zeroconf_publish_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libprotocol-native.la
1719 module_zeroconf_publish_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1721 module_zeroconf_discover_la_SOURCES = modules/module-zeroconf-discover.c
1722 module_zeroconf_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1723 module_zeroconf_discover_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la
1724 module_zeroconf_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1728 module_bonjour_publish_la_SOURCES = modules/macosx/module-bonjour-publish.c
1729 module_bonjour_publish_la_LDFLAGS = $(MODULE_LDFLAGS) \
1730 -Wl,-framework -Wl,CoreFoundation -framework CoreFoundation
1731 module_bonjour_publish_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1735 module_lirc_la_SOURCES = modules/module-lirc.c
1736 module_lirc_la_LDFLAGS = $(MODULE_LDFLAGS)
1737 module_lirc_la_LIBADD = $(MODULE_LIBADD) $(LIRC_LIBS)
1738 module_lirc_la_CFLAGS = $(AM_CFLAGS) $(LIRC_CFLAGS)
1743 module_xenpv_sink_la_SOURCES = modules/xen/module-xenpv-sink.c modules/xen/gntalloc.h modules/xen/gntdev.h
1744 module_xenpv_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1745 module_xenpv_sink_la_LIBADD = $(MODULE_LIBADD) $(XEN_LIBS)
1746 module_xenpv_sink_la_CFLAGS = $(AM_CFLAGS) $(XEN_CFLAGS) -I$(top_srcdir)/src/modules/xen
1751 module_mmkbd_evdev_la_SOURCES = modules/module-mmkbd-evdev.c
1752 module_mmkbd_evdev_la_LDFLAGS = $(MODULE_LDFLAGS)
1753 module_mmkbd_evdev_la_LIBADD = $(MODULE_LIBADD)
1754 module_mmkbd_evdev_la_CFLAGS = $(AM_CFLAGS)
1757 module_waveout_la_SOURCES = modules/module-waveout.c
1758 module_waveout_la_LDFLAGS = $(MODULE_LDFLAGS)
1759 module_waveout_la_LIBADD = $(MODULE_LIBADD) -lwinmm
1760 module_waveout_la_CFLAGS = $(AM_CFLAGS)
1762 # Hardware autodetection module
1763 module_detect_la_SOURCES = modules/module-detect.c
1764 module_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1765 module_detect_la_LIBADD = $(MODULE_LIBADD)
1766 module_detect_la_CFLAGS = $(AM_CFLAGS)
1768 # Volume restore module
1769 module_volume_restore_la_SOURCES = modules/module-volume-restore.c
1770 module_volume_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1771 module_volume_restore_la_LIBADD = $(MODULE_LIBADD)
1772 module_volume_restore_la_CFLAGS = $(AM_CFLAGS)
1774 # Position event sounds in space
1775 module_position_event_sounds_la_SOURCES = modules/module-position-event-sounds.c
1776 module_position_event_sounds_la_LDFLAGS = $(MODULE_LDFLAGS)
1777 module_position_event_sounds_la_LIBADD = $(MODULE_LIBADD)
1778 module_position_event_sounds_la_CFLAGS = $(AM_CFLAGS)
1780 # Augment properties from XDG .desktop files
1781 module_augment_properties_la_SOURCES = modules/module-augment-properties.c
1782 module_augment_properties_la_LDFLAGS = $(MODULE_LDFLAGS)
1783 module_augment_properties_la_LIBADD = $(MODULE_LIBADD)
1784 #module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"$(datadir)/applications\"
1785 module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"/usr/share/applications\"
1787 # Cork certain streams while others are active (e.g. cork music when phone streams appear)
1788 module_role_cork_la_SOURCES = modules/module-role-cork.c
1789 module_role_cork_la_LDFLAGS = $(MODULE_LDFLAGS)
1790 module_role_cork_la_LIBADD = $(MODULE_LIBADD)
1791 module_role_cork_la_CFLAGS = $(AM_CFLAGS)
1793 # Device description restore module
1794 module_device_manager_la_SOURCES = modules/module-device-manager.c
1795 module_device_manager_la_LDFLAGS = $(MODULE_LDFLAGS)
1796 module_device_manager_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1797 module_device_manager_la_CFLAGS = $(AM_CFLAGS)
1799 # Device volume/muted restore module
1800 module_device_restore_la_SOURCES = modules/module-device-restore.c
1801 module_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1802 module_device_restore_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1803 module_device_restore_la_CFLAGS = $(AM_CFLAGS)
1806 module_device_restore_la_LIBADD += $(DBUS_LIBS)
1807 module_device_restore_la_CFLAGS += $(DBUS_CFLAGS)
1810 # Stream volume/muted/device restore module
1811 module_stream_restore_la_SOURCES = modules/module-stream-restore.c
1812 module_stream_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1813 module_stream_restore_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1814 module_stream_restore_la_CFLAGS = $(AM_CFLAGS)
1817 module_stream_restore_la_LIBADD += $(DBUS_LIBS)
1818 module_stream_restore_la_CFLAGS += $(DBUS_CFLAGS)
1821 # Card profile restore module
1822 module_card_restore_la_SOURCES = modules/module-card-restore.c
1823 module_card_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1824 module_card_restore_la_LIBADD = $(MODULE_LIBADD)
1825 module_card_restore_la_CFLAGS = $(AM_CFLAGS)
1827 # Default sink/source restore module
1828 module_default_device_restore_la_SOURCES = modules/module-default-device-restore.c
1829 module_default_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1830 module_default_device_restore_la_LIBADD = $(MODULE_LIBADD)
1831 module_default_device_restore_la_CFLAGS = $(AM_CFLAGS)
1833 # Always Sink module
1834 module_always_sink_la_SOURCES = modules/module-always-sink.c
1835 module_always_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1836 module_always_sink_la_LIBADD = $(MODULE_LIBADD)
1837 module_always_sink_la_CFLAGS = $(AM_CFLAGS)
1839 # Rescue streams module
1840 module_rescue_streams_la_SOURCES = modules/module-rescue-streams.c
1841 module_rescue_streams_la_LDFLAGS = $(MODULE_LDFLAGS)
1842 module_rescue_streams_la_LIBADD = $(MODULE_LIBADD)
1843 module_rescue_streams_la_CFLAGS = $(AM_CFLAGS)
1845 # Automatically move streams to devices that are intended for their roles
1846 module_intended_roles_la_SOURCES = modules/module-intended-roles.c
1847 module_intended_roles_la_LDFLAGS = $(MODULE_LDFLAGS)
1848 module_intended_roles_la_LIBADD = $(MODULE_LIBADD)
1849 module_intended_roles_la_CFLAGS = $(AM_CFLAGS)
1851 # Suspend-on-idle module
1852 module_suspend_on_idle_la_SOURCES = modules/module-suspend-on-idle.c
1853 module_suspend_on_idle_la_LDFLAGS = $(MODULE_LDFLAGS)
1854 module_suspend_on_idle_la_LIBADD = $(MODULE_LIBADD)
1855 module_suspend_on_idle_la_CFLAGS = $(AM_CFLAGS)
1857 # echo-cancel module
1858 module_echo_cancel_la_SOURCES = \
1859 modules/echo-cancel/module-echo-cancel.c \
1860 modules/echo-cancel/null.c \
1861 modules/echo-cancel/echo-cancel.h
1862 module_echo_cancel_la_LDFLAGS = $(MODULE_LDFLAGS)
1863 module_echo_cancel_la_LIBADD = $(MODULE_LIBADD) $(LIBSPEEX_LIBS)
1864 module_echo_cancel_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS) $(LIBSPEEX_CFLAGS)
1866 module_echo_cancel_la_SOURCES += \
1867 modules/echo-cancel/adrian-aec.c modules/echo-cancel/adrian-aec.h \
1868 modules/echo-cancel/adrian.c modules/echo-cancel/adrian.h
1869 module_echo_cancel_la_CFLAGS += -DHAVE_ADRIAN_EC=1
1871 ORC_SOURCE += modules/echo-cancel/adrian-aec
1872 nodist_module_echo_cancel_la_SOURCES = \
1873 modules/echo-cancel/adrian-aec-orc-gen.c \
1874 modules/echo-cancel/adrian-aec-orc-gen.h
1875 module_echo_cancel_la_LIBADD += $(ORC_LIBS)
1876 module_echo_cancel_la_CFLAGS += $(ORC_CFLAGS) -I$(top_builddir)/src/modules/echo-cancel
1880 module_echo_cancel_la_SOURCES += modules/echo-cancel/speex.c
1883 # The webrtc code is split off into a helper library to avoid having automake
1884 # link module-echo-cancel with C++ (which it does if there are any C++ deps,
1885 # even conditional ones).
1887 libwebrtc_util_la_SOURCES = modules/echo-cancel/webrtc.cc
1888 libwebrtc_util_la_CXXFLAGS = $(AM_CXXFLAGS) $(SERVER_CFLAGS) $(WEBRTC_CFLAGS) -DHAVE_WEBRTC=1
1889 libwebrtc_util_la_LIBADD = $(WEBRTC_LIBS)
1890 libwebrtc_util_la_LDFLAGS = -avoid-version
1892 module_echo_cancel_la_CFLAGS += -DHAVE_WEBRTC=1
1893 module_echo_cancel_la_LIBADD += libwebrtc-util.la
1897 module_rtp_send_la_SOURCES = modules/rtp/module-rtp-send.c
1898 module_rtp_send_la_LDFLAGS = $(MODULE_LDFLAGS)
1899 module_rtp_send_la_LIBADD = $(MODULE_LIBADD) librtp.la
1900 module_rtp_send_la_CFLAGS = $(AM_CFLAGS)
1902 module_rtp_recv_la_SOURCES = modules/rtp/module-rtp-recv.c
1903 module_rtp_recv_la_LDFLAGS = $(MODULE_LDFLAGS)
1904 module_rtp_recv_la_LIBADD = $(MODULE_LIBADD) librtp.la
1905 module_rtp_recv_la_CFLAGS = $(AM_CFLAGS)
1909 module_jackdbus_detect_la_SOURCES = modules/jack/module-jackdbus-detect.c
1910 module_jackdbus_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1911 module_jackdbus_detect_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(JACK_LIBS)
1912 module_jackdbus_detect_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) $(JACK_CFLAGS)
1914 module_jack_sink_la_SOURCES = modules/jack/module-jack-sink.c
1915 module_jack_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1916 module_jack_sink_la_LIBADD = $(MODULE_LIBADD) $(JACK_LIBS)
1917 module_jack_sink_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1919 module_jack_source_la_SOURCES = modules/jack/module-jack-source.c
1920 module_jack_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1921 module_jack_source_la_LIBADD = $(MODULE_LIBADD) $(JACK_LIBS)
1922 module_jack_source_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1924 module_hal_detect_la_SOURCES = modules/module-hal-detect-compat.c
1925 module_hal_detect_la_LIBADD = $(MODULE_LIBADD)
1926 module_hal_detect_la_CFLAGS = $(AM_CFLAGS)
1927 module_hal_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1929 module_udev_detect_la_SOURCES = modules/module-udev-detect.c
1930 module_udev_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1931 module_udev_detect_la_LIBADD = $(MODULE_LIBADD) $(UDEV_LIBS)
1932 module_udev_detect_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
1934 module_console_kit_la_SOURCES = modules/module-console-kit.c
1935 module_console_kit_la_LDFLAGS = $(MODULE_LDFLAGS)
1936 module_console_kit_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(SYSTEMD_LIBS)
1937 module_console_kit_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) $(SYSTEMD_CFLAGS)
1939 module_systemd_login_la_SOURCES = modules/module-systemd-login.c
1940 module_systemd_login_la_LDFLAGS = $(MODULE_LDFLAGS)
1941 module_systemd_login_la_LIBADD = $(MODULE_LIBADD) $(SYSTEMD_LIBS)
1942 module_systemd_login_la_CFLAGS = $(AM_CFLAGS) $(SYSTEMD_CFLAGS)
1945 module_gconf_la_SOURCES = modules/gconf/module-gconf.c
1946 module_gconf_la_LDFLAGS = $(MODULE_LDFLAGS)
1947 module_gconf_la_LIBADD = $(MODULE_LIBADD)
1948 module_gconf_la_CFLAGS = $(AM_CFLAGS) -DPA_GCONF_HELPER=\"$(pulselibexecdir)/gconf-helper\"
1950 gconf_helper_SOURCES = modules/gconf/gconf-helper.c
1951 gconf_helper_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(GCONF_LIBS)
1952 gconf_helper_CFLAGS = $(AM_CFLAGS) $(GCONF_CFLAGS)
1953 gconf_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1955 # Bluetooth proximity
1956 module_bluetooth_proximity_la_SOURCES = modules/bluetooth/module-bluetooth-proximity.c
1957 module_bluetooth_proximity_la_LDFLAGS = $(MODULE_LDFLAGS)
1958 module_bluetooth_proximity_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1959 module_bluetooth_proximity_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -DPA_BT_PROXIMITY_HELPER=\"$(pulselibexecdir)/proximity-helper\"
1961 proximity_helper_SOURCES = modules/bluetooth/proximity-helper.c
1962 proximity_helper_LDADD = $(AM_LDADD) $(BLUEZ_LIBS)
1963 proximity_helper_CFLAGS = $(AM_CFLAGS) $(BLUEZ_CFLAGS)
1964 proximity_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1966 # Bluetooth sink / source
1967 module_bluetooth_discover_la_SOURCES = modules/bluetooth/module-bluetooth-discover.c
1968 module_bluetooth_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1969 module_bluetooth_discover_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libbluetooth-util.la
1970 module_bluetooth_discover_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1973 libbluetooth_util_la_SOURCES = \
1974 modules/bluetooth/a2dp-codecs.h \
1975 modules/bluetooth/bluetooth-util.c \
1976 modules/bluetooth/bluetooth-util.h
1977 libbluetooth_util_la_LDFLAGS = -avoid-version
1978 libbluetooth_util_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1979 libbluetooth_util_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1981 module_bluetooth_device_la_SOURCES = modules/bluetooth/module-bluetooth-device.c modules/bluetooth/rtp.h
1982 module_bluetooth_device_la_LDFLAGS = $(MODULE_LDFLAGS)
1983 module_bluetooth_device_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(SBC_LIBS) libbluetooth-util.la
1984 module_bluetooth_device_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) $(SBC_CFLAGS)
1986 module_bluetooth_policy_la_SOURCES = modules/bluetooth/module-bluetooth-policy.c
1987 module_bluetooth_policy_la_LDFLAGS = $(MODULE_LDFLAGS)
1988 module_bluetooth_policy_la_LIBADD = $(MODULE_LIBADD)
1989 module_bluetooth_policy_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1991 # Apple Airtunes/RAOP
1992 module_raop_sink_la_SOURCES = modules/raop/module-raop-sink.c
1993 module_raop_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1994 module_raop_sink_la_LIBADD = $(MODULE_LIBADD) librtp.la libraop.la
1995 module_raop_sink_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/src/modules/rtp
1997 module_raop_discover_la_SOURCES = modules/raop/module-raop-discover.c
1998 module_raop_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1999 module_raop_discover_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la
2000 module_raop_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
2003 module_rygel_media_server_la_SOURCES = modules/module-rygel-media-server.c
2004 module_rygel_media_server_la_LDFLAGS = $(MODULE_LDFLAGS)
2005 module_rygel_media_server_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libprotocol-http.la
2006 module_rygel_media_server_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
2008 ###################################
2009 # Some minor stuff #
2010 ###################################
2012 CLEANFILES += daemon/pulseaudio.desktop daemon/pulseaudio-kde.desktop
2013 DISTCLEANFILES = esdcompat client.conf default.pa system.pa daemon.conf start-pulseaudio-x11 start-pulseaudio-kde
2016 SYMLINK_PROGRAM=cd $(DESTDIR)$(bindir) && cp
2018 SYMLINK_PROGRAM=ln -sf
2022 -chown root $(DESTDIR)$(pulselibexecdir)/proximity-helper
2023 -chmod u+s $(DESTDIR)$(pulselibexecdir)/proximity-helper
2025 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/parec$(EXEEXT)
2026 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/pamon$(EXEEXT)
2027 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/paplay$(EXEEXT)
2028 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/parecord$(EXEEXT)
2029 rm -f $(DESTDIR)$(libdir)/libpulsedsp.la
2030 rm -f $(DESTDIR)$(modlibexecdir)/*.la
2033 rm -f $(DESTDIR)$(bindir)/parec$(EXEEXT)
2034 rm -f $(DESTDIR)$(bindir)/pamon$(EXEEXT)
2035 rm -f $(DESTDIR)$(bindir)/paplay$(EXEEXT)
2036 rm -f $(DESTDIR)$(bindir)/parecord$(EXEEXT)
2037 rm -f $(DESTDIR)$(libdir)/libpulsedsp.*
2038 rm -f $(DESTDIR)$(modlibexecdir)/*.so
2041 libtool --mode=execute valgrind --tool=massif --depth=6 --alloc-fn=pa_xmalloc --alloc-fn=pa_xmalloc0 --alloc-fn=pa_xrealloc --alloc-fn=dbus_realloc --alloc-fn=pa_xnew0_internal --alloc-fn=pa_xnew_internal ./pulseaudio
2044 wget -O pulsecore/ffmpeg/resample2.c http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/resample2.c?view=co
2047 for i in reserve.c reserve.h reserve-monitor.c reserve-monitor.h ; do \
2048 wget -O $(top_srcdir)/src/modules/$$i http://git.0pointer.de/\?p=reserve.git\;a=blob_plain\;f=$$i\;hb=master ; \
2052 for i in rtkit.c rtkit.h ; do \
2053 wget -O $(top_srcdir)/src/pulsecore/$$i http://git.0pointer.de/\?p=rtkit.git\;a=blob_plain\;f=$$i\;hb=master ; \
2056 # Automatically generate linker version script. We use the same one for all public .sos
2058 ( echo "PULSE_0 {" ; \
2060 ctags -I PA_GCC_MALLOC,PA_GCC_ALLOC_SIZE2,PA_GCC_ALLOC_SIZE,PA_GCC_PURE,PA_GCC_CONST,PA_GCC_DEPRECATED,PA_GCC_PRINTF_ATTR -f - --c-kinds=p $(pulseinclude_HEADERS) | awk '/^pa_/ { print $$1 ";" }' | sort ; \
2063 echo "};" ) > $(srcdir)/map-file
2065 update-all: update-ffmpeg update-map-file
2067 # Force installation order of libraries. libtool relinks on install time, in
2068 # which case libpulsecommon has to be installed before others, but the padsp
2069 # preload library has to be done after the normal libraries (e.g. libpulse)
2071 # Unfortunately automake behaviour means that rules without commands also
2072 # override build-in rules, so it's not trivial to add dependencies.
2073 # See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328 for the workaround
2075 # Isn't libtool/autotools fun!
2077 installlibLTLIBRARIES = install-libLTLIBRARIES
2078 $(installlibLTLIBRARIES): install-pkglibLTLIBRARIES
2080 installmodlibexecLTLIBRARIES = install-modlibexecLTLIBRARIES
2081 $(installmodlibexecLTLIBRARIES): install-pkglibLTLIBRARIES
2083 installpadsplibLTLIBRARIES = install-padsplibLTLIBRARIES
2084 $(installpadsplibLTLIBRARIES): install-libLTLIBRARIES
2089 @echo "Don't forget to run 'make check' before generating coverage stats."
2091 lcov --capture --directory . --output-file $(builddir)/gcov-all.info
2092 -rm -r $(builddir)/coverage
2093 genhtml --output-directory $(builddir)/coverage gcov-all.info
2095 @echo "Coverage data now available at: $(abs_builddir)/coverage/index.html"
2099 @echo "To generate coverage stats, rerun configure with '--enable-gcov',"
2100 @echo "and don't forget to disable it again for regular builds."
2104 .PHONY: massif update-all update-ffmpeg update-map-file coverage