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 pulseconfdir=$(sysconfdir)/pulse
29 pulselibexecdir=$(libexecdir)/pulse
31 xdgautostartdir=$(sysconfdir)/xdg/autostart
34 alsaprofilesetsdir=$(datadir)/pulseaudio/alsa-mixer/profile-sets
35 alsapathsdir=$(datadir)/pulseaudio/alsa-mixer/paths
38 dbuspolicydir=$(sysconfdir)/dbus-1/system.d
41 ###################################
43 ###################################
45 PA_BINARY=$(bindir)/pulseaudio$(EXEEXT)
46 PA_DEFAULT_CONFIG_DIR=$(pulseconfdir)
48 ###################################
49 # Compiler/linker flags #
50 ###################################
54 -I$(top_srcdir)/src/modules \
55 -I$(top_builddir)/src/modules \
56 $(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS \
57 -DPA_BUILDDIR=\"$(abs_builddir)\" \
58 -DPA_DLSEARCHPATH=\"$(modlibexecdir)\" \
59 -DPA_DEFAULT_CONFIG_DIR=\"$(PA_DEFAULT_CONFIG_DIR)\" \
60 -DPA_BINARY=\"$(PA_BINARY)\" \
61 -DPA_SYSTEM_RUNTIME_PATH=\"$(PA_SYSTEM_RUNTIME_PATH)\" \
62 -DPA_SYSTEM_CONFIG_PATH=\"$(PA_SYSTEM_CONFIG_PATH)\" \
63 -DPA_SYSTEM_STATE_PATH=\"$(PA_SYSTEM_STATE_PATH)\" \
65 -DPULSE_LOCALEDIR=\"$(pulselocaledir)\" \
66 -DPA_MACHINE_ID=\"$(localstatedir)/lib/dbus/machine-id\" \
67 -DPA_ALSA_PATHS_DIR=\"$(alsapathsdir)\" \
68 -DPA_ALSA_PROFILE_SETS_DIR=\"$(alsaprofilesetsdir)\"
70 AM_LIBADD = $(PTHREAD_LIBS) $(INTLLIBS)
71 AM_LDADD = $(PTHREAD_LIBS) $(INTLLIBS)
72 AM_LDFLAGS = $(NODELETE_LDFLAGS)
79 AM_LDFLAGS+=-Wl,--export-all-symbols,--enable-auto-import -no-undefined
80 WINSOCK_LIBS=-lwsock32 -lws2_32 -lwininet
84 AM_LDFLAGS+=-headerpad_max_install_names
88 MODULE_LDFLAGS = $(AM_LDFLAGS) -module -disable-static -avoid-version $(LDFLAGS_NOUNDEFINED)
89 MODULE_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
91 ###################################
93 ###################################
96 pulse/client.conf.in \
98 daemon/daemon.conf.in \
99 daemon/default.pa.in \
100 daemon/system.pa.in \
101 daemon/default.pa.win32 \
103 daemon/esdcompat.in \
104 daemon/start-pulseaudio-x11.in \
105 daemon/start-pulseaudio-kde.in \
108 modules/module-defs.h.m4 \
109 daemon/pulseaudio.desktop.in \
110 daemon/pulseaudio-kde.desktop.in \
112 daemon/pulseaudio-system.conf \
113 modules/echo-cancel/adrian-license.txt
123 daemon/pulseaudio-system.conf
127 xdgautostart_in_files = \
128 daemon/pulseaudio.desktop.in \
129 daemon/pulseaudio-kde.desktop.in
130 xdgautostart_DATA = $(xdgautostart_in_files:.desktop.in=.desktop)
131 @INTLTOOL_DESKTOP_RULE@
135 ###################################
137 ###################################
141 include $(top_srcdir)/orc.mak
144 ###################################
146 ###################################
148 bin_PROGRAMS = pulseaudio
150 pulseaudio_SOURCES = \
151 daemon/caps.c daemon/caps.h \
152 daemon/cmdline.c daemon/cmdline.h \
153 daemon/cpulimit.c daemon/cpulimit.h \
154 daemon/daemon-conf.c daemon/daemon-conf.h \
155 daemon/dumpmodules.c daemon/dumpmodules.h \
156 daemon/ltdl-bind-now.c daemon/ltdl-bind-now.h \
159 pulseaudio_CFLAGS = $(AM_CFLAGS) $(CAP_CFLAGS)
160 pulseaudio_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(LIBLTDL) $(CAP_LIBS)
161 # This is needed because automake doesn't properly expand the foreach below
162 pulseaudio_DEPENDENCIES = libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(PREOPEN_LIBS)
165 pulseaudio_CFLAGS += $(DBUS_CFLAGS)
166 pulseaudio_SOURCES += daemon/server-lookup.c daemon/server-lookup.h
167 pulseaudio_LDADD += $(DBUS_LIBS)
171 PREOPEN_LIBS = $(PREOPEN_MODS)
173 PREOPEN_LIBS = $(modlibexec_LTLIBRARIES)
177 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(IMMEDIATE_LDFLAGS) -dlpreopen force $(foreach f,$(PREOPEN_LIBS),-dlpreopen $(f))
179 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(IMMEDIATE_LDFLAGS) -dlopen force $(foreach f,$(PREOPEN_LIBS),-dlopen $(f))
182 ###################################
184 ###################################
186 bin_SCRIPTS = esdcompat
193 bin_PROGRAMS += pasuspender
197 bin_PROGRAMS += pacmd
201 bin_PROGRAMS += pax11publish
202 bin_SCRIPTS += start-pulseaudio-x11 start-pulseaudio-kde
206 bin_PROGRAMS += pabrowse
209 pacat_SOURCES = utils/pacat.c
210 pacat_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(LIBSNDFILE_LIBS)
211 pacat_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
212 pacat_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
214 pactl_SOURCES = utils/pactl.c
215 pactl_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(LIBSNDFILE_LIBS)
216 pactl_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
217 pactl_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
219 pasuspender_SOURCES = utils/pasuspender.c
220 pasuspender_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
221 pasuspender_CFLAGS = $(AM_CFLAGS)
222 pasuspender_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
224 pacmd_SOURCES = utils/pacmd.c
225 pacmd_CFLAGS = $(AM_CFLAGS)
226 pacmd_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
227 pacmd_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
229 pax11publish_SOURCES = utils/pax11publish.c
230 pax11publish_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
231 pax11publish_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(X11_LIBS)
232 pax11publish_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
234 pabrowse_SOURCES = utils/pabrowse.c
235 pabrowse_LDADD = $(AM_LDADD) libpulse.la libpulse-browse.la libpulsecommon-@PA_MAJORMINOR@.la
236 pabrowse_CFLAGS = $(AM_CFLAGS)
237 pabrowse_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
239 ###################################
241 ###################################
243 # missing: mcalign-test flist-test pacat-simple parec-simple sync-playback rtstutter stripnul interpol-test thread-test connect-stress
253 thread-mainloop-test \
255 get-binary-name-test \
269 lock-autospawn-test \
285 thread-mainloop-test \
287 get-binary-name-test \
305 lock-autospawn-test \
351 if BUILD_TESTS_DEFAULT
352 noinst_PROGRAMS = $(TESTS_BINARIES)
354 check_PROGRAMS = $(TESTS_BINARIES)
357 mainloop_test_SOURCES = tests/mainloop-test.c
358 mainloop_test_CFLAGS = $(AM_CFLAGS)
359 mainloop_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
360 mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
362 thread_mainloop_test_SOURCES = tests/thread-mainloop-test.c
363 thread_mainloop_test_CFLAGS = $(AM_CFLAGS)
364 thread_mainloop_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
365 thread_mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
367 utf8_test_SOURCES = tests/utf8-test.c
368 utf8_test_CFLAGS = $(AM_CFLAGS)
369 utf8_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
370 utf8_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
372 get_binary_name_test_SOURCES = tests/get-binary-name-test.c
373 get_binary_name_test_CFLAGS = $(AM_CFLAGS)
374 get_binary_name_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
375 get_binary_name_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
377 ipacl_test_SOURCES = tests/ipacl-test.c
378 ipacl_test_CFLAGS = $(AM_CFLAGS)
379 ipacl_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
380 ipacl_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
382 hook_list_test_SOURCES = tests/hook-list-test.c
383 hook_list_test_CFLAGS = $(AM_CFLAGS)
384 hook_list_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
385 hook_list_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
387 memblock_test_SOURCES = tests/memblock-test.c
388 memblock_test_CFLAGS = $(AM_CFLAGS)
389 memblock_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
390 memblock_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
392 thread_test_SOURCES = tests/thread-test.c
393 thread_test_CFLAGS = $(AM_CFLAGS)
394 thread_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
395 thread_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
397 once_test_SOURCES = tests/once-test.c
398 once_test_CFLAGS = $(AM_CFLAGS)
399 once_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
400 once_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
402 flist_test_SOURCES = tests/flist-test.c
403 flist_test_CFLAGS = $(AM_CFLAGS)
404 flist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
405 flist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
407 asyncq_test_SOURCES = tests/asyncq-test.c
408 asyncq_test_CFLAGS = $(AM_CFLAGS)
409 asyncq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
410 asyncq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
412 asyncmsgq_test_SOURCES = tests/asyncmsgq-test.c
413 asyncmsgq_test_CFLAGS = $(AM_CFLAGS)
414 asyncmsgq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
415 asyncmsgq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
417 queue_test_SOURCES = tests/queue-test.c
418 queue_test_CFLAGS = $(AM_CFLAGS)
419 queue_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
420 queue_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
422 rtpoll_test_SOURCES = tests/rtpoll-test.c
423 rtpoll_test_CFLAGS = $(AM_CFLAGS)
424 rtpoll_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
425 rtpoll_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
427 mcalign_test_SOURCES = tests/mcalign-test.c
428 mcalign_test_CFLAGS = $(AM_CFLAGS)
429 mcalign_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
430 mcalign_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
432 pacat_simple_SOURCES = tests/pacat-simple.c
433 pacat_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la libpulsecommon-@PA_MAJORMINOR@.la
434 pacat_simple_CFLAGS = $(AM_CFLAGS)
435 pacat_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
437 parec_simple_SOURCES = tests/parec-simple.c
438 parec_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la libpulsecommon-@PA_MAJORMINOR@.la
439 parec_simple_CFLAGS = $(AM_CFLAGS)
440 parec_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
442 strlist_test_SOURCES = tests/strlist-test.c
443 strlist_test_CFLAGS = $(AM_CFLAGS)
444 strlist_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
445 strlist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
447 close_test_SOURCES = tests/close-test.c
448 close_test_CFLAGS = $(AM_CFLAGS)
449 close_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
450 close_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
452 voltest_SOURCES = tests/voltest.c
453 voltest_CFLAGS = $(AM_CFLAGS)
454 voltest_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
455 voltest_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
457 vector_test_SOURCES = tests/vector-test.c
458 vector_test_CFLAGS = $(AM_CFLAGS)
459 vector_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
460 vector_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
462 channelmap_test_SOURCES = tests/channelmap-test.c
463 channelmap_test_CFLAGS = $(AM_CFLAGS)
464 channelmap_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
465 channelmap_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
467 cpulimit_test_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
468 cpulimit_test_CFLAGS = $(AM_CFLAGS)
469 cpulimit_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
470 cpulimit_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
472 cpulimit_test2_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
473 cpulimit_test2_CFLAGS = $(AM_CFLAGS) -DTEST2
474 cpulimit_test2_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
475 cpulimit_test2_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
477 mainloop_test_glib_SOURCES = $(mainloop_test_SOURCES)
478 mainloop_test_glib_CFLAGS = $(mainloop_test_CFLAGS) $(GLIB20_CFLAGS) -DGLIB_MAIN_LOOP
479 mainloop_test_glib_LDADD = $(mainloop_test_LDADD) $(GLIB20_LIBS) libpulse-mainloop-glib.la
480 mainloop_test_glib_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
482 memblockq_test_SOURCES = tests/memblockq-test.c
483 memblockq_test_CFLAGS = $(AM_CFLAGS)
484 memblockq_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
485 memblockq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
487 sync_playback_SOURCES = tests/sync-playback.c
488 sync_playback_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
489 sync_playback_CFLAGS = $(AM_CFLAGS)
490 sync_playback_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
492 interpol_test_SOURCES = tests/interpol-test.c
493 interpol_test_LDADD = $(AM_LDADD) libpulse.la libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
494 interpol_test_CFLAGS = $(AM_CFLAGS)
495 interpol_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
497 sig2str_test_SOURCES = tests/sig2str-test.c
498 sig2str_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
499 sig2str_test_CFLAGS = $(AM_CFLAGS)
500 sig2str_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
502 resampler_test_SOURCES = tests/resampler-test.c
503 resampler_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
504 resampler_test_CFLAGS = $(AM_CFLAGS)
505 resampler_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
507 mix_test_SOURCES = tests/mix-test.c
508 mix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
509 mix_test_CFLAGS = $(AM_CFLAGS)
510 mix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
512 remix_test_SOURCES = tests/remix-test.c
513 remix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
514 remix_test_CFLAGS = $(AM_CFLAGS)
515 remix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
517 smoother_test_SOURCES = tests/smoother-test.c
518 smoother_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
519 smoother_test_CFLAGS = $(AM_CFLAGS)
520 smoother_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
522 proplist_test_SOURCES = tests/proplist-test.c
523 proplist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
524 proplist_test_CFLAGS = $(AM_CFLAGS)
525 proplist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
527 rtstutter_SOURCES = tests/rtstutter.c
528 rtstutter_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
529 rtstutter_CFLAGS = $(AM_CFLAGS)
530 rtstutter_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
532 stripnul_SOURCES = tests/stripnul.c
533 stripnul_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
534 stripnul_CFLAGS = $(AM_CFLAGS)
535 stripnul_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
537 lock_autospawn_test_SOURCES = tests/lock-autospawn-test.c
538 lock_autospawn_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
539 lock_autospawn_test_CFLAGS = $(AM_CFLAGS)
540 lock_autospawn_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
542 prioq_test_SOURCES = tests/prioq-test.c
543 prioq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
544 prioq_test_CFLAGS = $(AM_CFLAGS)
545 prioq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
547 sigbus_test_SOURCES = tests/sigbus-test.c
548 sigbus_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
549 sigbus_test_CFLAGS = $(AM_CFLAGS)
550 sigbus_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
552 gtk_test_SOURCES = tests/gtk-test.c
553 gtk_test_LDADD = $(AM_LDADD) libpulse.la libpulse-mainloop-glib.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
554 gtk_test_CFLAGS = $(AM_CFLAGS) $(GTK20_CFLAGS)
555 gtk_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(GTK20_LIBS)
557 alsa_time_test_SOURCES = tests/alsa-time-test.c
558 alsa_time_test_LDADD = $(AM_LDADD)
559 alsa_time_test_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
560 alsa_time_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(ASOUNDLIB_LIBS)
562 usergroup_test_SOURCES = tests/usergroup-test.c
563 usergroup_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
564 usergroup_test_CFLAGS = $(AM_CFLAGS)
565 usergroup_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
567 connect_stress_SOURCES = tests/connect-stress.c
568 connect_stress_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
569 connect_stress_CFLAGS = $(AM_CFLAGS)
570 connect_stress_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
573 ###################################
575 ###################################
578 libpulsecommon-@PA_MAJORMINOR@.la
580 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES = \
581 pulse/client-conf.c pulse/client-conf.h \
582 pulse/i18n.c pulse/i18n.h \
583 pulse/fork-detect.c pulse/fork-detect.h \
584 pulse/xmalloc.c pulse/xmalloc.h \
585 pulse/proplist.c pulse/proplist.h \
586 pulse/utf8.c pulse/utf8.h \
587 pulse/channelmap.c pulse/channelmap.h \
588 pulse/sample.c pulse/sample.h \
589 pulse/util.c pulse/util.h \
590 pulse/timeval.c pulse/timeval.h \
591 pulse/rtclock.c pulse/rtclock.h \
593 pulsecore/authkey.c pulsecore/authkey.h \
594 pulsecore/conf-parser.c pulsecore/conf-parser.h \
595 pulsecore/core-error.c pulsecore/core-error.h \
596 pulsecore/core-rtclock.c pulsecore/core-rtclock.h \
597 pulsecore/core-util.c pulsecore/core-util.h \
599 pulsecore/dynarray.c pulsecore/dynarray.h \
600 pulsecore/endianmacros.h \
601 pulsecore/flist.c pulsecore/flist.h \
602 pulsecore/hashmap.c pulsecore/hashmap.h \
603 pulsecore/idxset.c pulsecore/idxset.h \
604 pulsecore/arpa-inet.c pulsecore/arpa-inet.h \
605 pulsecore/iochannel.c pulsecore/iochannel.h \
606 pulsecore/ioline.c pulsecore/ioline.h \
607 pulsecore/ipacl.h pulsecore/ipacl.c \
609 pulsecore/lock-autospawn.c pulsecore/lock-autospawn.h \
610 pulsecore/log.c pulsecore/log.h \
611 pulsecore/ratelimit.c pulsecore/ratelimit.h \
612 pulsecore/macro.h pulsecore/vector.h \
613 pulsecore/mcalign.c pulsecore/mcalign.h \
614 pulsecore/memblock.c pulsecore/memblock.h \
615 pulsecore/memblockq.c pulsecore/memblockq.h \
616 pulsecore/memchunk.c pulsecore/memchunk.h \
617 pulsecore/native-common.h \
618 pulsecore/once.c pulsecore/once.h \
619 pulsecore/packet.c pulsecore/packet.h \
620 pulsecore/parseaddr.c pulsecore/parseaddr.h \
621 pulsecore/pdispatch.c pulsecore/pdispatch.h \
622 pulsecore/pid.c pulsecore/pid.h \
623 pulsecore/pipe.c pulsecore/pipe.h \
624 pulsecore/poll.c pulsecore/poll.h \
625 pulsecore/prioq.c pulsecore/prioq.h \
626 pulsecore/memtrap.c pulsecore/memtrap.h \
627 pulsecore/aupdate.c pulsecore/aupdate.h \
628 pulsecore/proplist-util.c pulsecore/proplist-util.h \
629 pulsecore/pstream-util.c pulsecore/pstream-util.h \
630 pulsecore/pstream.c pulsecore/pstream.h \
631 pulsecore/queue.c pulsecore/queue.h \
632 pulsecore/random.c pulsecore/random.h \
634 pulsecore/shm.c pulsecore/shm.h \
635 pulsecore/bitset.c pulsecore/bitset.h \
636 pulsecore/socket-client.c pulsecore/socket-client.h \
637 pulsecore/socket-server.c pulsecore/socket-server.h \
638 pulsecore/socket-util.c pulsecore/socket-util.h \
639 pulsecore/strbuf.c pulsecore/strbuf.h \
640 pulsecore/strlist.c pulsecore/strlist.h \
641 pulsecore/tagstruct.c pulsecore/tagstruct.h \
642 pulsecore/time-smoother.c pulsecore/time-smoother.h \
643 pulsecore/tokenizer.c pulsecore/tokenizer.h \
644 pulsecore/usergroup.c pulsecore/usergroup.h \
645 pulsecore/sndfile-util.c pulsecore/sndfile-util.h \
648 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSNDFILE_CFLAGS)
649 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
650 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) $(LIBWRAP_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) $(LIBSAMPLERATE_LIBS) $(LIBSNDFILE_LIBS)
653 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulse/client-conf-x11.c pulse/client-conf-x11.h
654 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
655 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
658 # proplist-util.h uses these header files, but not the library itself!
659 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(GLIB20_CFLAGS) $(GTK20_CFLAGS)
661 ## Please note that libpulsecommon implicitly also depends on<
662 ## libpulse! i.e. we have a cyclic dependancy here. Which is intended
663 ## since libpulse only includes stable, official APIs, while
664 ## libpulsecommon only includes unofficial APIs.
667 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
668 pulsecore/mutex-win32.c pulsecore/mutex.h \
669 pulsecore/thread-win32.c pulsecore/thread.h \
670 pulsecore/semaphore-win32.c pulsecore/semaphore.h
673 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
674 pulsecore/mutex-posix.c pulsecore/mutex.h \
675 pulsecore/thread-posix.c pulsecore/thread.h \
676 pulsecore/semaphore-osx.c pulsecore/semaphore.h
677 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += "-I/Developer/Headers/FlatCarbon/"
678 #libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += "-framework CoreServices"
680 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
681 pulsecore/mutex-posix.c pulsecore/mutex.h \
682 pulsecore/thread-posix.c pulsecore/thread.h \
683 pulsecore/semaphore-posix.c pulsecore/semaphore.h
688 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulsecore/x11prop.c pulsecore/x11prop.h
689 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
690 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
694 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(LIBASYNCNS_CFLAGS)
695 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD += $(LIBASYNCNS_LIBS)
699 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulsecore/dllmain.c
703 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
704 pulsecore/dbus-util.c pulsecore/dbus-util.h \
705 pulsecore/rtkit.c pulsecore/rtkit.h
706 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(DBUS_CFLAGS)
707 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD += $(DBUS_LIBS)
710 ###################################
712 ###################################
714 pulseinclude_HEADERS = \
720 pulse/ext-device-manager.h \
721 pulse/ext-stream-restore.h \
724 pulse/mainloop-api.h \
725 pulse/mainloop-signal.h \
736 pulse/thread-mainloop.h \
749 pulseinclude_HEADERS += \
757 pulseinclude_HEADERS += \
758 pulse/glib-mainloop.h
761 libpulse-mainloop-glib.la
765 libpulse_la_SOURCES = \
767 pulse/channelmap.c pulse/channelmap.h \
768 pulse/context.c pulse/context.h \
770 pulse/error.c pulse/error.h \
771 pulse/ext-device-manager.c pulse/ext-device-manager.h \
772 pulse/ext-stream-restore.c pulse/ext-stream-restore.h \
775 pulse/introspect.c pulse/introspect.h \
776 pulse/mainloop-api.c pulse/mainloop-api.h \
777 pulse/mainloop-signal.c pulse/mainloop-signal.h \
778 pulse/mainloop.c pulse/mainloop.h \
779 pulse/operation.c pulse/operation.h \
780 pulse/proplist.c pulse/proplist.h \
782 pulse/rtclock.c pulse/rtclock.h \
783 pulse/sample.c pulse/sample.h \
784 pulse/scache.c pulse/scache.h \
785 pulse/stream.c pulse/stream.h \
786 pulse/subscribe.c pulse/subscribe.h \
787 pulse/thread-mainloop.c pulse/thread-mainloop.h \
788 pulse/timeval.c pulse/timeval.h \
789 pulse/utf8.c pulse/utf8.h \
790 pulse/util.c pulse/util.h \
791 pulse/volume.c pulse/volume.h \
792 pulse/xmalloc.c pulse/xmalloc.h
794 libpulse_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
795 libpulse_la_LIBADD = $(AM_LIBADD) $(WINSOCK_LIBS) $(LTLIBICONV) libpulsecommon-@PA_MAJORMINOR@.la
796 libpulse_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_VERSION_INFO)
798 libpulse_simple_la_SOURCES = pulse/simple.c pulse/simple.h
799 libpulse_simple_la_CFLAGS = $(AM_CFLAGS)
800 libpulse_simple_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
801 libpulse_simple_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_SIMPLE_VERSION_INFO)
803 libpulse_browse_la_SOURCES = pulse/browser.c pulse/browser.h pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
804 libpulse_browse_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
805 libpulse_browse_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(AVAHI_LIBS)
806 libpulse_browse_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_BROWSE_VERSION_INFO)
808 libpulse_mainloop_glib_la_SOURCES = pulse/glib-mainloop.h pulse/glib-mainloop.c
809 libpulse_mainloop_glib_la_CFLAGS = $(AM_CFLAGS) $(GLIB20_CFLAGS)
810 libpulse_mainloop_glib_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(GLIB20_LIBS)
811 libpulse_mainloop_glib_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_MAINLOOP_GLIB_VERSION_INFO)
813 ###################################
815 ###################################
818 lib_LTLIBRARIES += libpulsedsp.la
819 bin_SCRIPTS += utils/padsp
822 libpulsedsp_la_SOURCES = utils/padsp.c
823 libpulsedsp_la_CFLAGS = $(AM_CFLAGS)
824 libpulsedsp_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
825 libpulsedsp_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version -disable-static
827 ###################################
828 # Daemon core library #
829 ###################################
831 lib_LTLIBRARIES += libpulsecore-@PA_MAJORMINOR@.la
834 libpulsecore_@PA_MAJORMINOR@_la_SOURCES = \
835 pulsecore/asyncmsgq.c pulsecore/asyncmsgq.h \
836 pulsecore/asyncq.c pulsecore/asyncq.h \
837 pulsecore/auth-cookie.c pulsecore/auth-cookie.h \
838 pulsecore/cli-command.c pulsecore/cli-command.h \
839 pulsecore/cli-text.c pulsecore/cli-text.h \
840 pulsecore/client.c pulsecore/client.h \
841 pulsecore/card.c pulsecore/card.h \
842 pulsecore/core-scache.c pulsecore/core-scache.h \
843 pulsecore/core-subscribe.c pulsecore/core-subscribe.h \
844 pulsecore/core.c pulsecore/core.h \
845 pulsecore/fdsem.c pulsecore/fdsem.h \
846 pulsecore/g711.c pulsecore/g711.h \
847 pulsecore/hook-list.c pulsecore/hook-list.h \
848 pulsecore/ltdl-helper.c pulsecore/ltdl-helper.h \
849 pulsecore/modargs.c pulsecore/modargs.h \
850 pulsecore/modinfo.c pulsecore/modinfo.h \
851 pulsecore/module.c pulsecore/module.h \
852 pulsecore/msgobject.c pulsecore/msgobject.h \
853 pulsecore/namereg.c pulsecore/namereg.h \
854 pulsecore/object.c pulsecore/object.h \
855 pulsecore/play-memblockq.c pulsecore/play-memblockq.h \
856 pulsecore/play-memchunk.c pulsecore/play-memchunk.h \
857 pulsecore/remap.c pulsecore/remap.h \
858 pulsecore/remap_mmx.c pulsecore/remap_sse.c \
859 pulsecore/resampler.c pulsecore/resampler.h \
860 pulsecore/rtpoll.c pulsecore/rtpoll.h \
861 pulsecore/sample-util.c pulsecore/sample-util.h \
863 pulsecore/cpu-arm.c pulsecore/cpu-arm.h \
864 pulsecore/cpu-x86.c pulsecore/cpu-x86.h \
865 pulsecore/cpu-orc.c pulsecore/cpu-orc.h \
866 pulsecore/svolume_c.c pulsecore/svolume_arm.c \
867 pulsecore/svolume_mmx.c pulsecore/svolume_sse.c \
868 pulsecore/sconv-s16be.c pulsecore/sconv-s16be.h \
869 pulsecore/sconv-s16le.c pulsecore/sconv-s16le.h \
870 pulsecore/sconv_sse.c \
871 pulsecore/sconv.c pulsecore/sconv.h \
872 pulsecore/shared.c pulsecore/shared.h \
873 pulsecore/shm.c pulsecore/shm.h \
874 pulsecore/sink-input.c pulsecore/sink-input.h \
875 pulsecore/sink.c pulsecore/sink.h \
876 pulsecore/sioman.c pulsecore/sioman.h \
877 pulsecore/sound-file-stream.c pulsecore/sound-file-stream.h \
878 pulsecore/sound-file.c pulsecore/sound-file.h \
879 pulsecore/source-output.c pulsecore/source-output.h \
880 pulsecore/source.c pulsecore/source.h \
881 pulsecore/start-child.c pulsecore/start-child.h \
882 pulsecore/thread-mq.c pulsecore/thread-mq.h \
883 pulsecore/time-smoother.c pulsecore/time-smoother.h \
886 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSPEEX_CFLAGS) $(LIBSNDFILE_CFLAGS) $(WINSOCK_CFLAGS)
887 libpulsecore_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
888 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
891 ORC_SOURCE += pulsecore/svolume
892 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/svolume_orc.c
893 nodist_libpulsecore_@PA_MAJORMINOR@_la_SOURCES = pulsecore/svolume-orc-gen.c pulsecore/svolume-orc-gen.h
894 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(ORC_CFLAGS)
895 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(ORC_LIBS)
899 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/x11wrap.c pulsecore/x11wrap.h
900 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
901 libpulsecore_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
905 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += \
906 pulsecore/dbus-shared.c pulsecore/dbus-shared.h \
907 pulsecore/protocol-dbus.c pulsecore/protocol-dbus.h
908 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(DBUS_CFLAGS)
909 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(DBUS_LIBS)
913 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-gdbm.c
914 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(GDBM_CFLAGS)
915 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(GDBM_LIBS)
919 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-tdb.c
920 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(TDB_CFLAGS)
921 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(TDB_LIBS)
925 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-simple.c
928 # We split the foreign code off to not be annoyed by warnings we don't care about
929 noinst_LTLIBRARIES = libpulsecore-foreign.la
931 libpulsecore_foreign_la_SOURCES = \
932 pulsecore/ffmpeg/resample2.c pulsecore/ffmpeg/avcodec.h pulsecore/ffmpeg/dsputil.h
934 libpulsecore_foreign_la_CFLAGS = $(AM_CFLAGS) $(FOREIGN_CFLAGS)
936 ###################################
937 # Plug-in support libraries #
938 ###################################
940 ### Warning! Due to an obscure bug in libtool/automake it is required
941 ### that the libraries in modlibexec_LTLIBRARIES are specified in-order,
942 ### i.e. libraries near the end of the list depend on libraries near
943 ### the head, and not the other way!
945 modlibexec_LTLIBRARIES = \
948 libprotocol-simple.la \
949 libprotocol-http.la \
950 libprotocol-native.la \
951 libprotocol-esound.la
953 # We need to emulate sendmsg/recvmsg to support this on Win32
955 modlibexec_LTLIBRARIES += \
960 modlibexec_LTLIBRARIES += \
964 libprotocol_simple_la_SOURCES = pulsecore/protocol-simple.c pulsecore/protocol-simple.h
965 libprotocol_simple_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
966 libprotocol_simple_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
968 libcli_la_SOURCES = pulsecore/cli.c pulsecore/cli.h
969 libcli_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
970 libcli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
972 libprotocol_cli_la_SOURCES = pulsecore/protocol-cli.c pulsecore/protocol-cli.h
973 libprotocol_cli_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
974 libprotocol_cli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la libcli.la
976 libprotocol_http_la_SOURCES = pulsecore/protocol-http.c pulsecore/protocol-http.h pulsecore/mime-type.c pulsecore/mime-type.h
977 libprotocol_http_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
978 libprotocol_http_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
980 libprotocol_native_la_SOURCES = pulsecore/protocol-native.c pulsecore/protocol-native.h pulsecore/native-common.h
981 libprotocol_native_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
982 libprotocol_native_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
984 libprotocol_esound_la_SOURCES = pulsecore/protocol-esound.c pulsecore/protocol-esound.h pulsecore/esound.h
985 libprotocol_esound_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
986 libprotocol_esound_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
988 librtp_la_SOURCES = \
989 modules/rtp/rtp.c modules/rtp/rtp.h \
990 modules/rtp/sdp.c modules/rtp/sdp.h \
991 modules/rtp/sap.c modules/rtp/sap.h \
992 modules/rtp/rtsp_client.c modules/rtp/rtsp_client.h \
993 modules/rtp/headerlist.c modules/rtp/headerlist.h
994 librtp_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
995 librtp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
997 libraop_la_SOURCES = \
998 modules/raop/raop_client.c modules/raop/raop_client.h \
999 modules/raop/base64.c modules/raop/base64.h
1000 libraop_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_CFLAGS) -I$(top_srcdir)/src/modules/rtp
1001 libraop_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
1002 libraop_la_LIBADD = $(AM_LIBADD) $(OPENSSL_LIBS) libpulsecore-@PA_MAJORMINOR@.la librtp.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1005 libavahi_wrap_la_SOURCES = pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
1006 libavahi_wrap_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
1007 libavahi_wrap_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1008 libavahi_wrap_la_LIBADD = $(AM_LIBADD) $(AVAHI_CFLAGS) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1010 ###################################
1011 # Plug-in libraries #
1012 ###################################
1015 # Serveral module (e.g. libalsa-util.la)
1016 modlibexec_LTLIBRARIES += \
1017 module-console-kit.la
1020 modlibexec_LTLIBRARIES += \
1022 module-cli-protocol-tcp.la \
1023 module-simple-protocol-tcp.la \
1024 module-null-sink.la \
1025 module-null-source.la \
1026 module-sine-source.la \
1028 module-volume-restore.la \
1029 module-device-manager.la \
1030 module-device-restore.la \
1031 module-stream-restore.la \
1032 module-card-restore.la \
1033 module-default-device-restore.la \
1034 module-always-sink.la \
1035 module-rescue-streams.la \
1036 module-intended-roles.la \
1037 module-suspend-on-idle.la \
1038 module-echo-cancel.la \
1039 module-http-protocol-tcp.la \
1041 module-native-protocol-tcp.la \
1042 module-native-protocol-fd.la \
1043 module-esound-protocol-tcp.la \
1045 module-combine-sink.la \
1046 module-remap-sink.la \
1047 module-ladspa-sink.la \
1048 module-esound-sink.la \
1049 module-tunnel-sink.la \
1050 module-tunnel-source.la \
1051 module-position-event-sounds.la \
1052 module-augment-properties.la \
1053 module-cork-music-on-phone.la \
1054 module-loopback.la \
1055 module-virtual-sink.la \
1056 module-virtual-source.la \
1057 module-switch-on-connect.la \
1058 module-filter-apply.la \
1059 module-filter-heuristics.la
1061 # See comment at librtp.la above
1063 modlibexec_LTLIBRARIES += \
1064 module-rtp-send.la \
1069 modlibexec_LTLIBRARIES += \
1070 module-cli-protocol-unix.la \
1071 module-simple-protocol-unix.la \
1072 module-http-protocol-unix.la \
1073 module-native-protocol-unix.la \
1074 module-esound-protocol-unix.la
1078 modlibexec_LTLIBRARIES += \
1079 module-pipe-sink.la \
1080 module-pipe-source.la
1084 modlibexec_LTLIBRARIES += \
1085 module-esound-compat-spawnfd.la \
1086 module-esound-compat-spawnpid.la
1090 modlibexec_LTLIBRARIES += \
1095 modlibexec_LTLIBRARIES += \
1096 module-x11-bell.la \
1097 module-x11-publish.la \
1098 module-x11-xsmp.la \
1099 module-x11-cork-request.la
1103 modlibexec_LTLIBRARIES += \
1109 modlibexec_LTLIBRARIES += \
1110 module-coreaudio-detect.la \
1111 module-coreaudio-device.la
1114 pulselibexec_PROGRAMS =
1117 modlibexec_LTLIBRARIES += \
1119 module-alsa-sink.la \
1120 module-alsa-source.la \
1123 dist_alsaprofilesets_DATA = \
1124 modules/alsa/mixer/profile-sets/default.conf \
1125 modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf \
1126 modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \
1127 modules/alsa/mixer/profile-sets/native-instruments-audio8dj.conf \
1128 modules/alsa/mixer/profile-sets/native-instruments-traktor-audio6.conf \
1129 modules/alsa/mixer/profile-sets/native-instruments-traktor-audio10.conf \
1130 modules/alsa/mixer/profile-sets/native-instruments-traktorkontrol-s4.conf \
1131 modules/alsa/mixer/profile-sets/native-instruments-korecontroller.conf
1134 dist_udevrules_DATA = \
1135 modules/alsa/mixer/profile-sets/90-pulseaudio.rules
1138 dist_alsapaths_DATA = \
1139 modules/alsa/mixer/paths/analog-input-aux.conf \
1140 modules/alsa/mixer/paths/analog-input.conf \
1141 modules/alsa/mixer/paths/analog-input.conf.common \
1142 modules/alsa/mixer/paths/analog-input-fm.conf \
1143 modules/alsa/mixer/paths/analog-input-linein.conf \
1144 modules/alsa/mixer/paths/analog-input-mic.conf \
1145 modules/alsa/mixer/paths/analog-input-dock-mic.conf \
1146 modules/alsa/mixer/paths/analog-input-front-mic.conf \
1147 modules/alsa/mixer/paths/analog-input-internal-mic.conf \
1148 modules/alsa/mixer/paths/analog-input-rear-mic.conf \
1149 modules/alsa/mixer/paths/analog-input-mic.conf.common \
1150 modules/alsa/mixer/paths/analog-input-mic-line.conf \
1151 modules/alsa/mixer/paths/analog-input-tvtuner.conf \
1152 modules/alsa/mixer/paths/analog-input-video.conf \
1153 modules/alsa/mixer/paths/analog-output.conf \
1154 modules/alsa/mixer/paths/analog-output-speaker.conf \
1155 modules/alsa/mixer/paths/analog-output.conf.common \
1156 modules/alsa/mixer/paths/analog-output-desktop-speaker.conf \
1157 modules/alsa/mixer/paths/analog-output-headphones.conf \
1158 modules/alsa/mixer/paths/analog-output-headphones-2.conf \
1159 modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf \
1160 modules/alsa/mixer/paths/analog-output-mono.conf \
1161 modules/alsa/mixer/paths/iec958-stereo-output.conf \
1162 modules/alsa/mixer/paths/iec958-passthrough-output.conf
1167 modlibexec_LTLIBRARIES += \
1172 modlibexec_LTLIBRARIES += \
1173 module-zeroconf-publish.la \
1174 module-zeroconf-discover.la
1178 modlibexec_LTLIBRARIES += \
1179 module-bonjour-publish.la
1183 modlibexec_LTLIBRARIES += \
1188 modlibexec_LTLIBRARIES += \
1189 module-mmkbd-evdev.la
1193 modlibexec_LTLIBRARIES += \
1194 module-jack-sink.la \
1195 module-jack-source.la
1198 modlibexec_LTLIBRARIES += \
1199 module-jackdbus-detect.la
1205 modlibexec_LTLIBRARIES += \
1208 pulselibexec_PROGRAMS += \
1213 modlibexec_LTLIBRARIES += \
1218 modlibexec_LTLIBRARIES += \
1219 module-hal-detect.la
1223 modlibexec_LTLIBRARIES += \
1224 module-hal-detect.la
1228 modlibexec_LTLIBRARIES += \
1229 module-udev-detect.la
1233 modlibexec_LTLIBRARIES += \
1234 module-rygel-media-server.la \
1235 module-dbus-protocol.la
1239 modlibexec_LTLIBRARIES += \
1240 libbluetooth-util.la \
1241 module-bluetooth-proximity.la \
1242 module-bluetooth-discover.la \
1243 libbluetooth-ipc.la \
1244 libbluetooth-sbc.la \
1245 module-bluetooth-device.la
1247 pulselibexec_PROGRAMS += \
1252 modlibexec_LTLIBRARIES += \
1256 modlibexec_LTLIBRARIES += \
1257 module-raop-discover.la
1262 modlibexec_LTLIBRARIES += \
1263 module-equalizer-sink.la
1264 bin_SCRIPTS += utils/qpaeq
1267 # These are generated by an M4 script
1269 module-cli-symdef.h \
1270 module-cli-protocol-tcp-symdef.h \
1271 module-cli-protocol-unix-symdef.h \
1272 module-pipe-sink-symdef.h \
1273 module-pipe-source-symdef.h \
1274 module-simple-protocol-tcp-symdef.h \
1275 module-simple-protocol-unix-symdef.h \
1276 module-esound-protocol-tcp-symdef.h \
1277 module-esound-protocol-unix-symdef.h \
1278 module-native-protocol-tcp-symdef.h \
1279 module-native-protocol-unix-symdef.h \
1280 module-native-protocol-fd-symdef.h \
1281 module-sine-symdef.h \
1282 module-combine-symdef.h \
1283 module-combine-sink-symdef.h \
1284 module-remap-sink-symdef.h \
1285 module-ladspa-sink-symdef.h \
1286 module-equalizer-sink-symdef.h \
1287 module-esound-compat-spawnfd-symdef.h \
1288 module-esound-compat-spawnpid-symdef.h \
1289 module-match-symdef.h \
1290 module-tunnel-sink-symdef.h \
1291 module-tunnel-source-symdef.h \
1292 module-null-sink-symdef.h \
1293 module-null-source-symdef.h \
1294 module-sine-source-symdef.h \
1295 module-esound-sink-symdef.h \
1296 module-zeroconf-publish-symdef.h \
1297 module-zeroconf-discover-symdef.h \
1298 module-bonjour-publish-symdef.h \
1299 module-lirc-symdef.h \
1300 module-mmkbd-evdev-symdef.h \
1301 module-http-protocol-tcp-symdef.h \
1302 module-http-protocol-unix-symdef.h \
1303 module-rygel-media-server-symdef.h \
1304 module-x11-bell-symdef.h \
1305 module-x11-publish-symdef.h \
1306 module-x11-xsmp-symdef.h \
1307 module-x11-cork-request-symdef.h \
1308 module-oss-symdef.h \
1309 module-alsa-sink-symdef.h \
1310 module-alsa-source-symdef.h \
1311 module-alsa-card-symdef.h \
1312 module-coreaudio-detect-symdef.h \
1313 module-coreaudio-device-symdef.h \
1314 module-solaris-symdef.h \
1315 module-waveout-symdef.h \
1316 module-detect-symdef.h \
1317 module-rtp-send-symdef.h \
1318 module-rtp-recv-symdef.h \
1319 module-jackdbus-detect-symdef.h \
1320 module-jack-sink-symdef.h \
1321 module-jack-source-symdef.h \
1322 module-volume-restore-symdef.h \
1323 module-device-manager-symdef.h \
1324 module-device-restore-symdef.h \
1325 module-stream-restore-symdef.h \
1326 module-card-restore-symdef.h \
1327 module-default-device-restore-symdef.h \
1328 module-always-sink-symdef.h \
1329 module-rescue-streams-symdef.h \
1330 module-intended-roles-symdef.h \
1331 module-suspend-on-idle-symdef.h \
1332 module-echo-cancel-symdef.h \
1333 module-hal-detect-symdef.h \
1334 module-udev-detect-symdef.h \
1335 module-bluetooth-proximity-symdef.h \
1336 module-bluetooth-discover-symdef.h \
1337 module-bluetooth-device-symdef.h \
1338 module-raop-sink-symdef.h \
1339 module-raop-discover-symdef.h \
1340 module-gconf-symdef.h \
1341 module-position-event-sounds-symdef.h \
1342 module-augment-properties-symdef.h \
1343 module-cork-music-on-phone-symdef.h \
1344 module-console-kit-symdef.h \
1345 module-dbus-protocol-symdef.h \
1346 module-loopback-symdef.h \
1347 module-virtual-sink-symdef.h \
1348 module-virtual-source-symdef.h \
1349 module-switch-on-connect-symdef.h \
1350 module-filter-apply-symdef.h \
1351 module-filter-heuristics-symdef.h
1353 EXTRA_DIST += $(SYMDEF_FILES)
1354 BUILT_SOURCES += $(SYMDEF_FILES) builddirs
1356 $(SYMDEF_FILES): modules/module-defs.h.m4
1357 $(AM_V_at)$(MKDIR_P) modules
1358 $(AM_V_GEN)$(M4) -Dfname="$@" $< > $@
1362 $(AM_V_at)$(MKDIR_P) daemon modules
1366 module_simple_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1367 module_simple_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1368 module_simple_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1369 module_simple_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-simple.la
1371 module_simple_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1372 module_simple_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1373 module_simple_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1374 module_simple_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-simple.la
1378 module_cli_la_SOURCES = modules/module-cli.c
1379 module_cli_la_LDFLAGS = $(MODULE_LDFLAGS)
1380 module_cli_la_LIBADD = $(MODULE_LIBADD) libcli.la
1382 module_cli_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1383 module_cli_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1384 module_cli_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1385 module_cli_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-cli.la
1387 module_cli_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1388 module_cli_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1389 module_cli_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1390 module_cli_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-cli.la
1394 module_http_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1395 module_http_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1396 module_http_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1397 module_http_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-http.la
1399 module_http_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1400 module_http_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1401 module_http_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1402 module_http_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-http.la
1406 module_dbus_protocol_la_SOURCES = \
1407 modules/dbus/iface-card.c modules/dbus/iface-card.h \
1408 modules/dbus/iface-card-profile.c modules/dbus/iface-card-profile.h \
1409 modules/dbus/iface-client.c modules/dbus/iface-client.h \
1410 modules/dbus/iface-core.c modules/dbus/iface-core.h \
1411 modules/dbus/iface-device.c modules/dbus/iface-device.h \
1412 modules/dbus/iface-device-port.c modules/dbus/iface-device-port.h \
1413 modules/dbus/iface-memstats.c modules/dbus/iface-memstats.h \
1414 modules/dbus/iface-module.c modules/dbus/iface-module.h \
1415 modules/dbus/iface-sample.c modules/dbus/iface-sample.h \
1416 modules/dbus/iface-stream.c modules/dbus/iface-stream.h \
1417 modules/dbus/module-dbus-protocol.c
1418 module_dbus_protocol_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1419 module_dbus_protocol_la_LDFLAGS = $(MODULE_LDFLAGS)
1420 module_dbus_protocol_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1424 module_native_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1425 module_native_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1426 module_native_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1427 module_native_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1429 module_native_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1430 module_native_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1431 module_native_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1432 module_native_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1434 module_native_protocol_fd_la_SOURCES = modules/module-native-protocol-fd.c
1435 module_native_protocol_fd_la_CFLAGS = $(AM_CFLAGS)
1436 module_native_protocol_fd_la_LDFLAGS = $(MODULE_LDFLAGS)
1437 module_native_protocol_fd_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1441 module_esound_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1442 module_esound_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1443 module_esound_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1444 module_esound_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-esound.la
1446 module_esound_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1447 module_esound_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1448 module_esound_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1449 module_esound_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-esound.la
1451 module_esound_compat_spawnfd_la_SOURCES = modules/module-esound-compat-spawnfd.c
1452 module_esound_compat_spawnfd_la_LDFLAGS = $(MODULE_LDFLAGS)
1453 module_esound_compat_spawnfd_la_LIBADD = $(MODULE_LIBADD)
1455 module_esound_compat_spawnpid_la_SOURCES = modules/module-esound-compat-spawnpid.c
1456 module_esound_compat_spawnpid_la_LDFLAGS = $(MODULE_LDFLAGS)
1457 module_esound_compat_spawnpid_la_LIBADD = $(MODULE_LIBADD)
1459 module_esound_sink_la_SOURCES = modules/module-esound-sink.c
1460 module_esound_sink_la_LDFLAGS = $(MODULE_LDFLAGS) $(WINSOCK_LIBS)
1461 module_esound_sink_la_LIBADD = $(MODULE_LIBADD)
1465 module_pipe_sink_la_SOURCES = modules/module-pipe-sink.c
1466 module_pipe_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1467 module_pipe_sink_la_LIBADD = $(MODULE_LIBADD)
1469 module_pipe_source_la_SOURCES = modules/module-pipe-source.c
1470 module_pipe_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1471 module_pipe_source_la_LIBADD = $(MODULE_LIBADD)
1473 # Fake sources/sinks
1475 module_sine_la_SOURCES = modules/module-sine.c
1476 module_sine_la_LDFLAGS = $(MODULE_LDFLAGS)
1477 module_sine_la_LIBADD = $(MODULE_LIBADD)
1479 module_null_sink_la_SOURCES = modules/module-null-sink.c
1480 module_null_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1481 module_null_sink_la_LIBADD = $(MODULE_LIBADD)
1483 module_null_source_la_SOURCES = modules/module-null-source.c
1484 module_null_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1485 module_null_source_la_LIBADD = $(MODULE_LIBADD)
1487 module_sine_source_la_SOURCES = modules/module-sine-source.c
1488 module_sine_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1489 module_sine_source_la_LIBADD = $(MODULE_LIBADD)
1493 module_combine_la_SOURCES = modules/module-combine.c
1494 module_combine_la_LDFLAGS = $(MODULE_LDFLAGS)
1495 module_combine_la_LIBADD = $(MODULE_LIBADD)
1497 module_combine_sink_la_SOURCES = modules/module-combine-sink.c
1498 module_combine_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1499 module_combine_sink_la_LIBADD = $(MODULE_LIBADD)
1501 module_switch_on_connect_la_SOURCES = modules/module-switch-on-connect.c
1502 module_switch_on_connect_la_LDFLAGS = $(MODULE_LDFLAGS)
1503 module_switch_on_connect_la_LIBADD = $(MODULE_LIBADD)
1505 module_filter_apply_la_SOURCES = modules/module-filter-apply.c
1506 module_filter_apply_la_LDFLAGS = $(MODULE_LDFLAGS)
1507 module_filter_apply_la_LIBADD = $(MODULE_LIBADD)
1509 module_filter_heuristics_la_SOURCES = modules/module-filter-heuristics.c
1510 module_filter_heuristics_la_LDFLAGS = $(MODULE_LDFLAGS)
1511 module_filter_heuristics_la_LIBADD = $(MODULE_LIBADD)
1513 module_remap_sink_la_SOURCES = modules/module-remap-sink.c
1514 module_remap_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1515 module_remap_sink_la_LIBADD = $(MODULE_LIBADD)
1517 module_ladspa_sink_la_SOURCES = modules/module-ladspa-sink.c modules/ladspa.h
1518 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)
1519 module_ladspa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1520 module_ladspa_sink_la_LIBADD = $(MODULE_LIBADD) $(LIBLTDL)
1522 module_equalizer_sink_la_SOURCES = modules/module-equalizer-sink.c
1523 module_equalizer_sink_la_CFLAGS = $(AM_CFLAGS) $(FFTW_CFLAGS)
1524 module_equalizer_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1525 module_equalizer_sink_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(FFTW_LIBS)
1527 module_match_la_SOURCES = modules/module-match.c
1528 module_match_la_LDFLAGS = $(MODULE_LDFLAGS)
1529 module_match_la_LIBADD = $(MODULE_LIBADD)
1531 module_tunnel_sink_la_SOURCES = modules/module-tunnel.c
1532 module_tunnel_sink_la_CFLAGS = -DTUNNEL_SINK=1 $(AM_CFLAGS)
1533 module_tunnel_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1534 module_tunnel_sink_la_LIBADD = $(MODULE_LIBADD)
1536 module_tunnel_source_la_SOURCES = modules/module-tunnel.c
1537 module_tunnel_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1538 module_tunnel_source_la_LIBADD = $(MODULE_LIBADD)
1540 module_loopback_la_SOURCES = modules/module-loopback.c
1541 module_loopback_la_LDFLAGS = $(MODULE_LDFLAGS)
1542 module_loopback_la_LIBADD = $(MODULE_LIBADD)
1544 module_virtual_sink_la_SOURCES = modules/module-virtual-sink.c
1545 module_virtual_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1546 module_virtual_sink_la_LIBADD = $(MODULE_LIBADD)
1548 module_virtual_source_la_SOURCES = modules/module-virtual-source.c
1549 module_virtual_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1550 module_virtual_source_la_LIBADD = $(MODULE_LIBADD)
1554 module_x11_bell_la_SOURCES = modules/x11/module-x11-bell.c
1555 module_x11_bell_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1556 module_x11_bell_la_LDFLAGS = $(MODULE_LDFLAGS)
1557 module_x11_bell_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1559 module_x11_publish_la_SOURCES = modules/x11/module-x11-publish.c
1560 module_x11_publish_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1561 module_x11_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1562 module_x11_publish_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la $(X11_LIBS)
1564 module_x11_xsmp_la_SOURCES = modules/x11/module-x11-xsmp.c
1565 module_x11_xsmp_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1566 module_x11_xsmp_la_LDFLAGS = $(MODULE_LDFLAGS)
1567 module_x11_xsmp_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1569 module_x11_cork_request_la_SOURCES = modules/x11/module-x11-cork-request.c
1570 module_x11_cork_request_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1571 module_x11_cork_request_la_LDFLAGS = $(MODULE_LDFLAGS)
1572 module_x11_cork_request_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1576 liboss_util_la_SOURCES = modules/oss/oss-util.c modules/oss/oss-util.h
1577 liboss_util_la_LDFLAGS = -avoid-version
1578 liboss_util_la_LIBADD = $(MODULE_LIBADD)
1580 module_oss_la_SOURCES = modules/oss/module-oss.c
1581 module_oss_la_LDFLAGS = $(MODULE_LDFLAGS)
1582 module_oss_la_LIBADD = $(MODULE_LIBADD) liboss-util.la
1586 module_coreaudio_detect_la_SOURCES = modules/macosx/module-coreaudio-detect.c
1587 module_coreaudio_detect_la_LDFLAGS = $(MODULE_LDFLAGS) \
1588 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1589 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1590 module_coreaudio_detect_la_LIBADD = $(MODULE_LIBADD)
1592 module_coreaudio_device_la_SOURCES = modules/macosx/module-coreaudio-device.c
1593 module_coreaudio_device_la_LDFLAGS = $(MODULE_LDFLAGS) \
1594 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1595 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1596 module_coreaudio_device_la_LIBADD = $(MODULE_LIBADD)
1600 libalsa_util_la_SOURCES = \
1601 modules/alsa/alsa-util.c modules/alsa/alsa-util.h \
1602 modules/alsa/alsa-mixer.c modules/alsa/alsa-mixer.h \
1603 modules/alsa/alsa-sink.c modules/alsa/alsa-sink.h \
1604 modules/alsa/alsa-source.c modules/alsa/alsa-source.h \
1605 modules/reserve-wrap.c modules/reserve-wrap.h
1606 libalsa_util_la_LDFLAGS = -avoid-version
1607 libalsa_util_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS)
1608 libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1611 libalsa_util_la_SOURCES += modules/hal-util.h modules/hal-util.c
1612 libalsa_util_la_LIBADD += $(HAL_LIBS)
1613 libalsa_util_la_CFLAGS += $(HAL_CFLAGS)
1617 libalsa_util_la_SOURCES += modules/udev-util.h modules/udev-util.c
1618 libalsa_util_la_LIBADD += $(UDEV_LIBS)
1619 libalsa_util_la_CFLAGS += $(UDEV_CFLAGS)
1623 libalsa_util_la_SOURCES += modules/reserve.h modules/reserve.c modules/reserve-monitor.h modules/reserve-monitor.c
1624 libalsa_util_la_LIBADD += $(DBUS_LIBS)
1625 libalsa_util_la_CFLAGS += $(DBUS_CFLAGS)
1628 module_alsa_sink_la_SOURCES = modules/alsa/module-alsa-sink.c
1629 module_alsa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1630 module_alsa_sink_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1631 module_alsa_sink_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1633 module_alsa_source_la_SOURCES = modules/alsa/module-alsa-source.c
1634 module_alsa_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1635 module_alsa_source_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1636 module_alsa_source_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1638 module_alsa_card_la_SOURCES = modules/alsa/module-alsa-card.c
1639 module_alsa_card_la_LDFLAGS = $(MODULE_LDFLAGS)
1640 module_alsa_card_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1641 module_alsa_card_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1645 module_solaris_la_SOURCES = modules/module-solaris.c
1646 module_solaris_la_LDFLAGS = $(MODULE_LDFLAGS)
1647 module_solaris_la_LIBADD = $(MODULE_LIBADD)
1651 module_zeroconf_publish_la_SOURCES = modules/module-zeroconf-publish.c
1652 module_zeroconf_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1653 module_zeroconf_publish_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libprotocol-native.la
1654 module_zeroconf_publish_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1656 module_zeroconf_discover_la_SOURCES = modules/module-zeroconf-discover.c
1657 module_zeroconf_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1658 module_zeroconf_discover_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la
1659 module_zeroconf_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1663 module_bonjour_publish_la_SOURCES = modules/macosx/module-bonjour-publish.c
1664 module_bonjour_publish_la_LDFLAGS = $(MODULE_LDFLAGS) \
1665 -Wl,-framework -Wl,CoreFoundation -framework CoreFoundation
1666 module_bonjour_publish_la_LIBADD = $(MODULE_LIBADD)
1670 module_lirc_la_SOURCES = modules/module-lirc.c
1671 module_lirc_la_LDFLAGS = $(MODULE_LDFLAGS)
1672 module_lirc_la_LIBADD = $(MODULE_LIBADD) $(LIRC_LIBS)
1673 module_lirc_la_CFLAGS = $(AM_CFLAGS) $(LIRC_CFLAGS)
1677 module_mmkbd_evdev_la_SOURCES = modules/module-mmkbd-evdev.c
1678 module_mmkbd_evdev_la_LDFLAGS = $(MODULE_LDFLAGS)
1679 module_mmkbd_evdev_la_LIBADD = $(MODULE_LIBADD)
1680 module_mmkbd_evdev_la_CFLAGS = $(AM_CFLAGS)
1683 module_waveout_la_SOURCES = modules/module-waveout.c
1684 module_waveout_la_LDFLAGS = $(MODULE_LDFLAGS)
1685 module_waveout_la_LIBADD = $(MODULE_LIBADD) -lwinmm
1686 module_waveout_la_CFLAGS = $(AM_CFLAGS)
1688 # Hardware autodetection module
1689 module_detect_la_SOURCES = modules/module-detect.c
1690 module_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1691 module_detect_la_LIBADD = $(MODULE_LIBADD)
1692 module_detect_la_CFLAGS = $(AM_CFLAGS)
1694 # Volume restore module
1695 module_volume_restore_la_SOURCES = modules/module-volume-restore.c
1696 module_volume_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1697 module_volume_restore_la_LIBADD = $(MODULE_LIBADD)
1698 module_volume_restore_la_CFLAGS = $(AM_CFLAGS)
1700 # Position event sounds in space
1701 module_position_event_sounds_la_SOURCES = modules/module-position-event-sounds.c
1702 module_position_event_sounds_la_LDFLAGS = $(MODULE_LDFLAGS)
1703 module_position_event_sounds_la_LIBADD = $(MODULE_LIBADD)
1704 module_position_event_sounds_la_CFLAGS = $(AM_CFLAGS)
1706 # Augment properties from XDG .desktop files
1707 module_augment_properties_la_SOURCES = modules/module-augment-properties.c
1708 module_augment_properties_la_LDFLAGS = $(MODULE_LDFLAGS)
1709 module_augment_properties_la_LIBADD = $(MODULE_LIBADD)
1710 #module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"$(datadir)/applications\"
1711 module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"/usr/share/applications\"
1713 # Cork music streams while a phone stream is active
1714 module_cork_music_on_phone_la_SOURCES = modules/module-cork-music-on-phone.c
1715 module_cork_music_on_phone_la_LDFLAGS = $(MODULE_LDFLAGS)
1716 module_cork_music_on_phone_la_LIBADD = $(MODULE_LIBADD)
1717 module_cork_music_on_phone_la_CFLAGS = $(AM_CFLAGS)
1719 # Device description restore module
1720 module_device_manager_la_SOURCES = modules/module-device-manager.c
1721 module_device_manager_la_LDFLAGS = $(MODULE_LDFLAGS)
1722 module_device_manager_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1723 module_device_manager_la_CFLAGS = $(AM_CFLAGS)
1725 # Device volume/muted restore module
1726 module_device_restore_la_SOURCES = modules/module-device-restore.c
1727 module_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1728 module_device_restore_la_LIBADD = $(MODULE_LIBADD)
1729 module_device_restore_la_CFLAGS = $(AM_CFLAGS)
1731 # Stream volume/muted/device restore module
1732 module_stream_restore_la_SOURCES = modules/module-stream-restore.c
1733 module_stream_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1734 module_stream_restore_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1735 module_stream_restore_la_CFLAGS = $(AM_CFLAGS)
1738 module_stream_restore_la_LIBADD += $(DBUS_LIBS)
1739 module_stream_restore_la_CFLAGS += $(DBUS_CFLAGS)
1742 # Card profile restore module
1743 module_card_restore_la_SOURCES = modules/module-card-restore.c
1744 module_card_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1745 module_card_restore_la_LIBADD = $(MODULE_LIBADD)
1746 module_card_restore_la_CFLAGS = $(AM_CFLAGS)
1748 # Default sink/source restore module
1749 module_default_device_restore_la_SOURCES = modules/module-default-device-restore.c
1750 module_default_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1751 module_default_device_restore_la_LIBADD = $(MODULE_LIBADD)
1752 module_default_device_restore_la_CFLAGS = $(AM_CFLAGS)
1754 # Always Sink module
1755 module_always_sink_la_SOURCES = modules/module-always-sink.c
1756 module_always_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1757 module_always_sink_la_LIBADD = $(MODULE_LIBADD)
1758 module_always_sink_la_CFLAGS = $(AM_CFLAGS)
1760 # Rescue streams module
1761 module_rescue_streams_la_SOURCES = modules/module-rescue-streams.c
1762 module_rescue_streams_la_LDFLAGS = $(MODULE_LDFLAGS)
1763 module_rescue_streams_la_LIBADD = $(MODULE_LIBADD)
1764 module_rescue_streams_la_CFLAGS = $(AM_CFLAGS)
1766 # Automatically move streams to devices that are intended for their roles
1767 module_intended_roles_la_SOURCES = modules/module-intended-roles.c
1768 module_intended_roles_la_LDFLAGS = $(MODULE_LDFLAGS)
1769 module_intended_roles_la_LIBADD = $(MODULE_LIBADD)
1770 module_intended_roles_la_CFLAGS = $(AM_CFLAGS)
1772 # Suspend-on-idle module
1773 module_suspend_on_idle_la_SOURCES = modules/module-suspend-on-idle.c
1774 module_suspend_on_idle_la_LDFLAGS = $(MODULE_LDFLAGS)
1775 module_suspend_on_idle_la_LIBADD = $(MODULE_LIBADD)
1776 module_suspend_on_idle_la_CFLAGS = $(AM_CFLAGS)
1778 # echo-cancel module
1779 module_echo_cancel_la_SOURCES = \
1780 modules/echo-cancel/module-echo-cancel.c modules/echo-cancel/echo-cancel.h \
1781 modules/echo-cancel/speex.c \
1782 modules/echo-cancel/adrian-aec.c modules/echo-cancel/adrian-aec.h \
1783 modules/echo-cancel/adrian.c modules/echo-cancel/adrian.h
1784 module_echo_cancel_la_LDFLAGS = $(MODULE_LDFLAGS)
1785 module_echo_cancel_la_LIBADD = $(MODULE_LIBADD) $(LIBSPEEX_LIBS)
1786 module_echo_cancel_la_CFLAGS = $(AM_CFLAGS) $(LIBSPEEX_CFLAGS)
1788 ORC_SOURCE += modules/echo-cancel/adrian-aec
1789 nodist_module_echo_cancel_la_SOURCES = \
1790 modules/echo-cancel/adrian-aec-orc-gen.c \
1791 modules/echo-cancel/adrian-aec-orc-gen.h
1792 module_echo_cancel_la_LIBADD += $(ORC_LIBS)
1793 module_echo_cancel_la_CFLAGS += $(ORC_CFLAGS) -I$(top_builddir)/src/modules/echo-cancel
1797 module_rtp_send_la_SOURCES = modules/rtp/module-rtp-send.c
1798 module_rtp_send_la_LDFLAGS = $(MODULE_LDFLAGS)
1799 module_rtp_send_la_LIBADD = $(MODULE_LIBADD) librtp.la
1800 module_rtp_send_la_CFLAGS = $(AM_CFLAGS)
1802 module_rtp_recv_la_SOURCES = modules/rtp/module-rtp-recv.c
1803 module_rtp_recv_la_LDFLAGS = $(MODULE_LDFLAGS)
1804 module_rtp_recv_la_LIBADD = $(MODULE_LIBADD) librtp.la
1805 module_rtp_recv_la_CFLAGS = $(AM_CFLAGS)
1809 module_jackdbus_detect_la_SOURCES = modules/jack/module-jackdbus-detect.c
1810 module_jackdbus_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1811 module_jackdbus_detect_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(JACK_LIBS)
1812 module_jackdbus_detect_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) $(JACK_CFLAGS)
1814 module_jack_sink_la_SOURCES = modules/jack/module-jack-sink.c
1815 module_jack_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1816 module_jack_sink_la_LIBADD = $(MODULE_LIBADD) $(JACK_LIBS)
1817 module_jack_sink_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1819 module_jack_source_la_SOURCES = modules/jack/module-jack-source.c
1820 module_jack_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1821 module_jack_source_la_LIBADD = $(MODULE_LIBADD) $(JACK_LIBS)
1822 module_jack_source_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1825 module_hal_detect_la_SOURCES = modules/module-hal-detect-compat.c
1826 module_hal_detect_la_LIBADD = $(MODULE_LIBADD)
1827 module_hal_detect_la_CFLAGS = $(AM_CFLAGS)
1829 module_hal_detect_la_SOURCES = modules/module-hal-detect.c
1830 module_hal_detect_la_LIBADD = $(MODULE_LIBADD) $(HAL_LIBS)
1831 module_hal_detect_la_CFLAGS = $(AM_CFLAGS) $(HAL_CFLAGS)
1833 module_hal_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1835 module_udev_detect_la_SOURCES = modules/module-udev-detect.c
1836 module_udev_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1837 module_udev_detect_la_LIBADD = $(MODULE_LIBADD) $(UDEV_LIBS)
1838 module_udev_detect_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
1840 module_console_kit_la_SOURCES = modules/module-console-kit.c
1841 module_console_kit_la_LDFLAGS = $(MODULE_LDFLAGS)
1842 module_console_kit_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1843 module_console_kit_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1846 module_gconf_la_SOURCES = modules/gconf/module-gconf.c
1847 module_gconf_la_LDFLAGS = $(MODULE_LDFLAGS)
1848 module_gconf_la_LIBADD = $(MODULE_LIBADD)
1849 module_gconf_la_CFLAGS = $(AM_CFLAGS) -DPA_GCONF_HELPER=\"$(pulselibexecdir)/gconf-helper\"
1851 gconf_helper_SOURCES = modules/gconf/gconf-helper.c
1852 gconf_helper_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(GCONF_LIBS)
1853 gconf_helper_CFLAGS = $(AM_CFLAGS) $(GCONF_CFLAGS)
1854 gconf_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1856 # Bluetooth proximity
1857 module_bluetooth_proximity_la_SOURCES = modules/bluetooth/module-bluetooth-proximity.c
1858 module_bluetooth_proximity_la_LDFLAGS = $(MODULE_LDFLAGS)
1859 module_bluetooth_proximity_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1860 module_bluetooth_proximity_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -DPA_BT_PROXIMITY_HELPER=\"$(pulselibexecdir)/proximity-helper\"
1862 proximity_helper_SOURCES = modules/bluetooth/proximity-helper.c
1863 proximity_helper_LDADD = $(AM_LDADD) $(BLUEZ_LIBS)
1864 proximity_helper_CFLAGS = $(AM_CFLAGS) $(BLUEZ_CFLAGS)
1865 proximity_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1867 # Bluetooth sink / source
1868 module_bluetooth_discover_la_SOURCES = modules/bluetooth/module-bluetooth-discover.c
1869 module_bluetooth_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1870 module_bluetooth_discover_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libbluetooth-util.la
1871 module_bluetooth_discover_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1873 libbluetooth_sbc_la_SOURCES = \
1874 modules/bluetooth/sbc/sbc.c modules/bluetooth/sbc/sbc.h \
1875 modules/bluetooth/sbc/sbc_primitives.c modules/bluetooth/sbc/sbc_primitives.h \
1876 modules/bluetooth/sbc/sbc_primitives_armv6.h modules/bluetooth/sbc/sbc_primitives_armv6.c \
1877 modules/bluetooth/sbc/sbc_primitives_iwmmxt.h modules/bluetooth/sbc/sbc_primitives_iwmmxt.c \
1878 modules/bluetooth/sbc/sbc_primitives_mmx.c modules/bluetooth/sbc/sbc_primitives_mmx.h \
1879 modules/bluetooth/sbc/sbc_primitives_neon.c modules/bluetooth/sbc/sbc_primitives_neon.h \
1880 modules/bluetooth/sbc/sbc_math.h \
1881 modules/bluetooth/sbc/sbc_tables.h
1882 libbluetooth_sbc_la_LDFLAGS = -avoid-version
1883 libbluetooth_sbc_la_LIBADD = $(MODULE_LIBADD)
1884 libbluetooth_sbc_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/src/modules/bluetooth/sbc
1885 BLUETOOTH_SBC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_sbc_la_SOURCES))
1887 libbluetooth_ipc_la_SOURCES = \
1888 modules/bluetooth/a2dp-codecs.h \
1889 modules/bluetooth/ipc.c modules/bluetooth/ipc.h
1890 libbluetooth_ipc_la_LDFLAGS = -avoid-version
1891 libbluetooth_ipc_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1892 libbluetooth_ipc_la_CFLAGS = $(AM_CFLAGS)
1893 BLUETOOTH_IPC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_ipc_la_SOURCES)) rtp.h
1895 libbluetooth_util_la_SOURCES = modules/bluetooth/bluetooth-util.c modules/bluetooth/bluetooth-util.h
1896 libbluetooth_util_la_LDFLAGS = -avoid-version
1897 libbluetooth_util_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1898 libbluetooth_util_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1900 module_bluetooth_device_la_SOURCES = modules/bluetooth/module-bluetooth-device.c modules/bluetooth/rtp.h
1901 module_bluetooth_device_la_LDFLAGS = $(MODULE_LDFLAGS)
1902 module_bluetooth_device_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libbluetooth-util.la libbluetooth-ipc.la libbluetooth-sbc.la
1903 module_bluetooth_device_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -I$(top_srcdir)/src/modules/bluetooth/sbc
1905 # Apple Airtunes/RAOP
1906 module_raop_sink_la_SOURCES = modules/raop/module-raop-sink.c
1907 module_raop_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1908 module_raop_sink_la_LIBADD = $(MODULE_LIBADD) librtp.la libraop.la
1909 module_raop_sink_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/src/modules/rtp
1911 module_raop_discover_la_SOURCES = modules/raop/module-raop-discover.c
1912 module_raop_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1913 module_raop_discover_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la
1914 module_raop_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1917 module_rygel_media_server_la_SOURCES = modules/module-rygel-media-server.c
1918 module_rygel_media_server_la_LDFLAGS = $(MODULE_LDFLAGS)
1919 module_rygel_media_server_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libprotocol-http.la
1920 module_rygel_media_server_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1922 ###################################
1923 # Some minor stuff #
1924 ###################################
1926 CLEANFILES += esdcompat client.conf default.pa system.pa daemon.conf start-pulseaudio-x11 start-pulseaudio-kde daemon/pulseaudio.desktop daemon/pulseaudio-kde.desktop
1928 esdcompat: daemon/esdcompat.in Makefile
1929 $(AM_V_GEN) sed -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1930 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1931 -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1932 $(AM_V_at) chmod +x esdcompat
1934 start-pulseaudio-x11: daemon/start-pulseaudio-x11.in Makefile
1935 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1936 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1937 $(AM_V_at) chmod +x start-pulseaudio-x11
1939 start-pulseaudio-kde: daemon/start-pulseaudio-kde.in Makefile
1940 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1941 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1942 $(AM_V_at) chmod +x start-pulseaudio-kde
1944 client.conf: pulse/client.conf.in Makefile
1945 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1948 default.pa: daemon/default.pa.win32
1950 system.pa: daemon/default.pa.win32
1953 default.pa: daemon/default.pa.in Makefile
1954 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1955 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1956 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1957 system.pa: daemon/system.pa.in Makefile
1958 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1959 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1960 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1963 daemon.conf: daemon/daemon.conf.in Makefile
1964 $(AM_V_GEN) sed -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1965 -e 's,@PA_DEFAULT_CONFIG_FILE\@,$(DEFAULT_CONFIG_DIR),g' < $< > $@
1968 SYMLINK_PROGRAM=cd $(DESTDIR)$(bindir) && cp
1970 SYMLINK_PROGRAM=ln -sf
1974 -chown root $(DESTDIR)$(pulselibexecdir)/proximity-helper
1975 -chmod u+s $(DESTDIR)$(pulselibexecdir)/proximity-helper
1977 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/parec$(EXEEXT)
1978 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/pamon$(EXEEXT)
1979 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/paplay$(EXEEXT)
1980 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/parecord$(EXEEXT)
1981 rm -f $(DESTDIR)$(libdir)/libpulsedsp.la
1982 rm -f $(DESTDIR)$(modlibexecdir)/*.la
1985 rm -f $(DESTDIR)$(bindir)/parec$(EXEEXT)
1986 rm -f $(DESTDIR)$(bindir)/pamon$(EXEEXT)
1987 rm -f $(DESTDIR)$(bindir)/paplay$(EXEEXT)
1988 rm -f $(DESTDIR)$(bindir)/parecord$(EXEEXT)
1989 rm -f $(DESTDIR)$(libdir)/libpulsedsp.*
1990 rm -f $(DESTDIR)$(modlibexecdir)/*.so
1993 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
1996 wget -O pulsecore/ffmpeg/resample2.c http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/resample2.c?view=co
1998 # We get things twice here, because sometimes gitweb will us just give a "Generating..." otherwise.
2000 for i in $(BLUETOOTH_SBC_FILES) ; do \
2001 wget -O /dev/null http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=$$i ; \
2002 wget -O $(top_srcdir)/src/modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=$$i ; \
2004 for i in $(BLUETOOTH_IPC_FILES); do \
2005 wget -O /dev/null http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
2006 wget -O $(top_srcdir)/src/modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
2010 for i in reserve.c reserve.h reserve-monitor.c reserve-monitor.h ; do \
2011 wget -O $(top_srcdir)/src/modules/$$i http://git.0pointer.de/\?p=reserve.git\;a=blob_plain\;f=$$i\;hb=master ; \
2015 for i in rtkit.c rtkit.h ; do \
2016 wget -O $(top_srcdir)/src/pulsecore/$$i http://git.0pointer.de/\?p=rtkit.git\;a=blob_plain\;f=$$i\;hb=master ; \
2019 # Automatically generate linker version script. We use the same one for all public .sos
2021 ( echo "PULSE_0 {" ; \
2023 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 ; \
2026 echo "};" ) > $(srcdir)/map-file
2028 update-all: update-ffmpeg update-sbc update-map-file
2030 .PHONY: utils/padsp massif update-all update-ffmpeg update-sbc update-map-file