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 \
263 lock-autospawn-test \
279 thread-mainloop-test \
281 get-binary-name-test \
299 lock-autospawn-test \
344 if BUILD_TESTS_DEFAULT
345 noinst_PROGRAMS = $(TESTS_BINARIES)
347 check_PROGRAMS = $(TESTS_BINARIES)
350 mainloop_test_SOURCES = tests/mainloop-test.c
351 mainloop_test_CFLAGS = $(AM_CFLAGS)
352 mainloop_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
353 mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
355 thread_mainloop_test_SOURCES = tests/thread-mainloop-test.c
356 thread_mainloop_test_CFLAGS = $(AM_CFLAGS)
357 thread_mainloop_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
358 thread_mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
360 utf8_test_SOURCES = tests/utf8-test.c
361 utf8_test_CFLAGS = $(AM_CFLAGS)
362 utf8_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
363 utf8_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
365 get_binary_name_test_SOURCES = tests/get-binary-name-test.c
366 get_binary_name_test_CFLAGS = $(AM_CFLAGS)
367 get_binary_name_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
368 get_binary_name_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
370 ipacl_test_SOURCES = tests/ipacl-test.c
371 ipacl_test_CFLAGS = $(AM_CFLAGS)
372 ipacl_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
373 ipacl_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
375 hook_list_test_SOURCES = tests/hook-list-test.c
376 hook_list_test_CFLAGS = $(AM_CFLAGS)
377 hook_list_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
378 hook_list_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
380 memblock_test_SOURCES = tests/memblock-test.c
381 memblock_test_CFLAGS = $(AM_CFLAGS)
382 memblock_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
383 memblock_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
385 thread_test_SOURCES = tests/thread-test.c
386 thread_test_CFLAGS = $(AM_CFLAGS)
387 thread_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
388 thread_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
390 once_test_SOURCES = tests/once-test.c
391 once_test_CFLAGS = $(AM_CFLAGS)
392 once_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
393 once_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
395 flist_test_SOURCES = tests/flist-test.c
396 flist_test_CFLAGS = $(AM_CFLAGS)
397 flist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
398 flist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
400 asyncq_test_SOURCES = tests/asyncq-test.c
401 asyncq_test_CFLAGS = $(AM_CFLAGS)
402 asyncq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
403 asyncq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
405 asyncmsgq_test_SOURCES = tests/asyncmsgq-test.c
406 asyncmsgq_test_CFLAGS = $(AM_CFLAGS)
407 asyncmsgq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
408 asyncmsgq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
410 queue_test_SOURCES = tests/queue-test.c
411 queue_test_CFLAGS = $(AM_CFLAGS)
412 queue_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
413 queue_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
415 rtpoll_test_SOURCES = tests/rtpoll-test.c
416 rtpoll_test_CFLAGS = $(AM_CFLAGS)
417 rtpoll_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
418 rtpoll_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
420 mcalign_test_SOURCES = tests/mcalign-test.c
421 mcalign_test_CFLAGS = $(AM_CFLAGS)
422 mcalign_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
423 mcalign_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
425 pacat_simple_SOURCES = tests/pacat-simple.c
426 pacat_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la libpulsecommon-@PA_MAJORMINOR@.la
427 pacat_simple_CFLAGS = $(AM_CFLAGS)
428 pacat_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
430 parec_simple_SOURCES = tests/parec-simple.c
431 parec_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la libpulsecommon-@PA_MAJORMINOR@.la
432 parec_simple_CFLAGS = $(AM_CFLAGS)
433 parec_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
435 strlist_test_SOURCES = tests/strlist-test.c
436 strlist_test_CFLAGS = $(AM_CFLAGS)
437 strlist_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
438 strlist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
440 close_test_SOURCES = tests/close-test.c
441 close_test_CFLAGS = $(AM_CFLAGS)
442 close_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
443 close_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
445 voltest_SOURCES = tests/voltest.c
446 voltest_CFLAGS = $(AM_CFLAGS)
447 voltest_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
448 voltest_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
450 vector_test_SOURCES = tests/vector-test.c
451 vector_test_CFLAGS = $(AM_CFLAGS)
452 vector_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
453 vector_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
455 channelmap_test_SOURCES = tests/channelmap-test.c
456 channelmap_test_CFLAGS = $(AM_CFLAGS)
457 channelmap_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
458 channelmap_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
460 cpulimit_test_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
461 cpulimit_test_CFLAGS = $(AM_CFLAGS)
462 cpulimit_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
463 cpulimit_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
465 cpulimit_test2_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
466 cpulimit_test2_CFLAGS = $(AM_CFLAGS) -DTEST2
467 cpulimit_test2_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
468 cpulimit_test2_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
470 mainloop_test_glib_SOURCES = $(mainloop_test_SOURCES)
471 mainloop_test_glib_CFLAGS = $(mainloop_test_CFLAGS) $(GLIB20_CFLAGS) -DGLIB_MAIN_LOOP
472 mainloop_test_glib_LDADD = $(mainloop_test_LDADD) $(GLIB20_LIBS) libpulse-mainloop-glib.la
473 mainloop_test_glib_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
475 memblockq_test_SOURCES = tests/memblockq-test.c
476 memblockq_test_CFLAGS = $(AM_CFLAGS)
477 memblockq_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
478 memblockq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
480 sync_playback_SOURCES = tests/sync-playback.c
481 sync_playback_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
482 sync_playback_CFLAGS = $(AM_CFLAGS)
483 sync_playback_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
485 interpol_test_SOURCES = tests/interpol-test.c
486 interpol_test_LDADD = $(AM_LDADD) libpulse.la libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
487 interpol_test_CFLAGS = $(AM_CFLAGS)
488 interpol_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
490 sig2str_test_SOURCES = tests/sig2str-test.c
491 sig2str_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
492 sig2str_test_CFLAGS = $(AM_CFLAGS)
493 sig2str_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
495 resampler_test_SOURCES = tests/resampler-test.c
496 resampler_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
497 resampler_test_CFLAGS = $(AM_CFLAGS)
498 resampler_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
500 mix_test_SOURCES = tests/mix-test.c
501 mix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
502 mix_test_CFLAGS = $(AM_CFLAGS)
503 mix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
505 remix_test_SOURCES = tests/remix-test.c
506 remix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
507 remix_test_CFLAGS = $(AM_CFLAGS)
508 remix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
510 smoother_test_SOURCES = tests/smoother-test.c
511 smoother_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
512 smoother_test_CFLAGS = $(AM_CFLAGS)
513 smoother_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
515 proplist_test_SOURCES = tests/proplist-test.c
516 proplist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
517 proplist_test_CFLAGS = $(AM_CFLAGS)
518 proplist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
520 rtstutter_SOURCES = tests/rtstutter.c
521 rtstutter_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
522 rtstutter_CFLAGS = $(AM_CFLAGS)
523 rtstutter_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
525 stripnul_SOURCES = tests/stripnul.c
526 stripnul_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
527 stripnul_CFLAGS = $(AM_CFLAGS)
528 stripnul_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
530 lock_autospawn_test_SOURCES = tests/lock-autospawn-test.c
531 lock_autospawn_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
532 lock_autospawn_test_CFLAGS = $(AM_CFLAGS)
533 lock_autospawn_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
535 prioq_test_SOURCES = tests/prioq-test.c
536 prioq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
537 prioq_test_CFLAGS = $(AM_CFLAGS)
538 prioq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
540 sigbus_test_SOURCES = tests/sigbus-test.c
541 sigbus_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
542 sigbus_test_CFLAGS = $(AM_CFLAGS)
543 sigbus_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
545 gtk_test_SOURCES = tests/gtk-test.c
546 gtk_test_LDADD = $(AM_LDADD) libpulse.la libpulse-mainloop-glib.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
547 gtk_test_CFLAGS = $(AM_CFLAGS) $(GTK20_CFLAGS)
548 gtk_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(GTK20_LIBS)
550 alsa_time_test_SOURCES = tests/alsa-time-test.c
551 alsa_time_test_LDADD = $(AM_LDADD)
552 alsa_time_test_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
553 alsa_time_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(ASOUNDLIB_LIBS)
555 usergroup_test_SOURCES = tests/usergroup-test.c
556 usergroup_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
557 usergroup_test_CFLAGS = $(AM_CFLAGS)
558 usergroup_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
560 ###################################
562 ###################################
565 libpulsecommon-@PA_MAJORMINOR@.la
567 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES = \
568 pulse/client-conf.c pulse/client-conf.h \
569 pulse/i18n.c pulse/i18n.h \
570 pulse/fork-detect.c pulse/fork-detect.h \
571 pulse/xmalloc.c pulse/xmalloc.h \
572 pulse/proplist.c pulse/proplist.h \
573 pulse/utf8.c pulse/utf8.h \
574 pulse/channelmap.c pulse/channelmap.h \
575 pulse/sample.c pulse/sample.h \
576 pulse/util.c pulse/util.h \
577 pulse/timeval.c pulse/timeval.h \
578 pulse/rtclock.c pulse/rtclock.h \
580 pulsecore/authkey.c pulsecore/authkey.h \
581 pulsecore/conf-parser.c pulsecore/conf-parser.h \
582 pulsecore/core-error.c pulsecore/core-error.h \
583 pulsecore/core-rtclock.c pulsecore/core-rtclock.h \
584 pulsecore/core-util.c pulsecore/core-util.h \
586 pulsecore/dynarray.c pulsecore/dynarray.h \
587 pulsecore/endianmacros.h \
588 pulsecore/flist.c pulsecore/flist.h \
589 pulsecore/hashmap.c pulsecore/hashmap.h \
590 pulsecore/idxset.c pulsecore/idxset.h \
591 pulsecore/inet_ntop.c pulsecore/inet_ntop.h \
592 pulsecore/inet_pton.c pulsecore/inet_pton.h \
593 pulsecore/iochannel.c pulsecore/iochannel.h \
594 pulsecore/ioline.c pulsecore/ioline.h \
595 pulsecore/ipacl.h pulsecore/ipacl.c \
597 pulsecore/lock-autospawn.c pulsecore/lock-autospawn.h \
598 pulsecore/log.c pulsecore/log.h \
599 pulsecore/ratelimit.c pulsecore/ratelimit.h \
600 pulsecore/macro.h pulsecore/vector.h \
601 pulsecore/mcalign.c pulsecore/mcalign.h \
602 pulsecore/memblock.c pulsecore/memblock.h \
603 pulsecore/memblockq.c pulsecore/memblockq.h \
604 pulsecore/memchunk.c pulsecore/memchunk.h \
605 pulsecore/native-common.h \
606 pulsecore/once.c pulsecore/once.h \
607 pulsecore/packet.c pulsecore/packet.h \
608 pulsecore/parseaddr.c pulsecore/parseaddr.h \
609 pulsecore/pdispatch.c pulsecore/pdispatch.h \
610 pulsecore/pid.c pulsecore/pid.h \
611 pulsecore/pipe.c pulsecore/pipe.h \
612 pulsecore/poll.c pulsecore/poll.h \
613 pulsecore/prioq.c pulsecore/prioq.h \
614 pulsecore/memtrap.c pulsecore/memtrap.h \
615 pulsecore/aupdate.c pulsecore/aupdate.h \
616 pulsecore/proplist-util.c pulsecore/proplist-util.h \
617 pulsecore/pstream-util.c pulsecore/pstream-util.h \
618 pulsecore/pstream.c pulsecore/pstream.h \
619 pulsecore/queue.c pulsecore/queue.h \
620 pulsecore/random.c pulsecore/random.h \
622 pulsecore/shm.c pulsecore/shm.h \
623 pulsecore/bitset.c pulsecore/bitset.h \
624 pulsecore/socket-client.c pulsecore/socket-client.h \
625 pulsecore/socket-server.c pulsecore/socket-server.h \
626 pulsecore/socket-util.c pulsecore/socket-util.h \
627 pulsecore/strbuf.c pulsecore/strbuf.h \
628 pulsecore/strlist.c pulsecore/strlist.h \
629 pulsecore/tagstruct.c pulsecore/tagstruct.h \
630 pulsecore/time-smoother.c pulsecore/time-smoother.h \
631 pulsecore/tokenizer.c pulsecore/tokenizer.h \
632 pulsecore/usergroup.c pulsecore/usergroup.h \
633 pulsecore/sndfile-util.c pulsecore/sndfile-util.h \
636 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSNDFILE_CFLAGS)
637 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
638 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) $(LIBWRAP_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) $(LIBSAMPLERATE_LIBS) $(LIBSNDFILE_LIBS)
641 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulse/client-conf-x11.c pulse/client-conf-x11.h
642 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
643 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
646 # proplist-util.h uses these header files, but not the library itself!
647 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(GLIB20_CFLAGS) $(GTK20_CFLAGS)
649 ## Please note that libpulsecommon implicitly also depends on<
650 ## libpulse! i.e. we have a cyclic dependancy here. Which is intended
651 ## since libpulse only includes stable, official APIs, while
652 ## libpulsecommon only includes unofficial APIs.
655 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
656 pulsecore/mutex-win32.c pulsecore/mutex.h \
657 pulsecore/thread-win32.c pulsecore/thread.h \
658 pulsecore/semaphore-win32.c pulsecore/semaphore.h
661 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
662 pulsecore/mutex-posix.c pulsecore/mutex.h \
663 pulsecore/thread-posix.c pulsecore/thread.h \
664 pulsecore/semaphore-osx.c pulsecore/semaphore.h
665 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += "-I/Developer/Headers/FlatCarbon/"
666 #libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += "-framework CoreServices"
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-posix.c pulsecore/semaphore.h
676 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulsecore/x11prop.c pulsecore/x11prop.h
677 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
678 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
682 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(LIBASYNCNS_CFLAGS)
683 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD += $(LIBASYNCNS_LIBS)
687 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulsecore/dllmain.c
691 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
692 pulsecore/dbus-util.c pulsecore/dbus-util.h \
693 pulsecore/rtkit.c pulsecore/rtkit.h
694 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(DBUS_CFLAGS)
695 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD += $(DBUS_LIBS)
698 ###################################
700 ###################################
702 pulseinclude_HEADERS = \
708 pulse/ext-device-manager.h \
709 pulse/ext-stream-restore.h \
712 pulse/mainloop-api.h \
713 pulse/mainloop-signal.h \
724 pulse/thread-mainloop.h \
737 pulseinclude_HEADERS += \
745 pulseinclude_HEADERS += \
746 pulse/glib-mainloop.h
749 libpulse-mainloop-glib.la
753 libpulse_la_SOURCES = \
755 pulse/channelmap.c pulse/channelmap.h \
756 pulse/context.c pulse/context.h \
758 pulse/error.c pulse/error.h \
759 pulse/ext-device-manager.c pulse/ext-device-manager.h \
760 pulse/ext-stream-restore.c pulse/ext-stream-restore.h \
763 pulse/introspect.c pulse/introspect.h \
764 pulse/mainloop-api.c pulse/mainloop-api.h \
765 pulse/mainloop-signal.c pulse/mainloop-signal.h \
766 pulse/mainloop.c pulse/mainloop.h \
767 pulse/operation.c pulse/operation.h \
768 pulse/proplist.c pulse/proplist.h \
770 pulse/rtclock.c pulse/rtclock.h \
771 pulse/sample.c pulse/sample.h \
772 pulse/scache.c pulse/scache.h \
773 pulse/stream.c pulse/stream.h \
774 pulse/subscribe.c pulse/subscribe.h \
775 pulse/thread-mainloop.c pulse/thread-mainloop.h \
776 pulse/timeval.c pulse/timeval.h \
777 pulse/utf8.c pulse/utf8.h \
778 pulse/util.c pulse/util.h \
779 pulse/volume.c pulse/volume.h \
780 pulse/xmalloc.c pulse/xmalloc.h
782 libpulse_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
783 libpulse_la_LIBADD = $(AM_LIBADD) $(WINSOCK_LIBS) $(LTLIBICONV) libpulsecommon-@PA_MAJORMINOR@.la
784 libpulse_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_VERSION_INFO)
786 libpulse_simple_la_SOURCES = pulse/simple.c pulse/simple.h
787 libpulse_simple_la_CFLAGS = $(AM_CFLAGS)
788 libpulse_simple_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
789 libpulse_simple_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_SIMPLE_VERSION_INFO)
791 libpulse_browse_la_SOURCES = pulse/browser.c pulse/browser.h pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
792 libpulse_browse_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
793 libpulse_browse_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(AVAHI_LIBS)
794 libpulse_browse_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_BROWSE_VERSION_INFO)
796 libpulse_mainloop_glib_la_SOURCES = pulse/glib-mainloop.h pulse/glib-mainloop.c
797 libpulse_mainloop_glib_la_CFLAGS = $(AM_CFLAGS) $(GLIB20_CFLAGS)
798 libpulse_mainloop_glib_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(GLIB20_LIBS)
799 libpulse_mainloop_glib_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_MAINLOOP_GLIB_VERSION_INFO)
801 ###################################
803 ###################################
806 lib_LTLIBRARIES += libpulsedsp.la
807 bin_SCRIPTS += utils/padsp
810 libpulsedsp_la_SOURCES = utils/padsp.c
811 libpulsedsp_la_CFLAGS = $(AM_CFLAGS)
812 libpulsedsp_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
813 libpulsedsp_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version -disable-static
815 ###################################
816 # Daemon core library #
817 ###################################
819 lib_LTLIBRARIES += libpulsecore-@PA_MAJORMINOR@.la
822 libpulsecore_@PA_MAJORMINOR@_la_SOURCES = \
823 pulsecore/asyncmsgq.c pulsecore/asyncmsgq.h \
824 pulsecore/asyncq.c pulsecore/asyncq.h \
825 pulsecore/auth-cookie.c pulsecore/auth-cookie.h \
826 pulsecore/cli-command.c pulsecore/cli-command.h \
827 pulsecore/cli-text.c pulsecore/cli-text.h \
828 pulsecore/client.c pulsecore/client.h \
829 pulsecore/card.c pulsecore/card.h \
830 pulsecore/core-scache.c pulsecore/core-scache.h \
831 pulsecore/core-subscribe.c pulsecore/core-subscribe.h \
832 pulsecore/core.c pulsecore/core.h \
833 pulsecore/fdsem.c pulsecore/fdsem.h \
834 pulsecore/g711.c pulsecore/g711.h \
835 pulsecore/hook-list.c pulsecore/hook-list.h \
836 pulsecore/ltdl-helper.c pulsecore/ltdl-helper.h \
837 pulsecore/modargs.c pulsecore/modargs.h \
838 pulsecore/modinfo.c pulsecore/modinfo.h \
839 pulsecore/module.c pulsecore/module.h \
840 pulsecore/msgobject.c pulsecore/msgobject.h \
841 pulsecore/namereg.c pulsecore/namereg.h \
842 pulsecore/object.c pulsecore/object.h \
843 pulsecore/play-memblockq.c pulsecore/play-memblockq.h \
844 pulsecore/play-memchunk.c pulsecore/play-memchunk.h \
845 pulsecore/remap.c pulsecore/remap.h \
846 pulsecore/remap_mmx.c pulsecore/remap_sse.c \
847 pulsecore/resampler.c pulsecore/resampler.h \
848 pulsecore/rtpoll.c pulsecore/rtpoll.h \
849 pulsecore/sample-util.c pulsecore/sample-util.h \
851 pulsecore/cpu-arm.c pulsecore/cpu-arm.h \
852 pulsecore/cpu-x86.c pulsecore/cpu-x86.h \
853 pulsecore/cpu-orc.c pulsecore/cpu-orc.h \
854 pulsecore/svolume_c.c pulsecore/svolume_arm.c \
855 pulsecore/svolume_mmx.c pulsecore/svolume_sse.c \
856 pulsecore/sconv-s16be.c pulsecore/sconv-s16be.h \
857 pulsecore/sconv-s16le.c pulsecore/sconv-s16le.h \
858 pulsecore/sconv_sse.c \
859 pulsecore/sconv.c pulsecore/sconv.h \
860 pulsecore/shared.c pulsecore/shared.h \
861 pulsecore/shm.c pulsecore/shm.h \
862 pulsecore/sink-input.c pulsecore/sink-input.h \
863 pulsecore/sink.c pulsecore/sink.h \
864 pulsecore/sioman.c pulsecore/sioman.h \
865 pulsecore/sound-file-stream.c pulsecore/sound-file-stream.h \
866 pulsecore/sound-file.c pulsecore/sound-file.h \
867 pulsecore/source-output.c pulsecore/source-output.h \
868 pulsecore/source.c pulsecore/source.h \
869 pulsecore/start-child.c pulsecore/start-child.h \
870 pulsecore/thread-mq.c pulsecore/thread-mq.h \
871 pulsecore/time-smoother.c pulsecore/time-smoother.h \
874 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSPEEX_CFLAGS) $(LIBSNDFILE_CFLAGS) $(WINSOCK_CFLAGS)
875 libpulsecore_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
876 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
879 ORC_SOURCE += pulsecore/svolume
880 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/svolume_orc.c
881 nodist_libpulsecore_@PA_MAJORMINOR@_la_SOURCES = pulsecore/svolume-orc-gen.c pulsecore/svolume-orc-gen.h
882 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(ORC_CFLAGS)
883 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(ORC_LIBS)
887 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/x11wrap.c pulsecore/x11wrap.h
888 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
889 libpulsecore_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
893 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += \
894 pulsecore/dbus-shared.c pulsecore/dbus-shared.h \
895 pulsecore/protocol-dbus.c pulsecore/protocol-dbus.h
896 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(DBUS_CFLAGS)
897 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(DBUS_LIBS)
901 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-gdbm.c
902 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(GDBM_CFLAGS)
903 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(GDBM_LIBS)
907 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-tdb.c
908 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(TDB_CFLAGS)
909 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(TDB_LIBS)
913 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-simple.c
916 # We split the foreign code off to not be annoyed by warnings we don't care about
917 noinst_LTLIBRARIES = libpulsecore-foreign.la
919 libpulsecore_foreign_la_SOURCES = \
920 pulsecore/ffmpeg/resample2.c pulsecore/ffmpeg/avcodec.h pulsecore/ffmpeg/dsputil.h
922 libpulsecore_foreign_la_CFLAGS = $(AM_CFLAGS) $(FOREIGN_CFLAGS)
924 ###################################
925 # Plug-in support libraries #
926 ###################################
928 ### Warning! Due to an obscure bug in libtool/automake it is required
929 ### that the libraries in modlibexec_LTLIBRARIES are specified in-order,
930 ### i.e. libraries near the end of the list depend on libraries near
931 ### the head, and not the other way!
933 modlibexec_LTLIBRARIES = \
936 libprotocol-simple.la \
937 libprotocol-http.la \
938 libprotocol-native.la \
939 libprotocol-esound.la
941 # We need to emulate sendmsg/recvmsg to support this on Win32
943 modlibexec_LTLIBRARIES += \
948 modlibexec_LTLIBRARIES += \
952 libprotocol_simple_la_SOURCES = pulsecore/protocol-simple.c pulsecore/protocol-simple.h
953 libprotocol_simple_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
954 libprotocol_simple_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
956 libcli_la_SOURCES = pulsecore/cli.c pulsecore/cli.h
957 libcli_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
958 libcli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
960 libprotocol_cli_la_SOURCES = pulsecore/protocol-cli.c pulsecore/protocol-cli.h
961 libprotocol_cli_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
962 libprotocol_cli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la libcli.la
964 libprotocol_http_la_SOURCES = pulsecore/protocol-http.c pulsecore/protocol-http.h pulsecore/mime-type.c pulsecore/mime-type.h
965 libprotocol_http_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
966 libprotocol_http_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
968 libprotocol_native_la_SOURCES = pulsecore/protocol-native.c pulsecore/protocol-native.h pulsecore/native-common.h
969 libprotocol_native_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
970 libprotocol_native_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
972 libprotocol_esound_la_SOURCES = pulsecore/protocol-esound.c pulsecore/protocol-esound.h pulsecore/esound.h
973 libprotocol_esound_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
974 libprotocol_esound_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
976 librtp_la_SOURCES = \
977 modules/rtp/rtp.c modules/rtp/rtp.h \
978 modules/rtp/sdp.c modules/rtp/sdp.h \
979 modules/rtp/sap.c modules/rtp/sap.h \
980 modules/rtp/rtsp_client.c modules/rtp/rtsp_client.h \
981 modules/rtp/headerlist.c modules/rtp/headerlist.h
982 librtp_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
983 librtp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
985 libraop_la_SOURCES = \
986 modules/raop/raop_client.c modules/raop/raop_client.h \
987 modules/raop/base64.c modules/raop/base64.h
988 libraop_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_CFLAGS) -I$(top_srcdir)/src/modules/rtp
989 libraop_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
990 libraop_la_LIBADD = $(AM_LIBADD) $(OPENSSL_LIBS) libpulsecore-@PA_MAJORMINOR@.la librtp.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
993 libavahi_wrap_la_SOURCES = pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
994 libavahi_wrap_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
995 libavahi_wrap_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
996 libavahi_wrap_la_LIBADD = $(AM_LIBADD) $(AVAHI_CFLAGS) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
998 ###################################
999 # Plug-in libraries #
1000 ###################################
1003 # Serveral module (e.g. libalsa-util.la)
1004 modlibexec_LTLIBRARIES += \
1005 module-console-kit.la
1008 modlibexec_LTLIBRARIES += \
1010 module-cli-protocol-tcp.la \
1011 module-simple-protocol-tcp.la \
1012 module-null-sink.la \
1013 module-sine-source.la \
1015 module-volume-restore.la \
1016 module-device-manager.la \
1017 module-device-restore.la \
1018 module-stream-restore.la \
1019 module-card-restore.la \
1020 module-default-device-restore.la \
1021 module-always-sink.la \
1022 module-rescue-streams.la \
1023 module-intended-roles.la \
1024 module-suspend-on-idle.la \
1025 module-echo-cancel.la \
1026 module-http-protocol-tcp.la \
1028 module-native-protocol-tcp.la \
1029 module-native-protocol-fd.la \
1030 module-esound-protocol-tcp.la \
1032 module-remap-sink.la \
1033 module-ladspa-sink.la \
1034 module-esound-sink.la \
1035 module-tunnel-sink.la \
1036 module-tunnel-source.la \
1037 module-position-event-sounds.la \
1038 module-augment-properties.la \
1039 module-cork-music-on-phone.la \
1040 module-loopback.la \
1041 module-virtual-sink.la \
1042 module-virtual-source.la
1044 # See comment at librtp.la above
1046 modlibexec_LTLIBRARIES += \
1047 module-rtp-send.la \
1052 modlibexec_LTLIBRARIES += \
1053 module-cli-protocol-unix.la \
1054 module-simple-protocol-unix.la \
1055 module-http-protocol-unix.la \
1056 module-native-protocol-unix.la \
1057 module-esound-protocol-unix.la
1061 modlibexec_LTLIBRARIES += \
1062 module-pipe-sink.la \
1063 module-pipe-source.la
1067 modlibexec_LTLIBRARIES += \
1068 module-esound-compat-spawnfd.la \
1069 module-esound-compat-spawnpid.la
1073 modlibexec_LTLIBRARIES += \
1078 modlibexec_LTLIBRARIES += \
1079 module-x11-bell.la \
1080 module-x11-publish.la \
1081 module-x11-xsmp.la \
1082 module-x11-cork-request.la
1086 modlibexec_LTLIBRARIES += \
1092 modlibexec_LTLIBRARIES += \
1093 module-coreaudio-detect.la \
1094 module-coreaudio-device.la
1097 pulselibexec_PROGRAMS =
1100 modlibexec_LTLIBRARIES += \
1102 module-alsa-sink.la \
1103 module-alsa-source.la \
1106 dist_alsaprofilesets_DATA = \
1107 modules/alsa/mixer/profile-sets/default.conf \
1108 modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf \
1109 modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \
1110 modules/alsa/mixer/profile-sets/native-instruments-audio8dj.conf \
1111 modules/alsa/mixer/profile-sets/native-instruments-traktor-audio6.conf \
1112 modules/alsa/mixer/profile-sets/native-instruments-traktor-audio10.conf \
1113 modules/alsa/mixer/profile-sets/native-instruments-traktorkontrol-s4.conf \
1114 modules/alsa/mixer/profile-sets/native-instruments-korecontroller.conf
1117 dist_udevrules_DATA = \
1118 modules/alsa/mixer/profile-sets/90-pulseaudio.rules
1121 dist_alsapaths_DATA = \
1122 modules/alsa/mixer/paths/analog-input-aux.conf \
1123 modules/alsa/mixer/paths/analog-input.conf \
1124 modules/alsa/mixer/paths/analog-input.conf.common \
1125 modules/alsa/mixer/paths/analog-input-fm.conf \
1126 modules/alsa/mixer/paths/analog-input-linein.conf \
1127 modules/alsa/mixer/paths/analog-input-mic.conf \
1128 modules/alsa/mixer/paths/analog-input-dock-mic.conf \
1129 modules/alsa/mixer/paths/analog-input-front-mic.conf \
1130 modules/alsa/mixer/paths/analog-input-internal-mic.conf \
1131 modules/alsa/mixer/paths/analog-input-rear-mic.conf \
1132 modules/alsa/mixer/paths/analog-input-mic.conf.common \
1133 modules/alsa/mixer/paths/analog-input-mic-line.conf \
1134 modules/alsa/mixer/paths/analog-input-tvtuner.conf \
1135 modules/alsa/mixer/paths/analog-input-video.conf \
1136 modules/alsa/mixer/paths/analog-output.conf \
1137 modules/alsa/mixer/paths/analog-output-speaker.conf \
1138 modules/alsa/mixer/paths/analog-output.conf.common \
1139 modules/alsa/mixer/paths/analog-output-desktop-speaker.conf \
1140 modules/alsa/mixer/paths/analog-output-headphones.conf \
1141 modules/alsa/mixer/paths/analog-output-headphones-2.conf \
1142 modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf \
1143 modules/alsa/mixer/paths/analog-output-mono.conf \
1144 modules/alsa/mixer/paths/iec958-stereo-output.conf \
1145 modules/alsa/mixer/paths/iec958-passthrough-output.conf
1150 modlibexec_LTLIBRARIES += \
1155 modlibexec_LTLIBRARIES += \
1156 module-zeroconf-publish.la \
1157 module-zeroconf-discover.la
1161 modlibexec_LTLIBRARIES += \
1162 module-bonjour-publish.la
1166 modlibexec_LTLIBRARIES += \
1171 modlibexec_LTLIBRARIES += \
1172 module-mmkbd-evdev.la
1176 modlibexec_LTLIBRARIES += \
1177 module-jack-sink.la \
1178 module-jack-source.la
1181 modlibexec_LTLIBRARIES += \
1182 module-jackdbus-detect.la
1188 modlibexec_LTLIBRARIES += \
1191 pulselibexec_PROGRAMS += \
1196 modlibexec_LTLIBRARIES += \
1201 modlibexec_LTLIBRARIES += \
1202 module-hal-detect.la
1206 modlibexec_LTLIBRARIES += \
1207 module-hal-detect.la
1211 modlibexec_LTLIBRARIES += \
1212 module-udev-detect.la
1216 modlibexec_LTLIBRARIES += \
1217 module-rygel-media-server.la \
1218 module-dbus-protocol.la
1222 modlibexec_LTLIBRARIES += \
1223 libbluetooth-util.la \
1224 module-bluetooth-proximity.la \
1225 module-bluetooth-discover.la \
1226 libbluetooth-ipc.la \
1227 libbluetooth-sbc.la \
1228 module-bluetooth-device.la
1230 pulselibexec_PROGRAMS += \
1235 modlibexec_LTLIBRARIES += \
1239 modlibexec_LTLIBRARIES += \
1240 module-raop-discover.la
1245 modlibexec_LTLIBRARIES += \
1246 module-equalizer-sink.la
1247 bin_SCRIPTS += utils/qpaeq
1250 # These are generated by an M4 script
1252 module-cli-symdef.h \
1253 module-cli-protocol-tcp-symdef.h \
1254 module-cli-protocol-unix-symdef.h \
1255 module-pipe-sink-symdef.h \
1256 module-pipe-source-symdef.h \
1257 module-simple-protocol-tcp-symdef.h \
1258 module-simple-protocol-unix-symdef.h \
1259 module-esound-protocol-tcp-symdef.h \
1260 module-esound-protocol-unix-symdef.h \
1261 module-native-protocol-tcp-symdef.h \
1262 module-native-protocol-unix-symdef.h \
1263 module-native-protocol-fd-symdef.h \
1264 module-sine-symdef.h \
1265 module-combine-symdef.h \
1266 module-remap-sink-symdef.h \
1267 module-ladspa-sink-symdef.h \
1268 module-equalizer-sink-symdef.h \
1269 module-esound-compat-spawnfd-symdef.h \
1270 module-esound-compat-spawnpid-symdef.h \
1271 module-match-symdef.h \
1272 module-tunnel-sink-symdef.h \
1273 module-tunnel-source-symdef.h \
1274 module-null-sink-symdef.h \
1275 module-sine-source-symdef.h \
1276 module-esound-sink-symdef.h \
1277 module-zeroconf-publish-symdef.h \
1278 module-zeroconf-discover-symdef.h \
1279 module-bonjour-publish-symdef.h \
1280 module-lirc-symdef.h \
1281 module-mmkbd-evdev-symdef.h \
1282 module-http-protocol-tcp-symdef.h \
1283 module-http-protocol-unix-symdef.h \
1284 module-rygel-media-server-symdef.h \
1285 module-x11-bell-symdef.h \
1286 module-x11-publish-symdef.h \
1287 module-x11-xsmp-symdef.h \
1288 module-x11-cork-request-symdef.h \
1289 module-oss-symdef.h \
1290 module-alsa-sink-symdef.h \
1291 module-alsa-source-symdef.h \
1292 module-alsa-card-symdef.h \
1293 module-coreaudio-detect-symdef.h \
1294 module-coreaudio-device-symdef.h \
1295 module-solaris-symdef.h \
1296 module-waveout-symdef.h \
1297 module-detect-symdef.h \
1298 module-rtp-send-symdef.h \
1299 module-rtp-recv-symdef.h \
1300 module-jackdbus-detect-symdef.h \
1301 module-jack-sink-symdef.h \
1302 module-jack-source-symdef.h \
1303 module-volume-restore-symdef.h \
1304 module-device-manager-symdef.h \
1305 module-device-restore-symdef.h \
1306 module-stream-restore-symdef.h \
1307 module-card-restore-symdef.h \
1308 module-default-device-restore-symdef.h \
1309 module-always-sink-symdef.h \
1310 module-rescue-streams-symdef.h \
1311 module-intended-roles-symdef.h \
1312 module-suspend-on-idle-symdef.h \
1313 module-echo-cancel-symdef.h \
1314 module-hal-detect-symdef.h \
1315 module-udev-detect-symdef.h \
1316 module-bluetooth-proximity-symdef.h \
1317 module-bluetooth-discover-symdef.h \
1318 module-bluetooth-device-symdef.h \
1319 module-raop-sink-symdef.h \
1320 module-raop-discover-symdef.h \
1321 module-gconf-symdef.h \
1322 module-position-event-sounds-symdef.h \
1323 module-augment-properties-symdef.h \
1324 module-cork-music-on-phone-symdef.h \
1325 module-console-kit-symdef.h \
1326 module-dbus-protocol-symdef.h \
1327 module-loopback-symdef.h \
1328 module-virtual-sink-symdef.h \
1329 module-virtual-source-symdef.h
1331 EXTRA_DIST += $(SYMDEF_FILES)
1332 BUILT_SOURCES += $(SYMDEF_FILES) builddirs
1334 $(SYMDEF_FILES): modules/module-defs.h.m4
1335 $(AM_V_at)$(MKDIR_P) modules
1336 $(AM_V_GEN)$(M4) -Dfname="$@" $< > $@
1340 $(AM_V_at)$(MKDIR_P) daemon modules
1344 module_simple_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1345 module_simple_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1346 module_simple_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1347 module_simple_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-simple.la
1349 module_simple_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1350 module_simple_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1351 module_simple_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1352 module_simple_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-simple.la
1356 module_cli_la_SOURCES = modules/module-cli.c
1357 module_cli_la_LDFLAGS = $(MODULE_LDFLAGS)
1358 module_cli_la_LIBADD = $(MODULE_LIBADD) libcli.la
1360 module_cli_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1361 module_cli_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1362 module_cli_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1363 module_cli_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-cli.la
1365 module_cli_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1366 module_cli_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1367 module_cli_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1368 module_cli_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-cli.la
1372 module_http_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1373 module_http_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1374 module_http_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1375 module_http_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-http.la
1377 module_http_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1378 module_http_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1379 module_http_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1380 module_http_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-http.la
1384 module_dbus_protocol_la_SOURCES = \
1385 modules/dbus/iface-card.c modules/dbus/iface-card.h \
1386 modules/dbus/iface-card-profile.c modules/dbus/iface-card-profile.h \
1387 modules/dbus/iface-client.c modules/dbus/iface-client.h \
1388 modules/dbus/iface-core.c modules/dbus/iface-core.h \
1389 modules/dbus/iface-device.c modules/dbus/iface-device.h \
1390 modules/dbus/iface-device-port.c modules/dbus/iface-device-port.h \
1391 modules/dbus/iface-memstats.c modules/dbus/iface-memstats.h \
1392 modules/dbus/iface-module.c modules/dbus/iface-module.h \
1393 modules/dbus/iface-sample.c modules/dbus/iface-sample.h \
1394 modules/dbus/iface-stream.c modules/dbus/iface-stream.h \
1395 modules/dbus/module-dbus-protocol.c
1396 module_dbus_protocol_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1397 module_dbus_protocol_la_LDFLAGS = $(MODULE_LDFLAGS)
1398 module_dbus_protocol_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1402 module_native_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1403 module_native_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1404 module_native_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1405 module_native_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1407 module_native_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1408 module_native_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1409 module_native_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1410 module_native_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1412 module_native_protocol_fd_la_SOURCES = modules/module-native-protocol-fd.c
1413 module_native_protocol_fd_la_CFLAGS = $(AM_CFLAGS)
1414 module_native_protocol_fd_la_LDFLAGS = $(MODULE_LDFLAGS)
1415 module_native_protocol_fd_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1419 module_esound_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1420 module_esound_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1421 module_esound_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1422 module_esound_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-esound.la
1424 module_esound_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1425 module_esound_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1426 module_esound_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1427 module_esound_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-esound.la
1429 module_esound_compat_spawnfd_la_SOURCES = modules/module-esound-compat-spawnfd.c
1430 module_esound_compat_spawnfd_la_LDFLAGS = $(MODULE_LDFLAGS)
1431 module_esound_compat_spawnfd_la_LIBADD = $(MODULE_LIBADD)
1433 module_esound_compat_spawnpid_la_SOURCES = modules/module-esound-compat-spawnpid.c
1434 module_esound_compat_spawnpid_la_LDFLAGS = $(MODULE_LDFLAGS)
1435 module_esound_compat_spawnpid_la_LIBADD = $(MODULE_LIBADD)
1437 module_esound_sink_la_SOURCES = modules/module-esound-sink.c
1438 module_esound_sink_la_LDFLAGS = $(MODULE_LDFLAGS) $(WINSOCK_LIBS)
1439 module_esound_sink_la_LIBADD = $(MODULE_LIBADD)
1443 module_pipe_sink_la_SOURCES = modules/module-pipe-sink.c
1444 module_pipe_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1445 module_pipe_sink_la_LIBADD = $(MODULE_LIBADD)
1447 module_pipe_source_la_SOURCES = modules/module-pipe-source.c
1448 module_pipe_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1449 module_pipe_source_la_LIBADD = $(MODULE_LIBADD)
1451 # Fake sources/sinks
1453 module_sine_la_SOURCES = modules/module-sine.c
1454 module_sine_la_LDFLAGS = $(MODULE_LDFLAGS)
1455 module_sine_la_LIBADD = $(MODULE_LIBADD)
1457 module_null_sink_la_SOURCES = modules/module-null-sink.c
1458 module_null_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1459 module_null_sink_la_LIBADD = $(MODULE_LIBADD)
1461 module_sine_source_la_SOURCES = modules/module-sine-source.c
1462 module_sine_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1463 module_sine_source_la_LIBADD = $(MODULE_LIBADD)
1467 module_combine_la_SOURCES = modules/module-combine.c
1468 module_combine_la_LDFLAGS = $(MODULE_LDFLAGS)
1469 module_combine_la_LIBADD = $(MODULE_LIBADD)
1471 module_remap_sink_la_SOURCES = modules/module-remap-sink.c
1472 module_remap_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1473 module_remap_sink_la_LIBADD = $(MODULE_LIBADD)
1475 module_ladspa_sink_la_SOURCES = modules/module-ladspa-sink.c modules/ladspa.h
1476 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)
1477 module_ladspa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1478 module_ladspa_sink_la_LIBADD = $(MODULE_LIBADD) $(LIBLTDL)
1480 module_equalizer_sink_la_SOURCES = modules/module-equalizer-sink.c
1481 module_equalizer_sink_la_CFLAGS = $(AM_CFLAGS) $(FFTW_CFLAGS)
1482 module_equalizer_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1483 module_equalizer_sink_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(FFTW_LIBS)
1485 module_match_la_SOURCES = modules/module-match.c
1486 module_match_la_LDFLAGS = $(MODULE_LDFLAGS)
1487 module_match_la_LIBADD = $(MODULE_LIBADD)
1489 module_tunnel_sink_la_SOURCES = modules/module-tunnel.c
1490 module_tunnel_sink_la_CFLAGS = -DTUNNEL_SINK=1 $(AM_CFLAGS)
1491 module_tunnel_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1492 module_tunnel_sink_la_LIBADD = $(MODULE_LIBADD)
1494 module_tunnel_source_la_SOURCES = modules/module-tunnel.c
1495 module_tunnel_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1496 module_tunnel_source_la_LIBADD = $(MODULE_LIBADD)
1498 module_loopback_la_SOURCES = modules/module-loopback.c
1499 module_loopback_la_LDFLAGS = $(MODULE_LDFLAGS)
1500 module_loopback_la_LIBADD = $(MODULE_LIBADD)
1502 module_virtual_sink_la_SOURCES = modules/module-virtual-sink.c
1503 module_virtual_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1504 module_virtual_sink_la_LIBADD = $(MODULE_LIBADD)
1506 module_virtual_source_la_SOURCES = modules/module-virtual-source.c
1507 module_virtual_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1508 module_virtual_source_la_LIBADD = $(MODULE_LIBADD)
1512 module_x11_bell_la_SOURCES = modules/x11/module-x11-bell.c
1513 module_x11_bell_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1514 module_x11_bell_la_LDFLAGS = $(MODULE_LDFLAGS)
1515 module_x11_bell_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1517 module_x11_publish_la_SOURCES = modules/x11/module-x11-publish.c
1518 module_x11_publish_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1519 module_x11_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1520 module_x11_publish_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la $(X11_LIBS)
1522 module_x11_xsmp_la_SOURCES = modules/x11/module-x11-xsmp.c
1523 module_x11_xsmp_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1524 module_x11_xsmp_la_LDFLAGS = $(MODULE_LDFLAGS)
1525 module_x11_xsmp_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1527 module_x11_cork_request_la_SOURCES = modules/x11/module-x11-cork-request.c
1528 module_x11_cork_request_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1529 module_x11_cork_request_la_LDFLAGS = $(MODULE_LDFLAGS)
1530 module_x11_cork_request_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1534 liboss_util_la_SOURCES = modules/oss/oss-util.c modules/oss/oss-util.h
1535 liboss_util_la_LDFLAGS = -avoid-version
1536 liboss_util_la_LIBADD = $(MODULE_LIBADD)
1538 module_oss_la_SOURCES = modules/oss/module-oss.c
1539 module_oss_la_LDFLAGS = $(MODULE_LDFLAGS)
1540 module_oss_la_LIBADD = $(MODULE_LIBADD) liboss-util.la
1544 module_coreaudio_detect_la_SOURCES = modules/macosx/module-coreaudio-detect.c
1545 module_coreaudio_detect_la_LDFLAGS = $(MODULE_LDFLAGS) \
1546 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1547 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1548 module_coreaudio_detect_la_LIBADD = $(MODULE_LIBADD)
1550 module_coreaudio_device_la_SOURCES = modules/macosx/module-coreaudio-device.c
1551 module_coreaudio_device_la_LDFLAGS = $(MODULE_LDFLAGS) \
1552 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1553 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1554 module_coreaudio_device_la_LIBADD = $(MODULE_LIBADD)
1558 libalsa_util_la_SOURCES = \
1559 modules/alsa/alsa-util.c modules/alsa/alsa-util.h \
1560 modules/alsa/alsa-mixer.c modules/alsa/alsa-mixer.h \
1561 modules/alsa/alsa-sink.c modules/alsa/alsa-sink.h \
1562 modules/alsa/alsa-source.c modules/alsa/alsa-source.h \
1563 modules/reserve-wrap.c modules/reserve-wrap.h
1564 libalsa_util_la_LDFLAGS = -avoid-version
1565 libalsa_util_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS)
1566 libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1569 libalsa_util_la_SOURCES += modules/hal-util.h modules/hal-util.c
1570 libalsa_util_la_LIBADD += $(HAL_LIBS)
1571 libalsa_util_la_CFLAGS += $(HAL_CFLAGS)
1575 libalsa_util_la_SOURCES += modules/udev-util.h modules/udev-util.c
1576 libalsa_util_la_LIBADD += $(UDEV_LIBS)
1577 libalsa_util_la_CFLAGS += $(UDEV_CFLAGS)
1581 libalsa_util_la_SOURCES += modules/reserve.h modules/reserve.c modules/reserve-monitor.h modules/reserve-monitor.c
1582 libalsa_util_la_LIBADD += $(DBUS_LIBS)
1583 libalsa_util_la_CFLAGS += $(DBUS_CFLAGS)
1586 module_alsa_sink_la_SOURCES = modules/alsa/module-alsa-sink.c
1587 module_alsa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1588 module_alsa_sink_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1589 module_alsa_sink_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1591 module_alsa_source_la_SOURCES = modules/alsa/module-alsa-source.c
1592 module_alsa_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1593 module_alsa_source_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1594 module_alsa_source_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1596 module_alsa_card_la_SOURCES = modules/alsa/module-alsa-card.c
1597 module_alsa_card_la_LDFLAGS = $(MODULE_LDFLAGS)
1598 module_alsa_card_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1599 module_alsa_card_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1603 module_solaris_la_SOURCES = modules/module-solaris.c
1604 module_solaris_la_LDFLAGS = $(MODULE_LDFLAGS)
1605 module_solaris_la_LIBADD = $(MODULE_LIBADD)
1609 module_zeroconf_publish_la_SOURCES = modules/module-zeroconf-publish.c
1610 module_zeroconf_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1611 module_zeroconf_publish_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libprotocol-native.la
1612 module_zeroconf_publish_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1614 module_zeroconf_discover_la_SOURCES = modules/module-zeroconf-discover.c
1615 module_zeroconf_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1616 module_zeroconf_discover_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la
1617 module_zeroconf_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1621 module_bonjour_publish_la_SOURCES = modules/macosx/module-bonjour-publish.c
1622 module_bonjour_publish_la_LDFLAGS = $(MODULE_LDFLAGS) \
1623 -Wl,-framework -Wl,CoreFoundation -framework CoreFoundation
1624 module_bonjour_publish_la_LIBADD = $(MODULE_LIBADD)
1628 module_lirc_la_SOURCES = modules/module-lirc.c
1629 module_lirc_la_LDFLAGS = $(MODULE_LDFLAGS)
1630 module_lirc_la_LIBADD = $(MODULE_LIBADD) $(LIRC_LIBS)
1631 module_lirc_la_CFLAGS = $(AM_CFLAGS) $(LIRC_CFLAGS)
1635 module_mmkbd_evdev_la_SOURCES = modules/module-mmkbd-evdev.c
1636 module_mmkbd_evdev_la_LDFLAGS = $(MODULE_LDFLAGS)
1637 module_mmkbd_evdev_la_LIBADD = $(MODULE_LIBADD)
1638 module_mmkbd_evdev_la_CFLAGS = $(AM_CFLAGS)
1641 module_waveout_la_SOURCES = modules/module-waveout.c
1642 module_waveout_la_LDFLAGS = $(MODULE_LDFLAGS)
1643 module_waveout_la_LIBADD = $(MODULE_LIBADD) -lwinmm
1644 module_waveout_la_CFLAGS = $(AM_CFLAGS)
1646 # Hardware autodetection module
1647 module_detect_la_SOURCES = modules/module-detect.c
1648 module_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1649 module_detect_la_LIBADD = $(MODULE_LIBADD)
1650 module_detect_la_CFLAGS = $(AM_CFLAGS)
1652 # Volume restore module
1653 module_volume_restore_la_SOURCES = modules/module-volume-restore.c
1654 module_volume_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1655 module_volume_restore_la_LIBADD = $(MODULE_LIBADD)
1656 module_volume_restore_la_CFLAGS = $(AM_CFLAGS)
1658 # Position event sounds in space
1659 module_position_event_sounds_la_SOURCES = modules/module-position-event-sounds.c
1660 module_position_event_sounds_la_LDFLAGS = $(MODULE_LDFLAGS)
1661 module_position_event_sounds_la_LIBADD = $(MODULE_LIBADD)
1662 module_position_event_sounds_la_CFLAGS = $(AM_CFLAGS)
1664 # Augment properties from XDG .desktop files
1665 module_augment_properties_la_SOURCES = modules/module-augment-properties.c
1666 module_augment_properties_la_LDFLAGS = $(MODULE_LDFLAGS)
1667 module_augment_properties_la_LIBADD = $(MODULE_LIBADD)
1668 #module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"$(datadir)/applications\"
1669 module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"/usr/share/applications\"
1671 # Cork music streams while a phone stream is active
1672 module_cork_music_on_phone_la_SOURCES = modules/module-cork-music-on-phone.c
1673 module_cork_music_on_phone_la_LDFLAGS = $(MODULE_LDFLAGS)
1674 module_cork_music_on_phone_la_LIBADD = $(MODULE_LIBADD)
1675 module_cork_music_on_phone_la_CFLAGS = $(AM_CFLAGS)
1677 # Device description restore module
1678 module_device_manager_la_SOURCES = modules/module-device-manager.c
1679 module_device_manager_la_LDFLAGS = $(MODULE_LDFLAGS)
1680 module_device_manager_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1681 module_device_manager_la_CFLAGS = $(AM_CFLAGS)
1683 # Device volume/muted restore module
1684 module_device_restore_la_SOURCES = modules/module-device-restore.c
1685 module_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1686 module_device_restore_la_LIBADD = $(MODULE_LIBADD)
1687 module_device_restore_la_CFLAGS = $(AM_CFLAGS)
1689 # Stream volume/muted/device restore module
1690 module_stream_restore_la_SOURCES = modules/module-stream-restore.c
1691 module_stream_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1692 module_stream_restore_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1693 module_stream_restore_la_CFLAGS = $(AM_CFLAGS)
1696 module_stream_restore_la_LIBADD += $(DBUS_LIBS)
1697 module_stream_restore_la_CFLAGS += $(DBUS_CFLAGS)
1700 # Card profile restore module
1701 module_card_restore_la_SOURCES = modules/module-card-restore.c
1702 module_card_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1703 module_card_restore_la_LIBADD = $(MODULE_LIBADD)
1704 module_card_restore_la_CFLAGS = $(AM_CFLAGS)
1706 # Default sink/source restore module
1707 module_default_device_restore_la_SOURCES = modules/module-default-device-restore.c
1708 module_default_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1709 module_default_device_restore_la_LIBADD = $(MODULE_LIBADD)
1710 module_default_device_restore_la_CFLAGS = $(AM_CFLAGS)
1712 # Always Sink module
1713 module_always_sink_la_SOURCES = modules/module-always-sink.c
1714 module_always_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1715 module_always_sink_la_LIBADD = $(MODULE_LIBADD)
1716 module_always_sink_la_CFLAGS = $(AM_CFLAGS)
1718 # Rescue streams module
1719 module_rescue_streams_la_SOURCES = modules/module-rescue-streams.c
1720 module_rescue_streams_la_LDFLAGS = $(MODULE_LDFLAGS)
1721 module_rescue_streams_la_LIBADD = $(MODULE_LIBADD)
1722 module_rescue_streams_la_CFLAGS = $(AM_CFLAGS)
1724 # Automatically move streams to devices that are intended for their roles
1725 module_intended_roles_la_SOURCES = modules/module-intended-roles.c
1726 module_intended_roles_la_LDFLAGS = $(MODULE_LDFLAGS)
1727 module_intended_roles_la_LIBADD = $(MODULE_LIBADD)
1728 module_intended_roles_la_CFLAGS = $(AM_CFLAGS)
1730 # Suspend-on-idle module
1731 module_suspend_on_idle_la_SOURCES = modules/module-suspend-on-idle.c
1732 module_suspend_on_idle_la_LDFLAGS = $(MODULE_LDFLAGS)
1733 module_suspend_on_idle_la_LIBADD = $(MODULE_LIBADD)
1734 module_suspend_on_idle_la_CFLAGS = $(AM_CFLAGS)
1736 # echo-cancel module
1737 module_echo_cancel_la_SOURCES = \
1738 modules/echo-cancel/module-echo-cancel.c modules/echo-cancel/echo-cancel.h \
1739 modules/echo-cancel/speex.c \
1740 modules/echo-cancel/adrian-aec.c modules/echo-cancel/adrian-aec.h \
1741 modules/echo-cancel/adrian.c modules/echo-cancel/adrian.h
1742 module_echo_cancel_la_LDFLAGS = $(MODULE_LDFLAGS)
1743 module_echo_cancel_la_LIBADD = $(MODULE_LIBADD) $(LIBSPEEX_LIBS)
1744 module_echo_cancel_la_CFLAGS = $(AM_CFLAGS) $(LIBSPEEX_CFLAGS)
1746 ORC_SOURCE += modules/echo-cancel/adrian-aec
1747 nodist_module_echo_cancel_la_SOURCES = \
1748 modules/echo-cancel/adrian-aec-orc-gen.c \
1749 modules/echo-cancel/adrian-aec-orc-gen.h
1750 module_echo_cancel_la_LIBADD += $(ORC_LIBS)
1751 module_echo_cancel_la_CFLAGS += $(ORC_CFLAGS) -I$(top_builddir)/src/modules/echo-cancel
1755 module_rtp_send_la_SOURCES = modules/rtp/module-rtp-send.c
1756 module_rtp_send_la_LDFLAGS = $(MODULE_LDFLAGS)
1757 module_rtp_send_la_LIBADD = $(MODULE_LIBADD) librtp.la
1758 module_rtp_send_la_CFLAGS = $(AM_CFLAGS)
1760 module_rtp_recv_la_SOURCES = modules/rtp/module-rtp-recv.c
1761 module_rtp_recv_la_LDFLAGS = $(MODULE_LDFLAGS)
1762 module_rtp_recv_la_LIBADD = $(MODULE_LIBADD) librtp.la
1763 module_rtp_recv_la_CFLAGS = $(AM_CFLAGS)
1767 module_jackdbus_detect_la_SOURCES = modules/jack/module-jackdbus-detect.c
1768 module_jackdbus_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1769 module_jackdbus_detect_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(JACK_LIBS)
1770 module_jackdbus_detect_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) $(JACK_CFLAGS)
1772 module_jack_sink_la_SOURCES = modules/jack/module-jack-sink.c
1773 module_jack_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1774 module_jack_sink_la_LIBADD = $(MODULE_LIBADD) $(JACK_LIBS)
1775 module_jack_sink_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1777 module_jack_source_la_SOURCES = modules/jack/module-jack-source.c
1778 module_jack_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1779 module_jack_source_la_LIBADD = $(MODULE_LIBADD) $(JACK_LIBS)
1780 module_jack_source_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1783 module_hal_detect_la_SOURCES = modules/module-hal-detect-compat.c
1784 module_hal_detect_la_LIBADD = $(MODULE_LIBADD)
1785 module_hal_detect_la_CFLAGS = $(AM_CFLAGS)
1787 module_hal_detect_la_SOURCES = modules/module-hal-detect.c
1788 module_hal_detect_la_LIBADD = $(MODULE_LIBADD) $(HAL_LIBS)
1789 module_hal_detect_la_CFLAGS = $(AM_CFLAGS) $(HAL_CFLAGS)
1791 module_hal_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1793 module_udev_detect_la_SOURCES = modules/module-udev-detect.c
1794 module_udev_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1795 module_udev_detect_la_LIBADD = $(MODULE_LIBADD) $(UDEV_LIBS)
1796 module_udev_detect_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
1798 module_console_kit_la_SOURCES = modules/module-console-kit.c
1799 module_console_kit_la_LDFLAGS = $(MODULE_LDFLAGS)
1800 module_console_kit_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1801 module_console_kit_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1804 module_gconf_la_SOURCES = modules/gconf/module-gconf.c
1805 module_gconf_la_LDFLAGS = $(MODULE_LDFLAGS)
1806 module_gconf_la_LIBADD = $(MODULE_LIBADD)
1807 module_gconf_la_CFLAGS = $(AM_CFLAGS) -DPA_GCONF_HELPER=\"$(pulselibexecdir)/gconf-helper\"
1809 gconf_helper_SOURCES = modules/gconf/gconf-helper.c
1810 gconf_helper_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(GCONF_LIBS)
1811 gconf_helper_CFLAGS = $(AM_CFLAGS) $(GCONF_CFLAGS)
1812 gconf_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1814 # Bluetooth proximity
1815 module_bluetooth_proximity_la_SOURCES = modules/bluetooth/module-bluetooth-proximity.c
1816 module_bluetooth_proximity_la_LDFLAGS = $(MODULE_LDFLAGS)
1817 module_bluetooth_proximity_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1818 module_bluetooth_proximity_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -DPA_BT_PROXIMITY_HELPER=\"$(pulselibexecdir)/proximity-helper\"
1820 proximity_helper_SOURCES = modules/bluetooth/proximity-helper.c
1821 proximity_helper_LDADD = $(AM_LDADD) $(BLUEZ_LIBS)
1822 proximity_helper_CFLAGS = $(AM_CFLAGS) $(BLUEZ_CFLAGS)
1823 proximity_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1825 # Bluetooth sink / source
1826 module_bluetooth_discover_la_SOURCES = modules/bluetooth/module-bluetooth-discover.c
1827 module_bluetooth_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1828 module_bluetooth_discover_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libbluetooth-util.la
1829 module_bluetooth_discover_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1831 libbluetooth_sbc_la_SOURCES = \
1832 modules/bluetooth/sbc/sbc.c modules/bluetooth/sbc/sbc.h \
1833 modules/bluetooth/sbc/sbc_primitives.c modules/bluetooth/sbc/sbc_primitives.h \
1834 modules/bluetooth/sbc/sbc_primitives_armv6.h modules/bluetooth/sbc/sbc_primitives_armv6.c \
1835 modules/bluetooth/sbc/sbc_primitives_iwmmxt.h modules/bluetooth/sbc/sbc_primitives_iwmmxt.c \
1836 modules/bluetooth/sbc/sbc_primitives_mmx.c modules/bluetooth/sbc/sbc_primitives_mmx.h \
1837 modules/bluetooth/sbc/sbc_primitives_neon.c modules/bluetooth/sbc/sbc_primitives_neon.h \
1838 modules/bluetooth/sbc/sbc_math.h \
1839 modules/bluetooth/sbc/sbc_tables.h
1840 libbluetooth_sbc_la_LDFLAGS = -avoid-version
1841 libbluetooth_sbc_la_LIBADD = $(MODULE_LIBADD)
1842 libbluetooth_sbc_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/src/modules/bluetooth/sbc
1843 BLUETOOTH_SBC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_sbc_la_SOURCES))
1845 libbluetooth_ipc_la_SOURCES = modules/bluetooth/ipc.c modules/bluetooth/ipc.h
1846 libbluetooth_ipc_la_LDFLAGS = -avoid-version
1847 libbluetooth_ipc_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1848 libbluetooth_ipc_la_CFLAGS = $(AM_CFLAGS)
1849 BLUETOOTH_IPC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_ipc_la_SOURCES)) rtp.h
1851 libbluetooth_util_la_SOURCES = modules/bluetooth/bluetooth-util.c modules/bluetooth/bluetooth-util.h
1852 libbluetooth_util_la_LDFLAGS = -avoid-version
1853 libbluetooth_util_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1854 libbluetooth_util_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1856 module_bluetooth_device_la_SOURCES = modules/bluetooth/module-bluetooth-device.c modules/bluetooth/rtp.h
1857 module_bluetooth_device_la_LDFLAGS = $(MODULE_LDFLAGS)
1858 module_bluetooth_device_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libbluetooth-util.la libbluetooth-ipc.la libbluetooth-sbc.la
1859 module_bluetooth_device_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -I$(top_srcdir)/src/modules/bluetooth/sbc
1861 # Apple Airtunes/RAOP
1862 module_raop_sink_la_SOURCES = modules/raop/module-raop-sink.c
1863 module_raop_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1864 module_raop_sink_la_LIBADD = $(MODULE_LIBADD) librtp.la libraop.la
1865 module_raop_sink_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/src/modules/rtp
1867 module_raop_discover_la_SOURCES = modules/raop/module-raop-discover.c
1868 module_raop_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1869 module_raop_discover_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la
1870 module_raop_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1873 module_rygel_media_server_la_SOURCES = modules/module-rygel-media-server.c
1874 module_rygel_media_server_la_LDFLAGS = $(MODULE_LDFLAGS)
1875 module_rygel_media_server_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libprotocol-http.la
1876 module_rygel_media_server_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1878 ###################################
1879 # Some minor stuff #
1880 ###################################
1882 CLEANFILES += esdcompat client.conf default.pa system.pa daemon.conf start-pulseaudio-x11 start-pulseaudio-kde daemon/pulseaudio.desktop daemon/pulseaudio-kde.desktop
1884 esdcompat: daemon/esdcompat.in Makefile
1885 $(AM_V_GEN) sed -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1886 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1887 -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1888 $(AM_V_at) chmod +x esdcompat
1890 start-pulseaudio-x11: daemon/start-pulseaudio-x11.in Makefile
1891 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1892 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1893 $(AM_V_at) chmod +x start-pulseaudio-x11
1895 start-pulseaudio-kde: daemon/start-pulseaudio-kde.in Makefile
1896 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1897 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1898 $(AM_V_at) chmod +x start-pulseaudio-kde
1900 client.conf: pulse/client.conf.in Makefile
1901 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1904 default.pa: daemon/default.pa.win32
1906 system.pa: daemon/default.pa.win32
1909 default.pa: daemon/default.pa.in Makefile
1910 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1911 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1912 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1913 system.pa: daemon/system.pa.in Makefile
1914 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1915 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1916 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1919 daemon.conf: daemon/daemon.conf.in Makefile
1920 $(AM_V_GEN) sed -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1921 -e 's,@PA_DEFAULT_CONFIG_FILE\@,$(DEFAULT_CONFIG_DIR),g' < $< > $@
1924 -chown root $(DESTDIR)$(pulselibexecdir)/proximity-helper
1925 -chmod u+s $(DESTDIR)$(pulselibexecdir)/proximity-helper
1926 ln -sf pacat $(DESTDIR)$(bindir)/parec
1927 ln -sf pacat $(DESTDIR)$(bindir)/pamon
1928 ln -sf pacat $(DESTDIR)$(bindir)/paplay
1929 ln -sf pacat $(DESTDIR)$(bindir)/parecord
1930 rm -f $(DESTDIR)$(libdir)/libpulsedsp.la
1931 rm -f $(DESTDIR)$(modlibexecdir)/*.la
1934 rm -f $(DESTDIR)$(bindir)/parec
1935 rm -f $(DESTDIR)$(bindir)/pamon
1936 rm -f $(DESTDIR)$(bindir)/paplay
1937 rm -f $(DESTDIR)$(bindir)/parecord
1938 rm -f $(DESTDIR)$(libdir)/libpulsedsp.*
1939 rm -f $(DESTDIR)$(modlibexecdir)/*.so
1942 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
1945 wget -O pulsecore/ffmpeg/resample2.c http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/resample2.c?view=co
1947 # We get things twice here, because sometimes gitweb will us just give a "Generating..." otherwise.
1949 for i in $(BLUETOOTH_SBC_FILES) ; do \
1950 wget -O /dev/null http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=$$i ; \
1951 wget -O modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=$$i ; \
1953 for i in $(BLUETOOTH_IPC_FILES); do \
1954 wget -O /dev/null http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
1955 wget -O modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
1959 for i in reserve.c reserve.h reserve-monitor.c reserve-monitor.h ; do \
1960 wget -O modules/$$i http://git.0pointer.de/\?p=reserve.git\;a=blob_plain\;f=$$i\;hb=master ; \
1964 for i in rtkit.c rtkit.h ; do \
1965 wget -O pulsecore/$$i http://git.0pointer.de/\?p=rtkit.git\;a=blob_plain\;f=$$i\;hb=master ; \
1968 # Automatically generate linker version script. We use the same one for all public .sos
1970 ( echo "PULSE_0 {" ; \
1972 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 ; \
1975 echo "};" ) > $(srcdir)/map-file
1977 update-all: update-ffmpeg update-sbc update-map-file
1979 .PHONY: utils/padsp massif update-all update-ffmpeg update-sbc update-map-file