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 \
248 lock-autospawn-test \
262 # These tests need a running pulseaudio daemon
302 TESTS_ENVIRONMENT=MAKE_CHECK=1
303 TESTS = $(TESTS_default)
305 if BUILD_TESTS_DEFAULT
306 noinst_PROGRAMS = $(TESTS_default) $(TESTS_norun) $(TESTS_daemon)
308 check_PROGRAMS = $(TESTS_default) $(TESTS_norun)
311 check-daemon: $(TESTS_daemon)
312 PATH=$(builddir):${PATH} $(top_srcdir)/src/tests/test-daemon.sh $(TESTS_daemon)
321 @echo "Tests are disabled!"
322 @echo "Pass option \"--enable-tests\" to configure and install \"check\" library properly!"
327 mainloop_test_SOURCES = tests/mainloop-test.c
328 mainloop_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
329 mainloop_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
330 mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
332 thread_mainloop_test_SOURCES = tests/thread-mainloop-test.c
333 thread_mainloop_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
334 thread_mainloop_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
335 thread_mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
337 utf8_test_SOURCES = tests/utf8-test.c
338 utf8_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
339 utf8_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
340 utf8_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
342 format_test_SOURCES = tests/format-test.c
343 format_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
344 format_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
345 format_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
347 get_binary_name_test_SOURCES = tests/get-binary-name-test.c
348 get_binary_name_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
349 get_binary_name_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
350 get_binary_name_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
352 ipacl_test_SOURCES = tests/ipacl-test.c
353 ipacl_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
354 ipacl_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
355 ipacl_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
357 hook_list_test_SOURCES = tests/hook-list-test.c
358 hook_list_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
359 hook_list_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
360 hook_list_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
362 memblock_test_SOURCES = tests/memblock-test.c
363 memblock_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
364 memblock_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
365 memblock_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
367 thread_test_SOURCES = tests/thread-test.c
368 thread_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
369 thread_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
370 thread_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
372 once_test_SOURCES = tests/once-test.c
373 once_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
374 once_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
375 once_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
377 flist_test_SOURCES = tests/flist-test.c
378 flist_test_CFLAGS = $(AM_CFLAGS)
379 flist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
380 flist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
382 asyncq_test_SOURCES = tests/asyncq-test.c
383 asyncq_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
384 asyncq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
385 asyncq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
387 asyncmsgq_test_SOURCES = tests/asyncmsgq-test.c
388 asyncmsgq_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
389 asyncmsgq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
390 asyncmsgq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
392 queue_test_SOURCES = tests/queue-test.c
393 queue_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
394 queue_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
395 queue_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
397 rtpoll_test_SOURCES = tests/rtpoll-test.c
398 rtpoll_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
399 rtpoll_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
400 rtpoll_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
402 mcalign_test_SOURCES = tests/mcalign-test.c
403 mcalign_test_CFLAGS = $(AM_CFLAGS)
404 mcalign_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
405 mcalign_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
407 pacat_simple_SOURCES = tests/pacat-simple.c
408 pacat_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la
409 pacat_simple_CFLAGS = $(AM_CFLAGS)
410 pacat_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
412 parec_simple_SOURCES = tests/parec-simple.c
413 parec_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la
414 parec_simple_CFLAGS = $(AM_CFLAGS)
415 parec_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
417 extended_test_SOURCES = tests/extended-test.c
418 extended_test_LDADD = $(AM_LDADD) libpulse.la
419 extended_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
420 extended_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
422 strlist_test_SOURCES = tests/strlist-test.c
423 strlist_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
424 strlist_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
425 strlist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
427 close_test_SOURCES = tests/close-test.c
428 close_test_CFLAGS = $(AM_CFLAGS)
429 close_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
430 close_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
432 volume_test_SOURCES = tests/volume-test.c
433 volume_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
434 volume_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
435 volume_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
437 channelmap_test_SOURCES = tests/channelmap-test.c
438 channelmap_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
439 channelmap_test_LDADD = $(AM_LDADD) libpulse.la
440 channelmap_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
442 cpulimit_test_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
443 cpulimit_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
444 cpulimit_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
445 cpulimit_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
447 cpulimit_test2_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
448 cpulimit_test2_CFLAGS = $(AM_CFLAGS) -DTEST2 $(LIBCHECK_CFLAGS)
449 cpulimit_test2_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
450 cpulimit_test2_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
452 mainloop_test_glib_SOURCES = $(mainloop_test_SOURCES)
453 mainloop_test_glib_CFLAGS = $(mainloop_test_CFLAGS) $(LIBCHECK_CFLAGS) $(GLIB20_CFLAGS) -DGLIB_MAIN_LOOP
454 mainloop_test_glib_LDADD = $(mainloop_test_LDADD) $(GLIB20_LIBS) libpulse-mainloop-glib.la
455 mainloop_test_glib_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
457 memblockq_test_SOURCES = tests/memblockq-test.c
458 memblockq_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
459 memblockq_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
460 memblockq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
462 sync_playback_SOURCES = tests/sync-playback.c
463 sync_playback_LDADD = $(AM_LDADD) libpulse.la
464 sync_playback_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
465 sync_playback_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
467 interpol_test_SOURCES = tests/interpol-test.c
468 interpol_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
469 interpol_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
470 interpol_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
472 sig2str_test_SOURCES = tests/sig2str-test.c
473 sig2str_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
474 sig2str_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
475 sig2str_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
477 resampler_test_SOURCES = tests/resampler-test.c
478 resampler_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
479 resampler_test_CFLAGS = $(AM_CFLAGS)
480 resampler_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
482 mix_test_SOURCES = tests/mix-test.c
483 mix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
484 mix_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
485 mix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
487 remix_test_SOURCES = tests/remix-test.c
488 remix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
489 remix_test_CFLAGS = $(AM_CFLAGS)
490 remix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
492 smoother_test_SOURCES = tests/smoother-test.c
493 smoother_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
494 smoother_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
495 smoother_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
497 proplist_test_SOURCES = tests/proplist-test.c
498 proplist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
499 proplist_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
500 proplist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
502 cpu_test_SOURCES = tests/cpu-test.c
503 cpu_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
504 cpu_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
505 cpu_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
507 mult_s16_test_SOURCES = tests/mult-s16-test.c
508 mult_s16_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
509 mult_s16_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
510 mult_s16_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
512 rtstutter_SOURCES = tests/rtstutter.c
513 rtstutter_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
514 rtstutter_CFLAGS = $(AM_CFLAGS)
515 rtstutter_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
517 stripnul_SOURCES = tests/stripnul.c
518 stripnul_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
519 stripnul_CFLAGS = $(AM_CFLAGS)
520 stripnul_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
522 lock_autospawn_test_SOURCES = tests/lock-autospawn-test.c
523 lock_autospawn_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
524 lock_autospawn_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
525 lock_autospawn_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
527 sigbus_test_SOURCES = tests/sigbus-test.c
528 sigbus_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
529 sigbus_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
530 sigbus_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
532 gtk_test_SOURCES = tests/gtk-test.c
533 gtk_test_LDADD = $(AM_LDADD) $(GTK20_LIBS) libpulse-mainloop-glib.la libpulse.la
534 gtk_test_CFLAGS = $(AM_CFLAGS) $(GTK20_CFLAGS)
535 gtk_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
537 alsa_time_test_SOURCES = tests/alsa-time-test.c
538 alsa_time_test_LDADD = $(AM_LDADD) $(ASOUNDLIB_LIBS)
539 alsa_time_test_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
540 alsa_time_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
542 usergroup_test_SOURCES = tests/usergroup-test.c
543 usergroup_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
544 usergroup_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
545 usergroup_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
547 connect_stress_SOURCES = tests/connect-stress.c
548 connect_stress_LDADD = $(AM_LDADD) libpulse.la
549 connect_stress_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
550 connect_stress_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS)
552 echo_cancel_test_SOURCES = $(module_echo_cancel_la_SOURCES)
553 nodist_echo_cancel_test_SOURCES = $(nodist_module_echo_cancel_la_SOURCES)
554 echo_cancel_test_LDADD = $(module_echo_cancel_la_LIBADD)
555 echo_cancel_test_CFLAGS = $(module_echo_cancel_la_CFLAGS) -DECHO_CANCEL_TEST=1
557 echo_cancel_test_CXXFLAGS = $(module_echo_cancel_la_CXXFLAGS) -DECHO_CANCEL_TEST=1
559 echo_cancel_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
561 ###################################
563 ###################################
565 pkglib_LTLIBRARIES = \
566 libpulsecommon-@PA_MAJORMINOR@.la
568 # We duplicate files from pulse/ in this to allow as-needed linking. If we did
569 # not do this, in situations where code in libpulsecommon uses code in
570 # libpulse, we would then need to link libpulsecommon to libpulse (in addition
571 # to the existing libpulse being linked to libpulsecommon). Duplicating the
572 # code allows us to prevent this circular linking.
573 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES = \
574 pulse/client-conf.c pulse/client-conf.h \
575 pulse/fork-detect.c pulse/fork-detect.h \
576 pulse/xmalloc.c pulse/xmalloc.h \
577 pulse/proplist.c pulse/proplist.h \
578 pulse/utf8.c pulse/utf8.h \
579 pulse/channelmap.c pulse/channelmap.h \
580 pulse/sample.c pulse/sample.h \
581 pulse/util.c pulse/util.h \
582 pulse/timeval.c pulse/timeval.h \
583 pulse/rtclock.c pulse/rtclock.h \
584 pulse/volume.c pulse/volume.h \
586 pulsecore/authkey.c pulsecore/authkey.h \
587 pulsecore/conf-parser.c pulsecore/conf-parser.h \
588 pulsecore/core-error.c pulsecore/core-error.h \
589 pulsecore/core-rtclock.c pulsecore/core-rtclock.h \
590 pulsecore/core-util.c pulsecore/core-util.h \
592 pulsecore/dynarray.c pulsecore/dynarray.h \
593 pulsecore/endianmacros.h \
594 pulsecore/flist.c pulsecore/flist.h \
595 pulsecore/g711.c pulsecore/g711.h \
596 pulsecore/hashmap.c pulsecore/hashmap.h \
597 pulsecore/i18n.c pulsecore/i18n.h \
598 pulsecore/idxset.c pulsecore/idxset.h \
599 pulsecore/arpa-inet.c pulsecore/arpa-inet.h \
600 pulsecore/iochannel.c pulsecore/iochannel.h \
601 pulsecore/ioline.c pulsecore/ioline.h \
602 pulsecore/ipacl.c pulsecore/ipacl.h \
604 pulsecore/lock-autospawn.c pulsecore/lock-autospawn.h \
605 pulsecore/log.c pulsecore/log.h \
606 pulsecore/ratelimit.c pulsecore/ratelimit.h \
608 pulsecore/mcalign.c pulsecore/mcalign.h \
609 pulsecore/memblock.c pulsecore/memblock.h \
610 pulsecore/memblockq.c pulsecore/memblockq.h \
611 pulsecore/memchunk.c pulsecore/memchunk.h \
612 pulsecore/native-common.h \
613 pulsecore/once.c pulsecore/once.h \
614 pulsecore/packet.c pulsecore/packet.h \
615 pulsecore/parseaddr.c pulsecore/parseaddr.h \
616 pulsecore/pdispatch.c pulsecore/pdispatch.h \
617 pulsecore/pid.c pulsecore/pid.h \
618 pulsecore/pipe.c pulsecore/pipe.h \
619 pulsecore/memtrap.c pulsecore/memtrap.h \
620 pulsecore/aupdate.c pulsecore/aupdate.h \
621 pulsecore/proplist-util.c pulsecore/proplist-util.h \
622 pulsecore/pstream-util.c pulsecore/pstream-util.h \
623 pulsecore/pstream.c pulsecore/pstream.h \
624 pulsecore/queue.c pulsecore/queue.h \
625 pulsecore/random.c pulsecore/random.h \
627 pulsecore/sample-util.c pulsecore/sample-util.h \
628 pulsecore/shm.c pulsecore/shm.h \
629 pulsecore/bitset.c pulsecore/bitset.h \
630 pulsecore/socket-client.c pulsecore/socket-client.h \
631 pulsecore/socket-server.c pulsecore/socket-server.h \
632 pulsecore/socket-util.c pulsecore/socket-util.h \
633 pulsecore/strbuf.c pulsecore/strbuf.h \
634 pulsecore/strlist.c pulsecore/strlist.h \
635 pulsecore/svolume_c.c pulsecore/svolume_arm.c \
636 pulsecore/svolume_mmx.c pulsecore/svolume_sse.c \
637 pulsecore/tagstruct.c pulsecore/tagstruct.h \
638 pulsecore/time-smoother.c pulsecore/time-smoother.h \
639 pulsecore/tokenizer.c pulsecore/tokenizer.h \
640 pulsecore/usergroup.c pulsecore/usergroup.h \
641 pulsecore/sndfile-util.c pulsecore/sndfile-util.h \
645 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulsecore/poll-win32.c pulsecore/poll.h
647 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulsecore/poll-posix.c pulsecore/poll.h
650 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
651 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
652 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) $(LIBWRAP_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) $(LIBSNDFILE_LIBS)
655 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
656 pulse/client-conf-x11.c pulse/client-conf-x11.h \
657 pulsecore/x11prop.c pulsecore/x11prop.h
658 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
659 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
662 # proplist-util.h uses these header files, but not the library itself!
663 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(GLIB20_CFLAGS) $(GTK20_CFLAGS)
665 ## Please note that libpulsecommon implicitly also depends on<
666 ## libpulse! i.e. we have a cyclic dependancy here. Which is intended
667 ## since libpulse only includes stable, official APIs, while
668 ## libpulsecommon only includes unofficial APIs.
671 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
672 pulsecore/mutex-win32.c pulsecore/mutex.h \
673 pulsecore/thread-win32.c pulsecore/thread.h \
674 pulsecore/semaphore-win32.c pulsecore/semaphore.h
677 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
678 pulsecore/mutex-posix.c pulsecore/mutex.h \
679 pulsecore/thread-posix.c pulsecore/thread.h \
680 pulsecore/semaphore-osx.c pulsecore/semaphore.h
681 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += "-I/Developer/Headers/FlatCarbon/"
682 #libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += "-framework CoreServices"
684 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
685 pulsecore/mutex-posix.c pulsecore/mutex.h \
686 pulsecore/thread-posix.c pulsecore/thread.h \
687 pulsecore/semaphore-posix.c pulsecore/semaphore.h
692 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(LIBASYNCNS_CFLAGS)
693 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD += $(LIBASYNCNS_LIBS)
697 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulsecore/dllmain.c
701 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
702 pulsecore/dbus-util.c pulsecore/dbus-util.h \
703 pulsecore/rtkit.c pulsecore/rtkit.h
704 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(DBUS_CFLAGS)
705 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD += $(DBUS_LIBS)
708 ###################################
710 ###################################
712 pulseinclude_HEADERS = \
718 pulse/ext-device-manager.h \
719 pulse/ext-device-restore.h \
720 pulse/ext-stream-restore.h \
724 pulse/mainloop-api.h \
725 pulse/mainloop-signal.h \
736 pulse/thread-mainloop.h \
749 pulseinclude_HEADERS += \
750 pulse/glib-mainloop.h
753 libpulse-mainloop-glib.la
757 libpulse_la_SOURCES = \
759 pulse/channelmap.c pulse/channelmap.h \
760 pulse/context.c pulse/context.h \
762 pulse/error.c pulse/error.h \
763 pulse/ext-device-manager.c pulse/ext-device-manager.h \
764 pulse/ext-device-restore.c pulse/ext-device-restore.h \
765 pulse/ext-stream-restore.c pulse/ext-stream-restore.h \
766 pulse/format.c pulse/format.h \
769 pulse/introspect.c pulse/introspect.h \
770 pulse/mainloop-api.c pulse/mainloop-api.h \
771 pulse/mainloop-signal.c pulse/mainloop-signal.h \
772 pulse/mainloop.c pulse/mainloop.h \
773 pulse/operation.c pulse/operation.h \
774 pulse/proplist.c pulse/proplist.h \
776 pulse/rtclock.c pulse/rtclock.h \
777 pulse/sample.c pulse/sample.h \
778 pulse/scache.c pulse/scache.h \
779 pulse/stream.c pulse/stream.h \
780 pulse/subscribe.c pulse/subscribe.h \
781 pulse/thread-mainloop.c pulse/thread-mainloop.h \
782 pulse/timeval.c pulse/timeval.h \
783 pulse/utf8.c pulse/utf8.h \
784 pulse/util.c pulse/util.h \
785 pulse/volume.c pulse/volume.h \
786 pulse/xmalloc.c pulse/xmalloc.h
788 libpulse_la_CFLAGS = $(AM_CFLAGS) $(LIBJSON_CFLAGS)
789 libpulse_la_LIBADD = $(AM_LIBADD) $(WINSOCK_LIBS) $(LTLIBICONV) $(LIBJSON_LIBS) libpulsecommon-@PA_MAJORMINOR@.la
790 libpulse_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_VERSION_INFO)
793 libpulse_la_CFLAGS += $(DBUS_CFLAGS)
794 libpulse_la_LIBADD += $(DBUS_LIBS)
797 libpulse_simple_la_SOURCES = pulse/simple.c pulse/simple.h
798 libpulse_simple_la_CFLAGS = $(AM_CFLAGS)
799 libpulse_simple_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
800 libpulse_simple_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_SIMPLE_VERSION_INFO)
802 libpulse_mainloop_glib_la_SOURCES = pulse/glib-mainloop.h pulse/glib-mainloop.c
803 libpulse_mainloop_glib_la_CFLAGS = $(AM_CFLAGS) $(GLIB20_CFLAGS)
804 libpulse_mainloop_glib_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(GLIB20_LIBS)
805 libpulse_mainloop_glib_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_MAINLOOP_GLIB_VERSION_INFO)
807 ###################################
809 ###################################
812 padsplibdir = $(pkglibdir)
813 padsplib_LTLIBRARIES = libpulsedsp.la
817 -e "s|@pkglibdir[@]|$(pkglibdir)|g"
819 padsp: utils/padsp.in
826 libpulsedsp_la_SOURCES = utils/padsp.c
827 libpulsedsp_la_CFLAGS = $(AM_CFLAGS)
828 libpulsedsp_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
829 libpulsedsp_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version -disable-static
831 ###################################
832 # Daemon core library #
833 ###################################
835 lib_LTLIBRARIES += libpulsecore-@PA_MAJORMINOR@.la
839 libpulsecore_@PA_MAJORMINOR@_la_SOURCES = \
840 pulsecore/asyncmsgq.c pulsecore/asyncmsgq.h \
841 pulsecore/asyncq.c pulsecore/asyncq.h \
842 pulsecore/auth-cookie.c pulsecore/auth-cookie.h \
843 pulsecore/cli-command.c pulsecore/cli-command.h \
844 pulsecore/cli-text.c pulsecore/cli-text.h \
845 pulsecore/client.c pulsecore/client.h \
846 pulsecore/card.c pulsecore/card.h \
847 pulsecore/core-scache.c pulsecore/core-scache.h \
848 pulsecore/core-subscribe.c pulsecore/core-subscribe.h \
849 pulsecore/core.c pulsecore/core.h \
850 pulsecore/fdsem.c pulsecore/fdsem.h \
851 pulsecore/hook-list.c pulsecore/hook-list.h \
852 pulsecore/ltdl-helper.c pulsecore/ltdl-helper.h \
853 pulsecore/modargs.c pulsecore/modargs.h \
854 pulsecore/modinfo.c pulsecore/modinfo.h \
855 pulsecore/module.c pulsecore/module.h \
856 pulsecore/msgobject.c pulsecore/msgobject.h \
857 pulsecore/namereg.c pulsecore/namereg.h \
858 pulsecore/object.c pulsecore/object.h \
859 pulsecore/play-memblockq.c pulsecore/play-memblockq.h \
860 pulsecore/play-memchunk.c pulsecore/play-memchunk.h \
861 pulsecore/remap.c pulsecore/remap.h \
862 pulsecore/remap_mmx.c pulsecore/remap_sse.c \
863 pulsecore/resampler.c pulsecore/resampler.h \
864 pulsecore/rtpoll.c pulsecore/rtpoll.h \
865 pulsecore/mix.c pulsecore/mix.h \
867 pulsecore/cpu-arm.c pulsecore/cpu-arm.h \
868 pulsecore/cpu-x86.c pulsecore/cpu-x86.h \
869 pulsecore/cpu-orc.c pulsecore/cpu-orc.h \
870 pulsecore/sconv-s16be.c pulsecore/sconv-s16be.h \
871 pulsecore/sconv-s16le.c pulsecore/sconv-s16le.h \
872 pulsecore/sconv_sse.c \
873 pulsecore/sconv.c pulsecore/sconv.h \
874 pulsecore/shared.c pulsecore/shared.h \
875 pulsecore/sink-input.c pulsecore/sink-input.h \
876 pulsecore/sink.c pulsecore/sink.h \
877 pulsecore/device-port.c pulsecore/device-port.h \
878 pulsecore/sioman.c pulsecore/sioman.h \
879 pulsecore/sound-file-stream.c pulsecore/sound-file-stream.h \
880 pulsecore/sound-file.c pulsecore/sound-file.h \
881 pulsecore/source-output.c pulsecore/source-output.h \
882 pulsecore/source.c pulsecore/source.h \
883 pulsecore/start-child.c pulsecore/start-child.h \
884 pulsecore/thread-mq.c pulsecore/thread-mq.h \
887 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSPEEX_CFLAGS) $(LIBSNDFILE_CFLAGS) $(WINSOCK_CFLAGS)
888 libpulsecore_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
889 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
892 noinst_LTLIBRARIES += libpulsecore_sconv_neon.la
893 libpulsecore_sconv_neon_la_SOURCES = pulsecore/sconv_neon.c
894 libpulsecore_sconv_neon_la_CFLAGS = $(AM_CFLAGS) $(NEON_CFLAGS)
895 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += libpulsecore_sconv_neon.la
899 ORC_SOURCE += pulsecore/svolume
900 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/svolume_orc.c
901 nodist_libpulsecore_@PA_MAJORMINOR@_la_SOURCES = pulsecore/svolume-orc-gen.c pulsecore/svolume-orc-gen.h
902 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(ORC_CFLAGS)
903 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(ORC_LIBS)
907 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/x11wrap.c pulsecore/x11wrap.h
908 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
909 libpulsecore_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
913 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += \
914 pulsecore/dbus-shared.c pulsecore/dbus-shared.h \
915 pulsecore/protocol-dbus.c pulsecore/protocol-dbus.h
916 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(DBUS_CFLAGS)
917 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(DBUS_LIBS)
921 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-gdbm.c
922 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(GDBM_CFLAGS)
923 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(GDBM_LIBS)
927 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-tdb.c
928 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(TDB_CFLAGS)
929 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(TDB_LIBS)
933 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-simple.c
936 # We split the foreign code off to not be annoyed by warnings we don't care about
937 noinst_LTLIBRARIES += libpulsecore-foreign.la
939 libpulsecore_foreign_la_SOURCES = \
940 pulsecore/ffmpeg/resample2.c pulsecore/ffmpeg/avcodec.h pulsecore/ffmpeg/dsputil.h
942 libpulsecore_foreign_la_CFLAGS = $(AM_CFLAGS) $(FOREIGN_CFLAGS)
944 ###################################
945 # Plug-in support libraries #
946 ###################################
948 ### Warning! Due to an obscure bug in libtool/automake it is required
949 ### that the libraries in modlibexec_LTLIBRARIES are specified in-order,
950 ### i.e. libraries near the end of the list depend on libraries near
951 ### the head, and not the other way!
953 modlibexec_LTLIBRARIES = \
956 libprotocol-simple.la \
957 libprotocol-http.la \
958 libprotocol-native.la
961 modlibexec_LTLIBRARIES += libwebrtc-util.la
965 modlibexec_LTLIBRARIES += \
966 libprotocol-esound.la
969 # We need to emulate sendmsg/recvmsg to support this on Win32
971 modlibexec_LTLIBRARIES += \
976 modlibexec_LTLIBRARIES += \
980 libprotocol_simple_la_SOURCES = pulsecore/protocol-simple.c pulsecore/protocol-simple.h
981 libprotocol_simple_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
982 libprotocol_simple_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
984 libcli_la_SOURCES = pulsecore/cli.c pulsecore/cli.h
985 libcli_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
986 libcli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
988 libprotocol_cli_la_SOURCES = pulsecore/protocol-cli.c pulsecore/protocol-cli.h
989 libprotocol_cli_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
990 libprotocol_cli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la libcli.la
992 libprotocol_http_la_SOURCES = pulsecore/protocol-http.c pulsecore/protocol-http.h pulsecore/mime-type.c pulsecore/mime-type.h
993 libprotocol_http_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
994 libprotocol_http_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
996 libprotocol_native_la_SOURCES = pulsecore/protocol-native.c pulsecore/protocol-native.h pulsecore/native-common.h
997 libprotocol_native_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS)
998 libprotocol_native_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
999 libprotocol_native_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1001 libprotocol_native_la_CFLAGS += $(DBUS_CFLAGS)
1002 libprotocol_native_la_LIBADD += $(DBUS_LIBS)
1006 libprotocol_esound_la_SOURCES = pulsecore/protocol-esound.c pulsecore/protocol-esound.h pulsecore/esound.h
1007 libprotocol_esound_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
1008 libprotocol_esound_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1011 librtp_la_SOURCES = \
1012 modules/rtp/rtp.c modules/rtp/rtp.h \
1013 modules/rtp/sdp.c modules/rtp/sdp.h \
1014 modules/rtp/sap.c modules/rtp/sap.h \
1015 modules/rtp/rtsp_client.c modules/rtp/rtsp_client.h \
1016 modules/rtp/headerlist.c modules/rtp/headerlist.h
1017 librtp_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
1018 librtp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1020 libraop_la_SOURCES = \
1021 modules/raop/raop_client.c modules/raop/raop_client.h \
1022 modules/raop/base64.c modules/raop/base64.h
1023 libraop_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_CFLAGS) -I$(top_srcdir)/src/modules/rtp
1024 libraop_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
1025 libraop_la_LIBADD = $(AM_LIBADD) $(OPENSSL_LIBS) libpulsecore-@PA_MAJORMINOR@.la librtp.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1028 libavahi_wrap_la_SOURCES = pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
1029 libavahi_wrap_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
1030 libavahi_wrap_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1031 libavahi_wrap_la_LIBADD = $(AM_LIBADD) $(AVAHI_CFLAGS) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1033 ###################################
1034 # Plug-in libraries #
1035 ###################################
1038 # Serveral module (e.g. libalsa-util.la)
1039 modlibexec_LTLIBRARIES += \
1040 module-console-kit.la
1043 modlibexec_LTLIBRARIES += \
1045 module-cli-protocol-tcp.la \
1046 module-simple-protocol-tcp.la \
1047 module-null-sink.la \
1048 module-null-source.la \
1049 module-sine-source.la \
1051 module-volume-restore.la \
1052 module-device-manager.la \
1053 module-device-restore.la \
1054 module-stream-restore.la \
1055 module-card-restore.la \
1056 module-default-device-restore.la \
1057 module-always-sink.la \
1058 module-rescue-streams.la \
1059 module-intended-roles.la \
1060 module-suspend-on-idle.la \
1061 module-echo-cancel.la \
1062 module-http-protocol-tcp.la \
1064 module-native-protocol-tcp.la \
1065 module-native-protocol-fd.la \
1067 module-combine-sink.la \
1068 module-remap-sink.la \
1069 module-ladspa-sink.la \
1070 module-tunnel-sink.la \
1071 module-tunnel-source.la \
1072 module-position-event-sounds.la \
1073 module-augment-properties.la \
1074 module-role-cork.la \
1075 module-loopback.la \
1076 module-virtual-sink.la \
1077 module-virtual-source.la \
1078 module-virtual-surround-sink.la \
1079 module-switch-on-connect.la \
1080 module-switch-on-port-available.la \
1081 module-filter-apply.la \
1082 module-filter-heuristics.la \
1083 module-role-ducking.la
1086 modlibexec_LTLIBRARIES += \
1087 module-esound-protocol-tcp.la \
1088 module-esound-sink.la
1091 # See comment at librtp.la above
1093 modlibexec_LTLIBRARIES += \
1094 module-rtp-send.la \
1099 modlibexec_LTLIBRARIES += \
1100 module-cli-protocol-unix.la \
1101 module-simple-protocol-unix.la \
1102 module-http-protocol-unix.la \
1103 module-native-protocol-unix.la
1105 modlibexec_LTLIBRARIES += \
1106 module-esound-protocol-unix.la
1111 modlibexec_LTLIBRARIES += \
1112 module-pipe-sink.la \
1113 module-pipe-source.la
1118 modlibexec_LTLIBRARIES += \
1119 module-esound-compat-spawnfd.la \
1120 module-esound-compat-spawnpid.la
1125 modlibexec_LTLIBRARIES += \
1130 modlibexec_LTLIBRARIES += \
1131 module-x11-bell.la \
1132 module-x11-publish.la \
1133 module-x11-xsmp.la \
1134 module-x11-cork-request.la
1138 modlibexec_LTLIBRARIES += \
1144 modlibexec_LTLIBRARIES += \
1145 module-coreaudio-detect.la \
1146 module-coreaudio-device.la
1149 pulselibexec_PROGRAMS =
1152 modlibexec_LTLIBRARIES += \
1154 module-alsa-sink.la \
1155 module-alsa-source.la \
1158 dist_alsaprofilesets_DATA = \
1159 modules/alsa/mixer/profile-sets/default.conf \
1160 modules/alsa/mixer/profile-sets/extra-hdmi.conf \
1161 modules/alsa/mixer/profile-sets/force-speaker.conf \
1162 modules/alsa/mixer/profile-sets/force-speaker-and-int-mic.conf \
1163 modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf \
1164 modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \
1165 modules/alsa/mixer/profile-sets/native-instruments-audio8dj.conf \
1166 modules/alsa/mixer/profile-sets/native-instruments-traktor-audio6.conf \
1167 modules/alsa/mixer/profile-sets/native-instruments-traktor-audio10.conf \
1168 modules/alsa/mixer/profile-sets/native-instruments-traktorkontrol-s4.conf \
1169 modules/alsa/mixer/profile-sets/native-instruments-korecontroller.conf \
1170 modules/alsa/mixer/profile-sets/kinect-audio.conf
1173 dist_udevrules_DATA = \
1174 modules/alsa/mixer/profile-sets/90-pulseaudio.rules
1177 dist_alsapaths_DATA = \
1178 modules/alsa/mixer/paths/analog-input-aux.conf \
1179 modules/alsa/mixer/paths/analog-input.conf \
1180 modules/alsa/mixer/paths/analog-input.conf.common \
1181 modules/alsa/mixer/paths/analog-input-fm.conf \
1182 modules/alsa/mixer/paths/analog-input-linein.conf \
1183 modules/alsa/mixer/paths/analog-input-mic.conf \
1184 modules/alsa/mixer/paths/analog-input-dock-mic.conf \
1185 modules/alsa/mixer/paths/analog-input-front-mic.conf \
1186 modules/alsa/mixer/paths/analog-input-headphone-mic.conf \
1187 modules/alsa/mixer/paths/analog-input-internal-mic.conf \
1188 modules/alsa/mixer/paths/analog-input-internal-mic-always.conf \
1189 modules/alsa/mixer/paths/analog-input-rear-mic.conf \
1190 modules/alsa/mixer/paths/analog-input-mic.conf.common \
1191 modules/alsa/mixer/paths/analog-input-mic-line.conf \
1192 modules/alsa/mixer/paths/analog-input-tvtuner.conf \
1193 modules/alsa/mixer/paths/analog-input-video.conf \
1194 modules/alsa/mixer/paths/analog-output.conf \
1195 modules/alsa/mixer/paths/analog-output-speaker.conf \
1196 modules/alsa/mixer/paths/analog-output-speaker-always.conf \
1197 modules/alsa/mixer/paths/analog-output.conf.common \
1198 modules/alsa/mixer/paths/analog-output-desktop-speaker.conf \
1199 modules/alsa/mixer/paths/analog-output-headphones.conf \
1200 modules/alsa/mixer/paths/analog-output-headphones-2.conf \
1201 modules/alsa/mixer/paths/analog-output-mono.conf \
1202 modules/alsa/mixer/paths/iec958-stereo-output.conf \
1203 modules/alsa/mixer/paths/hdmi-output-0.conf \
1204 modules/alsa/mixer/paths/hdmi-output-1.conf \
1205 modules/alsa/mixer/paths/hdmi-output-2.conf \
1206 modules/alsa/mixer/paths/hdmi-output-3.conf
1211 modlibexec_LTLIBRARIES += \
1216 modlibexec_LTLIBRARIES += \
1217 module-zeroconf-publish.la \
1218 module-zeroconf-discover.la
1222 modlibexec_LTLIBRARIES += \
1223 module-bonjour-publish.la
1227 modlibexec_LTLIBRARIES += \
1232 modlibexec_LTLIBRARIES += \
1233 module-xenpv-sink.la
1238 modlibexec_LTLIBRARIES += \
1239 module-mmkbd-evdev.la
1243 modlibexec_LTLIBRARIES += \
1244 module-jack-sink.la \
1245 module-jack-source.la
1248 modlibexec_LTLIBRARIES += \
1249 module-jackdbus-detect.la
1255 modlibexec_LTLIBRARIES += \
1258 pulselibexec_PROGRAMS += \
1263 modlibexec_LTLIBRARIES += \
1268 modlibexec_LTLIBRARIES += \
1269 module-hal-detect.la
1273 modlibexec_LTLIBRARIES += \
1274 module-udev-detect.la
1278 modlibexec_LTLIBRARIES += \
1279 module-systemd-login.la
1283 modlibexec_LTLIBRARIES += \
1284 module-rygel-media-server.la \
1285 module-dbus-protocol.la
1289 modlibexec_LTLIBRARIES += \
1290 libbluetooth-util.la \
1291 module-bluetooth-proximity.la \
1292 module-bluetooth-discover.la \
1293 module-bluetooth-policy.la \
1294 module-bluetooth-device.la
1296 pulselibexec_PROGRAMS += \
1301 modlibexec_LTLIBRARIES += \
1305 modlibexec_LTLIBRARIES += \
1306 module-raop-discover.la
1312 modlibexec_LTLIBRARIES += \
1313 module-equalizer-sink.la
1314 bin_SCRIPTS += utils/qpaeq
1318 # These are generated by an M4 script
1320 module-cli-symdef.h \
1321 module-cli-protocol-tcp-symdef.h \
1322 module-cli-protocol-unix-symdef.h \
1323 module-pipe-sink-symdef.h \
1324 module-pipe-source-symdef.h \
1325 module-simple-protocol-tcp-symdef.h \
1326 module-simple-protocol-unix-symdef.h \
1327 module-native-protocol-tcp-symdef.h \
1328 module-native-protocol-unix-symdef.h \
1329 module-native-protocol-fd-symdef.h \
1330 module-sine-symdef.h \
1331 module-combine-symdef.h \
1332 module-combine-sink-symdef.h \
1333 module-remap-sink-symdef.h \
1334 module-ladspa-sink-symdef.h \
1335 module-equalizer-sink-symdef.h \
1336 module-match-symdef.h \
1337 module-tunnel-sink-symdef.h \
1338 module-tunnel-source-symdef.h \
1339 module-null-sink-symdef.h \
1340 module-null-source-symdef.h \
1341 module-sine-source-symdef.h \
1342 module-zeroconf-publish-symdef.h \
1343 module-zeroconf-discover-symdef.h \
1344 module-bonjour-publish-symdef.h \
1345 module-lirc-symdef.h \
1346 module-xenpv-sink-symdef.h \
1347 module-mmkbd-evdev-symdef.h \
1348 module-http-protocol-tcp-symdef.h \
1349 module-http-protocol-unix-symdef.h \
1350 module-rygel-media-server-symdef.h \
1351 module-x11-bell-symdef.h \
1352 module-x11-publish-symdef.h \
1353 module-x11-xsmp-symdef.h \
1354 module-x11-cork-request-symdef.h \
1355 module-oss-symdef.h \
1356 module-alsa-sink-symdef.h \
1357 module-alsa-source-symdef.h \
1358 module-alsa-card-symdef.h \
1359 module-coreaudio-detect-symdef.h \
1360 module-coreaudio-device-symdef.h \
1361 module-solaris-symdef.h \
1362 module-waveout-symdef.h \
1363 module-detect-symdef.h \
1364 module-rtp-send-symdef.h \
1365 module-rtp-recv-symdef.h \
1366 module-jackdbus-detect-symdef.h \
1367 module-jack-sink-symdef.h \
1368 module-jack-source-symdef.h \
1369 module-volume-restore-symdef.h \
1370 module-device-manager-symdef.h \
1371 module-device-restore-symdef.h \
1372 module-stream-restore-symdef.h \
1373 module-card-restore-symdef.h \
1374 module-default-device-restore-symdef.h \
1375 module-always-sink-symdef.h \
1376 module-rescue-streams-symdef.h \
1377 module-intended-roles-symdef.h \
1378 module-suspend-on-idle-symdef.h \
1379 module-echo-cancel-symdef.h \
1380 module-hal-detect-symdef.h \
1381 module-udev-detect-symdef.h \
1382 module-systemd-login-symdef.h \
1383 module-bluetooth-proximity-symdef.h \
1384 module-bluetooth-discover-symdef.h \
1385 module-bluetooth-policy-symdef.h \
1386 module-bluetooth-device-symdef.h \
1387 module-raop-sink-symdef.h \
1388 module-raop-discover-symdef.h \
1389 module-gconf-symdef.h \
1390 module-position-event-sounds-symdef.h \
1391 module-role-ducking-symdef.h \
1392 module-augment-properties-symdef.h \
1393 module-role-cork-symdef.h \
1394 module-console-kit-symdef.h \
1395 module-dbus-protocol-symdef.h \
1396 module-loopback-symdef.h \
1397 module-virtual-sink-symdef.h \
1398 module-virtual-source-symdef.h \
1399 module-virtual-surround-sink-symdef.h \
1400 module-switch-on-connect-symdef.h \
1401 module-switch-on-port-available-symdef.h \
1402 module-filter-apply-symdef.h \
1403 module-filter-heuristics-symdef.h
1407 module-esound-protocol-tcp-symdef.h \
1408 module-esound-protocol-unix-symdef.h \
1409 module-esound-compat-spawnfd-symdef.h \
1410 module-esound-compat-spawnpid-symdef.h \
1411 module-esound-sink-symdef.h
1414 EXTRA_DIST += $(SYMDEF_FILES)
1415 BUILT_SOURCES += $(SYMDEF_FILES) builddirs
1417 $(SYMDEF_FILES): modules/module-defs.h.m4
1418 $(AM_V_at)$(MKDIR_P) modules
1419 $(AM_V_GEN)$(M4) -Dfname="$@" $< > $@
1423 $(AM_V_at)$(MKDIR_P) daemon modules
1427 module_simple_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1428 module_simple_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1429 module_simple_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1430 module_simple_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-simple.la
1432 module_simple_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1433 module_simple_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1434 module_simple_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1435 module_simple_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-simple.la
1439 module_cli_la_SOURCES = modules/module-cli.c
1440 module_cli_la_LDFLAGS = $(MODULE_LDFLAGS)
1441 module_cli_la_LIBADD = $(MODULE_LIBADD) libcli.la
1443 module_cli_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1444 module_cli_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1445 module_cli_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1446 module_cli_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-cli.la
1448 module_cli_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1449 module_cli_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1450 module_cli_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1451 module_cli_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-cli.la
1455 module_http_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1456 module_http_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1457 module_http_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1458 module_http_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-http.la
1460 module_http_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1461 module_http_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1462 module_http_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1463 module_http_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-http.la
1467 module_dbus_protocol_la_SOURCES = \
1468 modules/dbus/iface-card.c modules/dbus/iface-card.h \
1469 modules/dbus/iface-card-profile.c modules/dbus/iface-card-profile.h \
1470 modules/dbus/iface-client.c modules/dbus/iface-client.h \
1471 modules/dbus/iface-core.c modules/dbus/iface-core.h \
1472 modules/dbus/iface-device.c modules/dbus/iface-device.h \
1473 modules/dbus/iface-device-port.c modules/dbus/iface-device-port.h \
1474 modules/dbus/iface-memstats.c modules/dbus/iface-memstats.h \
1475 modules/dbus/iface-module.c modules/dbus/iface-module.h \
1476 modules/dbus/iface-sample.c modules/dbus/iface-sample.h \
1477 modules/dbus/iface-stream.c modules/dbus/iface-stream.h \
1478 modules/dbus/module-dbus-protocol.c
1479 module_dbus_protocol_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1480 module_dbus_protocol_la_LDFLAGS = $(MODULE_LDFLAGS)
1481 module_dbus_protocol_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1485 module_native_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1486 module_native_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1487 module_native_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1488 module_native_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1490 module_native_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1491 module_native_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1492 module_native_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1493 module_native_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1495 module_native_protocol_fd_la_SOURCES = modules/module-native-protocol-fd.c
1496 module_native_protocol_fd_la_CFLAGS = $(AM_CFLAGS)
1497 module_native_protocol_fd_la_LDFLAGS = $(MODULE_LDFLAGS)
1498 module_native_protocol_fd_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1503 module_esound_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1504 module_esound_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1505 module_esound_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1506 module_esound_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-esound.la
1508 module_esound_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1509 module_esound_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1510 module_esound_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1511 module_esound_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-esound.la
1513 module_esound_compat_spawnfd_la_SOURCES = modules/module-esound-compat-spawnfd.c
1514 module_esound_compat_spawnfd_la_LDFLAGS = $(MODULE_LDFLAGS)
1515 module_esound_compat_spawnfd_la_LIBADD = $(MODULE_LIBADD)
1517 module_esound_compat_spawnpid_la_SOURCES = modules/module-esound-compat-spawnpid.c
1518 module_esound_compat_spawnpid_la_LDFLAGS = $(MODULE_LDFLAGS)
1519 module_esound_compat_spawnpid_la_LIBADD = $(MODULE_LIBADD)
1521 module_esound_sink_la_SOURCES = modules/module-esound-sink.c
1522 module_esound_sink_la_LDFLAGS = $(MODULE_LDFLAGS) $(WINSOCK_LIBS)
1523 module_esound_sink_la_LIBADD = $(MODULE_LIBADD)
1528 module_pipe_sink_la_SOURCES = modules/module-pipe-sink.c
1529 module_pipe_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1530 module_pipe_sink_la_LIBADD = $(MODULE_LIBADD)
1532 module_pipe_source_la_SOURCES = modules/module-pipe-source.c
1533 module_pipe_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1534 module_pipe_source_la_LIBADD = $(MODULE_LIBADD)
1536 # Fake sources/sinks
1538 module_sine_la_SOURCES = modules/module-sine.c
1539 module_sine_la_LDFLAGS = $(MODULE_LDFLAGS)
1540 module_sine_la_LIBADD = $(MODULE_LIBADD)
1542 module_null_sink_la_SOURCES = modules/module-null-sink.c
1543 module_null_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1544 module_null_sink_la_LIBADD = $(MODULE_LIBADD)
1546 module_null_source_la_SOURCES = modules/module-null-source.c
1547 module_null_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1548 module_null_source_la_LIBADD = $(MODULE_LIBADD)
1550 module_sine_source_la_SOURCES = modules/module-sine-source.c
1551 module_sine_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1552 module_sine_source_la_LIBADD = $(MODULE_LIBADD)
1556 module_combine_la_SOURCES = modules/module-combine.c
1557 module_combine_la_LDFLAGS = $(MODULE_LDFLAGS)
1558 module_combine_la_LIBADD = $(MODULE_LIBADD)
1560 module_combine_sink_la_SOURCES = modules/module-combine-sink.c
1561 module_combine_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1562 module_combine_sink_la_LIBADD = $(MODULE_LIBADD)
1564 module_switch_on_connect_la_SOURCES = modules/module-switch-on-connect.c
1565 module_switch_on_connect_la_LDFLAGS = $(MODULE_LDFLAGS)
1566 module_switch_on_connect_la_LIBADD = $(MODULE_LIBADD)
1568 module_switch_on_port_available_la_SOURCES = modules/module-switch-on-port-available.c
1569 module_switch_on_port_available_la_LDFLAGS = $(MODULE_LDFLAGS)
1570 module_switch_on_port_available_la_LIBADD = $(MODULE_LIBADD)
1572 module_filter_apply_la_SOURCES = modules/module-filter-apply.c
1573 module_filter_apply_la_LDFLAGS = $(MODULE_LDFLAGS)
1574 module_filter_apply_la_LIBADD = $(MODULE_LIBADD)
1576 module_filter_heuristics_la_SOURCES = modules/module-filter-heuristics.c
1577 module_filter_heuristics_la_LDFLAGS = $(MODULE_LDFLAGS)
1578 module_filter_heuristics_la_LIBADD = $(MODULE_LIBADD)
1580 module_remap_sink_la_SOURCES = modules/module-remap-sink.c
1581 module_remap_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1582 module_remap_sink_la_LIBADD = $(MODULE_LIBADD)
1584 module_ladspa_sink_la_SOURCES = modules/module-ladspa-sink.c modules/ladspa.h
1585 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)
1586 module_ladspa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1587 module_ladspa_sink_la_LIBADD = $(MODULE_LIBADD) $(LIBLTDL)
1590 module_ladspa_sink_la_CFLAGS += $(DBUS_CFLAGS)
1591 module_ladspa_sink_la_LIBADD += $(DBUS_LIBS)
1594 module_equalizer_sink_la_SOURCES = modules/module-equalizer-sink.c
1595 module_equalizer_sink_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS) $(DBUS_CFLAGS) $(FFTW_CFLAGS)
1596 module_equalizer_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1597 module_equalizer_sink_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(FFTW_LIBS)
1599 module_match_la_SOURCES = modules/module-match.c
1600 module_match_la_LDFLAGS = $(MODULE_LDFLAGS)
1601 module_match_la_LIBADD = $(MODULE_LIBADD)
1603 module_tunnel_sink_la_SOURCES = modules/module-tunnel.c
1604 module_tunnel_sink_la_CFLAGS = -DTUNNEL_SINK=1 $(AM_CFLAGS)
1605 module_tunnel_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1606 module_tunnel_sink_la_LIBADD = $(MODULE_LIBADD)
1608 module_tunnel_source_la_SOURCES = modules/module-tunnel.c
1609 module_tunnel_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1610 module_tunnel_source_la_LIBADD = $(MODULE_LIBADD)
1612 module_loopback_la_SOURCES = modules/module-loopback.c
1613 module_loopback_la_LDFLAGS = $(MODULE_LDFLAGS)
1614 module_loopback_la_LIBADD = $(MODULE_LIBADD)
1616 module_virtual_sink_la_SOURCES = modules/module-virtual-sink.c
1617 module_virtual_sink_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS)
1618 module_virtual_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1619 module_virtual_sink_la_LIBADD = $(MODULE_LIBADD)
1621 module_virtual_source_la_SOURCES = modules/module-virtual-source.c
1622 module_virtual_source_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS)
1623 module_virtual_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1624 module_virtual_source_la_LIBADD = $(MODULE_LIBADD)
1626 module_virtual_surround_sink_la_SOURCES = modules/module-virtual-surround-sink.c
1627 module_virtual_surround_sink_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS)
1628 module_virtual_surround_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1629 module_virtual_surround_sink_la_LIBADD = $(MODULE_LIBADD)
1633 module_x11_bell_la_SOURCES = modules/x11/module-x11-bell.c
1634 module_x11_bell_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1635 module_x11_bell_la_LDFLAGS = $(MODULE_LDFLAGS)
1636 module_x11_bell_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1638 module_x11_publish_la_SOURCES = modules/x11/module-x11-publish.c
1639 module_x11_publish_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1640 module_x11_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1641 module_x11_publish_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la $(X11_LIBS)
1643 module_x11_xsmp_la_SOURCES = modules/x11/module-x11-xsmp.c
1644 module_x11_xsmp_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1645 module_x11_xsmp_la_LDFLAGS = $(MODULE_LDFLAGS)
1646 module_x11_xsmp_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1648 module_x11_cork_request_la_SOURCES = modules/x11/module-x11-cork-request.c
1649 module_x11_cork_request_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1650 module_x11_cork_request_la_LDFLAGS = $(MODULE_LDFLAGS)
1651 module_x11_cork_request_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1655 liboss_util_la_SOURCES = modules/oss/oss-util.c modules/oss/oss-util.h
1656 liboss_util_la_LDFLAGS = -avoid-version
1657 liboss_util_la_LIBADD = $(MODULE_LIBADD)
1659 module_oss_la_SOURCES = modules/oss/module-oss.c
1660 module_oss_la_LDFLAGS = $(MODULE_LDFLAGS)
1661 module_oss_la_LIBADD = $(MODULE_LIBADD) liboss-util.la
1665 module_coreaudio_detect_la_SOURCES = modules/macosx/module-coreaudio-detect.c
1666 module_coreaudio_detect_la_LDFLAGS = $(MODULE_LDFLAGS) \
1667 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1668 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1669 module_coreaudio_detect_la_LIBADD = $(MODULE_LIBADD)
1671 module_coreaudio_device_la_SOURCES = modules/macosx/module-coreaudio-device.c
1672 module_coreaudio_device_la_LDFLAGS = $(MODULE_LDFLAGS) \
1673 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1674 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1675 module_coreaudio_device_la_LIBADD = $(MODULE_LIBADD)
1679 libalsa_util_la_SOURCES = \
1680 modules/alsa/alsa-util.c modules/alsa/alsa-util.h \
1681 modules/alsa/alsa-ucm.c modules/alsa/alsa-ucm.h \
1682 modules/alsa/alsa-mixer.c modules/alsa/alsa-mixer.h \
1683 modules/alsa/alsa-sink.c modules/alsa/alsa-sink.h \
1684 modules/alsa/alsa-source.c modules/alsa/alsa-source.h \
1685 modules/reserve-wrap.c modules/reserve-wrap.h
1686 libalsa_util_la_LDFLAGS = -avoid-version
1687 libalsa_util_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS)
1688 libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS) $(ASOUNDLIB_CFLAGS)
1691 libalsa_util_la_SOURCES += modules/udev-util.h modules/udev-util.c
1692 libalsa_util_la_LIBADD += $(UDEV_LIBS)
1693 libalsa_util_la_CFLAGS += $(UDEV_CFLAGS)
1697 libalsa_util_la_SOURCES += modules/reserve.h modules/reserve.c modules/reserve-monitor.h modules/reserve-monitor.c
1698 libalsa_util_la_LIBADD += $(DBUS_LIBS)
1699 libalsa_util_la_CFLAGS += $(DBUS_CFLAGS)
1702 module_alsa_sink_la_SOURCES = modules/alsa/module-alsa-sink.c
1703 module_alsa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1704 module_alsa_sink_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1705 module_alsa_sink_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1707 module_alsa_source_la_SOURCES = modules/alsa/module-alsa-source.c
1708 module_alsa_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1709 module_alsa_source_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1710 module_alsa_source_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1712 module_alsa_card_la_SOURCES = modules/alsa/module-alsa-card.c
1713 module_alsa_card_la_LDFLAGS = $(MODULE_LDFLAGS)
1714 module_alsa_card_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1715 module_alsa_card_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1719 module_solaris_la_SOURCES = modules/module-solaris.c
1720 module_solaris_la_LDFLAGS = $(MODULE_LDFLAGS)
1721 module_solaris_la_LIBADD = $(MODULE_LIBADD)
1725 module_zeroconf_publish_la_SOURCES = modules/module-zeroconf-publish.c
1726 module_zeroconf_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1727 module_zeroconf_publish_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libprotocol-native.la
1728 module_zeroconf_publish_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1730 module_zeroconf_discover_la_SOURCES = modules/module-zeroconf-discover.c
1731 module_zeroconf_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1732 module_zeroconf_discover_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la
1733 module_zeroconf_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1737 module_bonjour_publish_la_SOURCES = modules/macosx/module-bonjour-publish.c
1738 module_bonjour_publish_la_LDFLAGS = $(MODULE_LDFLAGS) \
1739 -Wl,-framework -Wl,CoreFoundation -framework CoreFoundation
1740 module_bonjour_publish_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1744 module_lirc_la_SOURCES = modules/module-lirc.c
1745 module_lirc_la_LDFLAGS = $(MODULE_LDFLAGS)
1746 module_lirc_la_LIBADD = $(MODULE_LIBADD) $(LIRC_LIBS)
1747 module_lirc_la_CFLAGS = $(AM_CFLAGS) $(LIRC_CFLAGS)
1752 module_xenpv_sink_la_SOURCES = modules/xen/module-xenpv-sink.c modules/xen/gntalloc.h modules/xen/gntdev.h
1753 module_xenpv_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1754 module_xenpv_sink_la_LIBADD = $(MODULE_LIBADD) $(XEN_LIBS)
1755 module_xenpv_sink_la_CFLAGS = $(AM_CFLAGS) $(XEN_CFLAGS) -I$(top_srcdir)/src/modules/xen
1760 module_mmkbd_evdev_la_SOURCES = modules/module-mmkbd-evdev.c
1761 module_mmkbd_evdev_la_LDFLAGS = $(MODULE_LDFLAGS)
1762 module_mmkbd_evdev_la_LIBADD = $(MODULE_LIBADD)
1763 module_mmkbd_evdev_la_CFLAGS = $(AM_CFLAGS)
1766 module_waveout_la_SOURCES = modules/module-waveout.c
1767 module_waveout_la_LDFLAGS = $(MODULE_LDFLAGS)
1768 module_waveout_la_LIBADD = $(MODULE_LIBADD) -lwinmm
1769 module_waveout_la_CFLAGS = $(AM_CFLAGS)
1771 # Hardware autodetection module
1772 module_detect_la_SOURCES = modules/module-detect.c
1773 module_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1774 module_detect_la_LIBADD = $(MODULE_LIBADD)
1775 module_detect_la_CFLAGS = $(AM_CFLAGS)
1777 # Volume restore module
1778 module_volume_restore_la_SOURCES = modules/module-volume-restore.c
1779 module_volume_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1780 module_volume_restore_la_LIBADD = $(MODULE_LIBADD)
1781 module_volume_restore_la_CFLAGS = $(AM_CFLAGS)
1783 # Position event sounds in space
1784 module_position_event_sounds_la_SOURCES = modules/module-position-event-sounds.c
1785 module_position_event_sounds_la_LDFLAGS = $(MODULE_LDFLAGS)
1786 module_position_event_sounds_la_LIBADD = $(MODULE_LIBADD)
1787 module_position_event_sounds_la_CFLAGS = $(AM_CFLAGS)
1789 # Ducking effect based on stream roles
1790 module_role_ducking_la_SOURCES = modules/module-role-ducking.c
1791 module_role_ducking_la_LDFLAGS = $(MODULE_LDFLAGS)
1792 module_role_ducking_la_LIBADD = $(MODULE_LIBADD)
1793 module_role_ducking_la_CFLAGS = $(AM_CFLAGS)
1795 # Augment properties from XDG .desktop files
1796 module_augment_properties_la_SOURCES = modules/module-augment-properties.c
1797 module_augment_properties_la_LDFLAGS = $(MODULE_LDFLAGS)
1798 module_augment_properties_la_LIBADD = $(MODULE_LIBADD)
1799 #module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"$(datadir)/applications\"
1800 module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"/usr/share/applications\"
1802 # Cork certain streams while others are active (e.g. cork music when phone streams appear)
1803 module_role_cork_la_SOURCES = modules/module-role-cork.c
1804 module_role_cork_la_LDFLAGS = $(MODULE_LDFLAGS)
1805 module_role_cork_la_LIBADD = $(MODULE_LIBADD)
1806 module_role_cork_la_CFLAGS = $(AM_CFLAGS)
1808 # Device description restore module
1809 module_device_manager_la_SOURCES = modules/module-device-manager.c
1810 module_device_manager_la_LDFLAGS = $(MODULE_LDFLAGS)
1811 module_device_manager_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1812 module_device_manager_la_CFLAGS = $(AM_CFLAGS)
1814 # Device volume/muted restore module
1815 module_device_restore_la_SOURCES = modules/module-device-restore.c
1816 module_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1817 module_device_restore_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1818 module_device_restore_la_CFLAGS = $(AM_CFLAGS)
1821 module_device_restore_la_LIBADD += $(DBUS_LIBS)
1822 module_device_restore_la_CFLAGS += $(DBUS_CFLAGS)
1825 # Stream volume/muted/device restore module
1826 module_stream_restore_la_SOURCES = modules/module-stream-restore.c
1827 module_stream_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1828 module_stream_restore_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1829 module_stream_restore_la_CFLAGS = $(AM_CFLAGS)
1832 module_stream_restore_la_LIBADD += $(DBUS_LIBS)
1833 module_stream_restore_la_CFLAGS += $(DBUS_CFLAGS)
1836 # Card profile restore module
1837 module_card_restore_la_SOURCES = modules/module-card-restore.c
1838 module_card_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1839 module_card_restore_la_LIBADD = $(MODULE_LIBADD)
1840 module_card_restore_la_CFLAGS = $(AM_CFLAGS)
1842 # Default sink/source restore module
1843 module_default_device_restore_la_SOURCES = modules/module-default-device-restore.c
1844 module_default_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1845 module_default_device_restore_la_LIBADD = $(MODULE_LIBADD)
1846 module_default_device_restore_la_CFLAGS = $(AM_CFLAGS)
1848 # Always Sink module
1849 module_always_sink_la_SOURCES = modules/module-always-sink.c
1850 module_always_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1851 module_always_sink_la_LIBADD = $(MODULE_LIBADD)
1852 module_always_sink_la_CFLAGS = $(AM_CFLAGS)
1854 # Rescue streams module
1855 module_rescue_streams_la_SOURCES = modules/module-rescue-streams.c
1856 module_rescue_streams_la_LDFLAGS = $(MODULE_LDFLAGS)
1857 module_rescue_streams_la_LIBADD = $(MODULE_LIBADD)
1858 module_rescue_streams_la_CFLAGS = $(AM_CFLAGS)
1860 # Automatically move streams to devices that are intended for their roles
1861 module_intended_roles_la_SOURCES = modules/module-intended-roles.c
1862 module_intended_roles_la_LDFLAGS = $(MODULE_LDFLAGS)
1863 module_intended_roles_la_LIBADD = $(MODULE_LIBADD)
1864 module_intended_roles_la_CFLAGS = $(AM_CFLAGS)
1866 # Suspend-on-idle module
1867 module_suspend_on_idle_la_SOURCES = modules/module-suspend-on-idle.c
1868 module_suspend_on_idle_la_LDFLAGS = $(MODULE_LDFLAGS)
1869 module_suspend_on_idle_la_LIBADD = $(MODULE_LIBADD)
1870 module_suspend_on_idle_la_CFLAGS = $(AM_CFLAGS)
1872 # echo-cancel module
1873 module_echo_cancel_la_SOURCES = \
1874 modules/echo-cancel/module-echo-cancel.c \
1875 modules/echo-cancel/null.c \
1876 modules/echo-cancel/echo-cancel.h
1877 module_echo_cancel_la_LDFLAGS = $(MODULE_LDFLAGS)
1878 module_echo_cancel_la_LIBADD = $(MODULE_LIBADD) $(LIBSPEEX_LIBS)
1879 module_echo_cancel_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS) $(LIBSPEEX_CFLAGS)
1881 module_echo_cancel_la_SOURCES += \
1882 modules/echo-cancel/adrian-aec.c modules/echo-cancel/adrian-aec.h \
1883 modules/echo-cancel/adrian.c modules/echo-cancel/adrian.h
1884 module_echo_cancel_la_CFLAGS += -DHAVE_ADRIAN_EC=1
1886 ORC_SOURCE += modules/echo-cancel/adrian-aec
1887 nodist_module_echo_cancel_la_SOURCES = \
1888 modules/echo-cancel/adrian-aec-orc-gen.c \
1889 modules/echo-cancel/adrian-aec-orc-gen.h
1890 module_echo_cancel_la_LIBADD += $(ORC_LIBS)
1891 module_echo_cancel_la_CFLAGS += $(ORC_CFLAGS) -I$(top_builddir)/src/modules/echo-cancel
1895 module_echo_cancel_la_SOURCES += modules/echo-cancel/speex.c
1898 # The webrtc code is split off into a helper library to avoid having automake
1899 # link module-echo-cancel with C++ (which it does if there are any C++ deps,
1900 # even conditional ones).
1902 libwebrtc_util_la_SOURCES = modules/echo-cancel/webrtc.cc
1903 libwebrtc_util_la_CXXFLAGS = $(AM_CXXFLAGS) $(SERVER_CFLAGS) $(WEBRTC_CFLAGS) -DHAVE_WEBRTC=1
1904 libwebrtc_util_la_LIBADD = $(WEBRTC_LIBS)
1905 libwebrtc_util_la_LDFLAGS = -avoid-version
1907 module_echo_cancel_la_CFLAGS += -DHAVE_WEBRTC=1
1908 module_echo_cancel_la_LIBADD += libwebrtc-util.la
1912 module_rtp_send_la_SOURCES = modules/rtp/module-rtp-send.c
1913 module_rtp_send_la_LDFLAGS = $(MODULE_LDFLAGS)
1914 module_rtp_send_la_LIBADD = $(MODULE_LIBADD) librtp.la
1915 module_rtp_send_la_CFLAGS = $(AM_CFLAGS)
1917 module_rtp_recv_la_SOURCES = modules/rtp/module-rtp-recv.c
1918 module_rtp_recv_la_LDFLAGS = $(MODULE_LDFLAGS)
1919 module_rtp_recv_la_LIBADD = $(MODULE_LIBADD) librtp.la
1920 module_rtp_recv_la_CFLAGS = $(AM_CFLAGS)
1924 module_jackdbus_detect_la_SOURCES = modules/jack/module-jackdbus-detect.c
1925 module_jackdbus_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1926 module_jackdbus_detect_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(JACK_LIBS)
1927 module_jackdbus_detect_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) $(JACK_CFLAGS)
1929 module_jack_sink_la_SOURCES = modules/jack/module-jack-sink.c
1930 module_jack_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1931 module_jack_sink_la_LIBADD = $(MODULE_LIBADD) $(JACK_LIBS)
1932 module_jack_sink_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1934 module_jack_source_la_SOURCES = modules/jack/module-jack-source.c
1935 module_jack_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1936 module_jack_source_la_LIBADD = $(MODULE_LIBADD) $(JACK_LIBS)
1937 module_jack_source_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1939 module_hal_detect_la_SOURCES = modules/module-hal-detect-compat.c
1940 module_hal_detect_la_LIBADD = $(MODULE_LIBADD)
1941 module_hal_detect_la_CFLAGS = $(AM_CFLAGS)
1942 module_hal_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1944 module_udev_detect_la_SOURCES = modules/module-udev-detect.c
1945 module_udev_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1946 module_udev_detect_la_LIBADD = $(MODULE_LIBADD) $(UDEV_LIBS)
1947 module_udev_detect_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
1949 module_console_kit_la_SOURCES = modules/module-console-kit.c
1950 module_console_kit_la_LDFLAGS = $(MODULE_LDFLAGS)
1951 module_console_kit_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(SYSTEMD_LIBS)
1952 module_console_kit_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) $(SYSTEMD_CFLAGS)
1954 module_systemd_login_la_SOURCES = modules/module-systemd-login.c
1955 module_systemd_login_la_LDFLAGS = $(MODULE_LDFLAGS)
1956 module_systemd_login_la_LIBADD = $(MODULE_LIBADD) $(SYSTEMD_LIBS)
1957 module_systemd_login_la_CFLAGS = $(AM_CFLAGS) $(SYSTEMD_CFLAGS)
1960 module_gconf_la_SOURCES = modules/gconf/module-gconf.c
1961 module_gconf_la_LDFLAGS = $(MODULE_LDFLAGS)
1962 module_gconf_la_LIBADD = $(MODULE_LIBADD)
1963 module_gconf_la_CFLAGS = $(AM_CFLAGS) -DPA_GCONF_HELPER=\"$(pulselibexecdir)/gconf-helper\"
1965 gconf_helper_SOURCES = modules/gconf/gconf-helper.c
1966 gconf_helper_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(GCONF_LIBS)
1967 gconf_helper_CFLAGS = $(AM_CFLAGS) $(GCONF_CFLAGS)
1968 gconf_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1970 # Bluetooth proximity
1971 module_bluetooth_proximity_la_SOURCES = modules/bluetooth/module-bluetooth-proximity.c
1972 module_bluetooth_proximity_la_LDFLAGS = $(MODULE_LDFLAGS)
1973 module_bluetooth_proximity_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1974 module_bluetooth_proximity_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -DPA_BT_PROXIMITY_HELPER=\"$(pulselibexecdir)/proximity-helper\"
1976 proximity_helper_SOURCES = modules/bluetooth/proximity-helper.c
1977 proximity_helper_LDADD = $(AM_LDADD) $(BLUEZ_LIBS)
1978 proximity_helper_CFLAGS = $(AM_CFLAGS) $(BLUEZ_CFLAGS)
1979 proximity_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1981 # Bluetooth sink / source
1982 module_bluetooth_discover_la_SOURCES = modules/bluetooth/module-bluetooth-discover.c
1983 module_bluetooth_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1984 module_bluetooth_discover_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libbluetooth-util.la
1985 module_bluetooth_discover_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1988 libbluetooth_util_la_SOURCES = \
1989 modules/bluetooth/a2dp-codecs.h \
1990 modules/bluetooth/bluetooth-util.c \
1991 modules/bluetooth/bluetooth-util.h
1992 libbluetooth_util_la_LDFLAGS = -avoid-version
1993 libbluetooth_util_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1994 libbluetooth_util_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1996 module_bluetooth_device_la_SOURCES = modules/bluetooth/module-bluetooth-device.c modules/bluetooth/rtp.h
1997 module_bluetooth_device_la_LDFLAGS = $(MODULE_LDFLAGS)
1998 module_bluetooth_device_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(SBC_LIBS) libbluetooth-util.la
1999 module_bluetooth_device_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) $(SBC_CFLAGS)
2001 module_bluetooth_policy_la_SOURCES = modules/bluetooth/module-bluetooth-policy.c
2002 module_bluetooth_policy_la_LDFLAGS = $(MODULE_LDFLAGS)
2003 module_bluetooth_policy_la_LIBADD = $(MODULE_LIBADD)
2004 module_bluetooth_policy_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
2006 # Apple Airtunes/RAOP
2007 module_raop_sink_la_SOURCES = modules/raop/module-raop-sink.c
2008 module_raop_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
2009 module_raop_sink_la_LIBADD = $(MODULE_LIBADD) librtp.la libraop.la
2010 module_raop_sink_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/src/modules/rtp
2012 module_raop_discover_la_SOURCES = modules/raop/module-raop-discover.c
2013 module_raop_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
2014 module_raop_discover_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la
2015 module_raop_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
2018 module_rygel_media_server_la_SOURCES = modules/module-rygel-media-server.c
2019 module_rygel_media_server_la_LDFLAGS = $(MODULE_LDFLAGS)
2020 module_rygel_media_server_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libprotocol-http.la
2021 module_rygel_media_server_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
2023 ###################################
2024 # Some minor stuff #
2025 ###################################
2027 CLEANFILES += daemon/pulseaudio.desktop daemon/pulseaudio-kde.desktop
2028 DISTCLEANFILES = esdcompat client.conf default.pa system.pa daemon.conf start-pulseaudio-x11 start-pulseaudio-kde
2031 SYMLINK_PROGRAM=cd $(DESTDIR)$(bindir) && cp
2033 SYMLINK_PROGRAM=ln -sf
2037 -chown root $(DESTDIR)$(pulselibexecdir)/proximity-helper
2038 -chmod u+s $(DESTDIR)$(pulselibexecdir)/proximity-helper
2040 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/parec$(EXEEXT)
2041 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/pamon$(EXEEXT)
2042 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/paplay$(EXEEXT)
2043 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/parecord$(EXEEXT)
2044 rm -f $(DESTDIR)$(libdir)/libpulsedsp.la
2045 rm -f $(DESTDIR)$(modlibexecdir)/*.la
2048 rm -f $(DESTDIR)$(bindir)/parec$(EXEEXT)
2049 rm -f $(DESTDIR)$(bindir)/pamon$(EXEEXT)
2050 rm -f $(DESTDIR)$(bindir)/paplay$(EXEEXT)
2051 rm -f $(DESTDIR)$(bindir)/parecord$(EXEEXT)
2052 rm -f $(DESTDIR)$(libdir)/libpulsedsp.*
2053 rm -f $(DESTDIR)$(modlibexecdir)/*.so
2056 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
2059 wget -O pulsecore/ffmpeg/resample2.c http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/resample2.c?view=co
2062 for i in reserve.c reserve.h reserve-monitor.c reserve-monitor.h ; do \
2063 wget -O $(top_srcdir)/src/modules/$$i http://git.0pointer.de/\?p=reserve.git\;a=blob_plain\;f=$$i\;hb=master ; \
2067 for i in rtkit.c rtkit.h ; do \
2068 wget -O $(top_srcdir)/src/pulsecore/$$i http://git.0pointer.de/\?p=rtkit.git\;a=blob_plain\;f=$$i\;hb=master ; \
2071 # Automatically generate linker version script. We use the same one for all public .sos
2073 ( echo "PULSE_0 {" ; \
2075 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 ; \
2078 echo "};" ) > $(srcdir)/map-file
2080 update-all: update-ffmpeg update-map-file
2082 # Force installation order of libraries. libtool relinks on install time, in
2083 # which case libpulsecommon has to be installed before others, but the padsp
2084 # preload library has to be done after the normal libraries (e.g. libpulse)
2086 # Unfortunately automake behaviour means that rules without commands also
2087 # override build-in rules, so it's not trivial to add dependencies.
2088 # See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328 for the workaround
2090 # Isn't libtool/autotools fun!
2092 installlibLTLIBRARIES = install-libLTLIBRARIES
2093 $(installlibLTLIBRARIES): install-pkglibLTLIBRARIES
2095 installmodlibexecLTLIBRARIES = install-modlibexecLTLIBRARIES
2096 $(installmodlibexecLTLIBRARIES): install-pkglibLTLIBRARIES
2098 installpadsplibLTLIBRARIES = install-padsplibLTLIBRARIES
2099 $(installpadsplibLTLIBRARIES): install-libLTLIBRARIES
2104 @echo "Don't forget to run 'make check' before generating coverage stats."
2106 lcov --capture --directory . --output-file $(builddir)/gcov-all.info
2107 -rm -r $(builddir)/coverage
2108 genhtml --output-directory $(builddir)/coverage gcov-all.info
2110 @echo "Coverage data now available at: $(abs_builddir)/coverage/index.html"
2114 @echo "To generate coverage stats, rerun configure with '--enable-gcov',"
2115 @echo "and don't forget to disable it again for regular builds."
2119 .PHONY: massif update-all update-ffmpeg update-map-file coverage