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 udevrulesdir=/lib/udev/rules.d
35 dbuspolicydir=$(sysconfdir)/dbus-1/system.d
37 ###################################
39 ###################################
41 PA_BINARY=$(bindir)/pulseaudio$(EXEEXT)
43 PA_DEFAULT_CONFIG_DIR=%PULSE_ROOT%
45 PA_DEFAULT_CONFIG_DIR=$(pulseconfdir)
48 ###################################
49 # Compiler/linker flags #
50 ###################################
54 -I$(top_builddir)/src \
55 -I$(top_srcdir)/src/modules \
56 -I$(top_builddir)/src/modules \
57 -I$(top_srcdir)/src/modules/rtp \
58 -I$(top_builddir)/src/modules/rtp \
59 -I$(top_srcdir)/src/modules/gconf \
60 -I$(top_builddir)/src/modules/gconf \
61 -I$(top_srcdir)/src/modules/bluetooth \
62 -I$(top_builddir)/src/modules/bluetooth \
63 -I$(top_srcdir)/src/modules/oss \
64 -I$(top_builddir)/src/modules/oss \
65 -I$(top_srcdir)/src/modules/alsa \
66 -I$(top_builddir)/src/modules/alsa \
67 -I$(top_srcdir)/src/modules/raop \
68 -I$(top_builddir)/src/modules/raop \
69 -I$(top_srcdir)/src/modules/x11 \
70 -I$(top_builddir)/src/modules/x11 \
71 -I$(top_srcdir)/src/modules/jack \
72 -I$(top_builddir)/src/modules/jack \
73 $(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS \
74 $(LIBSAMPLERATE_CFLAGS) \
75 $(LIBSNDFILE_CFLAGS) \
77 -DPA_BUILDDIR=\"$(abs_builddir)\" \
78 -DPA_DLSEARCHPATH=\"$(modlibexecdir)\" \
79 -DPA_DEFAULT_CONFIG_DIR=\"$(PA_DEFAULT_CONFIG_DIR)\" \
80 -DPA_BINARY=\"$(PA_BINARY)\" \
81 -DPA_SYSTEM_RUNTIME_PATH=\"$(PA_SYSTEM_RUNTIME_PATH)\" \
82 -DPA_SYSTEM_CONFIG_PATH=\"$(PA_SYSTEM_CONFIG_PATH)\" \
83 -DPA_SYSTEM_STATE_PATH=\"$(PA_SYSTEM_STATE_PATH)\" \
85 -DPULSE_LOCALEDIR=\"$(pulselocaledir)\" \
86 -DPA_MACHINE_ID=\"$(localstatedir)/lib/dbus/machine-id\" \
87 -DPA_ALSA_PATHS_DIR=\"$(alsapathsdir)\" \
88 -DPA_ALSA_PROFILE_SETS_DIR=\"$(alsaprofilesetsdir)\"
90 AM_LIBADD = $(PTHREAD_LIBS) $(INTLLIBS)
91 AM_LDADD = $(PTHREAD_LIBS) $(INTLLIBS)
92 AM_LDFLAGS = $(NODELETE_LDFLAGS)
99 AM_LDFLAGS+=-Wl,--export-all-symbols
100 WINSOCK_LIBS=-lwsock32 -lws2_32 -lwininet
104 MODULE_LDFLAGS = -module -disable-static -avoid-version $(LDFLAGS_NOUNDEFINED)
106 ###################################
108 ###################################
111 pulse/client.conf.in \
113 daemon/daemon.conf.in \
114 daemon/default.pa.in \
115 daemon/system.pa.in \
116 daemon/default.pa.win32 \
118 daemon/esdcompat.in \
119 daemon/start-pulseaudio-x11.in \
120 daemon/start-pulseaudio-kde.in \
122 modules/module-defs.h.m4 \
123 daemon/pulseaudio.desktop.in \
124 daemon/pulseaudio-kde.desktop.in \
126 daemon/pulseaudio-system.conf \
127 modules/alsa/mixer/profile-sets/default.conf \
128 modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \
129 modules/alsa/mixer/profile-sets/native-instruments-audio8dj.conf \
130 modules/alsa/mixer/profile-sets/90-pulseaudio.rules \
131 modules/alsa/mixer/paths/analog-input-aux.conf \
132 modules/alsa/mixer/paths/analog-input.conf \
133 modules/alsa/mixer/paths/analog-input.conf.common \
134 modules/alsa/mixer/paths/analog-input-fm.conf \
135 modules/alsa/mixer/paths/analog-input-linein.conf \
136 modules/alsa/mixer/paths/analog-input-mic.conf \
137 modules/alsa/mixer/paths/analog-input-mic.conf.common \
138 modules/alsa/mixer/paths/analog-input-mic-line.conf \
139 modules/alsa/mixer/paths/analog-input-tvtuner.conf \
140 modules/alsa/mixer/paths/analog-input-video.conf \
141 modules/alsa/mixer/paths/analog-output.conf \
142 modules/alsa/mixer/paths/analog-output.conf.common \
143 modules/alsa/mixer/paths/analog-output-headphones.conf \
144 modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf \
145 modules/alsa/mixer/paths/analog-output-mono.conf
154 daemon/pulseaudio-system.conf
157 xdgautostart_in_files = \
158 daemon/pulseaudio.desktop.in \
159 daemon/pulseaudio-kde.desktop.in
161 xdgautostart_DATA = $(xdgautostart_in_files:.desktop.in=.desktop)
162 @INTLTOOL_DESKTOP_RULE@
168 ###################################
170 ###################################
172 bin_PROGRAMS = pulseaudio
174 pulseaudio_SOURCES = \
175 daemon/caps.h daemon/caps.c \
176 daemon/cmdline.c daemon/cmdline.h \
177 daemon/cpulimit.c daemon/cpulimit.h \
178 daemon/daemon-conf.c daemon/daemon-conf.h \
179 daemon/dumpmodules.c daemon/dumpmodules.h \
180 daemon/ltdl-bind-now.c daemon/ltdl-bind-now.h \
183 pulseaudio_CFLAGS = $(AM_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSPEEX_CFLAGS) $(LIBSNDFILE_CFLAGS) $(CAP_CFLAGS) $(DBUS_CFLAGS)
184 pulseaudio_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la $(LIBLTDL) $(LIBSAMPLERATE_LIBS) $(LIBSPEEX_LIBS) $(LIBSNDFILE_LIBS) $(CAP_LIBS) $(DBUS_LIBS)
185 # This is needed because automake doesn't properly expand the foreach below
186 pulseaudio_DEPENDENCIES = libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la $(PREOPEN_LIBS)
189 PREOPEN_LIBS = $(PREOPEN_MODS)
191 PREOPEN_LIBS = $(modlibexec_LTLIBRARIES)
195 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(IMMEDIATE_LDFLAGS) -dlpreopen force $(foreach f,$(PREOPEN_LIBS),-dlpreopen $(f))
197 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(IMMEDIATE_LDFLAGS) -dlopen force $(foreach f,$(PREOPEN_LIBS),-dlopen $(f))
200 ###################################
202 ###################################
210 bin_PROGRAMS += pacmd
214 bin_PROGRAMS += pax11publish
218 bin_PROGRAMS += pabrowse
221 bin_SCRIPTS = esdcompat start-pulseaudio-x11 start-pulseaudio-kde
223 pacat_SOURCES = utils/pacat.c
224 pacat_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la $(LIBSNDFILE_LIBS)
225 pacat_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
226 pacat_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
228 pactl_SOURCES = utils/pactl.c
229 pactl_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la $(LIBSNDFILE_LIBS)
230 pactl_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
231 pactl_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
233 pasuspender_SOURCES = utils/pasuspender.c
234 pasuspender_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la
235 pasuspender_CFLAGS = $(AM_CFLAGS)
236 pasuspender_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
238 pacmd_SOURCES = utils/pacmd.c
239 pacmd_CFLAGS = $(AM_CFLAGS)
240 pacmd_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la
241 pacmd_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
243 pax11publish_SOURCES = utils/pax11publish.c
244 pax11publish_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
245 pax11publish_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la $(X11_LIBS)
246 pax11publish_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
248 pabrowse_SOURCES = utils/pabrowse.c
249 pabrowse_LDADD = $(AM_LDADD) libpulse.la libpulse-browse.la libpulsecommon-@PA_MAJORMINORMICRO@.la
250 pabrowse_CFLAGS = $(AM_CFLAGS)
251 pabrowse_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
253 ###################################
255 ###################################
257 # missing: mcalign-test flist-test pacat-simple parec-simple sync-playback rtstutter stripnul interpol-test thread-test
267 thread-mainloop-test \
269 get-binary-name-test \
284 lock-autospawn-test \
302 thread-mainloop-test \
304 get-binary-name-test \
323 lock-autospawn-test \
354 if BUILD_TESTS_DEFAULT
355 noinst_PROGRAMS = $(TESTS_BINARIES)
357 check_PROGRAMS = $(TESTS_BINARIES)
360 mainloop_test_SOURCES = tests/mainloop-test.c
361 mainloop_test_CFLAGS = $(AM_CFLAGS)
362 mainloop_test_LDADD = $(AM_LDADD) libpulse.la
363 mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
365 thread_mainloop_test_SOURCES = tests/thread-mainloop-test.c
366 thread_mainloop_test_CFLAGS = $(AM_CFLAGS)
367 thread_mainloop_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la
368 thread_mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
370 utf8_test_SOURCES = tests/utf8-test.c
371 utf8_test_CFLAGS = $(AM_CFLAGS)
372 utf8_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
373 utf8_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
375 get_binary_name_test_SOURCES = tests/get-binary-name-test.c
376 get_binary_name_test_CFLAGS = $(AM_CFLAGS)
377 get_binary_name_test_LDADD = $(AM_LDADD) libpulse.la
378 get_binary_name_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
380 ipacl_test_SOURCES = tests/ipacl-test.c
381 ipacl_test_CFLAGS = $(AM_CFLAGS)
382 ipacl_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
383 ipacl_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
385 hook_list_test_SOURCES = tests/hook-list-test.c
386 hook_list_test_CFLAGS = $(AM_CFLAGS)
387 hook_list_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
388 hook_list_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
390 memblock_test_SOURCES = tests/memblock-test.c
391 memblock_test_CFLAGS = $(AM_CFLAGS)
392 memblock_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
393 memblock_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
395 thread_test_SOURCES = tests/thread-test.c
396 thread_test_CFLAGS = $(AM_CFLAGS)
397 thread_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
398 thread_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
400 flist_test_SOURCES = tests/flist-test.c
401 flist_test_CFLAGS = $(AM_CFLAGS)
402 flist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
403 flist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
405 asyncq_test_SOURCES = tests/asyncq-test.c
406 asyncq_test_CFLAGS = $(AM_CFLAGS)
407 asyncq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
408 asyncq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
410 asyncmsgq_test_SOURCES = tests/asyncmsgq-test.c
411 asyncmsgq_test_CFLAGS = $(AM_CFLAGS)
412 asyncmsgq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
413 asyncmsgq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
415 queue_test_SOURCES = tests/queue-test.c
416 queue_test_CFLAGS = $(AM_CFLAGS)
417 queue_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
418 queue_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
420 rtpoll_test_SOURCES = tests/rtpoll-test.c
421 rtpoll_test_CFLAGS = $(AM_CFLAGS)
422 rtpoll_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
423 rtpoll_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
425 mcalign_test_SOURCES = tests/mcalign-test.c
426 mcalign_test_CFLAGS = $(AM_CFLAGS)
427 mcalign_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
428 mcalign_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
430 pacat_simple_SOURCES = tests/pacat-simple.c
431 pacat_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la
432 pacat_simple_CFLAGS = $(AM_CFLAGS)
433 pacat_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
435 parec_simple_SOURCES = tests/parec-simple.c
436 parec_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la
437 parec_simple_CFLAGS = $(AM_CFLAGS)
438 parec_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
440 strlist_test_SOURCES = tests/strlist-test.c
441 strlist_test_CFLAGS = $(AM_CFLAGS)
442 strlist_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
443 strlist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
445 close_test_SOURCES = tests/close-test.c
446 close_test_CFLAGS = $(AM_CFLAGS)
447 close_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
448 close_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
450 voltest_SOURCES = tests/voltest.c
451 voltest_CFLAGS = $(AM_CFLAGS)
452 voltest_LDADD = $(AM_LDADD) libpulse.la
453 voltest_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
455 vector_test_SOURCES = tests/vector-test.c
456 vector_test_CFLAGS = $(AM_CFLAGS)
457 vector_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
458 vector_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
460 channelmap_test_SOURCES = tests/channelmap-test.c
461 channelmap_test_CFLAGS = $(AM_CFLAGS)
462 channelmap_test_LDADD = $(AM_LDADD) libpulse.la
463 channelmap_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
465 cpulimit_test_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
466 cpulimit_test_CFLAGS = $(AM_CFLAGS)
467 cpulimit_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
468 cpulimit_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
470 cpulimit_test2_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
471 cpulimit_test2_CFLAGS = $(AM_CFLAGS) -DTEST2
472 cpulimit_test2_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
473 cpulimit_test2_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
475 mainloop_test_glib_SOURCES = $(mainloop_test_SOURCES)
476 mainloop_test_glib_CFLAGS = $(mainloop_test_CFLAGS) $(GLIB20_CFLAGS) -DGLIB_MAIN_LOOP
477 mainloop_test_glib_LDADD = $(mainloop_test_LDADD) $(GLIB20_LIBS) libpulse-mainloop-glib.la
478 mainloop_test_glib_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
480 memblockq_test_SOURCES = tests/memblockq-test.c
481 memblockq_test_CFLAGS = $(AM_CFLAGS)
482 memblockq_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
483 memblockq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
485 sync_playback_SOURCES = tests/sync-playback.c
486 sync_playback_LDADD = $(AM_LDADD) libpulse.la
487 sync_playback_CFLAGS = $(AM_CFLAGS)
488 sync_playback_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
490 interpol_test_SOURCES = tests/interpol-test.c
491 interpol_test_LDADD = $(AM_LDADD) libpulse.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
492 interpol_test_CFLAGS = $(AM_CFLAGS)
493 interpol_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
495 sig2str_test_SOURCES = tests/sig2str-test.c
496 sig2str_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
497 sig2str_test_CFLAGS = $(AM_CFLAGS)
498 sig2str_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
500 resampler_test_SOURCES = tests/resampler-test.c
501 resampler_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
502 resampler_test_CFLAGS = $(AM_CFLAGS)
503 resampler_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
505 mix_test_SOURCES = tests/mix-test.c
506 mix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
507 mix_test_CFLAGS = $(AM_CFLAGS)
508 mix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
510 remix_test_SOURCES = tests/remix-test.c
511 remix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
512 remix_test_CFLAGS = $(AM_CFLAGS)
513 remix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
515 smoother_test_SOURCES = tests/smoother-test.c
516 smoother_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
517 smoother_test_CFLAGS = $(AM_CFLAGS)
518 smoother_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
520 envelope_test_SOURCES = tests/envelope-test.c
521 envelope_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
522 envelope_test_CFLAGS = $(AM_CFLAGS)
523 envelope_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
525 proplist_test_SOURCES = tests/proplist-test.c
526 proplist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
527 proplist_test_CFLAGS = $(AM_CFLAGS)
528 proplist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
530 rtstutter_SOURCES = tests/rtstutter.c
531 rtstutter_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
532 rtstutter_CFLAGS = $(AM_CFLAGS)
533 rtstutter_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
535 stripnul_SOURCES = tests/stripnul.c
536 stripnul_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
537 stripnul_CFLAGS = $(AM_CFLAGS)
538 stripnul_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
540 lock_autospawn_test_SOURCES = tests/lock-autospawn-test.c
541 lock_autospawn_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
542 lock_autospawn_test_CFLAGS = $(AM_CFLAGS)
543 lock_autospawn_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
545 prioq_test_SOURCES = tests/prioq-test.c
546 prioq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
547 prioq_test_CFLAGS = $(AM_CFLAGS)
548 prioq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
550 sigbus_test_SOURCES = tests/sigbus-test.c
551 sigbus_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la
552 sigbus_test_CFLAGS = $(AM_CFLAGS)
553 sigbus_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
555 gtk_test_SOURCES = tests/gtk-test.c
556 gtk_test_LDADD = $(AM_LDADD) libpulse.la libpulse-mainloop-glib.la
557 gtk_test_CFLAGS = $(AM_CFLAGS) $(GTK20_CFLAGS)
558 gtk_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(GTK20_LIBS)
560 alsa_time_test_SOURCES = tests/alsa-time-test.c
561 alsa_time_test_LDADD = $(AM_LDADD)
562 alsa_time_test_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
563 alsa_time_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(ASOUNDLIB_LIBS)
565 usergroup_test_SOURCES = tests/usergroup-test.c
566 usergroup_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINORMICRO@.la
567 usergroup_test_CFLAGS = $(AM_CFLAGS)
568 usergroup_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
570 ###################################
572 ###################################
575 libpulsecommon-@PA_MAJORMINORMICRO@.la
577 libpulsecommon_@PA_MAJORMINORMICRO@_la_SOURCES = \
578 pulse/client-conf.c pulse/client-conf.h \
579 pulse/i18n.c pulse/i18n.h \
580 pulse/fork-detect.c pulse/fork-detect.h \
582 pulsecore/authkey.c pulsecore/authkey.h \
583 pulsecore/conf-parser.c pulsecore/conf-parser.h \
584 pulsecore/core-error.c pulsecore/core-error.h \
585 pulsecore/core-rtclock.c pulsecore/core-rtclock.h \
586 pulsecore/core-util.c pulsecore/core-util.h \
588 pulsecore/dynarray.c pulsecore/dynarray.h \
589 pulsecore/endianmacros.h \
590 pulsecore/flist.c pulsecore/flist.h \
591 pulsecore/hashmap.c pulsecore/hashmap.h \
592 pulsecore/idxset.c pulsecore/idxset.h \
593 pulsecore/inet_ntop.c pulsecore/inet_ntop.h \
594 pulsecore/inet_pton.c pulsecore/inet_pton.h \
595 pulsecore/iochannel.c pulsecore/iochannel.h \
596 pulsecore/ioline.c pulsecore/ioline.h \
597 pulsecore/ipacl.h pulsecore/ipacl.c \
599 pulsecore/lock-autospawn.c pulsecore/lock-autospawn.h \
600 pulsecore/log.c pulsecore/log.h \
601 pulsecore/ratelimit.c pulsecore/ratelimit.h \
602 pulsecore/macro.h pulsecore/vector.h \
603 pulsecore/mcalign.c pulsecore/mcalign.h \
604 pulsecore/memblock.c pulsecore/memblock.h \
605 pulsecore/memblockq.c pulsecore/memblockq.h \
606 pulsecore/memchunk.c pulsecore/memchunk.h \
607 pulsecore/native-common.h \
608 pulsecore/once.c pulsecore/once.h \
609 pulsecore/packet.c pulsecore/packet.h \
610 pulsecore/parseaddr.c pulsecore/parseaddr.h \
611 pulsecore/pdispatch.c pulsecore/pdispatch.h \
612 pulsecore/pid.c pulsecore/pid.h \
613 pulsecore/pipe.c pulsecore/pipe.h \
614 pulsecore/poll.c pulsecore/poll.h \
615 pulsecore/prioq.c pulsecore/prioq.h \
616 pulsecore/memtrap.c pulsecore/memtrap.h \
617 pulsecore/aupdate.c pulsecore/aupdate.h \
618 pulsecore/proplist-util.c pulsecore/proplist-util.h \
619 pulsecore/pstream-util.c pulsecore/pstream-util.h \
620 pulsecore/pstream.c pulsecore/pstream.h \
621 pulsecore/queue.c pulsecore/queue.h \
622 pulsecore/random.c pulsecore/random.h \
624 pulsecore/shm.c pulsecore/shm.h \
625 pulsecore/bitset.c pulsecore/bitset.h \
626 pulsecore/socket-client.c pulsecore/socket-client.h \
627 pulsecore/socket-server.c pulsecore/socket-server.h \
628 pulsecore/socket-util.c pulsecore/socket-util.h \
629 pulsecore/strbuf.c pulsecore/strbuf.h \
630 pulsecore/strlist.c pulsecore/strlist.h \
631 pulsecore/tagstruct.c pulsecore/tagstruct.h \
632 pulsecore/time-smoother.c pulsecore/time-smoother.h \
633 pulsecore/tokenizer.c pulsecore/tokenizer.h \
634 pulsecore/usergroup.c pulsecore/usergroup.h \
635 pulsecore/sndfile-util.c pulsecore/sndfile-util.h \
638 libpulsecommon_@PA_MAJORMINORMICRO@_la_CFLAGS = $(AM_CFLAGS)
639 libpulsecommon_@PA_MAJORMINORMICRO@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
640 libpulsecommon_@PA_MAJORMINORMICRO@_la_LIBADD = $(AM_LIBADD) $(LIBWRAP_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) $(LIBSNDFILE_LIBS)
642 # proplist-util.h uses these header files, but not the library itself!
643 libpulsecommon_@PA_MAJORMINORMICRO@_la_CFLAGS += $(GLIB20_CFLAGS) $(GTK20_CFLAGS)
645 ## Please note that libpulsecommon implicitly also depends on<
646 ## libpulse! i.e. we have a cyclic dependancy here. Which is intended
647 ## since libpulse only includes stable, official APIs, while
648 ## libpulsecommon only includes unofficial APIs.
651 libpulsecommon_@PA_MAJORMINORMICRO@_la_SOURCES += \
652 pulsecore/mutex-win32.c pulsecore/mutex.h \
653 pulsecore/thread-win32.c pulsecore/thread.h \
654 pulsecore/semaphore-win32.c pulsecore/semaphore.h
656 libpulsecommon_@PA_MAJORMINORMICRO@_la_SOURCES += \
657 pulsecore/mutex-posix.c pulsecore/mutex.h \
658 pulsecore/thread-posix.c pulsecore/thread.h \
659 pulsecore/semaphore-posix.c pulsecore/semaphore.h
663 libpulsecommon_@PA_MAJORMINORMICRO@_la_SOURCES += pulsecore/x11prop.c pulsecore/x11prop.h
664 libpulsecommon_@PA_MAJORMINORMICRO@_la_CFLAGS += $(X11_CFLAGS)
665 libpulsecommon_@PA_MAJORMINORMICRO@_la_LDFLAGS += $(X11_LIBS)
669 libpulsecommon_@PA_MAJORMINORMICRO@_la_CFLAGS += $(LIBASYNCNS_CFLAGS)
670 libpulsecommon_@PA_MAJORMINORMICRO@_la_LIBADD += $(LIBASYNCNS_LIBS)
674 libpulsecommon_@PA_MAJORMINORMICRO@_la_SOURCES += pulsecore/dllmain.c
678 libpulsecommon_@PA_MAJORMINORMICRO@_la_SOURCES += \
679 pulsecore/dbus-util.c pulsecore/dbus-util.h \
680 pulsecore/rtkit.c pulsecore/rtkit.h
681 libpulsecommon_@PA_MAJORMINORMICRO@_la_CFLAGS += $(DBUS_CFLAGS)
682 libpulsecommon_@PA_MAJORMINORMICRO@_la_LIBADD += $(DBUS_LIBS)
685 ###################################
687 ###################################
689 pulseinclude_HEADERS = \
695 pulse/ext-device-manager.h \
696 pulse/ext-stream-restore.h \
699 pulse/mainloop-api.h \
700 pulse/mainloop-signal.h \
711 pulse/thread-mainloop.h \
724 pulseinclude_HEADERS += \
732 pulseinclude_HEADERS += \
733 pulse/glib-mainloop.h
736 libpulse-mainloop-glib.la
740 libpulse_la_SOURCES = \
742 pulse/channelmap.c pulse/channelmap.h \
743 pulse/context.c pulse/context.h \
745 pulse/error.c pulse/error.h \
746 pulse/ext-device-manager.c pulse/ext-device-manager.h \
747 pulse/ext-stream-restore.c pulse/ext-stream-restore.h \
750 pulse/introspect.c pulse/introspect.h \
751 pulse/mainloop-api.c pulse/mainloop-api.h \
752 pulse/mainloop-signal.c pulse/mainloop-signal.h \
753 pulse/mainloop.c pulse/mainloop.h \
754 pulse/operation.c pulse/operation.h \
755 pulse/proplist.c pulse/proplist.h \
757 pulse/rtclock.c pulse/rtclock.h \
758 pulse/sample.c pulse/sample.h \
759 pulse/scache.c pulse/scache.h \
760 pulse/stream.c pulse/stream.h \
761 pulse/subscribe.c pulse/subscribe.h \
762 pulse/thread-mainloop.c pulse/thread-mainloop.h \
763 pulse/timeval.c pulse/timeval.h \
764 pulse/utf8.c pulse/utf8.h \
765 pulse/util.c pulse/util.h \
766 pulse/volume.c pulse/volume.h \
767 pulse/xmalloc.c pulse/xmalloc.h
769 libpulse_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
770 libpulse_la_LIBADD = $(AM_LIBADD) $(WINSOCK_LIBS) $(LTLIBICONV) libpulsecommon-@PA_MAJORMINORMICRO@.la
771 libpulse_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_VERSION_INFO)
774 libpulse_la_SOURCES += pulse/client-conf-x11.c pulse/client-conf-x11.h
775 libpulse_la_CFLAGS += $(X11_CFLAGS)
776 libpulse_la_LDFLAGS += $(X11_LIBS)
779 libpulse_simple_la_SOURCES = pulse/simple.c pulse/simple.h
780 libpulse_simple_la_CFLAGS = $(AM_CFLAGS)
781 libpulse_simple_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la
782 libpulse_simple_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_SIMPLE_VERSION_INFO)
784 libpulse_browse_la_SOURCES = pulse/browser.c pulse/browser.h pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
785 libpulse_browse_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
786 libpulse_browse_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la $(AVAHI_LIBS)
787 libpulse_browse_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_BROWSE_VERSION_INFO)
789 libpulse_mainloop_glib_la_SOURCES = pulse/glib-mainloop.h pulse/glib-mainloop.c
790 libpulse_mainloop_glib_la_CFLAGS = $(AM_CFLAGS) $(GLIB20_CFLAGS)
791 libpulse_mainloop_glib_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la $(GLIB20_LIBS)
792 libpulse_mainloop_glib_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_MAINLOOP_GLIB_VERSION_INFO)
794 ###################################
796 ###################################
799 lib_LTLIBRARIES += libpulsedsp.la
800 bin_SCRIPTS += utils/padsp
803 libpulsedsp_la_SOURCES = utils/padsp.c
804 libpulsedsp_la_CFLAGS = $(AM_CFLAGS)
805 libpulsedsp_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINORMICRO@.la
806 libpulsedsp_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version -disable-static
808 ###################################
809 # Daemon core library #
810 ###################################
812 lib_LTLIBRARIES += libpulsecore-@PA_MAJORMINORMICRO@.la
815 libpulsecore_@PA_MAJORMINORMICRO@_la_SOURCES = \
816 pulsecore/asyncmsgq.c pulsecore/asyncmsgq.h \
817 pulsecore/asyncq.c pulsecore/asyncq.h \
818 pulsecore/auth-cookie.c pulsecore/auth-cookie.h \
819 pulsecore/cli-command.c pulsecore/cli-command.h \
820 pulsecore/cli-text.c pulsecore/cli-text.h \
821 pulsecore/client.c pulsecore/client.h \
822 pulsecore/card.c pulsecore/card.h \
823 pulsecore/core-scache.c pulsecore/core-scache.h \
824 pulsecore/core-subscribe.c pulsecore/core-subscribe.h \
825 pulsecore/core.c pulsecore/core.h \
826 pulsecore/envelope.c pulsecore/envelope.h \
827 pulsecore/fdsem.c pulsecore/fdsem.h \
828 pulsecore/g711.c pulsecore/g711.h \
829 pulsecore/hook-list.c pulsecore/hook-list.h \
830 pulsecore/ltdl-helper.c pulsecore/ltdl-helper.h \
831 pulsecore/modargs.c pulsecore/modargs.h \
832 pulsecore/modinfo.c pulsecore/modinfo.h \
833 pulsecore/module.c pulsecore/module.h \
834 pulsecore/msgobject.c pulsecore/msgobject.h \
835 pulsecore/namereg.c pulsecore/namereg.h \
836 pulsecore/object.c pulsecore/object.h \
837 pulsecore/play-memblockq.c pulsecore/play-memblockq.h \
838 pulsecore/play-memchunk.c pulsecore/play-memchunk.h \
839 pulsecore/remap.c pulsecore/remap.h \
840 pulsecore/remap_mmx.c pulsecore/remap_sse.c \
841 pulsecore/resampler.c pulsecore/resampler.h \
842 pulsecore/rtpoll.c pulsecore/rtpoll.h \
843 pulsecore/sample-util.c pulsecore/sample-util.h \
844 pulsecore/cpu-arm.c pulsecore/cpu-arm.h \
845 pulsecore/cpu-x86.c pulsecore/cpu-x86.h \
846 pulsecore/svolume_c.c pulsecore/svolume_arm.c \
847 pulsecore/svolume_mmx.c pulsecore/svolume_sse.c \
848 pulsecore/sconv-s16be.c pulsecore/sconv-s16be.h \
849 pulsecore/sconv-s16le.c pulsecore/sconv-s16le.h \
850 pulsecore/sconv_sse.c \
851 pulsecore/sconv.c pulsecore/sconv.h \
852 pulsecore/shared.c pulsecore/shared.h \
853 pulsecore/shm.c pulsecore/shm.h \
854 pulsecore/sink-input.c pulsecore/sink-input.h \
855 pulsecore/sink.c pulsecore/sink.h \
856 pulsecore/sioman.c pulsecore/sioman.h \
857 pulsecore/sound-file-stream.c pulsecore/sound-file-stream.h \
858 pulsecore/sound-file.c pulsecore/sound-file.h \
859 pulsecore/source-output.c pulsecore/source-output.h \
860 pulsecore/source.c pulsecore/source.h \
861 pulsecore/start-child.c pulsecore/start-child.h \
862 pulsecore/thread-mq.c pulsecore/thread-mq.h \
863 pulsecore/time-smoother.c pulsecore/time-smoother.h \
866 libpulsecore_@PA_MAJORMINORMICRO@_la_CFLAGS = $(AM_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSPEEX_CFLAGS) $(WINSOCK_CFLAGS)
867 libpulsecore_@PA_MAJORMINORMICRO@_la_LDFLAGS = -avoid-version
868 libpulsecore_@PA_MAJORMINORMICRO@_la_LIBADD = $(AM_LIBADD) $(LIBLTDL) $(LIBSAMPLERATE_LIBS) $(LIBSPEEX_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la libpulsecore-foreign.la
871 libpulsecore_@PA_MAJORMINORMICRO@_la_SOURCES += pulsecore/x11wrap.c pulsecore/x11wrap.h
872 libpulsecore_@PA_MAJORMINORMICRO@_la_CFLAGS += $(X11_CFLAGS)
873 libpulsecore_@PA_MAJORMINORMICRO@_la_LDFLAGS += $(X11_LIBS)
877 libpulsecore_@PA_MAJORMINORMICRO@_la_SOURCES += pulsecore/dbus-shared.c pulsecore/dbus-shared.h
878 libpulsecore_@PA_MAJORMINORMICRO@_la_CFLAGS += $(DBUS_CFLAGS)
879 libpulsecore_@PA_MAJORMINORMICRO@_la_LIBADD += $(DBUS_LIBS)
883 libpulsecore_@PA_MAJORMINORMICRO@_la_SOURCES += pulsecore/database-gdbm.c
884 libpulsecore_@PA_MAJORMINORMICRO@_la_CFLAGS += $(GDBM_CFLAGS)
885 libpulsecore_@PA_MAJORMINORMICRO@_la_LIBADD += $(GDBM_LIBS)
889 libpulsecore_@PA_MAJORMINORMICRO@_la_SOURCES += pulsecore/database-tdb.c
890 libpulsecore_@PA_MAJORMINORMICRO@_la_CFLAGS += $(TDB_CFLAGS)
891 libpulsecore_@PA_MAJORMINORMICRO@_la_LIBADD += $(TDB_LIBS)
895 libpulsecore_@PA_MAJORMINORMICRO@_la_SOURCES += pulsecore/database-simple.c
898 # We split the foreign code off to not be annoyed by warnings we don't care about
899 noinst_LTLIBRARIES = libpulsecore-foreign.la
901 libpulsecore_foreign_la_SOURCES = \
902 pulsecore/ffmpeg/resample2.c pulsecore/ffmpeg/avcodec.h pulsecore/ffmpeg/dsputil.h
904 libpulsecore_foreign_la_CFLAGS = $(AM_CFLAGS) $(FOREIGN_CFLAGS)
906 ###################################
907 # Plug-in support libraries #
908 ###################################
910 ### Warning! Due to an obscure bug in libtool/automake it is required
911 ### that the libraries in modlibexec_LTLIBRARIES are specified in-order,
912 ### i.e. libraries near the end of the list depend on libraries near
913 ### the head, and not the other way!
915 modlibexec_LTLIBRARIES = \
918 libprotocol-simple.la \
919 libprotocol-http.la \
920 libprotocol-native.la \
921 libprotocol-esound.la
923 # We need to emulate sendmsg/recvmsg to support this on Win32
925 modlibexec_LTLIBRARIES += \
930 modlibexec_LTLIBRARIES += \
934 libprotocol_simple_la_SOURCES = pulsecore/protocol-simple.c pulsecore/protocol-simple.h
935 libprotocol_simple_la_LDFLAGS = -avoid-version
936 libprotocol_simple_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
938 libcli_la_SOURCES = pulsecore/cli.c pulsecore/cli.h
939 libcli_la_LDFLAGS = -avoid-version
940 libcli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
942 libprotocol_cli_la_SOURCES = pulsecore/protocol-cli.c pulsecore/protocol-cli.h
943 libprotocol_cli_la_LDFLAGS = -avoid-version
944 libprotocol_cli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la libcli.la
946 libprotocol_http_la_SOURCES = pulsecore/protocol-http.c pulsecore/protocol-http.h pulsecore/mime-type.c pulsecore/mime-type.h
947 libprotocol_http_la_LDFLAGS = -avoid-version
948 libprotocol_http_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
950 libprotocol_native_la_SOURCES = pulsecore/protocol-native.c pulsecore/protocol-native.h pulsecore/native-common.h
951 libprotocol_native_la_LDFLAGS = -avoid-version
952 libprotocol_native_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
954 libprotocol_esound_la_SOURCES = pulsecore/protocol-esound.c pulsecore/protocol-esound.h pulsecore/esound.h
955 libprotocol_esound_la_LDFLAGS = -avoid-version
956 libprotocol_esound_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
958 librtp_la_SOURCES = \
959 modules/rtp/rtp.c modules/rtp/rtp.h \
960 modules/rtp/sdp.c modules/rtp/sdp.h \
961 modules/rtp/sap.c modules/rtp/sap.h \
962 modules/rtp/rtsp_client.c modules/rtp/rtsp_client.h \
963 modules/rtp/headerlist.c modules/rtp/headerlist.h
964 librtp_la_LDFLAGS = -avoid-version
965 librtp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
967 libraop_la_SOURCES = \
968 modules/raop/raop_client.c modules/raop/raop_client.h \
969 modules/raop/base64.c modules/raop/base64.h
970 libraop_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_CFLAGS)
971 libraop_la_LDFLAGS = -avoid-version
972 libraop_la_LIBADD = $(AM_LIBADD) $(OPENSSL_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la librtp.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
975 libavahi_wrap_la_SOURCES = pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
976 libavahi_wrap_la_LDFLAGS = -avoid-version
977 libavahi_wrap_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
978 libavahi_wrap_la_LIBADD = $(AM_LIBADD) $(AVAHI_CFLAGS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
980 ###################################
981 # Plug-in libraries #
982 ###################################
985 # Serveral module (e.g. libalsa-util.la)
986 modlibexec_LTLIBRARIES += \
987 module-console-kit.la
990 modlibexec_LTLIBRARIES += \
992 module-cli-protocol-tcp.la \
993 module-simple-protocol-tcp.la \
994 module-null-sink.la \
995 module-sine-source.la \
997 module-volume-restore.la \
998 module-device-manager.la \
999 module-device-restore.la \
1000 module-stream-restore.la \
1001 module-card-restore.la \
1002 module-default-device-restore.la \
1003 module-always-sink.la \
1004 module-rescue-streams.la \
1005 module-intended-roles.la \
1006 module-suspend-on-idle.la \
1007 module-http-protocol-tcp.la \
1009 module-native-protocol-tcp.la \
1010 module-native-protocol-fd.la \
1011 module-esound-protocol-tcp.la \
1013 module-remap-sink.la \
1014 module-ladspa-sink.la \
1015 module-esound-sink.la \
1016 module-tunnel-sink.la \
1017 module-tunnel-source.la \
1018 module-position-event-sounds.la \
1019 module-augment-properties.la \
1020 module-cork-music-on-phone.la \
1023 # See comment at librtp.la above
1025 modlibexec_LTLIBRARIES += \
1026 module-rtp-send.la \
1031 modlibexec_LTLIBRARIES += \
1032 module-cli-protocol-unix.la \
1033 module-simple-protocol-unix.la \
1034 module-http-protocol-unix.la \
1035 module-native-protocol-unix.la \
1036 module-esound-protocol-unix.la
1040 modlibexec_LTLIBRARIES += \
1041 module-pipe-sink.la \
1042 module-pipe-source.la
1046 modlibexec_LTLIBRARIES += \
1047 module-esound-compat-spawnfd.la \
1048 module-esound-compat-spawnpid.la
1052 modlibexec_LTLIBRARIES += \
1057 modlibexec_LTLIBRARIES += \
1058 module-x11-bell.la \
1059 module-x11-publish.la \
1060 module-x11-xsmp.la \
1061 module-x11-cork-request.la
1065 modlibexec_LTLIBRARIES += \
1070 pulselibexec_PROGRAMS =
1073 modlibexec_LTLIBRARIES += \
1075 module-alsa-sink.la \
1076 module-alsa-source.la \
1079 alsaprofilesets_DATA = \
1080 modules/alsa/mixer/profile-sets/default.conf \
1081 modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \
1082 modules/alsa/mixer/profile-sets/native-instruments-audio8dj.conf
1086 modules/alsa/mixer/profile-sets/90-pulseaudio.rules
1090 modules/alsa/mixer/paths/analog-input-aux.conf \
1091 modules/alsa/mixer/paths/analog-input.conf \
1092 modules/alsa/mixer/paths/analog-input.conf.common \
1093 modules/alsa/mixer/paths/analog-input-fm.conf \
1094 modules/alsa/mixer/paths/analog-input-linein.conf \
1095 modules/alsa/mixer/paths/analog-input-mic.conf \
1096 modules/alsa/mixer/paths/analog-input-mic.conf.common \
1097 modules/alsa/mixer/paths/analog-input-mic-line.conf \
1098 modules/alsa/mixer/paths/analog-input-tvtuner.conf \
1099 modules/alsa/mixer/paths/analog-input-video.conf \
1100 modules/alsa/mixer/paths/analog-output.conf \
1101 modules/alsa/mixer/paths/analog-output.conf.common \
1102 modules/alsa/mixer/paths/analog-output-headphones.conf \
1103 modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf \
1104 modules/alsa/mixer/paths/analog-output-mono.conf
1109 modlibexec_LTLIBRARIES += \
1114 modlibexec_LTLIBRARIES += \
1115 module-zeroconf-publish.la \
1116 module-zeroconf-discover.la
1120 modlibexec_LTLIBRARIES += \
1125 modlibexec_LTLIBRARIES += \
1126 module-mmkbd-evdev.la
1130 modlibexec_LTLIBRARIES += \
1131 module-jack-sink.la \
1132 module-jack-source.la
1136 modlibexec_LTLIBRARIES += \
1139 pulselibexec_PROGRAMS += \
1144 #modlibexec_LTLIBRARIES += \
1149 modlibexec_LTLIBRARIES += \
1150 module-hal-detect.la
1154 modlibexec_LTLIBRARIES += \
1155 module-hal-detect.la
1159 modlibexec_LTLIBRARIES += \
1160 module-udev-detect.la
1164 modlibexec_LTLIBRARIES += \
1165 module-rygel-media-server.la
1169 modlibexec_LTLIBRARIES += \
1170 libbluetooth-util.la \
1171 module-bluetooth-proximity.la \
1172 module-bluetooth-discover.la \
1173 libbluetooth-ipc.la \
1174 libbluetooth-sbc.la \
1175 module-bluetooth-device.la
1177 pulselibexec_PROGRAMS += \
1182 modlibexec_LTLIBRARIES += \
1186 modlibexec_LTLIBRARIES += \
1187 module-raop-discover.la
1191 # These are generated by an M4 script
1193 modules/module-cli-symdef.h \
1194 modules/module-cli-protocol-tcp-symdef.h \
1195 modules/module-cli-protocol-unix-symdef.h \
1196 modules/module-pipe-sink-symdef.h \
1197 modules/module-pipe-source-symdef.h \
1198 modules/module-simple-protocol-tcp-symdef.h \
1199 modules/module-simple-protocol-unix-symdef.h \
1200 modules/module-esound-protocol-tcp-symdef.h \
1201 modules/module-esound-protocol-unix-symdef.h \
1202 modules/module-native-protocol-tcp-symdef.h \
1203 modules/module-native-protocol-unix-symdef.h \
1204 modules/module-native-protocol-fd-symdef.h \
1205 modules/module-sine-symdef.h \
1206 modules/module-combine-symdef.h \
1207 modules/module-remap-sink-symdef.h \
1208 modules/module-ladspa-sink-symdef.h \
1209 modules/module-esound-compat-spawnfd-symdef.h \
1210 modules/module-esound-compat-spawnpid-symdef.h \
1211 modules/module-match-symdef.h \
1212 modules/module-tunnel-sink-symdef.h \
1213 modules/module-tunnel-source-symdef.h \
1214 modules/module-null-sink-symdef.h \
1215 modules/module-sine-source-symdef.h \
1216 modules/module-esound-sink-symdef.h \
1217 modules/module-zeroconf-publish-symdef.h \
1218 modules/module-zeroconf-discover-symdef.h \
1219 modules/module-lirc-symdef.h \
1220 modules/module-mmkbd-evdev-symdef.h \
1221 modules/module-http-protocol-tcp-symdef.h \
1222 modules/module-http-protocol-unix-symdef.h \
1223 modules/module-rygel-media-server-symdef.h \
1224 modules/x11/module-x11-bell-symdef.h \
1225 modules/x11/module-x11-publish-symdef.h \
1226 modules/x11/module-x11-xsmp-symdef.h \
1227 modules/x11/module-x11-cork-request-symdef.h \
1228 modules/oss/module-oss-symdef.h \
1229 modules/alsa/module-alsa-sink-symdef.h \
1230 modules/alsa/module-alsa-source-symdef.h \
1231 modules/alsa/module-alsa-card-symdef.h \
1232 modules/module-solaris-symdef.h \
1233 modules/module-waveout-symdef.h \
1234 modules/module-detect-symdef.h \
1235 modules/rtp/module-rtp-send-symdef.h \
1236 modules/rtp/module-rtp-recv-symdef.h \
1237 modules/jack/module-jack-sink-symdef.h \
1238 modules/jack/module-jack-source-symdef.h \
1239 modules/module-volume-restore-symdef.h \
1240 modules/module-device-manager-symdef.h \
1241 modules/module-device-restore-symdef.h \
1242 modules/module-stream-restore-symdef.h \
1243 modules/module-card-restore-symdef.h \
1244 modules/module-default-device-restore-symdef.h \
1245 modules/module-always-sink-symdef.h \
1246 modules/module-rescue-streams-symdef.h \
1247 modules/module-intended-roles-symdef.h \
1248 modules/module-suspend-on-idle-symdef.h \
1249 modules/module-hal-detect-symdef.h \
1250 modules/module-udev-detect-symdef.h \
1251 modules/bluetooth/module-bluetooth-proximity-symdef.h \
1252 modules/bluetooth/module-bluetooth-discover-symdef.h \
1253 modules/bluetooth/module-bluetooth-device-symdef.h \
1254 modules/raop/module-raop-sink-symdef.h \
1255 modules/raop/module-raop-discover-symdef.h \
1256 modules/gconf/module-gconf-symdef.h \
1257 modules/module-position-event-sounds-symdef.h \
1258 modules/module-augment-properties-symdef.h \
1259 modules/module-cork-music-on-phone-symdef.h \
1260 modules/module-console-kit-symdef.h \
1261 modules/module-loopback-symdef.h
1263 EXTRA_DIST += $(SYMDEF_FILES)
1264 BUILT_SOURCES += $(SYMDEF_FILES)
1266 $(SYMDEF_FILES): modules/module-defs.h.m4
1267 $(MKDIR_P) $(dir $@)
1268 $(M4) -Dfname="$@" $< > $@
1272 module_simple_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1273 module_simple_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1274 module_simple_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1275 module_simple_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-simple.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1277 module_simple_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1278 module_simple_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1279 module_simple_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1280 module_simple_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-simple.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1284 module_cli_la_SOURCES = modules/module-cli.c
1285 module_cli_la_LDFLAGS = $(MODULE_LDFLAGS)
1286 module_cli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libcli.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1288 module_cli_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1289 module_cli_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1290 module_cli_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1291 module_cli_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-cli.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1293 module_cli_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1294 module_cli_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1295 module_cli_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1296 module_cli_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-cli.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1300 module_http_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1301 module_http_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1302 module_http_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1303 module_http_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-http.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1305 module_http_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1306 module_http_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1307 module_http_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1308 module_http_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-http.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1312 module_native_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1313 module_native_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1314 module_native_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1315 module_native_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-native.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1317 module_native_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1318 module_native_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1319 module_native_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1320 module_native_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-native.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1322 module_native_protocol_fd_la_SOURCES = modules/module-native-protocol-fd.c
1323 module_native_protocol_fd_la_CFLAGS = $(AM_CFLAGS)
1324 module_native_protocol_fd_la_LDFLAGS = $(MODULE_LDFLAGS)
1325 module_native_protocol_fd_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-native.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1329 module_esound_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1330 module_esound_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1331 module_esound_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1332 module_esound_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-esound.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1334 module_esound_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1335 module_esound_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1336 module_esound_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1337 module_esound_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-esound.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1339 module_esound_compat_spawnfd_la_SOURCES = modules/module-esound-compat-spawnfd.c
1340 module_esound_compat_spawnfd_la_LDFLAGS = $(MODULE_LDFLAGS)
1341 module_esound_compat_spawnfd_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1343 module_esound_compat_spawnpid_la_SOURCES = modules/module-esound-compat-spawnpid.c
1344 module_esound_compat_spawnpid_la_LDFLAGS = $(MODULE_LDFLAGS)
1345 module_esound_compat_spawnpid_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1347 module_esound_sink_la_SOURCES = modules/module-esound-sink.c
1348 module_esound_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1349 module_esound_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1353 module_pipe_sink_la_SOURCES = modules/module-pipe-sink.c
1354 module_pipe_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1355 module_pipe_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1357 module_pipe_source_la_SOURCES = modules/module-pipe-source.c
1358 module_pipe_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1359 module_pipe_source_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1361 # Fake sources/sinks
1363 module_sine_la_SOURCES = modules/module-sine.c
1364 module_sine_la_LDFLAGS = $(MODULE_LDFLAGS)
1365 module_sine_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1367 module_null_sink_la_SOURCES = modules/module-null-sink.c
1368 module_null_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1369 module_null_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1371 module_sine_source_la_SOURCES = modules/module-sine-source.c
1372 module_sine_source_la_LDFLAGS = -module -avoid-version
1373 module_sine_source_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1377 module_combine_la_SOURCES = modules/module-combine.c
1378 module_combine_la_LDFLAGS = $(MODULE_LDFLAGS)
1379 module_combine_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1381 module_remap_sink_la_SOURCES = modules/module-remap-sink.c
1382 module_remap_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1383 module_remap_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1385 module_ladspa_sink_la_SOURCES = modules/module-ladspa-sink.c modules/ladspa.h
1386 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)
1387 module_ladspa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1388 module_ladspa_sink_la_LIBADD = $(AM_LIBADD) $(LIBLTDL) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1390 module_match_la_SOURCES = modules/module-match.c
1391 module_match_la_LDFLAGS = $(MODULE_LDFLAGS)
1392 module_match_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1394 module_tunnel_sink_la_SOURCES = modules/module-tunnel.c
1395 module_tunnel_sink_la_CFLAGS = -DTUNNEL_SINK=1 $(AM_CFLAGS)
1396 module_tunnel_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1397 module_tunnel_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1399 module_tunnel_source_la_SOURCES = modules/module-tunnel.c
1400 module_tunnel_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1401 module_tunnel_source_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1403 module_loopback_la_SOURCES = modules/module-loopback.c
1404 module_loopback_la_LDFLAGS = $(MODULE_LDFLAGS)
1405 module_loopback_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1409 module_x11_bell_la_SOURCES = modules/x11/module-x11-bell.c
1410 module_x11_bell_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1411 module_x11_bell_la_LDFLAGS = $(MODULE_LDFLAGS)
1412 module_x11_bell_la_LIBADD = $(AM_LIBADD) $(X11_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1414 module_x11_publish_la_SOURCES = modules/x11/module-x11-publish.c
1415 module_x11_publish_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1416 module_x11_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1417 module_x11_publish_la_LIBADD = $(AM_LIBADD) $(X11_LIBS) libprotocol-native.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1419 module_x11_xsmp_la_SOURCES = modules/x11/module-x11-xsmp.c
1420 module_x11_xsmp_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1421 module_x11_xsmp_la_LDFLAGS = $(MODULE_LDFLAGS)
1422 module_x11_xsmp_la_LIBADD = $(AM_LIBADD) $(X11_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1424 module_x11_cork_request_la_SOURCES = modules/x11/module-x11-cork-request.c
1425 module_x11_cork_request_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1426 module_x11_cork_request_la_LDFLAGS = $(MODULE_LDFLAGS)
1427 module_x11_cork_request_la_LIBADD = $(AM_LIBADD) $(X11_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1431 liboss_util_la_SOURCES = modules/oss/oss-util.c modules/oss/oss-util.h
1432 liboss_util_la_LDFLAGS = -avoid-version
1433 liboss_util_la_LIBADD = libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1435 module_oss_la_SOURCES = modules/oss/module-oss.c
1436 module_oss_la_LDFLAGS = $(MODULE_LDFLAGS)
1437 module_oss_la_LIBADD = $(AM_LIBADD) liboss-util.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1441 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
1442 libalsa_util_la_LDFLAGS = -avoid-version
1443 libalsa_util_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1444 libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1447 libalsa_util_la_SOURCES += modules/hal-util.h modules/hal-util.c
1448 libalsa_util_la_LIBADD += $(HAL_LIBS)
1449 libalsa_util_la_CFLAGS += $(HAL_CFLAGS)
1453 libalsa_util_la_SOURCES += modules/udev-util.h modules/udev-util.c
1454 libalsa_util_la_LIBADD += $(UDEV_LIBS)
1455 libalsa_util_la_CFLAGS += $(UDEV_CFLAGS)
1459 libalsa_util_la_SOURCES += modules/reserve.h modules/reserve.c modules/reserve-monitor.h modules/reserve-monitor.c
1460 libalsa_util_la_LIBADD += $(DBUS_LIBS)
1461 libalsa_util_la_CFLAGS += $(DBUS_CFLAGS)
1464 module_alsa_sink_la_SOURCES = modules/alsa/module-alsa-sink.c
1465 module_alsa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1466 module_alsa_sink_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1467 module_alsa_sink_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1469 module_alsa_source_la_SOURCES = modules/alsa/module-alsa-source.c
1470 module_alsa_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1471 module_alsa_source_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1472 module_alsa_source_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1474 module_alsa_card_la_SOURCES = modules/alsa/module-alsa-card.c
1475 module_alsa_card_la_LDFLAGS = $(MODULE_LDFLAGS)
1476 module_alsa_card_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1477 module_alsa_card_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1481 module_solaris_la_SOURCES = modules/module-solaris.c
1482 module_solaris_la_LDFLAGS = $(MODULE_LDFLAGS)
1483 module_solaris_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1487 module_zeroconf_publish_la_SOURCES = modules/module-zeroconf-publish.c
1488 module_zeroconf_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1489 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
1490 module_zeroconf_publish_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1492 module_zeroconf_discover_la_SOURCES = modules/module-zeroconf-discover.c
1493 module_zeroconf_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1494 module_zeroconf_discover_la_LIBADD = $(AM_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1495 module_zeroconf_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1499 module_lirc_la_SOURCES = modules/module-lirc.c
1500 module_lirc_la_LDFLAGS = $(MODULE_LDFLAGS)
1501 module_lirc_la_LIBADD = $(AM_LIBADD) $(LIRC_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1502 module_lirc_la_CFLAGS = $(AM_CFLAGS) $(LIRC_CFLAGS)
1506 module_mmkbd_evdev_la_SOURCES = modules/module-mmkbd-evdev.c
1507 module_mmkbd_evdev_la_LDFLAGS = $(MODULE_LDFLAGS)
1508 module_mmkbd_evdev_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1509 module_mmkbd_evdev_la_CFLAGS = $(AM_CFLAGS)
1513 #module_waveout_la_SOURCES = modules/module-waveout.c
1514 #module_waveout_la_LDFLAGS = $(MODULE_LDFLAGS)
1515 #module_waveout_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la -lwinmm libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1516 #module_waveout_la_CFLAGS = $(AM_CFLAGS)
1518 # Hardware autodetection module
1519 module_detect_la_SOURCES = modules/module-detect.c
1520 module_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1521 module_detect_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1522 module_detect_la_CFLAGS = $(AM_CFLAGS)
1524 # Volume restore module
1525 module_volume_restore_la_SOURCES = modules/module-volume-restore.c
1526 module_volume_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1527 module_volume_restore_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1528 module_volume_restore_la_CFLAGS = $(AM_CFLAGS)
1530 # Position event sounds in space
1531 module_position_event_sounds_la_SOURCES = modules/module-position-event-sounds.c
1532 module_position_event_sounds_la_LDFLAGS = $(MODULE_LDFLAGS)
1533 module_position_event_sounds_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1534 module_position_event_sounds_la_CFLAGS = $(AM_CFLAGS)
1536 # Augment properties from XDG .desktop files
1537 module_augment_properties_la_SOURCES = modules/module-augment-properties.c
1538 module_augment_properties_la_LDFLAGS = $(MODULE_LDFLAGS)
1539 module_augment_properties_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1540 #module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"$(datadir)/applications\"
1541 module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"/usr/share/applications\"
1543 # Cork music streams while a phone stream is active
1544 module_cork_music_on_phone_la_SOURCES = modules/module-cork-music-on-phone.c
1545 module_cork_music_on_phone_la_LDFLAGS = $(MODULE_LDFLAGS)
1546 module_cork_music_on_phone_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1547 module_cork_music_on_phone_la_CFLAGS = $(AM_CFLAGS)
1549 # Device description restore module
1550 module_device_manager_la_SOURCES = modules/module-device-manager.c
1551 module_device_manager_la_LDFLAGS = $(MODULE_LDFLAGS)
1552 module_device_manager_la_LIBADD = $(AM_LIBADD) libprotocol-native.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1553 module_device_manager_la_CFLAGS = $(AM_CFLAGS)
1555 # Device volume/muted restore module
1556 module_device_restore_la_SOURCES = modules/module-device-restore.c
1557 module_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1558 module_device_restore_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1559 module_device_restore_la_CFLAGS = $(AM_CFLAGS)
1561 # Stream volume/muted/device restore module
1562 module_stream_restore_la_SOURCES = modules/module-stream-restore.c
1563 module_stream_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1564 module_stream_restore_la_LIBADD = $(AM_LIBADD) libprotocol-native.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1565 module_stream_restore_la_CFLAGS = $(AM_CFLAGS)
1567 # Card profile restore module
1568 module_card_restore_la_SOURCES = modules/module-card-restore.c
1569 module_card_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1570 module_card_restore_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1571 module_card_restore_la_CFLAGS = $(AM_CFLAGS)
1573 # Default sink/source restore module
1574 module_default_device_restore_la_SOURCES = modules/module-default-device-restore.c
1575 module_default_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1576 module_default_device_restore_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1577 module_default_device_restore_la_CFLAGS = $(AM_CFLAGS)
1579 # Always Sink module
1580 module_always_sink_la_SOURCES = modules/module-always-sink.c
1581 module_always_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1582 module_always_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1583 module_always_sink_la_CFLAGS = $(AM_CFLAGS)
1585 # Rescue streams module
1586 module_rescue_streams_la_SOURCES = modules/module-rescue-streams.c
1587 module_rescue_streams_la_LDFLAGS = $(MODULE_LDFLAGS)
1588 module_rescue_streams_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1589 module_rescue_streams_la_CFLAGS = $(AM_CFLAGS)
1591 # Automatically move streams to devices that are intended for their roles
1592 module_intended_roles_la_SOURCES = modules/module-intended-roles.c
1593 module_intended_roles_la_LDFLAGS = $(MODULE_LDFLAGS)
1594 module_intended_roles_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1595 module_intended_roles_la_CFLAGS = $(AM_CFLAGS)
1597 # Suspend-on-idle module
1598 module_suspend_on_idle_la_SOURCES = modules/module-suspend-on-idle.c
1599 module_suspend_on_idle_la_LDFLAGS = $(MODULE_LDFLAGS)
1600 module_suspend_on_idle_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1601 module_suspend_on_idle_la_CFLAGS = $(AM_CFLAGS)
1604 module_rtp_send_la_SOURCES = modules/rtp/module-rtp-send.c
1605 module_rtp_send_la_LDFLAGS = $(MODULE_LDFLAGS)
1606 module_rtp_send_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la librtp.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1607 module_rtp_send_la_CFLAGS = $(AM_CFLAGS)
1609 module_rtp_recv_la_SOURCES = modules/rtp/module-rtp-recv.c
1610 module_rtp_recv_la_LDFLAGS = $(MODULE_LDFLAGS)
1611 module_rtp_recv_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la librtp.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1612 module_rtp_recv_la_CFLAGS = $(AM_CFLAGS)
1616 module_jack_sink_la_SOURCES = modules/jack/module-jack-sink.c
1617 module_jack_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1618 module_jack_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la $(JACK_LIBS) libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1619 module_jack_sink_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1621 module_jack_source_la_SOURCES = modules/jack/module-jack-source.c
1622 module_jack_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1623 module_jack_source_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la $(JACK_LIBS) libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1624 module_jack_source_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1627 module_hal_detect_la_SOURCES = modules/module-hal-detect-compat.c
1628 module_hal_detect_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1629 module_hal_detect_la_CFLAGS = $(AM_CFLAGS)
1631 module_hal_detect_la_SOURCES = modules/module-hal-detect.c
1632 module_hal_detect_la_LIBADD = $(AM_LIBADD) $(HAL_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1633 module_hal_detect_la_CFLAGS = $(AM_CFLAGS) $(HAL_CFLAGS)
1635 module_hal_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1637 module_udev_detect_la_SOURCES = modules/module-udev-detect.c
1638 module_udev_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1639 module_udev_detect_la_LIBADD = $(AM_LIBADD) $(UDEV_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1640 module_udev_detect_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
1642 module_console_kit_la_SOURCES = modules/module-console-kit.c
1643 module_console_kit_la_LDFLAGS = $(MODULE_LDFLAGS)
1644 module_console_kit_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1645 module_console_kit_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1648 module_gconf_la_SOURCES = modules/gconf/module-gconf.c
1649 module_gconf_la_LDFLAGS = $(MODULE_LDFLAGS)
1650 module_gconf_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1651 module_gconf_la_CFLAGS = $(AM_CFLAGS) -DPA_GCONF_HELPER=\"$(pulselibexecdir)/gconf-helper\"
1653 gconf_helper_SOURCES = modules/gconf/gconf-helper.c
1654 gconf_helper_LDADD = $(AM_LDADD) $(GCONF_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1655 gconf_helper_CFLAGS = $(AM_CFLAGS) $(GCONF_CFLAGS)
1656 gconf_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1658 # Bluetooth proximity
1659 module_bluetooth_proximity_la_SOURCES = modules/bluetooth/module-bluetooth-proximity.c
1660 module_bluetooth_proximity_la_LDFLAGS = $(MODULE_LDFLAGS)
1661 module_bluetooth_proximity_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1662 module_bluetooth_proximity_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -DPA_BT_PROXIMITY_HELPER=\"$(pulselibexecdir)/proximity-helper\"
1664 proximity_helper_SOURCES = modules/bluetooth/proximity-helper.c
1665 proximity_helper_LDADD = $(AM_LDADD) $(BLUEZ_LIBS)
1666 proximity_helper_CFLAGS = $(AM_CFLAGS) $(BLUEZ_CFLAGS)
1667 proximity_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1669 # Bluetooth sink / source
1670 module_bluetooth_discover_la_SOURCES = modules/bluetooth/module-bluetooth-discover.c
1671 module_bluetooth_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1672 module_bluetooth_discover_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libbluetooth-util.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1673 module_bluetooth_discover_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1675 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
1676 libbluetooth_sbc_la_LDFLAGS = -avoid-version
1677 libbluetooth_sbc_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1678 libbluetooth_sbc_la_CFLAGS = $(AM_CFLAGS)
1679 BLUETOOTH_SBC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_sbc_la_SOURCES))
1681 libbluetooth_ipc_la_SOURCES = modules/bluetooth/ipc.c modules/bluetooth/ipc.h
1682 libbluetooth_ipc_la_LDFLAGS = -avoid-version
1683 libbluetooth_ipc_la_LIBADD = $(AM_LIBADD)libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1684 libbluetooth_ipc_la_CFLAGS = $(AM_CFLAGS)
1685 BLUETOOTH_IPC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_ipc_la_SOURCES)) rtp.h
1687 libbluetooth_util_la_SOURCES = modules/bluetooth/bluetooth-util.c modules/bluetooth/bluetooth-util.h
1688 libbluetooth_util_la_LDFLAGS = -avoid-version
1689 libbluetooth_util_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1690 libbluetooth_util_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1692 module_bluetooth_device_la_SOURCES = modules/bluetooth/module-bluetooth-device.c modules/bluetooth/rtp.h
1693 module_bluetooth_device_la_LDFLAGS = $(MODULE_LDFLAGS)
1694 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
1695 module_bluetooth_device_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1697 # Apple Airtunes/RAOP
1698 module_raop_sink_la_SOURCES = modules/raop/module-raop-sink.c
1699 module_raop_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1700 module_raop_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la librtp.la libraop.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1702 module_raop_discover_la_SOURCES = modules/raop/module-raop-discover.c
1703 module_raop_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1704 module_raop_discover_la_LIBADD = $(AM_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1705 module_raop_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1708 module_rygel_media_server_la_SOURCES = modules/module-rygel-media-server.c
1709 module_rygel_media_server_la_LDFLAGS = $(MODULE_LDFLAGS)
1710 module_rygel_media_server_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la libprotocol-http.la
1711 module_rygel_media_server_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1713 ###################################
1714 # Some minor stuff #
1715 ###################################
1717 CLEANFILES = esdcompat client.conf default.pa system.pa daemon.conf start-pulseaudio-x11 start-pulseaudio-kde daemon/pulseaudio.desktop daemon/pulseaudio-kde.desktop
1719 esdcompat: daemon/esdcompat.in Makefile
1720 sed -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1721 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1722 -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1725 start-pulseaudio-x11: daemon/start-pulseaudio-x11.in Makefile
1726 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1727 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1728 chmod +x start-pulseaudio-x11
1730 start-pulseaudio-kde: daemon/start-pulseaudio-kde.in Makefile
1731 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1732 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1733 chmod +x start-pulseaudio-kde
1735 client.conf: pulse/client.conf.in Makefile
1736 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1739 default.pa: daemon/default.pa.win32
1741 system.pa: daemon/default.pa.win32
1744 default.pa: daemon/default.pa.in Makefile
1745 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1746 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1747 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1748 system.pa: daemon/system.pa.in Makefile
1749 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1750 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1751 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1754 daemon.conf: daemon/daemon.conf.in Makefile
1755 sed -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1756 -e 's,@PA_DEFAULT_CONFIG_FILE\@,$(DEFAULT_CONFIG_DIR),g' < $< > $@
1759 -chown root $(DESTDIR)$(pulselibexecdir)/proximity-helper
1760 -chmod u+s $(DESTDIR)$(pulselibexecdir)/proximity-helper
1761 ln -sf pacat $(DESTDIR)$(bindir)/parec
1762 ln -sf pacat $(DESTDIR)$(bindir)/pamon
1763 ln -sf pacat $(DESTDIR)$(bindir)/paplay
1764 ln -sf pacat $(DESTDIR)$(bindir)/parecord
1765 rm -f $(DESTDIR)$(libdir)/libpulsedsp.la
1766 rm -f $(DESTDIR)$(modlibexecdir)/*.la
1769 rm -f $(DESTDIR)$(bindir)/parec
1770 rm -f $(DESTDIR)$(bindir)/pamon
1771 rm -f $(DESTDIR)$(bindir)/paplay
1772 rm -f $(DESTDIR)$(bindir)/parecord
1773 rm -f $(DESTDIR)$(libdir)/libpulsedsp.*
1774 rm -f $(DESTDIR)$(modlibexecdir)/*.so
1777 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
1780 wget -O pulsecore/ffmpeg/resample2.c http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/resample2.c?view=co
1782 # We get things twice here, because sometimes gitweb will us just give a "Generating..." otherwise.
1784 for i in $(BLUETOOTH_SBC_FILES) ; do \
1785 wget -O /dev/null http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=sbc/$$i ; \
1786 wget -O modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=sbc/$$i ; \
1788 for i in $(BLUETOOTH_IPC_FILES); do \
1789 wget -O /dev/null http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
1790 wget -O modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
1794 for i in reserve.c reserve.h reserve-monitor.c reserve-monitor.h ; do \
1795 wget -O modules/$$i http://git.0pointer.de/\?p=reserve.git\;a=blob_plain\;f=$$i\;hb=master ; \
1799 for i in rtkit.c rtkit.h ; do \
1800 wget -O pulsecore/$$i http://git.0pointer.de/\?p=rtkit.git\;a=blob_plain\;f=$$i\;hb=master ; \
1803 # Automatically generate linker version script. We use the same one for all public .sos
1805 ( echo "PULSE_0 {" ; \
1807 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 ; \
1810 echo "};" ) > $(srcdir)/map-file
1812 update-all: update-ffmpeg update-sbc update-map-file
1814 .PHONY: utils/padsp massif update-all update-ffmpeg update-sbc update-map-file