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 \
1030 module-loopback.la \
1031 module-virtual-sink.la \
1032 module-virtual-source.la
1034 # See comment at librtp.la above
1036 modlibexec_LTLIBRARIES += \
1037 module-rtp-send.la \
1042 modlibexec_LTLIBRARIES += \
1043 module-cli-protocol-unix.la \
1044 module-simple-protocol-unix.la \
1045 module-http-protocol-unix.la \
1046 module-native-protocol-unix.la \
1047 module-esound-protocol-unix.la
1051 modlibexec_LTLIBRARIES += \
1052 module-pipe-sink.la \
1053 module-pipe-source.la
1057 modlibexec_LTLIBRARIES += \
1058 module-esound-compat-spawnfd.la \
1059 module-esound-compat-spawnpid.la
1063 modlibexec_LTLIBRARIES += \
1068 modlibexec_LTLIBRARIES += \
1069 module-x11-bell.la \
1070 module-x11-publish.la \
1071 module-x11-xsmp.la \
1072 module-x11-cork-request.la
1076 modlibexec_LTLIBRARIES += \
1082 modlibexec_LTLIBRARIES += \
1083 module-coreaudio-detect.la \
1084 module-coreaudio-device.la
1087 pulselibexec_PROGRAMS =
1090 modlibexec_LTLIBRARIES += \
1092 module-alsa-sink.la \
1093 module-alsa-source.la \
1096 dist_alsaprofilesets_DATA = \
1097 modules/alsa/mixer/profile-sets/default.conf \
1098 modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf \
1099 modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \
1100 modules/alsa/mixer/profile-sets/native-instruments-audio8dj.conf
1103 dist_udevrules_DATA = \
1104 modules/alsa/mixer/profile-sets/90-pulseaudio.rules
1107 dist_alsapaths_DATA = \
1108 modules/alsa/mixer/paths/analog-input-aux.conf \
1109 modules/alsa/mixer/paths/analog-input.conf \
1110 modules/alsa/mixer/paths/analog-input.conf.common \
1111 modules/alsa/mixer/paths/analog-input-fm.conf \
1112 modules/alsa/mixer/paths/analog-input-internal-mic.conf \
1113 modules/alsa/mixer/paths/analog-input-linein.conf \
1114 modules/alsa/mixer/paths/analog-input-mic.conf \
1115 modules/alsa/mixer/paths/analog-input-mic.conf.common \
1116 modules/alsa/mixer/paths/analog-input-mic-line.conf \
1117 modules/alsa/mixer/paths/analog-input-tvtuner.conf \
1118 modules/alsa/mixer/paths/analog-input-video.conf \
1119 modules/alsa/mixer/paths/analog-output.conf \
1120 modules/alsa/mixer/paths/analog-output-speaker.conf \
1121 modules/alsa/mixer/paths/analog-output.conf.common \
1122 modules/alsa/mixer/paths/analog-output-desktop-speaker.conf \
1123 modules/alsa/mixer/paths/analog-output-headphones.conf \
1124 modules/alsa/mixer/paths/analog-output-headphones-2.conf \
1125 modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf \
1126 modules/alsa/mixer/paths/analog-output-mono.conf \
1127 modules/alsa/mixer/paths/iec958-stereo-output.conf \
1128 modules/alsa/mixer/paths/iec958-passthrough-output.conf
1133 modlibexec_LTLIBRARIES += \
1138 modlibexec_LTLIBRARIES += \
1139 module-zeroconf-publish.la \
1140 module-zeroconf-discover.la
1144 modlibexec_LTLIBRARIES += \
1145 module-bonjour-publish.la
1149 modlibexec_LTLIBRARIES += \
1154 modlibexec_LTLIBRARIES += \
1155 module-mmkbd-evdev.la
1159 modlibexec_LTLIBRARIES += \
1160 module-jack-sink.la \
1161 module-jack-source.la
1165 modlibexec_LTLIBRARIES += \
1168 pulselibexec_PROGRAMS += \
1173 #modlibexec_LTLIBRARIES += \
1178 modlibexec_LTLIBRARIES += \
1179 module-hal-detect.la
1183 modlibexec_LTLIBRARIES += \
1184 module-hal-detect.la
1188 modlibexec_LTLIBRARIES += \
1189 module-udev-detect.la
1193 modlibexec_LTLIBRARIES += \
1194 module-rygel-media-server.la \
1195 module-dbus-protocol.la
1199 modlibexec_LTLIBRARIES += \
1200 libbluetooth-util.la \
1201 module-bluetooth-proximity.la \
1202 module-bluetooth-discover.la \
1203 libbluetooth-ipc.la \
1204 libbluetooth-sbc.la \
1205 module-bluetooth-device.la
1207 pulselibexec_PROGRAMS += \
1212 modlibexec_LTLIBRARIES += \
1216 modlibexec_LTLIBRARIES += \
1217 module-raop-discover.la
1222 modlibexec_LTLIBRARIES += \
1223 module-equalizer-sink.la
1224 bin_SCRIPTS += utils/qpaeq
1227 # These are generated by an M4 script
1229 modules/module-cli-symdef.h \
1230 modules/module-cli-protocol-tcp-symdef.h \
1231 modules/module-cli-protocol-unix-symdef.h \
1232 modules/module-pipe-sink-symdef.h \
1233 modules/module-pipe-source-symdef.h \
1234 modules/module-simple-protocol-tcp-symdef.h \
1235 modules/module-simple-protocol-unix-symdef.h \
1236 modules/module-esound-protocol-tcp-symdef.h \
1237 modules/module-esound-protocol-unix-symdef.h \
1238 modules/module-native-protocol-tcp-symdef.h \
1239 modules/module-native-protocol-unix-symdef.h \
1240 modules/module-native-protocol-fd-symdef.h \
1241 modules/module-sine-symdef.h \
1242 modules/module-combine-symdef.h \
1243 modules/module-remap-sink-symdef.h \
1244 modules/module-ladspa-sink-symdef.h \
1245 modules/module-equalizer-sink-symdef.h \
1246 modules/module-esound-compat-spawnfd-symdef.h \
1247 modules/module-esound-compat-spawnpid-symdef.h \
1248 modules/module-match-symdef.h \
1249 modules/module-tunnel-sink-symdef.h \
1250 modules/module-tunnel-source-symdef.h \
1251 modules/module-null-sink-symdef.h \
1252 modules/module-sine-source-symdef.h \
1253 modules/module-esound-sink-symdef.h \
1254 modules/module-zeroconf-publish-symdef.h \
1255 modules/module-zeroconf-discover-symdef.h \
1256 modules/module-bonjour-publish-symdef.h \
1257 modules/module-lirc-symdef.h \
1258 modules/module-mmkbd-evdev-symdef.h \
1259 modules/module-http-protocol-tcp-symdef.h \
1260 modules/module-http-protocol-unix-symdef.h \
1261 modules/module-rygel-media-server-symdef.h \
1262 modules/x11/module-x11-bell-symdef.h \
1263 modules/x11/module-x11-publish-symdef.h \
1264 modules/x11/module-x11-xsmp-symdef.h \
1265 modules/x11/module-x11-cork-request-symdef.h \
1266 modules/oss/module-oss-symdef.h \
1267 modules/alsa/module-alsa-sink-symdef.h \
1268 modules/alsa/module-alsa-source-symdef.h \
1269 modules/alsa/module-alsa-card-symdef.h \
1270 modules/coreaudio/module-coreaudio-detect-symdef.h \
1271 modules/coreaudio/module-coreaudio-device-symdef.h \
1272 modules/module-solaris-symdef.h \
1273 modules/module-waveout-symdef.h \
1274 modules/module-detect-symdef.h \
1275 modules/rtp/module-rtp-send-symdef.h \
1276 modules/rtp/module-rtp-recv-symdef.h \
1277 modules/jack/module-jack-sink-symdef.h \
1278 modules/jack/module-jack-source-symdef.h \
1279 modules/module-volume-restore-symdef.h \
1280 modules/module-device-manager-symdef.h \
1281 modules/module-device-restore-symdef.h \
1282 modules/module-stream-restore-symdef.h \
1283 modules/module-card-restore-symdef.h \
1284 modules/module-default-device-restore-symdef.h \
1285 modules/module-always-sink-symdef.h \
1286 modules/module-rescue-streams-symdef.h \
1287 modules/module-intended-roles-symdef.h \
1288 modules/module-suspend-on-idle-symdef.h \
1289 modules/module-hal-detect-symdef.h \
1290 modules/module-udev-detect-symdef.h \
1291 modules/bluetooth/module-bluetooth-proximity-symdef.h \
1292 modules/bluetooth/module-bluetooth-discover-symdef.h \
1293 modules/bluetooth/module-bluetooth-device-symdef.h \
1294 modules/raop/module-raop-sink-symdef.h \
1295 modules/raop/module-raop-discover-symdef.h \
1296 modules/gconf/module-gconf-symdef.h \
1297 modules/module-position-event-sounds-symdef.h \
1298 modules/module-augment-properties-symdef.h \
1299 modules/module-cork-music-on-phone-symdef.h \
1300 modules/module-console-kit-symdef.h \
1301 modules/dbus/module-dbus-protocol-symdef.h \
1302 modules/module-loopback-symdef.h \
1303 modules/module-virtual-sink-symdef.h \
1304 modules/module-virtual-source-symdef.h
1306 EXTRA_DIST += $(SYMDEF_FILES)
1307 BUILT_SOURCES += $(SYMDEF_FILES)
1309 $(SYMDEF_FILES): modules/module-defs.h.m4
1310 $(MKDIR_P) $(dir $@)
1311 $(M4) -Dfname="$@" $< > $@
1315 module_simple_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1316 module_simple_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1317 module_simple_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1318 module_simple_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-simple.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1320 module_simple_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1321 module_simple_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1322 module_simple_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1323 module_simple_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-simple.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1327 module_cli_la_SOURCES = modules/module-cli.c
1328 module_cli_la_LDFLAGS = $(MODULE_LDFLAGS)
1329 module_cli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libcli.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1331 module_cli_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1332 module_cli_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1333 module_cli_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1334 module_cli_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-cli.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1336 module_cli_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1337 module_cli_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1338 module_cli_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1339 module_cli_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-cli.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1343 module_http_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1344 module_http_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1345 module_http_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1346 module_http_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-http.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1348 module_http_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1349 module_http_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1350 module_http_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1351 module_http_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-http.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1355 module_dbus_protocol_la_SOURCES = \
1356 modules/dbus/iface-card.c modules/dbus/iface-card.h \
1357 modules/dbus/iface-card-profile.c modules/dbus/iface-card-profile.h \
1358 modules/dbus/iface-client.c modules/dbus/iface-client.h \
1359 modules/dbus/iface-core.c modules/dbus/iface-core.h \
1360 modules/dbus/iface-device.c modules/dbus/iface-device.h \
1361 modules/dbus/iface-device-port.c modules/dbus/iface-device-port.h \
1362 modules/dbus/iface-memstats.c modules/dbus/iface-memstats.h \
1363 modules/dbus/iface-module.c modules/dbus/iface-module.h \
1364 modules/dbus/iface-sample.c modules/dbus/iface-sample.h \
1365 modules/dbus/iface-stream.c modules/dbus/iface-stream.h \
1366 modules/dbus/module-dbus-protocol.c
1367 module_dbus_protocol_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1368 module_dbus_protocol_la_LDFLAGS = $(MODULE_LDFLAGS)
1369 module_dbus_protocol_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1373 module_native_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1374 module_native_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1375 module_native_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1376 module_native_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-native.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1378 module_native_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1379 module_native_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1380 module_native_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1381 module_native_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-native.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1383 module_native_protocol_fd_la_SOURCES = modules/module-native-protocol-fd.c
1384 module_native_protocol_fd_la_CFLAGS = $(AM_CFLAGS)
1385 module_native_protocol_fd_la_LDFLAGS = $(MODULE_LDFLAGS)
1386 module_native_protocol_fd_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-native.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1390 module_esound_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1391 module_esound_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1392 module_esound_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1393 module_esound_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-esound.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1395 module_esound_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1396 module_esound_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1397 module_esound_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1398 module_esound_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libprotocol-esound.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1400 module_esound_compat_spawnfd_la_SOURCES = modules/module-esound-compat-spawnfd.c
1401 module_esound_compat_spawnfd_la_LDFLAGS = $(MODULE_LDFLAGS)
1402 module_esound_compat_spawnfd_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1404 module_esound_compat_spawnpid_la_SOURCES = modules/module-esound-compat-spawnpid.c
1405 module_esound_compat_spawnpid_la_LDFLAGS = $(MODULE_LDFLAGS)
1406 module_esound_compat_spawnpid_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1408 module_esound_sink_la_SOURCES = modules/module-esound-sink.c
1409 module_esound_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1410 module_esound_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1414 module_pipe_sink_la_SOURCES = modules/module-pipe-sink.c
1415 module_pipe_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1416 module_pipe_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1418 module_pipe_source_la_SOURCES = modules/module-pipe-source.c
1419 module_pipe_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1420 module_pipe_source_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1422 # Fake sources/sinks
1424 module_sine_la_SOURCES = modules/module-sine.c
1425 module_sine_la_LDFLAGS = $(MODULE_LDFLAGS)
1426 module_sine_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1428 module_null_sink_la_SOURCES = modules/module-null-sink.c
1429 module_null_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1430 module_null_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1432 module_sine_source_la_SOURCES = modules/module-sine-source.c
1433 module_sine_source_la_LDFLAGS = -module -avoid-version
1434 module_sine_source_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1438 module_combine_la_SOURCES = modules/module-combine.c
1439 module_combine_la_LDFLAGS = $(MODULE_LDFLAGS)
1440 module_combine_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1442 module_remap_sink_la_SOURCES = modules/module-remap-sink.c
1443 module_remap_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1444 module_remap_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1446 module_ladspa_sink_la_SOURCES = modules/module-ladspa-sink.c modules/ladspa.h
1447 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)
1448 module_ladspa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1449 module_ladspa_sink_la_LIBADD = $(AM_LIBADD) $(LIBLTDL) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1451 module_equalizer_sink_la_SOURCES = modules/module-equalizer-sink.c
1452 module_equalizer_sink_la_CFLAGS = $(AM_CFLAGS) $(FFTW_CFLAGS)
1453 module_equalizer_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1454 module_equalizer_sink_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) $(FFTW_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1456 module_match_la_SOURCES = modules/module-match.c
1457 module_match_la_LDFLAGS = $(MODULE_LDFLAGS)
1458 module_match_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1460 module_tunnel_sink_la_SOURCES = modules/module-tunnel.c
1461 module_tunnel_sink_la_CFLAGS = -DTUNNEL_SINK=1 $(AM_CFLAGS)
1462 module_tunnel_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1463 module_tunnel_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1465 module_tunnel_source_la_SOURCES = modules/module-tunnel.c
1466 module_tunnel_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1467 module_tunnel_source_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1469 module_loopback_la_SOURCES = modules/module-loopback.c
1470 module_loopback_la_LDFLAGS = $(MODULE_LDFLAGS)
1471 module_loopback_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1473 module_virtual_sink_la_SOURCES = modules/module-virtual-sink.c
1474 module_virtual_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1475 module_virtual_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1477 module_virtual_source_la_SOURCES = modules/module-virtual-source.c
1478 module_virtual_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1479 module_virtual_source_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1483 module_x11_bell_la_SOURCES = modules/x11/module-x11-bell.c
1484 module_x11_bell_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1485 module_x11_bell_la_LDFLAGS = $(MODULE_LDFLAGS)
1486 module_x11_bell_la_LIBADD = $(AM_LIBADD) $(X11_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1488 module_x11_publish_la_SOURCES = modules/x11/module-x11-publish.c
1489 module_x11_publish_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1490 module_x11_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1491 module_x11_publish_la_LIBADD = $(AM_LIBADD) $(X11_LIBS) libprotocol-native.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1493 module_x11_xsmp_la_SOURCES = modules/x11/module-x11-xsmp.c
1494 module_x11_xsmp_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1495 module_x11_xsmp_la_LDFLAGS = $(MODULE_LDFLAGS)
1496 module_x11_xsmp_la_LIBADD = $(AM_LIBADD) $(X11_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1498 module_x11_cork_request_la_SOURCES = modules/x11/module-x11-cork-request.c
1499 module_x11_cork_request_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1500 module_x11_cork_request_la_LDFLAGS = $(MODULE_LDFLAGS)
1501 module_x11_cork_request_la_LIBADD = $(AM_LIBADD) $(X11_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1505 liboss_util_la_SOURCES = modules/oss/oss-util.c modules/oss/oss-util.h
1506 liboss_util_la_LDFLAGS = -avoid-version
1507 liboss_util_la_LIBADD = libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1509 module_oss_la_SOURCES = modules/oss/module-oss.c
1510 module_oss_la_LDFLAGS = $(MODULE_LDFLAGS)
1511 module_oss_la_LIBADD = $(AM_LIBADD) liboss-util.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1515 module_coreaudio_detect_la_SOURCES = modules/coreaudio/module-coreaudio-detect.c
1516 module_coreaudio_detect_la_LDFLAGS = $(MODULE_LDFLAGS) \
1517 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1518 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1519 module_coreaudio_detect_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1521 module_coreaudio_device_la_SOURCES = modules/coreaudio/module-coreaudio-device.c
1522 module_coreaudio_device_la_LDFLAGS = $(MODULE_LDFLAGS) \
1523 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1524 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1525 module_coreaudio_device_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1528 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
1529 libalsa_util_la_LDFLAGS = -avoid-version
1530 libalsa_util_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1531 libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1534 libalsa_util_la_SOURCES += modules/hal-util.h modules/hal-util.c
1535 libalsa_util_la_LIBADD += $(HAL_LIBS)
1536 libalsa_util_la_CFLAGS += $(HAL_CFLAGS)
1540 libalsa_util_la_SOURCES += modules/udev-util.h modules/udev-util.c
1541 libalsa_util_la_LIBADD += $(UDEV_LIBS)
1542 libalsa_util_la_CFLAGS += $(UDEV_CFLAGS)
1546 libalsa_util_la_SOURCES += modules/reserve.h modules/reserve.c modules/reserve-monitor.h modules/reserve-monitor.c
1547 libalsa_util_la_LIBADD += $(DBUS_LIBS)
1548 libalsa_util_la_CFLAGS += $(DBUS_CFLAGS)
1551 module_alsa_sink_la_SOURCES = modules/alsa/module-alsa-sink.c
1552 module_alsa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1553 module_alsa_sink_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1554 module_alsa_sink_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1556 module_alsa_source_la_SOURCES = modules/alsa/module-alsa-source.c
1557 module_alsa_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1558 module_alsa_source_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1559 module_alsa_source_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1561 module_alsa_card_la_SOURCES = modules/alsa/module-alsa-card.c
1562 module_alsa_card_la_LDFLAGS = $(MODULE_LDFLAGS)
1563 module_alsa_card_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1564 module_alsa_card_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1568 module_solaris_la_SOURCES = modules/module-solaris.c
1569 module_solaris_la_LDFLAGS = $(MODULE_LDFLAGS)
1570 module_solaris_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1574 module_zeroconf_publish_la_SOURCES = modules/module-zeroconf-publish.c
1575 module_zeroconf_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1576 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
1577 module_zeroconf_publish_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1579 module_zeroconf_discover_la_SOURCES = modules/module-zeroconf-discover.c
1580 module_zeroconf_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1581 module_zeroconf_discover_la_LIBADD = $(AM_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1582 module_zeroconf_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1586 module_bonjour_publish_la_SOURCES = modules/module-bonjour-publish.c
1587 module_bonjour_publish_la_LDFLAGS = $(MODULE_LDFLAGS) \
1588 -Wl,-framework -Wl,CoreFoundation -framework CoreFoundation
1589 module_bonjour_publish_la_LIBADD = libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1593 module_lirc_la_SOURCES = modules/module-lirc.c
1594 module_lirc_la_LDFLAGS = $(MODULE_LDFLAGS)
1595 module_lirc_la_LIBADD = $(AM_LIBADD) $(LIRC_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1596 module_lirc_la_CFLAGS = $(AM_CFLAGS) $(LIRC_CFLAGS)
1600 module_mmkbd_evdev_la_SOURCES = modules/module-mmkbd-evdev.c
1601 module_mmkbd_evdev_la_LDFLAGS = $(MODULE_LDFLAGS)
1602 module_mmkbd_evdev_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1603 module_mmkbd_evdev_la_CFLAGS = $(AM_CFLAGS)
1607 #module_waveout_la_SOURCES = modules/module-waveout.c
1608 #module_waveout_la_LDFLAGS = $(MODULE_LDFLAGS)
1609 #module_waveout_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la -lwinmm libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1610 #module_waveout_la_CFLAGS = $(AM_CFLAGS)
1612 # Hardware autodetection module
1613 module_detect_la_SOURCES = modules/module-detect.c
1614 module_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1615 module_detect_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1616 module_detect_la_CFLAGS = $(AM_CFLAGS)
1618 # Volume restore module
1619 module_volume_restore_la_SOURCES = modules/module-volume-restore.c
1620 module_volume_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1621 module_volume_restore_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1622 module_volume_restore_la_CFLAGS = $(AM_CFLAGS)
1624 # Position event sounds in space
1625 module_position_event_sounds_la_SOURCES = modules/module-position-event-sounds.c
1626 module_position_event_sounds_la_LDFLAGS = $(MODULE_LDFLAGS)
1627 module_position_event_sounds_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1628 module_position_event_sounds_la_CFLAGS = $(AM_CFLAGS)
1630 # Augment properties from XDG .desktop files
1631 module_augment_properties_la_SOURCES = modules/module-augment-properties.c
1632 module_augment_properties_la_LDFLAGS = $(MODULE_LDFLAGS)
1633 module_augment_properties_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1634 #module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"$(datadir)/applications\"
1635 module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"/usr/share/applications\"
1637 # Cork music streams while a phone stream is active
1638 module_cork_music_on_phone_la_SOURCES = modules/module-cork-music-on-phone.c
1639 module_cork_music_on_phone_la_LDFLAGS = $(MODULE_LDFLAGS)
1640 module_cork_music_on_phone_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1641 module_cork_music_on_phone_la_CFLAGS = $(AM_CFLAGS)
1643 # Device description restore module
1644 module_device_manager_la_SOURCES = modules/module-device-manager.c
1645 module_device_manager_la_LDFLAGS = $(MODULE_LDFLAGS)
1646 module_device_manager_la_LIBADD = $(AM_LIBADD) libprotocol-native.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1647 module_device_manager_la_CFLAGS = $(AM_CFLAGS)
1649 # Device volume/muted restore module
1650 module_device_restore_la_SOURCES = modules/module-device-restore.c
1651 module_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1652 module_device_restore_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1653 module_device_restore_la_CFLAGS = $(AM_CFLAGS)
1655 # Stream volume/muted/device restore module
1656 module_stream_restore_la_SOURCES = modules/module-stream-restore.c
1657 module_stream_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1658 module_stream_restore_la_LIBADD = $(AM_LIBADD) libprotocol-native.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1659 module_stream_restore_la_CFLAGS = $(AM_CFLAGS)
1662 module_stream_restore_la_LIBADD += $(DBUS_LIBS)
1663 module_stream_restore_la_CFLAGS += $(DBUS_CFLAGS)
1666 # Card profile restore module
1667 module_card_restore_la_SOURCES = modules/module-card-restore.c
1668 module_card_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1669 module_card_restore_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1670 module_card_restore_la_CFLAGS = $(AM_CFLAGS)
1672 # Default sink/source restore module
1673 module_default_device_restore_la_SOURCES = modules/module-default-device-restore.c
1674 module_default_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1675 module_default_device_restore_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1676 module_default_device_restore_la_CFLAGS = $(AM_CFLAGS)
1678 # Always Sink module
1679 module_always_sink_la_SOURCES = modules/module-always-sink.c
1680 module_always_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1681 module_always_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1682 module_always_sink_la_CFLAGS = $(AM_CFLAGS)
1684 # Rescue streams module
1685 module_rescue_streams_la_SOURCES = modules/module-rescue-streams.c
1686 module_rescue_streams_la_LDFLAGS = $(MODULE_LDFLAGS)
1687 module_rescue_streams_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1688 module_rescue_streams_la_CFLAGS = $(AM_CFLAGS)
1690 # Automatically move streams to devices that are intended for their roles
1691 module_intended_roles_la_SOURCES = modules/module-intended-roles.c
1692 module_intended_roles_la_LDFLAGS = $(MODULE_LDFLAGS)
1693 module_intended_roles_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1694 module_intended_roles_la_CFLAGS = $(AM_CFLAGS)
1696 # Suspend-on-idle module
1697 module_suspend_on_idle_la_SOURCES = modules/module-suspend-on-idle.c
1698 module_suspend_on_idle_la_LDFLAGS = $(MODULE_LDFLAGS)
1699 module_suspend_on_idle_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1700 module_suspend_on_idle_la_CFLAGS = $(AM_CFLAGS)
1703 module_rtp_send_la_SOURCES = modules/rtp/module-rtp-send.c
1704 module_rtp_send_la_LDFLAGS = $(MODULE_LDFLAGS)
1705 module_rtp_send_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la librtp.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1706 module_rtp_send_la_CFLAGS = $(AM_CFLAGS)
1708 module_rtp_recv_la_SOURCES = modules/rtp/module-rtp-recv.c
1709 module_rtp_recv_la_LDFLAGS = $(MODULE_LDFLAGS)
1710 module_rtp_recv_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la librtp.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1711 module_rtp_recv_la_CFLAGS = $(AM_CFLAGS)
1715 module_jack_sink_la_SOURCES = modules/jack/module-jack-sink.c
1716 module_jack_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1717 module_jack_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la $(JACK_LIBS) libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1718 module_jack_sink_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1720 module_jack_source_la_SOURCES = modules/jack/module-jack-source.c
1721 module_jack_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1722 module_jack_source_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la $(JACK_LIBS) libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1723 module_jack_source_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1726 module_hal_detect_la_SOURCES = modules/module-hal-detect-compat.c
1727 module_hal_detect_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1728 module_hal_detect_la_CFLAGS = $(AM_CFLAGS)
1730 module_hal_detect_la_SOURCES = modules/module-hal-detect.c
1731 module_hal_detect_la_LIBADD = $(AM_LIBADD) $(HAL_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1732 module_hal_detect_la_CFLAGS = $(AM_CFLAGS) $(HAL_CFLAGS)
1734 module_hal_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1736 module_udev_detect_la_SOURCES = modules/module-udev-detect.c
1737 module_udev_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1738 module_udev_detect_la_LIBADD = $(AM_LIBADD) $(UDEV_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1739 module_udev_detect_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
1741 module_console_kit_la_SOURCES = modules/module-console-kit.c
1742 module_console_kit_la_LDFLAGS = $(MODULE_LDFLAGS)
1743 module_console_kit_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1744 module_console_kit_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1747 module_gconf_la_SOURCES = modules/gconf/module-gconf.c
1748 module_gconf_la_LDFLAGS = $(MODULE_LDFLAGS)
1749 module_gconf_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1750 module_gconf_la_CFLAGS = $(AM_CFLAGS) -DPA_GCONF_HELPER=\"$(pulselibexecdir)/gconf-helper\"
1752 gconf_helper_SOURCES = modules/gconf/gconf-helper.c
1753 gconf_helper_LDADD = $(AM_LDADD) $(GCONF_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1754 gconf_helper_CFLAGS = $(AM_CFLAGS) $(GCONF_CFLAGS)
1755 gconf_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1757 # Bluetooth proximity
1758 module_bluetooth_proximity_la_SOURCES = modules/bluetooth/module-bluetooth-proximity.c
1759 module_bluetooth_proximity_la_LDFLAGS = $(MODULE_LDFLAGS)
1760 module_bluetooth_proximity_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1761 module_bluetooth_proximity_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -DPA_BT_PROXIMITY_HELPER=\"$(pulselibexecdir)/proximity-helper\"
1763 proximity_helper_SOURCES = modules/bluetooth/proximity-helper.c
1764 proximity_helper_LDADD = $(AM_LDADD) $(BLUEZ_LIBS)
1765 proximity_helper_CFLAGS = $(AM_CFLAGS) $(BLUEZ_CFLAGS)
1766 proximity_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1768 # Bluetooth sink / source
1769 module_bluetooth_discover_la_SOURCES = modules/bluetooth/module-bluetooth-discover.c
1770 module_bluetooth_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1771 module_bluetooth_discover_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libbluetooth-util.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1772 module_bluetooth_discover_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1774 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
1775 libbluetooth_sbc_la_LDFLAGS = -avoid-version
1776 libbluetooth_sbc_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1777 libbluetooth_sbc_la_CFLAGS = $(AM_CFLAGS)
1778 BLUETOOTH_SBC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_sbc_la_SOURCES))
1780 libbluetooth_ipc_la_SOURCES = modules/bluetooth/ipc.c modules/bluetooth/ipc.h
1781 libbluetooth_ipc_la_LDFLAGS = -avoid-version
1782 libbluetooth_ipc_la_LIBADD = $(AM_LIBADD)libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1783 libbluetooth_ipc_la_CFLAGS = $(AM_CFLAGS)
1784 BLUETOOTH_IPC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_ipc_la_SOURCES)) rtp.h
1786 libbluetooth_util_la_SOURCES = modules/bluetooth/bluetooth-util.c modules/bluetooth/bluetooth-util.h
1787 libbluetooth_util_la_LDFLAGS = -avoid-version
1788 libbluetooth_util_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1789 libbluetooth_util_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1791 module_bluetooth_device_la_SOURCES = modules/bluetooth/module-bluetooth-device.c modules/bluetooth/rtp.h
1792 module_bluetooth_device_la_LDFLAGS = $(MODULE_LDFLAGS)
1793 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
1794 module_bluetooth_device_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1796 # Apple Airtunes/RAOP
1797 module_raop_sink_la_SOURCES = modules/raop/module-raop-sink.c
1798 module_raop_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1799 module_raop_sink_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la librtp.la libraop.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1801 module_raop_discover_la_SOURCES = modules/raop/module-raop-discover.c
1802 module_raop_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1803 module_raop_discover_la_LIBADD = $(AM_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
1804 module_raop_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1807 module_rygel_media_server_la_SOURCES = modules/module-rygel-media-server.c
1808 module_rygel_media_server_la_LDFLAGS = $(MODULE_LDFLAGS)
1809 module_rygel_media_server_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la libprotocol-http.la
1810 module_rygel_media_server_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1812 ###################################
1813 # Some minor stuff #
1814 ###################################
1816 CLEANFILES = esdcompat client.conf default.pa system.pa daemon.conf start-pulseaudio-x11 start-pulseaudio-kde daemon/pulseaudio.desktop daemon/pulseaudio-kde.desktop
1818 esdcompat: daemon/esdcompat.in Makefile
1819 sed -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1820 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1821 -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1824 start-pulseaudio-x11: daemon/start-pulseaudio-x11.in Makefile
1825 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1826 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1827 chmod +x start-pulseaudio-x11
1829 start-pulseaudio-kde: daemon/start-pulseaudio-kde.in Makefile
1830 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1831 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1832 chmod +x start-pulseaudio-kde
1834 client.conf: pulse/client.conf.in Makefile
1835 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1838 default.pa: daemon/default.pa.win32
1840 system.pa: daemon/default.pa.win32
1843 default.pa: daemon/default.pa.in Makefile
1844 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1845 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1846 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1847 system.pa: daemon/system.pa.in Makefile
1848 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1849 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1850 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1853 daemon.conf: daemon/daemon.conf.in Makefile
1854 sed -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1855 -e 's,@PA_DEFAULT_CONFIG_FILE\@,$(DEFAULT_CONFIG_DIR),g' < $< > $@
1858 -chown root $(DESTDIR)$(pulselibexecdir)/proximity-helper
1859 -chmod u+s $(DESTDIR)$(pulselibexecdir)/proximity-helper
1860 ln -sf pacat $(DESTDIR)$(bindir)/parec
1861 ln -sf pacat $(DESTDIR)$(bindir)/pamon
1862 ln -sf pacat $(DESTDIR)$(bindir)/paplay
1863 ln -sf pacat $(DESTDIR)$(bindir)/parecord
1864 rm -f $(DESTDIR)$(libdir)/libpulsedsp.la
1865 rm -f $(DESTDIR)$(modlibexecdir)/*.la
1868 rm -f $(DESTDIR)$(bindir)/parec
1869 rm -f $(DESTDIR)$(bindir)/pamon
1870 rm -f $(DESTDIR)$(bindir)/paplay
1871 rm -f $(DESTDIR)$(bindir)/parecord
1872 rm -f $(DESTDIR)$(libdir)/libpulsedsp.*
1873 rm -f $(DESTDIR)$(modlibexecdir)/*.so
1876 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
1879 wget -O pulsecore/ffmpeg/resample2.c http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/resample2.c?view=co
1881 # We get things twice here, because sometimes gitweb will us just give a "Generating..." otherwise.
1883 for i in $(BLUETOOTH_SBC_FILES) ; do \
1884 wget -O /dev/null http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=sbc/$$i ; \
1885 wget -O modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=sbc/$$i ; \
1887 for i in $(BLUETOOTH_IPC_FILES); do \
1888 wget -O /dev/null http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
1889 wget -O modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
1893 for i in reserve.c reserve.h reserve-monitor.c reserve-monitor.h ; do \
1894 wget -O modules/$$i http://git.0pointer.de/\?p=reserve.git\;a=blob_plain\;f=$$i\;hb=master ; \
1898 for i in rtkit.c rtkit.h ; do \
1899 wget -O pulsecore/$$i http://git.0pointer.de/\?p=rtkit.git\;a=blob_plain\;f=$$i\;hb=master ; \
1902 # Automatically generate linker version script. We use the same one for all public .sos
1904 ( echo "PULSE_0 {" ; \
1906 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 ; \
1909 echo "};" ) > $(srcdir)/map-file
1911 update-all: update-ffmpeg update-sbc update-map-file
1913 .PHONY: utils/padsp massif update-all update-ffmpeg update-sbc update-map-file