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
30 xdgautostartdir=$(sysconfdir)/xdg/autostart
31 alsaprofilesetsdir=$(datadir)/pulseaudio/alsa-mixer/profile-sets
32 alsapathsdir=$(datadir)/pulseaudio/alsa-mixer/paths
33 dbuspolicydir=$(sysconfdir)/dbus-1/system.d
35 ###################################
37 ###################################
39 PA_BINARY=$(bindir)/pulseaudio$(EXEEXT)
41 PA_DEFAULT_CONFIG_DIR=%PULSE_ROOT%
43 PA_DEFAULT_CONFIG_DIR=$(pulseconfdir)
46 ###################################
47 # Compiler/linker flags #
48 ###################################
52 -I$(top_srcdir)/src/modules \
53 -I$(top_builddir)/src/modules \
54 $(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS \
55 -DPA_BUILDDIR=\"$(abs_builddir)\" \
56 -DPA_DLSEARCHPATH=\"$(modlibexecdir)\" \
57 -DPA_DEFAULT_CONFIG_DIR=\"$(PA_DEFAULT_CONFIG_DIR)\" \
58 -DPA_BINARY=\"$(PA_BINARY)\" \
59 -DPA_SYSTEM_RUNTIME_PATH=\"$(PA_SYSTEM_RUNTIME_PATH)\" \
60 -DPA_SYSTEM_CONFIG_PATH=\"$(PA_SYSTEM_CONFIG_PATH)\" \
61 -DPA_SYSTEM_STATE_PATH=\"$(PA_SYSTEM_STATE_PATH)\" \
63 -DPULSE_LOCALEDIR=\"$(pulselocaledir)\" \
64 -DPA_MACHINE_ID=\"$(localstatedir)/lib/dbus/machine-id\" \
65 -DPA_ALSA_PATHS_DIR=\"$(alsapathsdir)\" \
66 -DPA_ALSA_PROFILE_SETS_DIR=\"$(alsaprofilesetsdir)\"
68 AM_LIBADD = $(PTHREAD_LIBS) $(INTLLIBS)
69 AM_LDADD = $(PTHREAD_LIBS) $(INTLLIBS)
70 AM_LDFLAGS = $(NODELETE_LDFLAGS)
77 AM_LDFLAGS+=-Wl,--export-all-symbols,--enable-auto-import -no-undefined
78 WINSOCK_LIBS=-lwsock32 -lws2_32 -lwininet
82 MODULE_LDFLAGS = $(AM_LDFLAGS) -module -disable-static -avoid-version $(LDFLAGS_NOUNDEFINED)
83 MODULE_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
85 ###################################
87 ###################################
90 pulse/client.conf.in \
92 daemon/daemon.conf.in \
93 daemon/default.pa.in \
95 daemon/default.pa.win32 \
98 daemon/start-pulseaudio-x11.in \
99 daemon/start-pulseaudio-kde.in \
102 modules/module-defs.h.m4 \
103 daemon/pulseaudio.desktop.in \
104 daemon/pulseaudio-kde.desktop.in \
106 daemon/pulseaudio-system.conf \
107 modules/echo-cancel/adrian-license.txt
117 daemon/pulseaudio-system.conf
121 xdgautostart_in_files = \
122 daemon/pulseaudio.desktop.in \
123 daemon/pulseaudio-kde.desktop.in
125 xdgautostart_DATA = $(xdgautostart_in_files:.desktop.in=.desktop)
126 @INTLTOOL_DESKTOP_RULE@
129 ###################################
131 ###################################
135 include $(top_srcdir)/orc.mak
138 ###################################
140 ###################################
142 bin_PROGRAMS = pulseaudio
144 pulseaudio_SOURCES = \
145 daemon/caps.c daemon/caps.h \
146 daemon/cmdline.c daemon/cmdline.h \
147 daemon/cpulimit.c daemon/cpulimit.h \
148 daemon/daemon-conf.c daemon/daemon-conf.h \
149 daemon/dumpmodules.c daemon/dumpmodules.h \
150 daemon/ltdl-bind-now.c daemon/ltdl-bind-now.h \
153 pulseaudio_CFLAGS = $(AM_CFLAGS) $(CAP_CFLAGS)
154 pulseaudio_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(LIBLTDL) $(CAP_LIBS)
155 # This is needed because automake doesn't properly expand the foreach below
156 pulseaudio_DEPENDENCIES = libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(PREOPEN_LIBS)
159 pulseaudio_CFLAGS += $(DBUS_CFLAGS)
160 pulseaudio_SOURCES += daemon/server-lookup.c daemon/server-lookup.h
161 pulseaudio_LDADD += $(DBUS_LIBS)
165 PREOPEN_LIBS = $(PREOPEN_MODS)
167 PREOPEN_LIBS = $(modlibexec_LTLIBRARIES)
171 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(IMMEDIATE_LDFLAGS) -dlpreopen force $(foreach f,$(PREOPEN_LIBS),-dlpreopen $(f))
173 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(IMMEDIATE_LDFLAGS) -dlopen force $(foreach f,$(PREOPEN_LIBS),-dlopen $(f))
176 ###################################
178 ###################################
180 bin_SCRIPTS = esdcompat
187 bin_PROGRAMS += pasuspender
191 bin_PROGRAMS += pacmd
195 bin_PROGRAMS += pax11publish
196 bin_SCRIPTS += start-pulseaudio-x11 start-pulseaudio-kde
200 bin_PROGRAMS += pabrowse
203 pacat_SOURCES = utils/pacat.c
204 pacat_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(LIBSNDFILE_LIBS)
205 pacat_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
206 pacat_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
208 pactl_SOURCES = utils/pactl.c
209 pactl_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(LIBSNDFILE_LIBS)
210 pactl_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
211 pactl_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
213 pasuspender_SOURCES = utils/pasuspender.c
214 pasuspender_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
215 pasuspender_CFLAGS = $(AM_CFLAGS)
216 pasuspender_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
218 pacmd_SOURCES = utils/pacmd.c
219 pacmd_CFLAGS = $(AM_CFLAGS)
220 pacmd_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
221 pacmd_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
223 pax11publish_SOURCES = utils/pax11publish.c
224 pax11publish_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
225 pax11publish_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(X11_LIBS)
226 pax11publish_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
228 pabrowse_SOURCES = utils/pabrowse.c
229 pabrowse_LDADD = $(AM_LDADD) libpulse.la libpulse-browse.la libpulsecommon-@PA_MAJORMINOR@.la
230 pabrowse_CFLAGS = $(AM_CFLAGS)
231 pabrowse_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
233 ###################################
235 ###################################
237 # missing: mcalign-test flist-test pacat-simple parec-simple sync-playback rtstutter stripnul interpol-test thread-test
247 thread-mainloop-test \
249 get-binary-name-test \
264 lock-autospawn-test \
280 thread-mainloop-test \
282 get-binary-name-test \
301 lock-autospawn-test \
346 if BUILD_TESTS_DEFAULT
347 noinst_PROGRAMS = $(TESTS_BINARIES)
349 check_PROGRAMS = $(TESTS_BINARIES)
352 mainloop_test_SOURCES = tests/mainloop-test.c
353 mainloop_test_CFLAGS = $(AM_CFLAGS)
354 mainloop_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
355 mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
357 thread_mainloop_test_SOURCES = tests/thread-mainloop-test.c
358 thread_mainloop_test_CFLAGS = $(AM_CFLAGS)
359 thread_mainloop_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
360 thread_mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
362 utf8_test_SOURCES = tests/utf8-test.c
363 utf8_test_CFLAGS = $(AM_CFLAGS)
364 utf8_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
365 utf8_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
367 get_binary_name_test_SOURCES = tests/get-binary-name-test.c
368 get_binary_name_test_CFLAGS = $(AM_CFLAGS)
369 get_binary_name_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
370 get_binary_name_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
372 ipacl_test_SOURCES = tests/ipacl-test.c
373 ipacl_test_CFLAGS = $(AM_CFLAGS)
374 ipacl_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
375 ipacl_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
377 hook_list_test_SOURCES = tests/hook-list-test.c
378 hook_list_test_CFLAGS = $(AM_CFLAGS)
379 hook_list_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
380 hook_list_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
382 memblock_test_SOURCES = tests/memblock-test.c
383 memblock_test_CFLAGS = $(AM_CFLAGS)
384 memblock_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
385 memblock_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
387 thread_test_SOURCES = tests/thread-test.c
388 thread_test_CFLAGS = $(AM_CFLAGS)
389 thread_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
390 thread_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
392 once_test_SOURCES = tests/once-test.c
393 once_test_CFLAGS = $(AM_CFLAGS)
394 once_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
395 once_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
397 flist_test_SOURCES = tests/flist-test.c
398 flist_test_CFLAGS = $(AM_CFLAGS)
399 flist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
400 flist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
402 asyncq_test_SOURCES = tests/asyncq-test.c
403 asyncq_test_CFLAGS = $(AM_CFLAGS)
404 asyncq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
405 asyncq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
407 asyncmsgq_test_SOURCES = tests/asyncmsgq-test.c
408 asyncmsgq_test_CFLAGS = $(AM_CFLAGS)
409 asyncmsgq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
410 asyncmsgq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
412 queue_test_SOURCES = tests/queue-test.c
413 queue_test_CFLAGS = $(AM_CFLAGS)
414 queue_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
415 queue_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
417 rtpoll_test_SOURCES = tests/rtpoll-test.c
418 rtpoll_test_CFLAGS = $(AM_CFLAGS)
419 rtpoll_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
420 rtpoll_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
422 mcalign_test_SOURCES = tests/mcalign-test.c
423 mcalign_test_CFLAGS = $(AM_CFLAGS)
424 mcalign_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
425 mcalign_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
427 pacat_simple_SOURCES = tests/pacat-simple.c
428 pacat_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la libpulsecommon-@PA_MAJORMINOR@.la
429 pacat_simple_CFLAGS = $(AM_CFLAGS)
430 pacat_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
432 parec_simple_SOURCES = tests/parec-simple.c
433 parec_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la libpulsecommon-@PA_MAJORMINOR@.la
434 parec_simple_CFLAGS = $(AM_CFLAGS)
435 parec_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
437 strlist_test_SOURCES = tests/strlist-test.c
438 strlist_test_CFLAGS = $(AM_CFLAGS)
439 strlist_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
440 strlist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
442 close_test_SOURCES = tests/close-test.c
443 close_test_CFLAGS = $(AM_CFLAGS)
444 close_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
445 close_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
447 voltest_SOURCES = tests/voltest.c
448 voltest_CFLAGS = $(AM_CFLAGS)
449 voltest_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
450 voltest_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
452 vector_test_SOURCES = tests/vector-test.c
453 vector_test_CFLAGS = $(AM_CFLAGS)
454 vector_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
455 vector_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
457 channelmap_test_SOURCES = tests/channelmap-test.c
458 channelmap_test_CFLAGS = $(AM_CFLAGS)
459 channelmap_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
460 channelmap_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
462 cpulimit_test_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
463 cpulimit_test_CFLAGS = $(AM_CFLAGS)
464 cpulimit_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
465 cpulimit_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
467 cpulimit_test2_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
468 cpulimit_test2_CFLAGS = $(AM_CFLAGS) -DTEST2
469 cpulimit_test2_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
470 cpulimit_test2_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
472 mainloop_test_glib_SOURCES = $(mainloop_test_SOURCES)
473 mainloop_test_glib_CFLAGS = $(mainloop_test_CFLAGS) $(GLIB20_CFLAGS) -DGLIB_MAIN_LOOP
474 mainloop_test_glib_LDADD = $(mainloop_test_LDADD) $(GLIB20_LIBS) libpulse-mainloop-glib.la
475 mainloop_test_glib_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
477 memblockq_test_SOURCES = tests/memblockq-test.c
478 memblockq_test_CFLAGS = $(AM_CFLAGS)
479 memblockq_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
480 memblockq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
482 sync_playback_SOURCES = tests/sync-playback.c
483 sync_playback_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
484 sync_playback_CFLAGS = $(AM_CFLAGS)
485 sync_playback_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
487 interpol_test_SOURCES = tests/interpol-test.c
488 interpol_test_LDADD = $(AM_LDADD) libpulse.la libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
489 interpol_test_CFLAGS = $(AM_CFLAGS)
490 interpol_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
492 sig2str_test_SOURCES = tests/sig2str-test.c
493 sig2str_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
494 sig2str_test_CFLAGS = $(AM_CFLAGS)
495 sig2str_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
497 resampler_test_SOURCES = tests/resampler-test.c
498 resampler_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
499 resampler_test_CFLAGS = $(AM_CFLAGS)
500 resampler_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
502 mix_test_SOURCES = tests/mix-test.c
503 mix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
504 mix_test_CFLAGS = $(AM_CFLAGS)
505 mix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
507 remix_test_SOURCES = tests/remix-test.c
508 remix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
509 remix_test_CFLAGS = $(AM_CFLAGS)
510 remix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
512 smoother_test_SOURCES = tests/smoother-test.c
513 smoother_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
514 smoother_test_CFLAGS = $(AM_CFLAGS)
515 smoother_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
517 envelope_test_SOURCES = tests/envelope-test.c
518 envelope_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
519 envelope_test_CFLAGS = $(AM_CFLAGS)
520 envelope_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 ###################################
569 ###################################
572 libpulsecommon-@PA_MAJORMINOR@.la
574 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES = \
575 pulse/client-conf.c pulse/client-conf.h \
576 pulse/i18n.c pulse/i18n.h \
577 pulse/fork-detect.c pulse/fork-detect.h \
578 pulse/xmalloc.c pulse/xmalloc.h \
579 pulse/proplist.c pulse/proplist.h \
580 pulse/utf8.c pulse/utf8.h \
581 pulse/channelmap.c pulse/channelmap.h \
582 pulse/sample.c pulse/sample.h \
583 pulse/util.c pulse/util.h \
584 pulse/timeval.c pulse/timeval.h \
585 pulse/rtclock.c pulse/rtclock.h \
587 pulsecore/authkey.c pulsecore/authkey.h \
588 pulsecore/conf-parser.c pulsecore/conf-parser.h \
589 pulsecore/core-error.c pulsecore/core-error.h \
590 pulsecore/core-rtclock.c pulsecore/core-rtclock.h \
591 pulsecore/core-util.c pulsecore/core-util.h \
593 pulsecore/dynarray.c pulsecore/dynarray.h \
594 pulsecore/endianmacros.h \
595 pulsecore/flist.c pulsecore/flist.h \
596 pulsecore/hashmap.c pulsecore/hashmap.h \
597 pulsecore/idxset.c pulsecore/idxset.h \
598 pulsecore/inet_ntop.c pulsecore/inet_ntop.h \
599 pulsecore/inet_pton.c pulsecore/inet_pton.h \
600 pulsecore/iochannel.c pulsecore/iochannel.h \
601 pulsecore/ioline.c pulsecore/ioline.h \
602 pulsecore/ipacl.h pulsecore/ipacl.c \
604 pulsecore/lock-autospawn.c pulsecore/lock-autospawn.h \
605 pulsecore/log.c pulsecore/log.h \
606 pulsecore/ratelimit.c pulsecore/ratelimit.h \
607 pulsecore/macro.h pulsecore/vector.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/poll.c pulsecore/poll.h \
620 pulsecore/prioq.c pulsecore/prioq.h \
621 pulsecore/memtrap.c pulsecore/memtrap.h \
622 pulsecore/aupdate.c pulsecore/aupdate.h \
623 pulsecore/proplist-util.c pulsecore/proplist-util.h \
624 pulsecore/pstream-util.c pulsecore/pstream-util.h \
625 pulsecore/pstream.c pulsecore/pstream.h \
626 pulsecore/queue.c pulsecore/queue.h \
627 pulsecore/random.c pulsecore/random.h \
629 pulsecore/shm.c pulsecore/shm.h \
630 pulsecore/bitset.c pulsecore/bitset.h \
631 pulsecore/socket-client.c pulsecore/socket-client.h \
632 pulsecore/socket-server.c pulsecore/socket-server.h \
633 pulsecore/socket-util.c pulsecore/socket-util.h \
634 pulsecore/strbuf.c pulsecore/strbuf.h \
635 pulsecore/strlist.c pulsecore/strlist.h \
636 pulsecore/tagstruct.c pulsecore/tagstruct.h \
637 pulsecore/time-smoother.c pulsecore/time-smoother.h \
638 pulsecore/tokenizer.c pulsecore/tokenizer.h \
639 pulsecore/usergroup.c pulsecore/usergroup.h \
640 pulsecore/sndfile-util.c pulsecore/sndfile-util.h \
643 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSNDFILE_CFLAGS)
644 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
645 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) $(LIBWRAP_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) $(LIBSAMPLERATE_LIBS) $(LIBSNDFILE_LIBS)
648 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulse/client-conf-x11.c pulse/client-conf-x11.h
649 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
650 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
653 # proplist-util.h uses these header files, but not the library itself!
654 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(GLIB20_CFLAGS) $(GTK20_CFLAGS)
656 ## Please note that libpulsecommon implicitly also depends on<
657 ## libpulse! i.e. we have a cyclic dependancy here. Which is intended
658 ## since libpulse only includes stable, official APIs, while
659 ## libpulsecommon only includes unofficial APIs.
662 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
663 pulsecore/mutex-win32.c pulsecore/mutex.h \
664 pulsecore/thread-win32.c pulsecore/thread.h \
665 pulsecore/semaphore-win32.c pulsecore/semaphore.h
668 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
669 pulsecore/mutex-posix.c pulsecore/mutex.h \
670 pulsecore/thread-posix.c pulsecore/thread.h \
671 pulsecore/semaphore-osx.c pulsecore/semaphore.h
672 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += "-I/Developer/Headers/FlatCarbon/"
673 #libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += "-framework CoreServices"
675 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
676 pulsecore/mutex-posix.c pulsecore/mutex.h \
677 pulsecore/thread-posix.c pulsecore/thread.h \
678 pulsecore/semaphore-posix.c pulsecore/semaphore.h
683 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulsecore/x11prop.c pulsecore/x11prop.h
684 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
685 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
689 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(LIBASYNCNS_CFLAGS)
690 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD += $(LIBASYNCNS_LIBS)
694 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulsecore/dllmain.c
698 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
699 pulsecore/dbus-util.c pulsecore/dbus-util.h \
700 pulsecore/rtkit.c pulsecore/rtkit.h
701 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(DBUS_CFLAGS)
702 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD += $(DBUS_LIBS)
705 ###################################
707 ###################################
709 pulseinclude_HEADERS = \
715 pulse/ext-device-manager.h \
716 pulse/ext-stream-restore.h \
719 pulse/mainloop-api.h \
720 pulse/mainloop-signal.h \
731 pulse/thread-mainloop.h \
744 pulseinclude_HEADERS += \
752 pulseinclude_HEADERS += \
753 pulse/glib-mainloop.h
756 libpulse-mainloop-glib.la
760 libpulse_la_SOURCES = \
762 pulse/channelmap.c pulse/channelmap.h \
763 pulse/context.c pulse/context.h \
765 pulse/error.c pulse/error.h \
766 pulse/ext-device-manager.c pulse/ext-device-manager.h \
767 pulse/ext-stream-restore.c pulse/ext-stream-restore.h \
770 pulse/introspect.c pulse/introspect.h \
771 pulse/mainloop-api.c pulse/mainloop-api.h \
772 pulse/mainloop-signal.c pulse/mainloop-signal.h \
773 pulse/mainloop.c pulse/mainloop.h \
774 pulse/operation.c pulse/operation.h \
775 pulse/proplist.c pulse/proplist.h \
777 pulse/rtclock.c pulse/rtclock.h \
778 pulse/sample.c pulse/sample.h \
779 pulse/scache.c pulse/scache.h \
780 pulse/stream.c pulse/stream.h \
781 pulse/subscribe.c pulse/subscribe.h \
782 pulse/thread-mainloop.c pulse/thread-mainloop.h \
783 pulse/timeval.c pulse/timeval.h \
784 pulse/utf8.c pulse/utf8.h \
785 pulse/util.c pulse/util.h \
786 pulse/volume.c pulse/volume.h \
787 pulse/xmalloc.c pulse/xmalloc.h
789 libpulse_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
790 libpulse_la_LIBADD = $(AM_LIBADD) $(WINSOCK_LIBS) $(LTLIBICONV) libpulsecommon-@PA_MAJORMINOR@.la
791 libpulse_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_VERSION_INFO)
793 libpulse_simple_la_SOURCES = pulse/simple.c pulse/simple.h
794 libpulse_simple_la_CFLAGS = $(AM_CFLAGS)
795 libpulse_simple_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
796 libpulse_simple_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_SIMPLE_VERSION_INFO)
798 libpulse_browse_la_SOURCES = pulse/browser.c pulse/browser.h pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
799 libpulse_browse_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
800 libpulse_browse_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(AVAHI_LIBS)
801 libpulse_browse_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_BROWSE_VERSION_INFO)
803 libpulse_mainloop_glib_la_SOURCES = pulse/glib-mainloop.h pulse/glib-mainloop.c
804 libpulse_mainloop_glib_la_CFLAGS = $(AM_CFLAGS) $(GLIB20_CFLAGS)
805 libpulse_mainloop_glib_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(GLIB20_LIBS)
806 libpulse_mainloop_glib_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_MAINLOOP_GLIB_VERSION_INFO)
808 ###################################
810 ###################################
813 lib_LTLIBRARIES += libpulsedsp.la
814 bin_SCRIPTS += utils/padsp
817 libpulsedsp_la_SOURCES = utils/padsp.c
818 libpulsedsp_la_CFLAGS = $(AM_CFLAGS)
819 libpulsedsp_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
820 libpulsedsp_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version -disable-static
822 ###################################
823 # Daemon core library #
824 ###################################
826 lib_LTLIBRARIES += libpulsecore-@PA_MAJORMINOR@.la
829 libpulsecore_@PA_MAJORMINOR@_la_SOURCES = \
830 pulsecore/asyncmsgq.c pulsecore/asyncmsgq.h \
831 pulsecore/asyncq.c pulsecore/asyncq.h \
832 pulsecore/auth-cookie.c pulsecore/auth-cookie.h \
833 pulsecore/cli-command.c pulsecore/cli-command.h \
834 pulsecore/cli-text.c pulsecore/cli-text.h \
835 pulsecore/client.c pulsecore/client.h \
836 pulsecore/card.c pulsecore/card.h \
837 pulsecore/core-scache.c pulsecore/core-scache.h \
838 pulsecore/core-subscribe.c pulsecore/core-subscribe.h \
839 pulsecore/core.c pulsecore/core.h \
840 pulsecore/envelope.c pulsecore/envelope.h \
841 pulsecore/fdsem.c pulsecore/fdsem.h \
842 pulsecore/g711.c pulsecore/g711.h \
843 pulsecore/hook-list.c pulsecore/hook-list.h \
844 pulsecore/ltdl-helper.c pulsecore/ltdl-helper.h \
845 pulsecore/modargs.c pulsecore/modargs.h \
846 pulsecore/modinfo.c pulsecore/modinfo.h \
847 pulsecore/module.c pulsecore/module.h \
848 pulsecore/msgobject.c pulsecore/msgobject.h \
849 pulsecore/namereg.c pulsecore/namereg.h \
850 pulsecore/object.c pulsecore/object.h \
851 pulsecore/play-memblockq.c pulsecore/play-memblockq.h \
852 pulsecore/play-memchunk.c pulsecore/play-memchunk.h \
853 pulsecore/remap.c pulsecore/remap.h \
854 pulsecore/remap_mmx.c pulsecore/remap_sse.c \
855 pulsecore/resampler.c pulsecore/resampler.h \
856 pulsecore/rtpoll.c pulsecore/rtpoll.h \
857 pulsecore/sample-util.c pulsecore/sample-util.h \
859 pulsecore/cpu-arm.c pulsecore/cpu-arm.h \
860 pulsecore/cpu-x86.c pulsecore/cpu-x86.h \
861 pulsecore/svolume_c.c pulsecore/svolume_arm.c \
862 pulsecore/svolume_mmx.c pulsecore/svolume_sse.c \
863 pulsecore/sconv-s16be.c pulsecore/sconv-s16be.h \
864 pulsecore/sconv-s16le.c pulsecore/sconv-s16le.h \
865 pulsecore/sconv_sse.c \
866 pulsecore/sconv.c pulsecore/sconv.h \
867 pulsecore/shared.c pulsecore/shared.h \
868 pulsecore/shm.c pulsecore/shm.h \
869 pulsecore/sink-input.c pulsecore/sink-input.h \
870 pulsecore/sink.c pulsecore/sink.h \
871 pulsecore/sioman.c pulsecore/sioman.h \
872 pulsecore/sound-file-stream.c pulsecore/sound-file-stream.h \
873 pulsecore/sound-file.c pulsecore/sound-file.h \
874 pulsecore/source-output.c pulsecore/source-output.h \
875 pulsecore/source.c pulsecore/source.h \
876 pulsecore/start-child.c pulsecore/start-child.h \
877 pulsecore/thread-mq.c pulsecore/thread-mq.h \
878 pulsecore/time-smoother.c pulsecore/time-smoother.h \
881 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSPEEX_CFLAGS) $(LIBSNDFILE_CFLAGS) $(WINSOCK_CFLAGS)
882 libpulsecore_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
883 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
886 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/x11wrap.c pulsecore/x11wrap.h
887 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
888 libpulsecore_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
892 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += \
893 pulsecore/dbus-shared.c pulsecore/dbus-shared.h \
894 pulsecore/protocol-dbus.c pulsecore/protocol-dbus.h
895 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(DBUS_CFLAGS)
896 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(DBUS_LIBS)
900 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-gdbm.c
901 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(GDBM_CFLAGS)
902 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(GDBM_LIBS)
906 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-tdb.c
907 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(TDB_CFLAGS)
908 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(TDB_LIBS)
912 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-simple.c
915 # We split the foreign code off to not be annoyed by warnings we don't care about
916 noinst_LTLIBRARIES = libpulsecore-foreign.la
918 libpulsecore_foreign_la_SOURCES = \
919 pulsecore/ffmpeg/resample2.c pulsecore/ffmpeg/avcodec.h pulsecore/ffmpeg/dsputil.h
921 libpulsecore_foreign_la_CFLAGS = $(AM_CFLAGS) $(FOREIGN_CFLAGS)
923 ###################################
924 # Plug-in support libraries #
925 ###################################
927 ### Warning! Due to an obscure bug in libtool/automake it is required
928 ### that the libraries in modlibexec_LTLIBRARIES are specified in-order,
929 ### i.e. libraries near the end of the list depend on libraries near
930 ### the head, and not the other way!
932 modlibexec_LTLIBRARIES = \
935 libprotocol-simple.la \
936 libprotocol-http.la \
937 libprotocol-native.la \
938 libprotocol-esound.la
940 # We need to emulate sendmsg/recvmsg to support this on Win32
942 modlibexec_LTLIBRARIES += \
947 modlibexec_LTLIBRARIES += \
951 libprotocol_simple_la_SOURCES = pulsecore/protocol-simple.c pulsecore/protocol-simple.h
952 libprotocol_simple_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
953 libprotocol_simple_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
955 libcli_la_SOURCES = pulsecore/cli.c pulsecore/cli.h
956 libcli_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
957 libcli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
959 libprotocol_cli_la_SOURCES = pulsecore/protocol-cli.c pulsecore/protocol-cli.h
960 libprotocol_cli_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
961 libprotocol_cli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la libcli.la
963 libprotocol_http_la_SOURCES = pulsecore/protocol-http.c pulsecore/protocol-http.h pulsecore/mime-type.c pulsecore/mime-type.h
964 libprotocol_http_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
965 libprotocol_http_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
967 libprotocol_native_la_SOURCES = pulsecore/protocol-native.c pulsecore/protocol-native.h pulsecore/native-common.h
968 libprotocol_native_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
969 libprotocol_native_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
971 libprotocol_esound_la_SOURCES = pulsecore/protocol-esound.c pulsecore/protocol-esound.h pulsecore/esound.h
972 libprotocol_esound_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
973 libprotocol_esound_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
975 librtp_la_SOURCES = \
976 modules/rtp/rtp.c modules/rtp/rtp.h \
977 modules/rtp/sdp.c modules/rtp/sdp.h \
978 modules/rtp/sap.c modules/rtp/sap.h \
979 modules/rtp/rtsp_client.c modules/rtp/rtsp_client.h \
980 modules/rtp/headerlist.c modules/rtp/headerlist.h
981 librtp_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
982 librtp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
984 libraop_la_SOURCES = \
985 modules/raop/raop_client.c modules/raop/raop_client.h \
986 modules/raop/base64.c modules/raop/base64.h
987 libraop_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_CFLAGS) -I$(top_srcdir)/src/modules/rtp
988 libraop_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
989 libraop_la_LIBADD = $(AM_LIBADD) $(OPENSSL_LIBS) libpulsecore-@PA_MAJORMINOR@.la librtp.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
992 libavahi_wrap_la_SOURCES = pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
993 libavahi_wrap_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
994 libavahi_wrap_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
995 libavahi_wrap_la_LIBADD = $(AM_LIBADD) $(AVAHI_CFLAGS) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
997 ###################################
998 # Plug-in libraries #
999 ###################################
1002 # Serveral module (e.g. libalsa-util.la)
1003 modlibexec_LTLIBRARIES += \
1004 module-console-kit.la
1007 modlibexec_LTLIBRARIES += \
1009 module-cli-protocol-tcp.la \
1010 module-simple-protocol-tcp.la \
1011 module-null-sink.la \
1012 module-sine-source.la \
1014 module-volume-restore.la \
1015 module-device-manager.la \
1016 module-device-restore.la \
1017 module-stream-restore.la \
1018 module-card-restore.la \
1019 module-default-device-restore.la \
1020 module-always-sink.la \
1021 module-rescue-streams.la \
1022 module-intended-roles.la \
1023 module-suspend-on-idle.la \
1024 module-echo-cancel.la \
1025 module-http-protocol-tcp.la \
1027 module-native-protocol-tcp.la \
1028 module-native-protocol-fd.la \
1029 module-esound-protocol-tcp.la \
1031 module-remap-sink.la \
1032 module-ladspa-sink.la \
1033 module-esound-sink.la \
1034 module-tunnel-sink.la \
1035 module-tunnel-source.la \
1036 module-position-event-sounds.la \
1037 module-augment-properties.la \
1038 module-cork-music-on-phone.la \
1039 module-loopback.la \
1040 module-virtual-sink.la \
1041 module-virtual-source.la
1043 # See comment at librtp.la above
1045 modlibexec_LTLIBRARIES += \
1046 module-rtp-send.la \
1051 modlibexec_LTLIBRARIES += \
1052 module-cli-protocol-unix.la \
1053 module-simple-protocol-unix.la \
1054 module-http-protocol-unix.la \
1055 module-native-protocol-unix.la \
1056 module-esound-protocol-unix.la
1060 modlibexec_LTLIBRARIES += \
1061 module-pipe-sink.la \
1062 module-pipe-source.la
1066 modlibexec_LTLIBRARIES += \
1067 module-esound-compat-spawnfd.la \
1068 module-esound-compat-spawnpid.la
1072 modlibexec_LTLIBRARIES += \
1077 modlibexec_LTLIBRARIES += \
1078 module-x11-bell.la \
1079 module-x11-publish.la \
1080 module-x11-xsmp.la \
1081 module-x11-cork-request.la
1085 modlibexec_LTLIBRARIES += \
1091 modlibexec_LTLIBRARIES += \
1092 module-coreaudio-detect.la \
1093 module-coreaudio-device.la
1096 pulselibexec_PROGRAMS =
1099 modlibexec_LTLIBRARIES += \
1101 module-alsa-sink.la \
1102 module-alsa-source.la \
1105 dist_alsaprofilesets_DATA = \
1106 modules/alsa/mixer/profile-sets/default.conf \
1107 modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf \
1108 modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \
1109 modules/alsa/mixer/profile-sets/native-instruments-audio8dj.conf \
1110 modules/alsa/mixer/profile-sets/native-instruments-traktorkontrol-s4.conf \
1111 modules/alsa/mixer/profile-sets/native-instruments-korecontroller.conf
1114 dist_udevrules_DATA = \
1115 modules/alsa/mixer/profile-sets/90-pulseaudio.rules
1118 dist_alsapaths_DATA = \
1119 modules/alsa/mixer/paths/analog-input-aux.conf \
1120 modules/alsa/mixer/paths/analog-input.conf \
1121 modules/alsa/mixer/paths/analog-input.conf.common \
1122 modules/alsa/mixer/paths/analog-input-fm.conf \
1123 modules/alsa/mixer/paths/analog-input-linein.conf \
1124 modules/alsa/mixer/paths/analog-input-mic.conf \
1125 modules/alsa/mixer/paths/analog-input-dock-mic.conf \
1126 modules/alsa/mixer/paths/analog-input-front-mic.conf \
1127 modules/alsa/mixer/paths/analog-input-internal-mic.conf \
1128 modules/alsa/mixer/paths/analog-input-rear-mic.conf \
1129 modules/alsa/mixer/paths/analog-input-mic.conf.common \
1130 modules/alsa/mixer/paths/analog-input-mic-line.conf \
1131 modules/alsa/mixer/paths/analog-input-tvtuner.conf \
1132 modules/alsa/mixer/paths/analog-input-video.conf \
1133 modules/alsa/mixer/paths/analog-output.conf \
1134 modules/alsa/mixer/paths/analog-output-speaker.conf \
1135 modules/alsa/mixer/paths/analog-output.conf.common \
1136 modules/alsa/mixer/paths/analog-output-desktop-speaker.conf \
1137 modules/alsa/mixer/paths/analog-output-headphones.conf \
1138 modules/alsa/mixer/paths/analog-output-headphones-2.conf \
1139 modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf \
1140 modules/alsa/mixer/paths/analog-output-mono.conf \
1141 modules/alsa/mixer/paths/iec958-stereo-output.conf \
1142 modules/alsa/mixer/paths/iec958-passthrough-output.conf
1147 modlibexec_LTLIBRARIES += \
1152 modlibexec_LTLIBRARIES += \
1153 module-zeroconf-publish.la \
1154 module-zeroconf-discover.la
1158 modlibexec_LTLIBRARIES += \
1159 module-bonjour-publish.la
1163 modlibexec_LTLIBRARIES += \
1168 modlibexec_LTLIBRARIES += \
1169 module-mmkbd-evdev.la
1173 modlibexec_LTLIBRARIES += \
1174 module-jack-sink.la \
1175 module-jack-source.la
1178 modlibexec_LTLIBRARIES += \
1179 module-jackdbus-detect.la
1185 modlibexec_LTLIBRARIES += \
1188 pulselibexec_PROGRAMS += \
1193 modlibexec_LTLIBRARIES += \
1198 modlibexec_LTLIBRARIES += \
1199 module-hal-detect.la
1203 modlibexec_LTLIBRARIES += \
1204 module-hal-detect.la
1208 modlibexec_LTLIBRARIES += \
1209 module-udev-detect.la
1213 modlibexec_LTLIBRARIES += \
1214 module-rygel-media-server.la \
1215 module-dbus-protocol.la
1219 modlibexec_LTLIBRARIES += \
1220 libbluetooth-util.la \
1221 module-bluetooth-proximity.la \
1222 module-bluetooth-discover.la \
1223 libbluetooth-ipc.la \
1224 libbluetooth-sbc.la \
1225 module-bluetooth-device.la
1227 pulselibexec_PROGRAMS += \
1232 modlibexec_LTLIBRARIES += \
1236 modlibexec_LTLIBRARIES += \
1237 module-raop-discover.la
1242 modlibexec_LTLIBRARIES += \
1243 module-equalizer-sink.la
1244 bin_SCRIPTS += utils/qpaeq
1247 # These are generated by an M4 script
1249 module-cli-symdef.h \
1250 module-cli-protocol-tcp-symdef.h \
1251 module-cli-protocol-unix-symdef.h \
1252 module-pipe-sink-symdef.h \
1253 module-pipe-source-symdef.h \
1254 module-simple-protocol-tcp-symdef.h \
1255 module-simple-protocol-unix-symdef.h \
1256 module-esound-protocol-tcp-symdef.h \
1257 module-esound-protocol-unix-symdef.h \
1258 module-native-protocol-tcp-symdef.h \
1259 module-native-protocol-unix-symdef.h \
1260 module-native-protocol-fd-symdef.h \
1261 module-sine-symdef.h \
1262 module-combine-symdef.h \
1263 module-remap-sink-symdef.h \
1264 module-ladspa-sink-symdef.h \
1265 module-equalizer-sink-symdef.h \
1266 module-esound-compat-spawnfd-symdef.h \
1267 module-esound-compat-spawnpid-symdef.h \
1268 module-match-symdef.h \
1269 module-tunnel-sink-symdef.h \
1270 module-tunnel-source-symdef.h \
1271 module-null-sink-symdef.h \
1272 module-sine-source-symdef.h \
1273 module-esound-sink-symdef.h \
1274 module-zeroconf-publish-symdef.h \
1275 module-zeroconf-discover-symdef.h \
1276 module-bonjour-publish-symdef.h \
1277 module-lirc-symdef.h \
1278 module-mmkbd-evdev-symdef.h \
1279 module-http-protocol-tcp-symdef.h \
1280 module-http-protocol-unix-symdef.h \
1281 module-rygel-media-server-symdef.h \
1282 module-x11-bell-symdef.h \
1283 module-x11-publish-symdef.h \
1284 module-x11-xsmp-symdef.h \
1285 module-x11-cork-request-symdef.h \
1286 module-oss-symdef.h \
1287 module-alsa-sink-symdef.h \
1288 module-alsa-source-symdef.h \
1289 module-alsa-card-symdef.h \
1290 module-coreaudio-detect-symdef.h \
1291 module-coreaudio-device-symdef.h \
1292 module-solaris-symdef.h \
1293 module-waveout-symdef.h \
1294 module-detect-symdef.h \
1295 module-rtp-send-symdef.h \
1296 module-rtp-recv-symdef.h \
1297 module-jackdbus-detect-symdef.h \
1298 module-jack-sink-symdef.h \
1299 module-jack-source-symdef.h \
1300 module-volume-restore-symdef.h \
1301 module-device-manager-symdef.h \
1302 module-device-restore-symdef.h \
1303 module-stream-restore-symdef.h \
1304 module-card-restore-symdef.h \
1305 module-default-device-restore-symdef.h \
1306 module-always-sink-symdef.h \
1307 module-rescue-streams-symdef.h \
1308 module-intended-roles-symdef.h \
1309 module-suspend-on-idle-symdef.h \
1310 module-echo-cancel-symdef.h \
1311 module-hal-detect-symdef.h \
1312 module-udev-detect-symdef.h \
1313 module-bluetooth-proximity-symdef.h \
1314 module-bluetooth-discover-symdef.h \
1315 module-bluetooth-device-symdef.h \
1316 module-raop-sink-symdef.h \
1317 module-raop-discover-symdef.h \
1318 module-gconf-symdef.h \
1319 module-position-event-sounds-symdef.h \
1320 module-augment-properties-symdef.h \
1321 module-cork-music-on-phone-symdef.h \
1322 module-console-kit-symdef.h \
1323 module-dbus-protocol-symdef.h \
1324 module-loopback-symdef.h \
1325 module-virtual-sink-symdef.h \
1326 module-virtual-source-symdef.h
1328 EXTRA_DIST += $(SYMDEF_FILES)
1329 BUILT_SOURCES += $(SYMDEF_FILES) builddirs
1331 $(SYMDEF_FILES): modules/module-defs.h.m4
1332 $(AM_V_at)$(MKDIR_P) modules
1333 $(AM_V_GEN)$(M4) -Dfname="$@" $< > $@
1337 $(AM_V_at)$(MKDIR_P) daemon modules src/modules/echo-cancel
1341 module_simple_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1342 module_simple_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1343 module_simple_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1344 module_simple_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-simple.la
1346 module_simple_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1347 module_simple_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1348 module_simple_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1349 module_simple_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-simple.la
1353 module_cli_la_SOURCES = modules/module-cli.c
1354 module_cli_la_LDFLAGS = $(MODULE_LDFLAGS)
1355 module_cli_la_LIBADD = $(MODULE_LIBADD) libcli.la
1357 module_cli_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1358 module_cli_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1359 module_cli_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1360 module_cli_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-cli.la
1362 module_cli_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1363 module_cli_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1364 module_cli_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1365 module_cli_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-cli.la
1369 module_http_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1370 module_http_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1371 module_http_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1372 module_http_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-http.la
1374 module_http_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1375 module_http_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1376 module_http_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1377 module_http_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-http.la
1381 module_dbus_protocol_la_SOURCES = \
1382 modules/dbus/iface-card.c modules/dbus/iface-card.h \
1383 modules/dbus/iface-card-profile.c modules/dbus/iface-card-profile.h \
1384 modules/dbus/iface-client.c modules/dbus/iface-client.h \
1385 modules/dbus/iface-core.c modules/dbus/iface-core.h \
1386 modules/dbus/iface-device.c modules/dbus/iface-device.h \
1387 modules/dbus/iface-device-port.c modules/dbus/iface-device-port.h \
1388 modules/dbus/iface-memstats.c modules/dbus/iface-memstats.h \
1389 modules/dbus/iface-module.c modules/dbus/iface-module.h \
1390 modules/dbus/iface-sample.c modules/dbus/iface-sample.h \
1391 modules/dbus/iface-stream.c modules/dbus/iface-stream.h \
1392 modules/dbus/module-dbus-protocol.c
1393 module_dbus_protocol_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1394 module_dbus_protocol_la_LDFLAGS = $(MODULE_LDFLAGS)
1395 module_dbus_protocol_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1399 module_native_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1400 module_native_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1401 module_native_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1402 module_native_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1404 module_native_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1405 module_native_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1406 module_native_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1407 module_native_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1409 module_native_protocol_fd_la_SOURCES = modules/module-native-protocol-fd.c
1410 module_native_protocol_fd_la_CFLAGS = $(AM_CFLAGS)
1411 module_native_protocol_fd_la_LDFLAGS = $(MODULE_LDFLAGS)
1412 module_native_protocol_fd_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1416 module_esound_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1417 module_esound_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1418 module_esound_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1419 module_esound_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-esound.la
1421 module_esound_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1422 module_esound_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1423 module_esound_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1424 module_esound_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-esound.la
1426 module_esound_compat_spawnfd_la_SOURCES = modules/module-esound-compat-spawnfd.c
1427 module_esound_compat_spawnfd_la_LDFLAGS = $(MODULE_LDFLAGS)
1428 module_esound_compat_spawnfd_la_LIBADD = $(MODULE_LIBADD)
1430 module_esound_compat_spawnpid_la_SOURCES = modules/module-esound-compat-spawnpid.c
1431 module_esound_compat_spawnpid_la_LDFLAGS = $(MODULE_LDFLAGS)
1432 module_esound_compat_spawnpid_la_LIBADD = $(MODULE_LIBADD)
1434 module_esound_sink_la_SOURCES = modules/module-esound-sink.c
1435 module_esound_sink_la_LDFLAGS = $(MODULE_LDFLAGS) $(WINSOCK_LIBS)
1436 module_esound_sink_la_LIBADD = $(MODULE_LIBADD)
1440 module_pipe_sink_la_SOURCES = modules/module-pipe-sink.c
1441 module_pipe_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1442 module_pipe_sink_la_LIBADD = $(MODULE_LIBADD)
1444 module_pipe_source_la_SOURCES = modules/module-pipe-source.c
1445 module_pipe_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1446 module_pipe_source_la_LIBADD = $(MODULE_LIBADD)
1448 # Fake sources/sinks
1450 module_sine_la_SOURCES = modules/module-sine.c
1451 module_sine_la_LDFLAGS = $(MODULE_LDFLAGS)
1452 module_sine_la_LIBADD = $(MODULE_LIBADD)
1454 module_null_sink_la_SOURCES = modules/module-null-sink.c
1455 module_null_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1456 module_null_sink_la_LIBADD = $(MODULE_LIBADD)
1458 module_sine_source_la_SOURCES = modules/module-sine-source.c
1459 module_sine_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1460 module_sine_source_la_LIBADD = $(MODULE_LIBADD)
1464 module_combine_la_SOURCES = modules/module-combine.c
1465 module_combine_la_LDFLAGS = $(MODULE_LDFLAGS)
1466 module_combine_la_LIBADD = $(MODULE_LIBADD)
1468 module_remap_sink_la_SOURCES = modules/module-remap-sink.c
1469 module_remap_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1470 module_remap_sink_la_LIBADD = $(MODULE_LIBADD)
1472 module_ladspa_sink_la_SOURCES = modules/module-ladspa-sink.c modules/ladspa.h
1473 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)
1474 module_ladspa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1475 module_ladspa_sink_la_LIBADD = $(MODULE_LIBADD) $(LIBLTDL)
1477 module_equalizer_sink_la_SOURCES = modules/module-equalizer-sink.c
1478 module_equalizer_sink_la_CFLAGS = $(AM_CFLAGS) $(FFTW_CFLAGS)
1479 module_equalizer_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1480 module_equalizer_sink_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(FFTW_LIBS)
1482 module_match_la_SOURCES = modules/module-match.c
1483 module_match_la_LDFLAGS = $(MODULE_LDFLAGS)
1484 module_match_la_LIBADD = $(MODULE_LIBADD)
1486 module_tunnel_sink_la_SOURCES = modules/module-tunnel.c
1487 module_tunnel_sink_la_CFLAGS = -DTUNNEL_SINK=1 $(AM_CFLAGS)
1488 module_tunnel_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1489 module_tunnel_sink_la_LIBADD = $(MODULE_LIBADD)
1491 module_tunnel_source_la_SOURCES = modules/module-tunnel.c
1492 module_tunnel_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1493 module_tunnel_source_la_LIBADD = $(MODULE_LIBADD)
1495 module_loopback_la_SOURCES = modules/module-loopback.c
1496 module_loopback_la_LDFLAGS = $(MODULE_LDFLAGS)
1497 module_loopback_la_LIBADD = $(MODULE_LIBADD)
1499 module_virtual_sink_la_SOURCES = modules/module-virtual-sink.c
1500 module_virtual_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1501 module_virtual_sink_la_LIBADD = $(MODULE_LIBADD)
1503 module_virtual_source_la_SOURCES = modules/module-virtual-source.c
1504 module_virtual_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1505 module_virtual_source_la_LIBADD = $(MODULE_LIBADD)
1509 module_x11_bell_la_SOURCES = modules/x11/module-x11-bell.c
1510 module_x11_bell_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1511 module_x11_bell_la_LDFLAGS = $(MODULE_LDFLAGS)
1512 module_x11_bell_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1514 module_x11_publish_la_SOURCES = modules/x11/module-x11-publish.c
1515 module_x11_publish_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1516 module_x11_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1517 module_x11_publish_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la $(X11_LIBS)
1519 module_x11_xsmp_la_SOURCES = modules/x11/module-x11-xsmp.c
1520 module_x11_xsmp_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1521 module_x11_xsmp_la_LDFLAGS = $(MODULE_LDFLAGS)
1522 module_x11_xsmp_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1524 module_x11_cork_request_la_SOURCES = modules/x11/module-x11-cork-request.c
1525 module_x11_cork_request_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1526 module_x11_cork_request_la_LDFLAGS = $(MODULE_LDFLAGS)
1527 module_x11_cork_request_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1531 liboss_util_la_SOURCES = modules/oss/oss-util.c modules/oss/oss-util.h
1532 liboss_util_la_LDFLAGS = -avoid-version
1533 liboss_util_la_LIBADD = $(MODULE_LIBADD)
1535 module_oss_la_SOURCES = modules/oss/module-oss.c
1536 module_oss_la_LDFLAGS = $(MODULE_LDFLAGS)
1537 module_oss_la_LIBADD = $(MODULE_LIBADD) liboss-util.la
1541 module_coreaudio_detect_la_SOURCES = modules/coreaudio/module-coreaudio-detect.c
1542 module_coreaudio_detect_la_LDFLAGS = $(MODULE_LDFLAGS) \
1543 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1544 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1545 module_coreaudio_detect_la_LIBADD = $(MODULE_LIBADD)
1547 module_coreaudio_device_la_SOURCES = modules/coreaudio/module-coreaudio-device.c
1548 module_coreaudio_device_la_LDFLAGS = $(MODULE_LDFLAGS) \
1549 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1550 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1551 module_coreaudio_device_la_LIBADD = $(MODULE_LIBADD)
1555 libalsa_util_la_SOURCES = modules/alsa/alsa-util.c modules/alsa/alsa-util.h modules/alsa/alsa-mixer.c modules/alsa/alsa-mixer.h modules/alsa/alsa-sink.c modules/alsa/alsa-sink.h modules/alsa/alsa-source.c modules/alsa/alsa-source.h modules/reserve-wrap.c modules/reserve-wrap.h
1556 libalsa_util_la_LDFLAGS = -avoid-version
1557 libalsa_util_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS)
1558 libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1561 libalsa_util_la_SOURCES += modules/hal-util.h modules/hal-util.c
1562 libalsa_util_la_LIBADD += $(HAL_LIBS)
1563 libalsa_util_la_CFLAGS += $(HAL_CFLAGS)
1567 libalsa_util_la_SOURCES += modules/udev-util.h modules/udev-util.c
1568 libalsa_util_la_LIBADD += $(UDEV_LIBS)
1569 libalsa_util_la_CFLAGS += $(UDEV_CFLAGS)
1573 libalsa_util_la_SOURCES += modules/reserve.h modules/reserve.c modules/reserve-monitor.h modules/reserve-monitor.c
1574 libalsa_util_la_LIBADD += $(DBUS_LIBS)
1575 libalsa_util_la_CFLAGS += $(DBUS_CFLAGS)
1578 module_alsa_sink_la_SOURCES = modules/alsa/module-alsa-sink.c
1579 module_alsa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1580 module_alsa_sink_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1581 module_alsa_sink_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1583 module_alsa_source_la_SOURCES = modules/alsa/module-alsa-source.c
1584 module_alsa_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1585 module_alsa_source_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1586 module_alsa_source_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1588 module_alsa_card_la_SOURCES = modules/alsa/module-alsa-card.c
1589 module_alsa_card_la_LDFLAGS = $(MODULE_LDFLAGS)
1590 module_alsa_card_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1591 module_alsa_card_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1595 module_solaris_la_SOURCES = modules/module-solaris.c
1596 module_solaris_la_LDFLAGS = $(MODULE_LDFLAGS)
1597 module_solaris_la_LIBADD = $(MODULE_LIBADD)
1601 module_zeroconf_publish_la_SOURCES = modules/module-zeroconf-publish.c
1602 module_zeroconf_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1603 module_zeroconf_publish_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libprotocol-native.la
1604 module_zeroconf_publish_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1606 module_zeroconf_discover_la_SOURCES = modules/module-zeroconf-discover.c
1607 module_zeroconf_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1608 module_zeroconf_discover_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la
1609 module_zeroconf_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1613 module_bonjour_publish_la_SOURCES = modules/module-bonjour-publish.c
1614 module_bonjour_publish_la_LDFLAGS = $(MODULE_LDFLAGS) \
1615 -Wl,-framework -Wl,CoreFoundation -framework CoreFoundation
1616 module_bonjour_publish_la_LIBADD = $(MODULE_LIBADD)
1620 module_lirc_la_SOURCES = modules/module-lirc.c
1621 module_lirc_la_LDFLAGS = $(MODULE_LDFLAGS)
1622 module_lirc_la_LIBADD = $(MODULE_LIBADD) $(LIRC_LIBS)
1623 module_lirc_la_CFLAGS = $(AM_CFLAGS) $(LIRC_CFLAGS)
1627 module_mmkbd_evdev_la_SOURCES = modules/module-mmkbd-evdev.c
1628 module_mmkbd_evdev_la_LDFLAGS = $(MODULE_LDFLAGS)
1629 module_mmkbd_evdev_la_LIBADD = $(MODULE_LIBADD)
1630 module_mmkbd_evdev_la_CFLAGS = $(AM_CFLAGS)
1633 module_waveout_la_SOURCES = modules/module-waveout.c
1634 module_waveout_la_LDFLAGS = $(MODULE_LDFLAGS)
1635 module_waveout_la_LIBADD = $(MODULE_LIBADD) -lwinmm
1636 module_waveout_la_CFLAGS = $(AM_CFLAGS)
1638 # Hardware autodetection module
1639 module_detect_la_SOURCES = modules/module-detect.c
1640 module_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1641 module_detect_la_LIBADD = $(MODULE_LIBADD)
1642 module_detect_la_CFLAGS = $(AM_CFLAGS)
1644 # Volume restore module
1645 module_volume_restore_la_SOURCES = modules/module-volume-restore.c
1646 module_volume_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1647 module_volume_restore_la_LIBADD = $(MODULE_LIBADD)
1648 module_volume_restore_la_CFLAGS = $(AM_CFLAGS)
1650 # Position event sounds in space
1651 module_position_event_sounds_la_SOURCES = modules/module-position-event-sounds.c
1652 module_position_event_sounds_la_LDFLAGS = $(MODULE_LDFLAGS)
1653 module_position_event_sounds_la_LIBADD = $(MODULE_LIBADD)
1654 module_position_event_sounds_la_CFLAGS = $(AM_CFLAGS)
1656 # Augment properties from XDG .desktop files
1657 module_augment_properties_la_SOURCES = modules/module-augment-properties.c
1658 module_augment_properties_la_LDFLAGS = $(MODULE_LDFLAGS)
1659 module_augment_properties_la_LIBADD = $(MODULE_LIBADD)
1660 #module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"$(datadir)/applications\"
1661 module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"/usr/share/applications\"
1663 # Cork music streams while a phone stream is active
1664 module_cork_music_on_phone_la_SOURCES = modules/module-cork-music-on-phone.c
1665 module_cork_music_on_phone_la_LDFLAGS = $(MODULE_LDFLAGS)
1666 module_cork_music_on_phone_la_LIBADD = $(MODULE_LIBADD)
1667 module_cork_music_on_phone_la_CFLAGS = $(AM_CFLAGS)
1669 # Device description restore module
1670 module_device_manager_la_SOURCES = modules/module-device-manager.c
1671 module_device_manager_la_LDFLAGS = $(MODULE_LDFLAGS)
1672 module_device_manager_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1673 module_device_manager_la_CFLAGS = $(AM_CFLAGS)
1675 # Device volume/muted restore module
1676 module_device_restore_la_SOURCES = modules/module-device-restore.c
1677 module_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1678 module_device_restore_la_LIBADD = $(MODULE_LIBADD)
1679 module_device_restore_la_CFLAGS = $(AM_CFLAGS)
1681 # Stream volume/muted/device restore module
1682 module_stream_restore_la_SOURCES = modules/module-stream-restore.c
1683 module_stream_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1684 module_stream_restore_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1685 module_stream_restore_la_CFLAGS = $(AM_CFLAGS)
1688 module_stream_restore_la_LIBADD += $(DBUS_LIBS)
1689 module_stream_restore_la_CFLAGS += $(DBUS_CFLAGS)
1692 # Card profile restore module
1693 module_card_restore_la_SOURCES = modules/module-card-restore.c
1694 module_card_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1695 module_card_restore_la_LIBADD = $(MODULE_LIBADD)
1696 module_card_restore_la_CFLAGS = $(AM_CFLAGS)
1698 # Default sink/source restore module
1699 module_default_device_restore_la_SOURCES = modules/module-default-device-restore.c
1700 module_default_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1701 module_default_device_restore_la_LIBADD = $(MODULE_LIBADD)
1702 module_default_device_restore_la_CFLAGS = $(AM_CFLAGS)
1704 # Always Sink module
1705 module_always_sink_la_SOURCES = modules/module-always-sink.c
1706 module_always_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1707 module_always_sink_la_LIBADD = $(MODULE_LIBADD)
1708 module_always_sink_la_CFLAGS = $(AM_CFLAGS)
1710 # Rescue streams module
1711 module_rescue_streams_la_SOURCES = modules/module-rescue-streams.c
1712 module_rescue_streams_la_LDFLAGS = $(MODULE_LDFLAGS)
1713 module_rescue_streams_la_LIBADD = $(MODULE_LIBADD)
1714 module_rescue_streams_la_CFLAGS = $(AM_CFLAGS)
1716 # Automatically move streams to devices that are intended for their roles
1717 module_intended_roles_la_SOURCES = modules/module-intended-roles.c
1718 module_intended_roles_la_LDFLAGS = $(MODULE_LDFLAGS)
1719 module_intended_roles_la_LIBADD = $(MODULE_LIBADD)
1720 module_intended_roles_la_CFLAGS = $(AM_CFLAGS)
1722 # Suspend-on-idle module
1723 module_suspend_on_idle_la_SOURCES = modules/module-suspend-on-idle.c
1724 module_suspend_on_idle_la_LDFLAGS = $(MODULE_LDFLAGS)
1725 module_suspend_on_idle_la_LIBADD = $(MODULE_LIBADD)
1726 module_suspend_on_idle_la_CFLAGS = $(AM_CFLAGS)
1728 # echo-cancel module
1729 module_echo_cancel_la_SOURCES = modules/echo-cancel/module-echo-cancel.c modules/echo-cancel/echo-cancel.h \
1730 modules/echo-cancel/speex.c \
1731 modules/echo-cancel/adrian-aec.c modules/echo-cancel/adrian-aec.h \
1732 modules/echo-cancel/adrian.c modules/echo-cancel/adrian.h
1733 module_echo_cancel_la_LDFLAGS = $(MODULE_LDFLAGS)
1734 module_echo_cancel_la_LIBADD = $(MODULE_LIBADD) $(LIBSPEEX_LIBS)
1735 module_echo_cancel_la_CFLAGS = $(AM_CFLAGS) $(LIBSPEEX_CFLAGS)
1737 ORC_SOURCE += modules/echo-cancel/adrian-aec
1738 nodist_module_echo_cancel_la_SOURCES = \
1739 modules/echo-cancel/adrian-aec-orc-gen.c \
1740 modules/echo-cancel/adrian-aec-orc-gen.h
1741 module_echo_cancel_la_LIBADD += $(ORC_LIBS)
1742 module_echo_cancel_la_CFLAGS += $(ORC_CFLAGS) -I$(top_builddir)/src/modules/echo-cancel
1746 module_rtp_send_la_SOURCES = modules/rtp/module-rtp-send.c
1747 module_rtp_send_la_LDFLAGS = $(MODULE_LDFLAGS)
1748 module_rtp_send_la_LIBADD = $(MODULE_LIBADD) librtp.la
1749 module_rtp_send_la_CFLAGS = $(AM_CFLAGS)
1751 module_rtp_recv_la_SOURCES = modules/rtp/module-rtp-recv.c
1752 module_rtp_recv_la_LDFLAGS = $(MODULE_LDFLAGS)
1753 module_rtp_recv_la_LIBADD = $(MODULE_LIBADD) librtp.la
1754 module_rtp_recv_la_CFLAGS = $(AM_CFLAGS)
1758 module_jackdbus_detect_la_SOURCES = modules/jack/module-jackdbus-detect.c
1759 module_jackdbus_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1760 module_jackdbus_detect_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(JACK_LIBS)
1761 module_jackdbus_detect_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) $(JACK_CFLAGS)
1763 module_jack_sink_la_SOURCES = modules/jack/module-jack-sink.c
1764 module_jack_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1765 module_jack_sink_la_LIBADD = $(MODULE_LIBADD) $(JACK_LIBS)
1766 module_jack_sink_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1768 module_jack_source_la_SOURCES = modules/jack/module-jack-source.c
1769 module_jack_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1770 module_jack_source_la_LIBADD = $(MODULE_LIBADD) $(JACK_LIBS)
1771 module_jack_source_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1774 module_hal_detect_la_SOURCES = modules/module-hal-detect-compat.c
1775 module_hal_detect_la_LIBADD = $(MODULE_LIBADD)
1776 module_hal_detect_la_CFLAGS = $(AM_CFLAGS)
1778 module_hal_detect_la_SOURCES = modules/module-hal-detect.c
1779 module_hal_detect_la_LIBADD = $(MODULE_LIBADD) $(HAL_LIBS)
1780 module_hal_detect_la_CFLAGS = $(AM_CFLAGS) $(HAL_CFLAGS)
1782 module_hal_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1784 module_udev_detect_la_SOURCES = modules/module-udev-detect.c
1785 module_udev_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1786 module_udev_detect_la_LIBADD = $(MODULE_LIBADD) $(UDEV_LIBS)
1787 module_udev_detect_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
1789 module_console_kit_la_SOURCES = modules/module-console-kit.c
1790 module_console_kit_la_LDFLAGS = $(MODULE_LDFLAGS)
1791 module_console_kit_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1792 module_console_kit_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1795 module_gconf_la_SOURCES = modules/gconf/module-gconf.c
1796 module_gconf_la_LDFLAGS = $(MODULE_LDFLAGS)
1797 module_gconf_la_LIBADD = $(MODULE_LIBADD)
1798 module_gconf_la_CFLAGS = $(AM_CFLAGS) -DPA_GCONF_HELPER=\"$(pulselibexecdir)/gconf-helper\"
1800 gconf_helper_SOURCES = modules/gconf/gconf-helper.c
1801 gconf_helper_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(GCONF_LIBS)
1802 gconf_helper_CFLAGS = $(AM_CFLAGS) $(GCONF_CFLAGS)
1803 gconf_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1805 # Bluetooth proximity
1806 module_bluetooth_proximity_la_SOURCES = modules/bluetooth/module-bluetooth-proximity.c
1807 module_bluetooth_proximity_la_LDFLAGS = $(MODULE_LDFLAGS)
1808 module_bluetooth_proximity_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1809 module_bluetooth_proximity_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -DPA_BT_PROXIMITY_HELPER=\"$(pulselibexecdir)/proximity-helper\"
1811 proximity_helper_SOURCES = modules/bluetooth/proximity-helper.c
1812 proximity_helper_LDADD = $(AM_LDADD) $(BLUEZ_LIBS)
1813 proximity_helper_CFLAGS = $(AM_CFLAGS) $(BLUEZ_CFLAGS)
1814 proximity_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1816 # Bluetooth sink / source
1817 module_bluetooth_discover_la_SOURCES = modules/bluetooth/module-bluetooth-discover.c
1818 module_bluetooth_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1819 module_bluetooth_discover_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libbluetooth-util.la
1820 module_bluetooth_discover_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1822 libbluetooth_sbc_la_SOURCES = modules/bluetooth/sbc.c modules/bluetooth/sbc.h modules/bluetooth/sbc_tables.h modules/bluetooth/sbc_math.h modules/bluetooth/sbc_primitives.h modules/bluetooth/sbc_primitives.c modules/bluetooth/sbc_primitives_mmx.h modules/bluetooth/sbc_primitives_neon.h modules/bluetooth/sbc_primitives_mmx.c modules/bluetooth/sbc_primitives_neon.c
1823 libbluetooth_sbc_la_LDFLAGS = -avoid-version
1824 libbluetooth_sbc_la_LIBADD = $(MODULE_LIBADD)
1825 libbluetooth_sbc_la_CFLAGS = $(AM_CFLAGS)
1826 BLUETOOTH_SBC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_sbc_la_SOURCES))
1828 libbluetooth_ipc_la_SOURCES = modules/bluetooth/ipc.c modules/bluetooth/ipc.h
1829 libbluetooth_ipc_la_LDFLAGS = -avoid-version
1830 libbluetooth_ipc_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1831 libbluetooth_ipc_la_CFLAGS = $(AM_CFLAGS)
1832 BLUETOOTH_IPC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_ipc_la_SOURCES)) rtp.h
1834 libbluetooth_util_la_SOURCES = modules/bluetooth/bluetooth-util.c modules/bluetooth/bluetooth-util.h
1835 libbluetooth_util_la_LDFLAGS = -avoid-version
1836 libbluetooth_util_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1837 libbluetooth_util_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1839 module_bluetooth_device_la_SOURCES = modules/bluetooth/module-bluetooth-device.c modules/bluetooth/rtp.h
1840 module_bluetooth_device_la_LDFLAGS = $(MODULE_LDFLAGS)
1841 module_bluetooth_device_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libbluetooth-util.la libbluetooth-ipc.la libbluetooth-sbc.la
1842 module_bluetooth_device_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1844 # Apple Airtunes/RAOP
1845 module_raop_sink_la_SOURCES = modules/raop/module-raop-sink.c
1846 module_raop_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1847 module_raop_sink_la_LIBADD = $(MODULE_LIBADD) librtp.la libraop.la
1848 module_raop_sink_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/src/modules/rtp
1850 module_raop_discover_la_SOURCES = modules/raop/module-raop-discover.c
1851 module_raop_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1852 module_raop_discover_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la
1853 module_raop_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1856 module_rygel_media_server_la_SOURCES = modules/module-rygel-media-server.c
1857 module_rygel_media_server_la_LDFLAGS = $(MODULE_LDFLAGS)
1858 module_rygel_media_server_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libprotocol-http.la
1859 module_rygel_media_server_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1861 ###################################
1862 # Some minor stuff #
1863 ###################################
1865 CLEANFILES += esdcompat client.conf default.pa system.pa daemon.conf start-pulseaudio-x11 start-pulseaudio-kde daemon/pulseaudio.desktop daemon/pulseaudio-kde.desktop
1867 esdcompat: daemon/esdcompat.in Makefile
1868 sed -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1869 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1870 -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1873 start-pulseaudio-x11: daemon/start-pulseaudio-x11.in Makefile
1874 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1875 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1876 chmod +x start-pulseaudio-x11
1878 start-pulseaudio-kde: daemon/start-pulseaudio-kde.in Makefile
1879 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1880 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1881 chmod +x start-pulseaudio-kde
1883 client.conf: pulse/client.conf.in Makefile
1884 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1887 default.pa: daemon/default.pa.win32
1889 system.pa: daemon/default.pa.win32
1892 default.pa: daemon/default.pa.in Makefile
1893 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1894 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1895 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1896 system.pa: daemon/system.pa.in Makefile
1897 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1898 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1899 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1902 daemon.conf: daemon/daemon.conf.in Makefile
1903 sed -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1904 -e 's,@PA_DEFAULT_CONFIG_FILE\@,$(DEFAULT_CONFIG_DIR),g' < $< > $@
1907 -chown root $(DESTDIR)$(pulselibexecdir)/proximity-helper
1908 -chmod u+s $(DESTDIR)$(pulselibexecdir)/proximity-helper
1909 ln -sf pacat $(DESTDIR)$(bindir)/parec
1910 ln -sf pacat $(DESTDIR)$(bindir)/pamon
1911 ln -sf pacat $(DESTDIR)$(bindir)/paplay
1912 ln -sf pacat $(DESTDIR)$(bindir)/parecord
1913 rm -f $(DESTDIR)$(libdir)/libpulsedsp.la
1914 rm -f $(DESTDIR)$(modlibexecdir)/*.la
1917 rm -f $(DESTDIR)$(bindir)/parec
1918 rm -f $(DESTDIR)$(bindir)/pamon
1919 rm -f $(DESTDIR)$(bindir)/paplay
1920 rm -f $(DESTDIR)$(bindir)/parecord
1921 rm -f $(DESTDIR)$(libdir)/libpulsedsp.*
1922 rm -f $(DESTDIR)$(modlibexecdir)/*.so
1925 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
1928 wget -O pulsecore/ffmpeg/resample2.c http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/resample2.c?view=co
1930 # We get things twice here, because sometimes gitweb will us just give a "Generating..." otherwise.
1932 for i in $(BLUETOOTH_SBC_FILES) ; do \
1933 wget -O /dev/null http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=sbc/$$i ; \
1934 wget -O modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=sbc/$$i ; \
1936 for i in $(BLUETOOTH_IPC_FILES); do \
1937 wget -O /dev/null http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
1938 wget -O modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
1942 for i in reserve.c reserve.h reserve-monitor.c reserve-monitor.h ; do \
1943 wget -O modules/$$i http://git.0pointer.de/\?p=reserve.git\;a=blob_plain\;f=$$i\;hb=master ; \
1947 for i in rtkit.c rtkit.h ; do \
1948 wget -O pulsecore/$$i http://git.0pointer.de/\?p=rtkit.git\;a=blob_plain\;f=$$i\;hb=master ; \
1951 # Automatically generate linker version script. We use the same one for all public .sos
1953 ( echo "PULSE_0 {" ; \
1955 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 ; \
1958 echo "};" ) > $(srcdir)/map-file
1960 update-all: update-ffmpeg update-sbc update-map-file
1962 .PHONY: utils/padsp massif update-all update-ffmpeg update-sbc update-map-file