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
23 ###################################
25 ###################################
27 pulseincludedir=$(includedir)/pulse
28 pulsecoreincludedir=$(includedir)/pulsecore
29 pulseconfdir=$(sysconfdir)/pulse
30 pulselibexecdir=$(libexecdir)/pulse
31 xdgautostartdir=$(sysconfdir)/xdg/autostart
32 alsaprofilesetsdir=$(datadir)/pulseaudio/alsa-mixer/profile-sets
33 alsapathsdir=$(datadir)/pulseaudio/alsa-mixer/paths
34 dbuspolicydir=$(sysconfdir)/dbus-1/system.d
36 ###################################
38 ###################################
40 PA_BINARY=$(bindir)/pulseaudio$(EXEEXT)
42 PA_DEFAULT_CONFIG_DIR=%PULSE_ROOT%
44 PA_DEFAULT_CONFIG_DIR=$(pulseconfdir)
47 ###################################
48 # Compiler/linker flags #
49 ###################################
53 -I$(top_builddir)/src \
54 -I$(top_srcdir)/src/modules \
55 -I$(top_builddir)/src/modules \
56 -I$(top_srcdir)/src/modules/rtp \
57 -I$(top_builddir)/src/modules/rtp \
58 -I$(top_srcdir)/src/modules/gconf \
59 -I$(top_builddir)/src/modules/gconf \
60 -I$(top_srcdir)/src/modules/bluetooth \
61 -I$(top_builddir)/src/modules/bluetooth \
62 -I$(top_srcdir)/src/modules/oss \
63 -I$(top_builddir)/src/modules/oss \
64 -I$(top_srcdir)/src/modules/alsa \
65 -I$(top_builddir)/src/modules/alsa \
66 -I$(top_srcdir)/src/modules/raop \
67 -I$(top_builddir)/src/modules/raop \
68 -I$(top_srcdir)/src/modules/x11 \
69 -I$(top_builddir)/src/modules/x11 \
70 -I$(top_srcdir)/src/modules/jack \
71 -I$(top_builddir)/src/modules/jack \
72 -I$(top_srcdir)/src/modules/dbus \
73 -I$(top_builddir)/src/modules/dbus \
74 $(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS \
75 $(LIBSAMPLERATE_CFLAGS) \
76 $(LIBSNDFILE_CFLAGS) \
78 -DPA_BUILDDIR=\"$(abs_builddir)\" \
79 -DPA_DLSEARCHPATH=\"$(modlibexecdir)\" \
80 -DPA_DEFAULT_CONFIG_DIR=\"$(PA_DEFAULT_CONFIG_DIR)\" \
81 -DPA_BINARY=\"$(PA_BINARY)\" \
82 -DPA_SYSTEM_RUNTIME_PATH=\"$(PA_SYSTEM_RUNTIME_PATH)\" \
83 -DPA_SYSTEM_CONFIG_PATH=\"$(PA_SYSTEM_CONFIG_PATH)\" \
84 -DPA_SYSTEM_STATE_PATH=\"$(PA_SYSTEM_STATE_PATH)\" \
86 -DPULSE_LOCALEDIR=\"$(pulselocaledir)\" \
87 -DPA_MACHINE_ID=\"$(localstatedir)/lib/dbus/machine-id\" \
88 -DPA_ALSA_PATHS_DIR=\"$(alsapathsdir)\" \
89 -DPA_ALSA_PROFILE_SETS_DIR=\"$(alsaprofilesetsdir)\"
91 AM_LIBADD = $(PTHREAD_LIBS) $(INTLLIBS)
92 AM_LDADD = $(PTHREAD_LIBS) $(INTLLIBS)
93 AM_LDFLAGS = $(NODELETE_LDFLAGS)
100 AM_LDFLAGS+=-Wl,--export-all-symbols
101 WINSOCK_LIBS=-lwsock32 -lws2_32 -lwininet
105 MODULE_LDFLAGS = -module -disable-static -avoid-version $(LDFLAGS_NOUNDEFINED)
107 ###################################
109 ###################################
112 pulse/client.conf.in \
114 daemon/daemon.conf.in \
115 daemon/default.pa.in \
116 daemon/system.pa.in \
117 daemon/default.pa.win32 \
119 daemon/esdcompat.in \
120 daemon/start-pulseaudio-x11.in \
121 daemon/start-pulseaudio-kde.in \
123 modules/module-defs.h.m4 \
124 daemon/pulseaudio.desktop.in \
125 daemon/pulseaudio-kde.desktop.in \
127 daemon/pulseaudio-system.conf
136 daemon/pulseaudio-system.conf
139 xdgautostart_in_files = \
140 daemon/pulseaudio.desktop.in \
141 daemon/pulseaudio-kde.desktop.in
143 xdgautostart_DATA = $(xdgautostart_in_files:.desktop.in=.desktop)
144 @INTLTOOL_DESKTOP_RULE@
150 ###################################
152 ###################################
154 bin_PROGRAMS = pulseaudio
156 pulseaudio_SOURCES = \
157 daemon/caps.c daemon/caps.h \
158 daemon/cmdline.c daemon/cmdline.h \
159 daemon/cpulimit.c daemon/cpulimit.h \
160 daemon/daemon-conf.c daemon/daemon-conf.h \
161 daemon/dumpmodules.c daemon/dumpmodules.h \
162 daemon/ltdl-bind-now.c daemon/ltdl-bind-now.h \
165 pulseaudio_CFLAGS = $(AM_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSPEEX_CFLAGS) $(LIBSNDFILE_CFLAGS) $(CAP_CFLAGS)
166 pulseaudio_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la $(LIBLTDL) $(LIBSAMPLERATE_LIBS) $(LIBSPEEX_LIBS) $(LIBSNDFILE_LIBS) $(CAP_LIBS)
167 # This is needed because automake doesn't properly expand the foreach below
168 pulseaudio_DEPENDENCIES = libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la $(PREOPEN_LIBS)
171 pulseaudio_CFLAGS += $(DBUS_CFLAGS)
172 pulseaudio_SOURCES += daemon/server-lookup.c daemon/server-lookup.h
173 pulseaudio_LDADD += $(DBUS_LIBS)
177 PREOPEN_LIBS = $(PREOPEN_MODS)
179 PREOPEN_LIBS = $(modlibexec_LTLIBRARIES)
183 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(IMMEDIATE_LDFLAGS) -dlpreopen force $(foreach f,$(PREOPEN_LIBS),-dlpreopen $(f))
185 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(IMMEDIATE_LDFLAGS) -dlopen force $(foreach f,$(PREOPEN_LIBS),-dlopen $(f))
188 ###################################
190 ###################################
198 bin_PROGRAMS += pacmd
202 bin_PROGRAMS += pax11publish
206 bin_PROGRAMS += pabrowse
209 bin_SCRIPTS = esdcompat start-pulseaudio-x11 start-pulseaudio-kde
211 pacat_SOURCES = utils/pacat.c
212 pacat_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la $(LIBSNDFILE_LIBS)
213 pacat_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
214 pacat_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
216 pactl_SOURCES = utils/pactl.c
217 pactl_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la $(LIBSNDFILE_LIBS)
218 pactl_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
219 pactl_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
221 pasuspender_SOURCES = utils/pasuspender.c
222 pasuspender_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la
223 pasuspender_CFLAGS = $(AM_CFLAGS)
224 pasuspender_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
226 pacmd_SOURCES = utils/pacmd.c
227 pacmd_CFLAGS = $(AM_CFLAGS)
228 pacmd_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la
229 pacmd_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
231 pax11publish_SOURCES = utils/pax11publish.c
232 pax11publish_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
233 pax11publish_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la $(X11_LIBS)
234 pax11publish_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
236 pabrowse_SOURCES = utils/pabrowse.c
237 pabrowse_LDADD = $(AM_LDADD) libpulse.la libpulse-browse.la libpulsecommon-@PA_MAJORMINORMICRO@.la
238 pabrowse_CFLAGS = $(AM_CFLAGS)
239 pabrowse_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
241 ###################################
243 ###################################
245 # missing: mcalign-test flist-test pacat-simple parec-simple sync-playback rtstutter stripnul interpol-test thread-test
255 thread-mainloop-test \
257 get-binary-name-test \
272 lock-autospawn-test \
290 thread-mainloop-test \
292 get-binary-name-test \
311 lock-autospawn-test \
347 if BUILD_TESTS_DEFAULT
348 noinst_PROGRAMS = $(TESTS_BINARIES)
350 check_PROGRAMS = $(TESTS_BINARIES)
353 mainloop_test_SOURCES = tests/mainloop-test.c
354 mainloop_test_CFLAGS = $(AM_CFLAGS)
355 mainloop_test_LDADD = $(AM_LDADD) libpulse.la
356 mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
358 thread_mainloop_test_SOURCES = tests/thread-mainloop-test.c
359 thread_mainloop_test_CFLAGS = $(AM_CFLAGS)
360 thread_mainloop_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la
361 thread_mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
363 utf8_test_SOURCES = tests/utf8-test.c
364 utf8_test_CFLAGS = $(AM_CFLAGS)
365 utf8_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
366 utf8_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
368 get_binary_name_test_SOURCES = tests/get-binary-name-test.c
369 get_binary_name_test_CFLAGS = $(AM_CFLAGS)
370 get_binary_name_test_LDADD = $(AM_LDADD) libpulse.la
371 get_binary_name_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
373 ipacl_test_SOURCES = tests/ipacl-test.c
374 ipacl_test_CFLAGS = $(AM_CFLAGS)
375 ipacl_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
376 ipacl_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
378 hook_list_test_SOURCES = tests/hook-list-test.c
379 hook_list_test_CFLAGS = $(AM_CFLAGS)
380 hook_list_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
381 hook_list_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
383 memblock_test_SOURCES = tests/memblock-test.c
384 memblock_test_CFLAGS = $(AM_CFLAGS)
385 memblock_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
386 memblock_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
388 thread_test_SOURCES = tests/thread-test.c
389 thread_test_CFLAGS = $(AM_CFLAGS)
390 thread_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
391 thread_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
393 once_test_SOURCES = tests/once-test.c
394 once_test_CFLAGS = $(AM_CFLAGS)
395 once_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
396 once_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
398 flist_test_SOURCES = tests/flist-test.c
399 flist_test_CFLAGS = $(AM_CFLAGS)
400 flist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
401 flist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
403 asyncq_test_SOURCES = tests/asyncq-test.c
404 asyncq_test_CFLAGS = $(AM_CFLAGS)
405 asyncq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
406 asyncq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
408 asyncmsgq_test_SOURCES = tests/asyncmsgq-test.c
409 asyncmsgq_test_CFLAGS = $(AM_CFLAGS)
410 asyncmsgq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
411 asyncmsgq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
413 queue_test_SOURCES = tests/queue-test.c
414 queue_test_CFLAGS = $(AM_CFLAGS)
415 queue_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
416 queue_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
418 rtpoll_test_SOURCES = tests/rtpoll-test.c
419 rtpoll_test_CFLAGS = $(AM_CFLAGS)
420 rtpoll_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
421 rtpoll_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
423 mcalign_test_SOURCES = tests/mcalign-test.c
424 mcalign_test_CFLAGS = $(AM_CFLAGS)
425 mcalign_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
426 mcalign_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
428 pacat_simple_SOURCES = tests/pacat-simple.c
429 pacat_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la
430 pacat_simple_CFLAGS = $(AM_CFLAGS)
431 pacat_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
433 parec_simple_SOURCES = tests/parec-simple.c
434 parec_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la
435 parec_simple_CFLAGS = $(AM_CFLAGS)
436 parec_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
438 strlist_test_SOURCES = tests/strlist-test.c
439 strlist_test_CFLAGS = $(AM_CFLAGS)
440 strlist_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
441 strlist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
443 close_test_SOURCES = tests/close-test.c
444 close_test_CFLAGS = $(AM_CFLAGS)
445 close_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
446 close_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
448 voltest_SOURCES = tests/voltest.c
449 voltest_CFLAGS = $(AM_CFLAGS)
450 voltest_LDADD = $(AM_LDADD) libpulse.la
451 voltest_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
453 vector_test_SOURCES = tests/vector-test.c
454 vector_test_CFLAGS = $(AM_CFLAGS)
455 vector_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
456 vector_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
458 channelmap_test_SOURCES = tests/channelmap-test.c
459 channelmap_test_CFLAGS = $(AM_CFLAGS)
460 channelmap_test_LDADD = $(AM_LDADD) libpulse.la
461 channelmap_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
463 cpulimit_test_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
464 cpulimit_test_CFLAGS = $(AM_CFLAGS)
465 cpulimit_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
466 cpulimit_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
468 cpulimit_test2_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
469 cpulimit_test2_CFLAGS = $(AM_CFLAGS) -DTEST2
470 cpulimit_test2_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
471 cpulimit_test2_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
473 mainloop_test_glib_SOURCES = $(mainloop_test_SOURCES)
474 mainloop_test_glib_CFLAGS = $(mainloop_test_CFLAGS) $(GLIB20_CFLAGS) -DGLIB_MAIN_LOOP
475 mainloop_test_glib_LDADD = $(mainloop_test_LDADD) $(GLIB20_LIBS) libpulse-mainloop-glib.la
476 mainloop_test_glib_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
478 memblockq_test_SOURCES = tests/memblockq-test.c
479 memblockq_test_CFLAGS = $(AM_CFLAGS)
480 memblockq_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
481 memblockq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
483 sync_playback_SOURCES = tests/sync-playback.c
484 sync_playback_LDADD = $(AM_LDADD) libpulse.la
485 sync_playback_CFLAGS = $(AM_CFLAGS)
486 sync_playback_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
488 interpol_test_SOURCES = tests/interpol-test.c
489 interpol_test_LDADD = $(AM_LDADD) libpulse.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
490 interpol_test_CFLAGS = $(AM_CFLAGS)
491 interpol_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
493 sig2str_test_SOURCES = tests/sig2str-test.c
494 sig2str_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
495 sig2str_test_CFLAGS = $(AM_CFLAGS)
496 sig2str_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
498 resampler_test_SOURCES = tests/resampler-test.c
499 resampler_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
500 resampler_test_CFLAGS = $(AM_CFLAGS)
501 resampler_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
503 mix_test_SOURCES = tests/mix-test.c
504 mix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
505 mix_test_CFLAGS = $(AM_CFLAGS)
506 mix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
508 remix_test_SOURCES = tests/remix-test.c
509 remix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
510 remix_test_CFLAGS = $(AM_CFLAGS)
511 remix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
513 smoother_test_SOURCES = tests/smoother-test.c
514 smoother_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
515 smoother_test_CFLAGS = $(AM_CFLAGS)
516 smoother_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
518 envelope_test_SOURCES = tests/envelope-test.c
519 envelope_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
520 envelope_test_CFLAGS = $(AM_CFLAGS)
521 envelope_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
523 proplist_test_SOURCES = tests/proplist-test.c
524 proplist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
525 proplist_test_CFLAGS = $(AM_CFLAGS)
526 proplist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
528 rtstutter_SOURCES = tests/rtstutter.c
529 rtstutter_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
530 rtstutter_CFLAGS = $(AM_CFLAGS)
531 rtstutter_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
533 stripnul_SOURCES = tests/stripnul.c
534 stripnul_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
535 stripnul_CFLAGS = $(AM_CFLAGS)
536 stripnul_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
538 lock_autospawn_test_SOURCES = tests/lock-autospawn-test.c
539 lock_autospawn_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
540 lock_autospawn_test_CFLAGS = $(AM_CFLAGS)
541 lock_autospawn_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
543 prioq_test_SOURCES = tests/prioq-test.c
544 prioq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
545 prioq_test_CFLAGS = $(AM_CFLAGS)
546 prioq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
548 sigbus_test_SOURCES = tests/sigbus-test.c
549 sigbus_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
550 sigbus_test_CFLAGS = $(AM_CFLAGS)
551 sigbus_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
553 gtk_test_SOURCES = tests/gtk-test.c
554 gtk_test_LDADD = $(AM_LDADD) libpulse.la libpulse-mainloop-glib.la
555 gtk_test_CFLAGS = $(AM_CFLAGS) $(GTK20_CFLAGS)
556 gtk_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(GTK20_LIBS)
558 alsa_time_test_SOURCES = tests/alsa-time-test.c
559 alsa_time_test_LDADD = $(AM_LDADD)
560 alsa_time_test_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
561 alsa_time_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(ASOUNDLIB_LIBS)
563 usergroup_test_SOURCES = tests/usergroup-test.c
564 usergroup_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la
565 usergroup_test_CFLAGS = $(AM_CFLAGS)
566 usergroup_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
568 ###################################
570 ###################################
573 libpulsecommon-@PA_MAJORMINORMICRO@.la
575 libpulsecommon_@PA_MAJORMINORMICRO@_la_SOURCES = \
576 pulse/client-conf.c pulse/client-conf.h \
577 pulse/i18n.c pulse/i18n.h \
578 pulse/fork-detect.c pulse/fork-detect.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_MAJORMINORMICRO@_la_CFLAGS = $(AM_CFLAGS)
637 libpulsecommon_@PA_MAJORMINORMICRO@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
638 libpulsecommon_@PA_MAJORMINORMICRO@_la_LIBADD = $(AM_LIBADD) $(LIBWRAP_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) $(LIBSNDFILE_LIBS)
641 libpulsecommon_@PA_MAJORMINORMICRO@_la_SOURCES += pulse/client-conf-x11.c pulse/client-conf-x11.h
642 libpulsecommon_@PA_MAJORMINORMICRO@_la_CFLAGS += $(X11_CFLAGS)
643 libpulsecommon_@PA_MAJORMINORMICRO@_la_LDFLAGS += $(X11_LIBS)
646 # proplist-util.h uses these header files, but not the library itself!
647 libpulsecommon_@PA_MAJORMINORMICRO@_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_MAJORMINORMICRO@_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_MAJORMINORMICRO@_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_MAJORMINORMICRO@_la_CFLAGS += "-I/Developer/Headers/FlatCarbon/"
666 #libpulsecommon_@PA_MAJORMINORMICRO@_la_LDFLAGS += "-framework CoreServices"
668 libpulsecommon_@PA_MAJORMINORMICRO@_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_MAJORMINORMICRO@_la_SOURCES += pulsecore/x11prop.c pulsecore/x11prop.h
677 libpulsecommon_@PA_MAJORMINORMICRO@_la_CFLAGS += $(X11_CFLAGS)
678 libpulsecommon_@PA_MAJORMINORMICRO@_la_LDFLAGS += $(X11_LIBS)
682 libpulsecommon_@PA_MAJORMINORMICRO@_la_CFLAGS += $(LIBASYNCNS_CFLAGS)
683 libpulsecommon_@PA_MAJORMINORMICRO@_la_LIBADD += $(LIBASYNCNS_LIBS)
687 libpulsecommon_@PA_MAJORMINORMICRO@_la_SOURCES += pulsecore/dllmain.c
691 libpulsecommon_@PA_MAJORMINORMICRO@_la_SOURCES += \
692 pulsecore/dbus-util.c pulsecore/dbus-util.h \
693 pulsecore/rtkit.c pulsecore/rtkit.h
694 libpulsecommon_@PA_MAJORMINORMICRO@_la_CFLAGS += $(DBUS_CFLAGS)
695 libpulsecommon_@PA_MAJORMINORMICRO@_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_MAJORMINORMICRO@.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_MAJORMINORMICRO@.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_MAJORMINORMICRO@.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_MAJORMINORMICRO@.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_MAJORMINORMICRO@.la
813 libpulsedsp_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version -disable-static
815 ###################################
816 # Daemon core library #
817 ###################################
819 lib_LTLIBRARIES += libpulsecore-@PA_MAJORMINORMICRO@.la
822 libpulsecore_@PA_MAJORMINORMICRO@_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/envelope.c pulsecore/envelope.h \
834 pulsecore/fdsem.c pulsecore/fdsem.h \
835 pulsecore/g711.c pulsecore/g711.h \
836 pulsecore/hook-list.c pulsecore/hook-list.h \
837 pulsecore/ltdl-helper.c pulsecore/ltdl-helper.h \
838 pulsecore/modargs.c pulsecore/modargs.h \
839 pulsecore/modinfo.c pulsecore/modinfo.h \
840 pulsecore/module.c pulsecore/module.h \
841 pulsecore/msgobject.c pulsecore/msgobject.h \
842 pulsecore/namereg.c pulsecore/namereg.h \
843 pulsecore/object.c pulsecore/object.h \
844 pulsecore/play-memblockq.c pulsecore/play-memblockq.h \
845 pulsecore/play-memchunk.c pulsecore/play-memchunk.h \
846 pulsecore/remap.c pulsecore/remap.h \
847 pulsecore/remap_mmx.c pulsecore/remap_sse.c \
848 pulsecore/resampler.c pulsecore/resampler.h \
849 pulsecore/rtpoll.c pulsecore/rtpoll.h \
850 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/svolume_c.c pulsecore/svolume_arm.c \
854 pulsecore/svolume_mmx.c pulsecore/svolume_sse.c \
855 pulsecore/sconv-s16be.c pulsecore/sconv-s16be.h \
856 pulsecore/sconv-s16le.c pulsecore/sconv-s16le.h \
857 pulsecore/sconv_sse.c \
858 pulsecore/sconv.c pulsecore/sconv.h \
859 pulsecore/shared.c pulsecore/shared.h \
860 pulsecore/shm.c pulsecore/shm.h \
861 pulsecore/sink-input.c pulsecore/sink-input.h \
862 pulsecore/sink.c pulsecore/sink.h \
863 pulsecore/sioman.c pulsecore/sioman.h \
864 pulsecore/sound-file-stream.c pulsecore/sound-file-stream.h \
865 pulsecore/sound-file.c pulsecore/sound-file.h \
866 pulsecore/source-output.c pulsecore/source-output.h \
867 pulsecore/source.c pulsecore/source.h \
868 pulsecore/start-child.c pulsecore/start-child.h \
869 pulsecore/thread-mq.c pulsecore/thread-mq.h \
870 pulsecore/time-smoother.c pulsecore/time-smoother.h \
873 libpulsecore_@PA_MAJORMINORMICRO@_la_CFLAGS = $(AM_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSPEEX_CFLAGS) $(WINSOCK_CFLAGS)
874 libpulsecore_@PA_MAJORMINORMICRO@_la_LDFLAGS = -avoid-version
875 libpulsecore_@PA_MAJORMINORMICRO@_la_LIBADD = $(AM_LIBADD) $(LIBLTDL) $(LIBSAMPLERATE_LIBS) $(LIBSPEEX_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la libpulsecore-foreign.la
878 libpulsecore_@PA_MAJORMINORMICRO@_la_SOURCES += pulsecore/x11wrap.c pulsecore/x11wrap.h
879 libpulsecore_@PA_MAJORMINORMICRO@_la_CFLAGS += $(X11_CFLAGS)
880 libpulsecore_@PA_MAJORMINORMICRO@_la_LDFLAGS += $(X11_LIBS)
884 libpulsecore_@PA_MAJORMINORMICRO@_la_SOURCES += \
885 pulsecore/dbus-shared.c pulsecore/dbus-shared.h \
886 pulsecore/protocol-dbus.c pulsecore/protocol-dbus.h
887 libpulsecore_@PA_MAJORMINORMICRO@_la_CFLAGS += $(DBUS_CFLAGS)
888 libpulsecore_@PA_MAJORMINORMICRO@_la_LIBADD += $(DBUS_LIBS)
892 libpulsecore_@PA_MAJORMINORMICRO@_la_SOURCES += pulsecore/database-gdbm.c
893 libpulsecore_@PA_MAJORMINORMICRO@_la_CFLAGS += $(GDBM_CFLAGS)
894 libpulsecore_@PA_MAJORMINORMICRO@_la_LIBADD += $(GDBM_LIBS)
898 libpulsecore_@PA_MAJORMINORMICRO@_la_SOURCES += pulsecore/database-tdb.c
899 libpulsecore_@PA_MAJORMINORMICRO@_la_CFLAGS += $(TDB_CFLAGS)
900 libpulsecore_@PA_MAJORMINORMICRO@_la_LIBADD += $(TDB_LIBS)
904 libpulsecore_@PA_MAJORMINORMICRO@_la_SOURCES += pulsecore/database-simple.c
907 # We split the foreign code off to not be annoyed by warnings we don't care about
908 noinst_LTLIBRARIES = libpulsecore-foreign.la
910 libpulsecore_foreign_la_SOURCES = \
911 pulsecore/ffmpeg/resample2.c pulsecore/ffmpeg/avcodec.h pulsecore/ffmpeg/dsputil.h
913 libpulsecore_foreign_la_CFLAGS = $(AM_CFLAGS) $(FOREIGN_CFLAGS)
915 ###################################
916 # Plug-in support libraries #
917 ###################################
919 ### Warning! Due to an obscure bug in libtool/automake it is required
920 ### that the libraries in modlibexec_LTLIBRARIES are specified in-order,
921 ### i.e. libraries near the end of the list depend on libraries near
922 ### the head, and not the other way!
924 modlibexec_LTLIBRARIES = \
927 libprotocol-simple.la \
928 libprotocol-http.la \
929 libprotocol-native.la \
930 libprotocol-esound.la
932 # We need to emulate sendmsg/recvmsg to support this on Win32
934 modlibexec_LTLIBRARIES += \
939 modlibexec_LTLIBRARIES += \
943 libprotocol_simple_la_SOURCES = pulsecore/protocol-simple.c pulsecore/protocol-simple.h
944 libprotocol_simple_la_LDFLAGS = -avoid-version
945 libprotocol_simple_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
947 libcli_la_SOURCES = pulsecore/cli.c pulsecore/cli.h
948 libcli_la_LDFLAGS = -avoid-version
949 libcli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
951 libprotocol_cli_la_SOURCES = pulsecore/protocol-cli.c pulsecore/protocol-cli.h
952 libprotocol_cli_la_LDFLAGS = -avoid-version
953 libprotocol_cli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la libcli.la
955 libprotocol_http_la_SOURCES = pulsecore/protocol-http.c pulsecore/protocol-http.h pulsecore/mime-type.c pulsecore/mime-type.h
956 libprotocol_http_la_LDFLAGS = -avoid-version
957 libprotocol_http_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
959 libprotocol_native_la_SOURCES = pulsecore/protocol-native.c pulsecore/protocol-native.h pulsecore/native-common.h
960 libprotocol_native_la_LDFLAGS = -avoid-version
961 libprotocol_native_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
963 libprotocol_esound_la_SOURCES = pulsecore/protocol-esound.c pulsecore/protocol-esound.h pulsecore/esound.h
964 libprotocol_esound_la_LDFLAGS = -avoid-version
965 libprotocol_esound_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
967 librtp_la_SOURCES = \
968 modules/rtp/rtp.c modules/rtp/rtp.h \
969 modules/rtp/sdp.c modules/rtp/sdp.h \
970 modules/rtp/sap.c modules/rtp/sap.h \
971 modules/rtp/rtsp_client.c modules/rtp/rtsp_client.h \
972 modules/rtp/headerlist.c modules/rtp/headerlist.h
973 librtp_la_LDFLAGS = -avoid-version
974 librtp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
976 libraop_la_SOURCES = \
977 modules/raop/raop_client.c modules/raop/raop_client.h \
978 modules/raop/base64.c modules/raop/base64.h
979 libraop_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_CFLAGS)
980 libraop_la_LDFLAGS = -avoid-version
981 libraop_la_LIBADD = $(AM_LIBADD) $(OPENSSL_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la librtp.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
984 libavahi_wrap_la_SOURCES = pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
985 libavahi_wrap_la_LDFLAGS = -avoid-version
986 libavahi_wrap_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
987 libavahi_wrap_la_LIBADD = $(AM_LIBADD) $(AVAHI_CFLAGS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
989 ###################################
990 # Plug-in libraries #
991 ###################################
994 # Serveral module (e.g. libalsa-util.la)
995 modlibexec_LTLIBRARIES += \
996 module-console-kit.la
999 modlibexec_LTLIBRARIES += \
1001 module-cli-protocol-tcp.la \
1002 module-simple-protocol-tcp.la \
1003 module-null-sink.la \
1004 module-sine-source.la \
1006 module-volume-restore.la \
1007 module-device-manager.la \
1008 module-device-restore.la \
1009 module-stream-restore.la \
1010 module-card-restore.la \
1011 module-default-device-restore.la \
1012 module-always-sink.la \
1013 module-rescue-streams.la \
1014 module-intended-roles.la \
1015 module-suspend-on-idle.la \
1016 module-http-protocol-tcp.la \
1018 module-native-protocol-tcp.la \
1019 module-native-protocol-fd.la \
1020 module-esound-protocol-tcp.la \
1022 module-remap-sink.la \
1023 module-ladspa-sink.la \
1024 module-esound-sink.la \
1025 module-tunnel-sink.la \
1026 module-tunnel-source.la \
1027 module-position-event-sounds.la \
1028 module-augment-properties.la \
1029 module-cork-music-on-phone.la \
1032 # See comment at librtp.la above
1034 modlibexec_LTLIBRARIES += \
1035 module-rtp-send.la \
1040 modlibexec_LTLIBRARIES += \
1041 module-cli-protocol-unix.la \
1042 module-simple-protocol-unix.la \
1043 module-http-protocol-unix.la \
1044 module-native-protocol-unix.la \
1045 module-esound-protocol-unix.la
1049 modlibexec_LTLIBRARIES += \
1050 module-pipe-sink.la \
1051 module-pipe-source.la
1055 modlibexec_LTLIBRARIES += \
1056 module-esound-compat-spawnfd.la \
1057 module-esound-compat-spawnpid.la
1061 modlibexec_LTLIBRARIES += \
1066 modlibexec_LTLIBRARIES += \
1067 module-x11-bell.la \
1068 module-x11-publish.la \
1069 module-x11-xsmp.la \
1070 module-x11-cork-request.la
1074 modlibexec_LTLIBRARIES += \
1080 modlibexec_LTLIBRARIES += \
1081 module-coreaudio-detect.la \
1082 module-coreaudio-device.la
1085 pulselibexec_PROGRAMS =
1088 modlibexec_LTLIBRARIES += \
1090 module-alsa-sink.la \
1091 module-alsa-source.la \
1094 dist_alsaprofilesets_DATA = \
1095 modules/alsa/mixer/profile-sets/default.conf \
1096 modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \
1097 modules/alsa/mixer/profile-sets/native-instruments-audio8dj.conf
1100 dist_udevrules_DATA = \
1101 modules/alsa/mixer/profile-sets/90-pulseaudio.rules
1104 dist_alsapaths_DATA = \
1105 modules/alsa/mixer/paths/analog-input-aux.conf \
1106 modules/alsa/mixer/paths/analog-input.conf \
1107 modules/alsa/mixer/paths/analog-input.conf.common \
1108 modules/alsa/mixer/paths/analog-input-fm.conf \
1109 modules/alsa/mixer/paths/analog-input-linein.conf \
1110 modules/alsa/mixer/paths/analog-input-mic.conf \
1111 modules/alsa/mixer/paths/analog-input-mic.conf.common \
1112 modules/alsa/mixer/paths/analog-input-mic-line.conf \
1113 modules/alsa/mixer/paths/analog-input-tvtuner.conf \
1114 modules/alsa/mixer/paths/analog-input-video.conf \
1115 modules/alsa/mixer/paths/analog-output.conf \
1116 modules/alsa/mixer/paths/analog-output-speaker.conf \
1117 modules/alsa/mixer/paths/analog-output.conf.common \
1118 modules/alsa/mixer/paths/analog-output-headphones.conf \
1119 modules/alsa/mixer/paths/analog-output-headphones-2.conf \
1120 modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf \
1121 modules/alsa/mixer/paths/analog-output-mono.conf
1126 modlibexec_LTLIBRARIES += \
1131 modlibexec_LTLIBRARIES += \
1132 module-zeroconf-publish.la \
1133 module-zeroconf-discover.la
1137 modlibexec_LTLIBRARIES += \
1138 module-bonjour-publish.la
1142 modlibexec_LTLIBRARIES += \
1147 modlibexec_LTLIBRARIES += \
1148 module-mmkbd-evdev.la
1152 modlibexec_LTLIBRARIES += \
1153 module-jack-sink.la \
1154 module-jack-source.la
1158 modlibexec_LTLIBRARIES += \
1161 pulselibexec_PROGRAMS += \
1166 #modlibexec_LTLIBRARIES += \
1171 modlibexec_LTLIBRARIES += \
1172 module-hal-detect.la
1176 modlibexec_LTLIBRARIES += \
1177 module-hal-detect.la
1181 modlibexec_LTLIBRARIES += \
1182 module-udev-detect.la
1186 modlibexec_LTLIBRARIES += \
1187 module-rygel-media-server.la \
1188 module-dbus-protocol.la
1192 modlibexec_LTLIBRARIES += \
1193 libbluetooth-util.la \
1194 module-bluetooth-proximity.la \
1195 module-bluetooth-discover.la \
1196 libbluetooth-ipc.la \
1197 libbluetooth-sbc.la \
1198 module-bluetooth-device.la
1200 pulselibexec_PROGRAMS += \
1205 modlibexec_LTLIBRARIES += \
1209 modlibexec_LTLIBRARIES += \
1210 module-raop-discover.la
1215 modlibexec_LTLIBRARIES += \
1216 module-equalizer-sink.la
1217 bin_SCRIPTS += utils/qpaeq
1220 # These are generated by an M4 script
1222 modules/module-cli-symdef.h \
1223 modules/module-cli-protocol-tcp-symdef.h \
1224 modules/module-cli-protocol-unix-symdef.h \
1225 modules/module-pipe-sink-symdef.h \
1226 modules/module-pipe-source-symdef.h \
1227 modules/module-simple-protocol-tcp-symdef.h \
1228 modules/module-simple-protocol-unix-symdef.h \
1229 modules/module-esound-protocol-tcp-symdef.h \
1230 modules/module-esound-protocol-unix-symdef.h \
1231 modules/module-native-protocol-tcp-symdef.h \
1232 modules/module-native-protocol-unix-symdef.h \
1233 modules/module-native-protocol-fd-symdef.h \
1234 modules/module-sine-symdef.h \
1235 modules/module-combine-symdef.h \
1236 modules/module-remap-sink-symdef.h \
1237 modules/module-ladspa-sink-symdef.h \
1238 modules/module-equalizer-sink-symdef.h \
1239 modules/module-esound-compat-spawnfd-symdef.h \
1240 modules/module-esound-compat-spawnpid-symdef.h \
1241 modules/module-match-symdef.h \
1242 modules/module-tunnel-sink-symdef.h \
1243 modules/module-tunnel-source-symdef.h \
1244 modules/module-null-sink-symdef.h \
1245 modules/module-sine-source-symdef.h \
1246 modules/module-esound-sink-symdef.h \
1247 modules/module-zeroconf-publish-symdef.h \
1248 modules/module-zeroconf-discover-symdef.h \
1249 modules/module-bonjour-publish-symdef.h \
1250 modules/module-lirc-symdef.h \
1251 modules/module-mmkbd-evdev-symdef.h \
1252 modules/module-http-protocol-tcp-symdef.h \
1253 modules/module-http-protocol-unix-symdef.h \
1254 modules/module-rygel-media-server-symdef.h \
1255 modules/x11/module-x11-bell-symdef.h \
1256 modules/x11/module-x11-publish-symdef.h \
1257 modules/x11/module-x11-xsmp-symdef.h \
1258 modules/x11/module-x11-cork-request-symdef.h \
1259 modules/oss/module-oss-symdef.h \
1260 modules/alsa/module-alsa-sink-symdef.h \
1261 modules/alsa/module-alsa-source-symdef.h \
1262 modules/alsa/module-alsa-card-symdef.h \
1263 modules/coreaudio/module-coreaudio-detect-symdef.h \
1264 modules/coreaudio/module-coreaudio-device-symdef.h \
1265 modules/module-solaris-symdef.h \
1266 modules/module-waveout-symdef.h \
1267 modules/module-detect-symdef.h \
1268 modules/rtp/module-rtp-send-symdef.h \
1269 modules/rtp/module-rtp-recv-symdef.h \
1270 modules/jack/module-jack-sink-symdef.h \
1271 modules/jack/module-jack-source-symdef.h \
1272 modules/module-volume-restore-symdef.h \
1273 modules/module-device-manager-symdef.h \
1274 modules/module-device-restore-symdef.h \
1275 modules/module-stream-restore-symdef.h \
1276 modules/module-card-restore-symdef.h \
1277 modules/module-default-device-restore-symdef.h \
1278 modules/module-always-sink-symdef.h \
1279 modules/module-rescue-streams-symdef.h \
1280 modules/module-intended-roles-symdef.h \
1281 modules/module-suspend-on-idle-symdef.h \
1282 modules/module-hal-detect-symdef.h \
1283 modules/module-udev-detect-symdef.h \
1284 modules/bluetooth/module-bluetooth-proximity-symdef.h \
1285 modules/bluetooth/module-bluetooth-discover-symdef.h \
1286 modules/bluetooth/module-bluetooth-device-symdef.h \
1287 modules/raop/module-raop-sink-symdef.h \
1288 modules/raop/module-raop-discover-symdef.h \
1289 modules/gconf/module-gconf-symdef.h \
1290 modules/module-position-event-sounds-symdef.h \
1291 modules/module-augment-properties-symdef.h \
1292 modules/module-cork-music-on-phone-symdef.h \
1293 modules/module-console-kit-symdef.h \
1294 modules/dbus/module-dbus-protocol-symdef.h \
1295 modules/module-loopback-symdef.h
1297 EXTRA_DIST += $(SYMDEF_FILES)
1298 BUILT_SOURCES += $(SYMDEF_FILES)
1300 $(SYMDEF_FILES): modules/module-defs.h.m4
1301 $(MKDIR_P) $(dir $@)
1302 $(M4) -Dfname="$@" $< > $@
1306 module_simple_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1307 module_simple_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1308 module_simple_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1309 module_simple_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-simple.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1311 module_simple_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1312 module_simple_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1313 module_simple_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1314 module_simple_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-simple.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1318 module_cli_la_SOURCES = modules/module-cli.c
1319 module_cli_la_LDFLAGS = $(MODULE_LDFLAGS)
1320 module_cli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libcli.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1322 module_cli_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1323 module_cli_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1324 module_cli_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1325 module_cli_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-cli.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1327 module_cli_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1328 module_cli_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1329 module_cli_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1330 module_cli_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-cli.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1334 module_http_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1335 module_http_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1336 module_http_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1337 module_http_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-http.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1339 module_http_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1340 module_http_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1341 module_http_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1342 module_http_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-http.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1346 module_dbus_protocol_la_SOURCES = \
1347 modules/dbus/iface-card.c modules/dbus/iface-card.h \
1348 modules/dbus/iface-card-profile.c modules/dbus/iface-card-profile.h \
1349 modules/dbus/iface-client.c modules/dbus/iface-client.h \
1350 modules/dbus/iface-core.c modules/dbus/iface-core.h \
1351 modules/dbus/iface-device.c modules/dbus/iface-device.h \
1352 modules/dbus/iface-device-port.c modules/dbus/iface-device-port.h \
1353 modules/dbus/iface-memstats.c modules/dbus/iface-memstats.h \
1354 modules/dbus/iface-module.c modules/dbus/iface-module.h \
1355 modules/dbus/iface-sample.c modules/dbus/iface-sample.h \
1356 modules/dbus/iface-stream.c modules/dbus/iface-stream.h \
1357 modules/dbus/module-dbus-protocol.c
1358 module_dbus_protocol_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1359 module_dbus_protocol_la_LDFLAGS = $(MODULE_LDFLAGS)
1360 module_dbus_protocol_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1364 module_native_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1365 module_native_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1366 module_native_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1367 module_native_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-native.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1369 module_native_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1370 module_native_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1371 module_native_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1372 module_native_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-native.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1374 module_native_protocol_fd_la_SOURCES = modules/module-native-protocol-fd.c
1375 module_native_protocol_fd_la_CFLAGS = $(AM_CFLAGS)
1376 module_native_protocol_fd_la_LDFLAGS = $(MODULE_LDFLAGS)
1377 module_native_protocol_fd_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-native.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1381 module_esound_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1382 module_esound_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1383 module_esound_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1384 module_esound_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-esound.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1386 module_esound_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1387 module_esound_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1388 module_esound_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1389 module_esound_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-esound.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1391 module_esound_compat_spawnfd_la_SOURCES = modules/module-esound-compat-spawnfd.c
1392 module_esound_compat_spawnfd_la_LDFLAGS = $(MODULE_LDFLAGS)
1393 module_esound_compat_spawnfd_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1395 module_esound_compat_spawnpid_la_SOURCES = modules/module-esound-compat-spawnpid.c
1396 module_esound_compat_spawnpid_la_LDFLAGS = $(MODULE_LDFLAGS)
1397 module_esound_compat_spawnpid_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1399 module_esound_sink_la_SOURCES = modules/module-esound-sink.c
1400 module_esound_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1401 module_esound_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1405 module_pipe_sink_la_SOURCES = modules/module-pipe-sink.c
1406 module_pipe_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1407 module_pipe_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1409 module_pipe_source_la_SOURCES = modules/module-pipe-source.c
1410 module_pipe_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1411 module_pipe_source_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1413 # Fake sources/sinks
1415 module_sine_la_SOURCES = modules/module-sine.c
1416 module_sine_la_LDFLAGS = $(MODULE_LDFLAGS)
1417 module_sine_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1419 module_null_sink_la_SOURCES = modules/module-null-sink.c
1420 module_null_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1421 module_null_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1423 module_sine_source_la_SOURCES = modules/module-sine-source.c
1424 module_sine_source_la_LDFLAGS = -module -avoid-version
1425 module_sine_source_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1429 module_combine_la_SOURCES = modules/module-combine.c
1430 module_combine_la_LDFLAGS = $(MODULE_LDFLAGS)
1431 module_combine_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1433 module_remap_sink_la_SOURCES = modules/module-remap-sink.c
1434 module_remap_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1435 module_remap_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1437 module_ladspa_sink_la_SOURCES = modules/module-ladspa-sink.c modules/ladspa.h
1438 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)
1439 module_ladspa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1440 module_ladspa_sink_la_LIBADD = $(AM_LIBADD) $(LIBLTDL) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1442 module_equalizer_sink_la_SOURCES = modules/module-equalizer-sink.c
1443 module_equalizer_sink_la_CFLAGS = $(AM_CFLAGS) $(FFTW_CFLAGS)
1444 module_equalizer_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1445 module_equalizer_sink_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) $(FFTW_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1447 module_match_la_SOURCES = modules/module-match.c
1448 module_match_la_LDFLAGS = $(MODULE_LDFLAGS)
1449 module_match_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1451 module_tunnel_sink_la_SOURCES = modules/module-tunnel.c
1452 module_tunnel_sink_la_CFLAGS = -DTUNNEL_SINK=1 $(AM_CFLAGS)
1453 module_tunnel_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1454 module_tunnel_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1456 module_tunnel_source_la_SOURCES = modules/module-tunnel.c
1457 module_tunnel_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1458 module_tunnel_source_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1460 module_loopback_la_SOURCES = modules/module-loopback.c
1461 module_loopback_la_LDFLAGS = $(MODULE_LDFLAGS)
1462 module_loopback_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1466 module_x11_bell_la_SOURCES = modules/x11/module-x11-bell.c
1467 module_x11_bell_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1468 module_x11_bell_la_LDFLAGS = $(MODULE_LDFLAGS)
1469 module_x11_bell_la_LIBADD = $(AM_LIBADD) $(X11_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1471 module_x11_publish_la_SOURCES = modules/x11/module-x11-publish.c
1472 module_x11_publish_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1473 module_x11_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1474 module_x11_publish_la_LIBADD = $(AM_LIBADD) $(X11_LIBS) libprotocol-native.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1476 module_x11_xsmp_la_SOURCES = modules/x11/module-x11-xsmp.c
1477 module_x11_xsmp_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1478 module_x11_xsmp_la_LDFLAGS = $(MODULE_LDFLAGS)
1479 module_x11_xsmp_la_LIBADD = $(AM_LIBADD) $(X11_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1481 module_x11_cork_request_la_SOURCES = modules/x11/module-x11-cork-request.c
1482 module_x11_cork_request_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1483 module_x11_cork_request_la_LDFLAGS = $(MODULE_LDFLAGS)
1484 module_x11_cork_request_la_LIBADD = $(AM_LIBADD) $(X11_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1488 liboss_util_la_SOURCES = modules/oss/oss-util.c modules/oss/oss-util.h
1489 liboss_util_la_LDFLAGS = -avoid-version
1490 liboss_util_la_LIBADD = libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1492 module_oss_la_SOURCES = modules/oss/module-oss.c
1493 module_oss_la_LDFLAGS = $(MODULE_LDFLAGS)
1494 module_oss_la_LIBADD = $(AM_LIBADD) liboss-util.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1498 module_coreaudio_detect_la_SOURCES = modules/coreaudio/module-coreaudio-detect.c
1499 module_coreaudio_detect_la_LDFLAGS = $(MODULE_LDFLAGS) \
1500 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1501 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1502 module_coreaudio_detect_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1504 module_coreaudio_device_la_SOURCES = modules/coreaudio/module-coreaudio-device.c
1505 module_coreaudio_device_la_LDFLAGS = $(MODULE_LDFLAGS) \
1506 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1507 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1508 module_coreaudio_device_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1511 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
1512 libalsa_util_la_LDFLAGS = -avoid-version
1513 libalsa_util_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1514 libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1517 libalsa_util_la_SOURCES += modules/hal-util.h modules/hal-util.c
1518 libalsa_util_la_LIBADD += $(HAL_LIBS)
1519 libalsa_util_la_CFLAGS += $(HAL_CFLAGS)
1523 libalsa_util_la_SOURCES += modules/udev-util.h modules/udev-util.c
1524 libalsa_util_la_LIBADD += $(UDEV_LIBS)
1525 libalsa_util_la_CFLAGS += $(UDEV_CFLAGS)
1529 libalsa_util_la_SOURCES += modules/reserve.h modules/reserve.c modules/reserve-monitor.h modules/reserve-monitor.c
1530 libalsa_util_la_LIBADD += $(DBUS_LIBS)
1531 libalsa_util_la_CFLAGS += $(DBUS_CFLAGS)
1534 module_alsa_sink_la_SOURCES = modules/alsa/module-alsa-sink.c
1535 module_alsa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1536 module_alsa_sink_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1537 module_alsa_sink_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1539 module_alsa_source_la_SOURCES = modules/alsa/module-alsa-source.c
1540 module_alsa_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1541 module_alsa_source_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1542 module_alsa_source_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1544 module_alsa_card_la_SOURCES = modules/alsa/module-alsa-card.c
1545 module_alsa_card_la_LDFLAGS = $(MODULE_LDFLAGS)
1546 module_alsa_card_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1547 module_alsa_card_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1551 module_solaris_la_SOURCES = modules/module-solaris.c
1552 module_solaris_la_LDFLAGS = $(MODULE_LDFLAGS)
1553 module_solaris_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1557 module_zeroconf_publish_la_SOURCES = modules/module-zeroconf-publish.c
1558 module_zeroconf_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1559 module_zeroconf_publish_la_LIBADD = $(AM_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libprotocol-native.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1560 module_zeroconf_publish_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1562 module_zeroconf_discover_la_SOURCES = modules/module-zeroconf-discover.c
1563 module_zeroconf_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1564 module_zeroconf_discover_la_LIBADD = $(AM_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1565 module_zeroconf_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1569 module_bonjour_publish_la_SOURCES = modules/module-bonjour-publish.c
1570 module_bonjour_publish_la_LDFLAGS = $(MODULE_LDFLAGS) \
1571 -Wl,-framework -Wl,CoreFoundation -framework CoreFoundation
1572 module_bonjour_publish_la_LIBADD = libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1576 module_lirc_la_SOURCES = modules/module-lirc.c
1577 module_lirc_la_LDFLAGS = $(MODULE_LDFLAGS)
1578 module_lirc_la_LIBADD = $(AM_LIBADD) $(LIRC_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1579 module_lirc_la_CFLAGS = $(AM_CFLAGS) $(LIRC_CFLAGS)
1583 module_mmkbd_evdev_la_SOURCES = modules/module-mmkbd-evdev.c
1584 module_mmkbd_evdev_la_LDFLAGS = $(MODULE_LDFLAGS)
1585 module_mmkbd_evdev_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1586 module_mmkbd_evdev_la_CFLAGS = $(AM_CFLAGS)
1590 #module_waveout_la_SOURCES = modules/module-waveout.c
1591 #module_waveout_la_LDFLAGS = $(MODULE_LDFLAGS)
1592 #module_waveout_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la -lwinmm libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1593 #module_waveout_la_CFLAGS = $(AM_CFLAGS)
1595 # Hardware autodetection module
1596 module_detect_la_SOURCES = modules/module-detect.c
1597 module_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1598 module_detect_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1599 module_detect_la_CFLAGS = $(AM_CFLAGS)
1601 # Volume restore module
1602 module_volume_restore_la_SOURCES = modules/module-volume-restore.c
1603 module_volume_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1604 module_volume_restore_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1605 module_volume_restore_la_CFLAGS = $(AM_CFLAGS)
1607 # Position event sounds in space
1608 module_position_event_sounds_la_SOURCES = modules/module-position-event-sounds.c
1609 module_position_event_sounds_la_LDFLAGS = $(MODULE_LDFLAGS)
1610 module_position_event_sounds_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1611 module_position_event_sounds_la_CFLAGS = $(AM_CFLAGS)
1613 # Augment properties from XDG .desktop files
1614 module_augment_properties_la_SOURCES = modules/module-augment-properties.c
1615 module_augment_properties_la_LDFLAGS = $(MODULE_LDFLAGS)
1616 module_augment_properties_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1617 #module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"$(datadir)/applications\"
1618 module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"/usr/share/applications\"
1620 # Cork music streams while a phone stream is active
1621 module_cork_music_on_phone_la_SOURCES = modules/module-cork-music-on-phone.c
1622 module_cork_music_on_phone_la_LDFLAGS = $(MODULE_LDFLAGS)
1623 module_cork_music_on_phone_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1624 module_cork_music_on_phone_la_CFLAGS = $(AM_CFLAGS)
1626 # Device description restore module
1627 module_device_manager_la_SOURCES = modules/module-device-manager.c
1628 module_device_manager_la_LDFLAGS = $(MODULE_LDFLAGS)
1629 module_device_manager_la_LIBADD = $(AM_LIBADD) libprotocol-native.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1630 module_device_manager_la_CFLAGS = $(AM_CFLAGS)
1632 # Device volume/muted restore module
1633 module_device_restore_la_SOURCES = modules/module-device-restore.c
1634 module_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1635 module_device_restore_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1636 module_device_restore_la_CFLAGS = $(AM_CFLAGS)
1638 # Stream volume/muted/device restore module
1639 module_stream_restore_la_SOURCES = modules/module-stream-restore.c
1640 module_stream_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1641 module_stream_restore_la_LIBADD = $(AM_LIBADD) libprotocol-native.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1642 module_stream_restore_la_CFLAGS = $(AM_CFLAGS)
1645 module_stream_restore_la_LIBADD += $(DBUS_LIBS)
1646 module_stream_restore_la_CFLAGS += $(DBUS_CFLAGS)
1649 # Card profile restore module
1650 module_card_restore_la_SOURCES = modules/module-card-restore.c
1651 module_card_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1652 module_card_restore_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1653 module_card_restore_la_CFLAGS = $(AM_CFLAGS)
1655 # Default sink/source restore module
1656 module_default_device_restore_la_SOURCES = modules/module-default-device-restore.c
1657 module_default_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1658 module_default_device_restore_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1659 module_default_device_restore_la_CFLAGS = $(AM_CFLAGS)
1661 # Always Sink module
1662 module_always_sink_la_SOURCES = modules/module-always-sink.c
1663 module_always_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1664 module_always_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1665 module_always_sink_la_CFLAGS = $(AM_CFLAGS)
1667 # Rescue streams module
1668 module_rescue_streams_la_SOURCES = modules/module-rescue-streams.c
1669 module_rescue_streams_la_LDFLAGS = $(MODULE_LDFLAGS)
1670 module_rescue_streams_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1671 module_rescue_streams_la_CFLAGS = $(AM_CFLAGS)
1673 # Automatically move streams to devices that are intended for their roles
1674 module_intended_roles_la_SOURCES = modules/module-intended-roles.c
1675 module_intended_roles_la_LDFLAGS = $(MODULE_LDFLAGS)
1676 module_intended_roles_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1677 module_intended_roles_la_CFLAGS = $(AM_CFLAGS)
1679 # Suspend-on-idle module
1680 module_suspend_on_idle_la_SOURCES = modules/module-suspend-on-idle.c
1681 module_suspend_on_idle_la_LDFLAGS = $(MODULE_LDFLAGS)
1682 module_suspend_on_idle_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1683 module_suspend_on_idle_la_CFLAGS = $(AM_CFLAGS)
1686 module_rtp_send_la_SOURCES = modules/rtp/module-rtp-send.c
1687 module_rtp_send_la_LDFLAGS = $(MODULE_LDFLAGS)
1688 module_rtp_send_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la librtp.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1689 module_rtp_send_la_CFLAGS = $(AM_CFLAGS)
1691 module_rtp_recv_la_SOURCES = modules/rtp/module-rtp-recv.c
1692 module_rtp_recv_la_LDFLAGS = $(MODULE_LDFLAGS)
1693 module_rtp_recv_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la librtp.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1694 module_rtp_recv_la_CFLAGS = $(AM_CFLAGS)
1698 module_jack_sink_la_SOURCES = modules/jack/module-jack-sink.c
1699 module_jack_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1700 module_jack_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la $(JACK_LIBS) libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1701 module_jack_sink_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1703 module_jack_source_la_SOURCES = modules/jack/module-jack-source.c
1704 module_jack_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1705 module_jack_source_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la $(JACK_LIBS) libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1706 module_jack_source_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1709 module_hal_detect_la_SOURCES = modules/module-hal-detect-compat.c
1710 module_hal_detect_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1711 module_hal_detect_la_CFLAGS = $(AM_CFLAGS)
1713 module_hal_detect_la_SOURCES = modules/module-hal-detect.c
1714 module_hal_detect_la_LIBADD = $(AM_LIBADD) $(HAL_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1715 module_hal_detect_la_CFLAGS = $(AM_CFLAGS) $(HAL_CFLAGS)
1717 module_hal_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1719 module_udev_detect_la_SOURCES = modules/module-udev-detect.c
1720 module_udev_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1721 module_udev_detect_la_LIBADD = $(AM_LIBADD) $(UDEV_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1722 module_udev_detect_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
1724 module_console_kit_la_SOURCES = modules/module-console-kit.c
1725 module_console_kit_la_LDFLAGS = $(MODULE_LDFLAGS)
1726 module_console_kit_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1727 module_console_kit_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1730 module_gconf_la_SOURCES = modules/gconf/module-gconf.c
1731 module_gconf_la_LDFLAGS = $(MODULE_LDFLAGS)
1732 module_gconf_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1733 module_gconf_la_CFLAGS = $(AM_CFLAGS) -DPA_GCONF_HELPER=\"$(pulselibexecdir)/gconf-helper\"
1735 gconf_helper_SOURCES = modules/gconf/gconf-helper.c
1736 gconf_helper_LDADD = $(AM_LDADD) $(GCONF_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1737 gconf_helper_CFLAGS = $(AM_CFLAGS) $(GCONF_CFLAGS)
1738 gconf_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1740 # Bluetooth proximity
1741 module_bluetooth_proximity_la_SOURCES = modules/bluetooth/module-bluetooth-proximity.c
1742 module_bluetooth_proximity_la_LDFLAGS = $(MODULE_LDFLAGS)
1743 module_bluetooth_proximity_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1744 module_bluetooth_proximity_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -DPA_BT_PROXIMITY_HELPER=\"$(pulselibexecdir)/proximity-helper\"
1746 proximity_helper_SOURCES = modules/bluetooth/proximity-helper.c
1747 proximity_helper_LDADD = $(AM_LDADD) $(BLUEZ_LIBS)
1748 proximity_helper_CFLAGS = $(AM_CFLAGS) $(BLUEZ_CFLAGS)
1749 proximity_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1751 # Bluetooth sink / source
1752 module_bluetooth_discover_la_SOURCES = modules/bluetooth/module-bluetooth-discover.c
1753 module_bluetooth_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1754 module_bluetooth_discover_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libbluetooth-util.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1755 module_bluetooth_discover_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1757 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
1758 libbluetooth_sbc_la_LDFLAGS = -avoid-version
1759 libbluetooth_sbc_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1760 libbluetooth_sbc_la_CFLAGS = $(AM_CFLAGS)
1761 BLUETOOTH_SBC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_sbc_la_SOURCES))
1763 libbluetooth_ipc_la_SOURCES = modules/bluetooth/ipc.c modules/bluetooth/ipc.h
1764 libbluetooth_ipc_la_LDFLAGS = -avoid-version
1765 libbluetooth_ipc_la_LIBADD = $(AM_LIBADD)libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1766 libbluetooth_ipc_la_CFLAGS = $(AM_CFLAGS)
1767 BLUETOOTH_IPC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_ipc_la_SOURCES)) rtp.h
1769 libbluetooth_util_la_SOURCES = modules/bluetooth/bluetooth-util.c modules/bluetooth/bluetooth-util.h
1770 libbluetooth_util_la_LDFLAGS = -avoid-version
1771 libbluetooth_util_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1772 libbluetooth_util_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1774 module_bluetooth_device_la_SOURCES = modules/bluetooth/module-bluetooth-device.c modules/bluetooth/rtp.h
1775 module_bluetooth_device_la_LDFLAGS = $(MODULE_LDFLAGS)
1776 module_bluetooth_device_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libbluetooth-util.la libbluetooth-ipc.la libbluetooth-sbc.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1777 module_bluetooth_device_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1779 # Apple Airtunes/RAOP
1780 module_raop_sink_la_SOURCES = modules/raop/module-raop-sink.c
1781 module_raop_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1782 module_raop_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la librtp.la libraop.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1784 module_raop_discover_la_SOURCES = modules/raop/module-raop-discover.c
1785 module_raop_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1786 module_raop_discover_la_LIBADD = $(AM_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1787 module_raop_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1790 module_rygel_media_server_la_SOURCES = modules/module-rygel-media-server.c
1791 module_rygel_media_server_la_LDFLAGS = $(MODULE_LDFLAGS)
1792 module_rygel_media_server_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la libprotocol-http.la
1793 module_rygel_media_server_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1795 ###################################
1796 # Some minor stuff #
1797 ###################################
1799 CLEANFILES = esdcompat client.conf default.pa system.pa daemon.conf start-pulseaudio-x11 start-pulseaudio-kde daemon/pulseaudio.desktop daemon/pulseaudio-kde.desktop
1801 esdcompat: daemon/esdcompat.in Makefile
1802 sed -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1803 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1804 -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1807 start-pulseaudio-x11: daemon/start-pulseaudio-x11.in Makefile
1808 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1809 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1810 chmod +x start-pulseaudio-x11
1812 start-pulseaudio-kde: daemon/start-pulseaudio-kde.in Makefile
1813 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1814 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1815 chmod +x start-pulseaudio-kde
1817 client.conf: pulse/client.conf.in Makefile
1818 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1821 default.pa: daemon/default.pa.win32
1823 system.pa: daemon/default.pa.win32
1826 default.pa: daemon/default.pa.in Makefile
1827 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1828 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1829 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1830 system.pa: daemon/system.pa.in Makefile
1831 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1832 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1833 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1836 daemon.conf: daemon/daemon.conf.in Makefile
1837 sed -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1838 -e 's,@PA_DEFAULT_CONFIG_FILE\@,$(DEFAULT_CONFIG_DIR),g' < $< > $@
1841 -chown root $(DESTDIR)$(pulselibexecdir)/proximity-helper
1842 -chmod u+s $(DESTDIR)$(pulselibexecdir)/proximity-helper
1843 ln -sf pacat $(DESTDIR)$(bindir)/parec
1844 ln -sf pacat $(DESTDIR)$(bindir)/pamon
1845 ln -sf pacat $(DESTDIR)$(bindir)/paplay
1846 ln -sf pacat $(DESTDIR)$(bindir)/parecord
1847 rm -f $(DESTDIR)$(libdir)/libpulsedsp.la
1848 rm -f $(DESTDIR)$(modlibexecdir)/*.la
1851 rm -f $(DESTDIR)$(bindir)/parec
1852 rm -f $(DESTDIR)$(bindir)/pamon
1853 rm -f $(DESTDIR)$(bindir)/paplay
1854 rm -f $(DESTDIR)$(bindir)/parecord
1855 rm -f $(DESTDIR)$(libdir)/libpulsedsp.*
1856 rm -f $(DESTDIR)$(modlibexecdir)/*.so
1859 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
1862 wget -O pulsecore/ffmpeg/resample2.c http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/resample2.c?view=co
1864 # We get things twice here, because sometimes gitweb will us just give a "Generating..." otherwise.
1866 for i in $(BLUETOOTH_SBC_FILES) ; do \
1867 wget -O /dev/null http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=sbc/$$i ; \
1868 wget -O modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=sbc/$$i ; \
1870 for i in $(BLUETOOTH_IPC_FILES); do \
1871 wget -O /dev/null http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
1872 wget -O modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
1876 for i in reserve.c reserve.h reserve-monitor.c reserve-monitor.h ; do \
1877 wget -O modules/$$i http://git.0pointer.de/\?p=reserve.git\;a=blob_plain\;f=$$i\;hb=master ; \
1881 for i in rtkit.c rtkit.h ; do \
1882 wget -O pulsecore/$$i http://git.0pointer.de/\?p=rtkit.git\;a=blob_plain\;f=$$i\;hb=master ; \
1885 # Automatically generate linker version script. We use the same one for all public .sos
1887 ( echo "PULSE_0 {" ; \
1889 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 ; \
1892 echo "};" ) > $(srcdir)/map-file
1894 update-all: update-ffmpeg update-sbc update-map-file
1896 .PHONY: utils/padsp massif update-all update-ffmpeg update-sbc update-map-file