1 # This file is part of PulseAudio.
3 # Copyright 2004-2006 Lennart Poettering
4 # Copyright 2006 Pierre Ossman <ossman@cendio.se> for Cendio AB
5 # Copyright 2006 Diego Pettenò
7 # PulseAudio is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU Lesser General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
12 # PulseAudio is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # General Public License for more details.
17 # You should have received a copy of the GNU Lesser General Public License
18 # along with PulseAudio; if not, write to the Free Software
19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22 ###################################
24 ###################################
26 pulseincludedir=$(includedir)/pulse
27 pulsecoreincludedir=$(includedir)/pulsecore
28 pulseconfdir=$(sysconfdir)/pulse
29 pulselibexecdir=$(libexecdir)/pulse
31 xdgautostartdir=$(sysconfdir)/xdg/autostart
34 alsaprofilesetsdir=$(datadir)/pulseaudio/alsa-mixer/profile-sets
35 alsapathsdir=$(datadir)/pulseaudio/alsa-mixer/paths
38 dbuspolicydir=$(sysconfdir)/dbus-1/system.d
41 ###################################
43 ###################################
45 PA_BINARY=$(bindir)/pulseaudio$(EXEEXT)
46 PA_DEFAULT_CONFIG_DIR=$(pulseconfdir)
48 ###################################
49 # Compiler/linker flags #
50 ###################################
54 -I$(top_srcdir)/src/modules \
55 -I$(top_builddir)/src/modules \
56 $(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS \
57 -DPA_BUILDDIR=\"$(abs_builddir)\" \
58 -DPA_DLSEARCHPATH=\"$(modlibexecdir)\" \
59 -DPA_DEFAULT_CONFIG_DIR=\"$(PA_DEFAULT_CONFIG_DIR)\" \
60 -DPA_BINARY=\"$(PA_BINARY)\" \
61 -DPA_SYSTEM_RUNTIME_PATH=\"$(PA_SYSTEM_RUNTIME_PATH)\" \
62 -DPA_SYSTEM_CONFIG_PATH=\"$(PA_SYSTEM_CONFIG_PATH)\" \
63 -DPA_SYSTEM_STATE_PATH=\"$(PA_SYSTEM_STATE_PATH)\" \
65 -DPULSE_LOCALEDIR=\"$(pulselocaledir)\" \
66 -DPA_MACHINE_ID=\"$(localstatedir)/lib/dbus/machine-id\" \
67 -DPA_ALSA_PATHS_DIR=\"$(alsapathsdir)\" \
68 -DPA_ALSA_PROFILE_SETS_DIR=\"$(alsaprofilesetsdir)\"
70 AM_LIBADD = $(PTHREAD_LIBS) $(INTLLIBS)
71 AM_LDADD = $(PTHREAD_LIBS) $(INTLLIBS)
72 AM_LDFLAGS = $(NODELETE_LDFLAGS)
79 AM_LDFLAGS+=-Wl,--export-all-symbols,--enable-auto-import -no-undefined
80 WINSOCK_LIBS=-lwsock32 -lws2_32 -lwininet
84 AM_LDFLAGS+=-headerpad_max_install_names
88 MODULE_LDFLAGS = $(AM_LDFLAGS) -module -disable-static -avoid-version $(LDFLAGS_NOUNDEFINED)
89 MODULE_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
91 ###################################
93 ###################################
96 pulse/client.conf.in \
98 daemon/daemon.conf.in \
99 daemon/default.pa.in \
100 daemon/system.pa.in \
101 daemon/default.pa.win32 \
103 daemon/esdcompat.in \
104 daemon/start-pulseaudio-x11.in \
105 daemon/start-pulseaudio-kde.in \
108 modules/module-defs.h.m4 \
109 daemon/pulseaudio.desktop.in \
110 daemon/pulseaudio-kde.desktop.in \
112 daemon/pulseaudio-system.conf \
113 modules/echo-cancel/adrian-license.txt
123 daemon/pulseaudio-system.conf
127 xdgautostart_in_files = \
128 daemon/pulseaudio.desktop.in \
129 daemon/pulseaudio-kde.desktop.in
130 xdgautostart_DATA = $(xdgautostart_in_files:.desktop.in=.desktop)
131 @INTLTOOL_DESKTOP_RULE@
135 ###################################
137 ###################################
141 include $(top_srcdir)/orc.mak
144 ###################################
146 ###################################
148 bin_PROGRAMS = pulseaudio
150 pulseaudio_SOURCES = \
151 daemon/caps.c daemon/caps.h \
152 daemon/cmdline.c daemon/cmdline.h \
153 daemon/cpulimit.c daemon/cpulimit.h \
154 daemon/daemon-conf.c daemon/daemon-conf.h \
155 daemon/dumpmodules.c daemon/dumpmodules.h \
156 daemon/ltdl-bind-now.c daemon/ltdl-bind-now.h \
159 pulseaudio_CFLAGS = $(AM_CFLAGS) $(CAP_CFLAGS)
160 pulseaudio_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(LIBLTDL) $(CAP_LIBS)
161 # This is needed because automake doesn't properly expand the foreach below
162 pulseaudio_DEPENDENCIES = libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(PREOPEN_LIBS)
165 pulseaudio_CFLAGS += $(DBUS_CFLAGS)
166 pulseaudio_SOURCES += daemon/server-lookup.c daemon/server-lookup.h
167 pulseaudio_LDADD += $(DBUS_LIBS)
171 PREOPEN_LIBS = $(PREOPEN_MODS)
173 PREOPEN_LIBS = $(modlibexec_LTLIBRARIES)
177 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(IMMEDIATE_LDFLAGS) -dlpreopen force $(foreach f,$(PREOPEN_LIBS),-dlpreopen $(f))
179 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(IMMEDIATE_LDFLAGS) -dlopen force $(foreach f,$(PREOPEN_LIBS),-dlopen $(f))
182 ###################################
184 ###################################
186 bin_SCRIPTS = esdcompat
193 bin_PROGRAMS += pasuspender
197 bin_PROGRAMS += pacmd
201 bin_PROGRAMS += pax11publish
202 bin_SCRIPTS += start-pulseaudio-x11 start-pulseaudio-kde
206 bin_PROGRAMS += pabrowse
209 pacat_SOURCES = utils/pacat.c
210 pacat_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(LIBSNDFILE_LIBS)
211 pacat_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
212 pacat_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
214 pactl_SOURCES = utils/pactl.c
215 pactl_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(LIBSNDFILE_LIBS)
216 pactl_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
217 pactl_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
219 pasuspender_SOURCES = utils/pasuspender.c
220 pasuspender_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
221 pasuspender_CFLAGS = $(AM_CFLAGS)
222 pasuspender_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
224 pacmd_SOURCES = utils/pacmd.c
225 pacmd_CFLAGS = $(AM_CFLAGS)
226 pacmd_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
227 pacmd_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
229 pax11publish_SOURCES = utils/pax11publish.c
230 pax11publish_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
231 pax11publish_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(X11_LIBS)
232 pax11publish_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
234 pabrowse_SOURCES = utils/pabrowse.c
235 pabrowse_LDADD = $(AM_LDADD) libpulse.la libpulse-browse.la libpulsecommon-@PA_MAJORMINOR@.la
236 pabrowse_CFLAGS = $(AM_CFLAGS)
237 pabrowse_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
239 ###################################
241 ###################################
243 # missing: mcalign-test flist-test pacat-simple parec-simple sync-playback rtstutter stripnul interpol-test thread-test
253 thread-mainloop-test \
255 get-binary-name-test \
269 lock-autospawn-test \
285 thread-mainloop-test \
287 get-binary-name-test \
305 lock-autospawn-test \
350 if BUILD_TESTS_DEFAULT
351 noinst_PROGRAMS = $(TESTS_BINARIES)
353 check_PROGRAMS = $(TESTS_BINARIES)
356 mainloop_test_SOURCES = tests/mainloop-test.c
357 mainloop_test_CFLAGS = $(AM_CFLAGS)
358 mainloop_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
359 mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
361 thread_mainloop_test_SOURCES = tests/thread-mainloop-test.c
362 thread_mainloop_test_CFLAGS = $(AM_CFLAGS)
363 thread_mainloop_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
364 thread_mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
366 utf8_test_SOURCES = tests/utf8-test.c
367 utf8_test_CFLAGS = $(AM_CFLAGS)
368 utf8_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
369 utf8_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
371 get_binary_name_test_SOURCES = tests/get-binary-name-test.c
372 get_binary_name_test_CFLAGS = $(AM_CFLAGS)
373 get_binary_name_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
374 get_binary_name_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
376 ipacl_test_SOURCES = tests/ipacl-test.c
377 ipacl_test_CFLAGS = $(AM_CFLAGS)
378 ipacl_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
379 ipacl_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
381 hook_list_test_SOURCES = tests/hook-list-test.c
382 hook_list_test_CFLAGS = $(AM_CFLAGS)
383 hook_list_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
384 hook_list_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
386 memblock_test_SOURCES = tests/memblock-test.c
387 memblock_test_CFLAGS = $(AM_CFLAGS)
388 memblock_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
389 memblock_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
391 thread_test_SOURCES = tests/thread-test.c
392 thread_test_CFLAGS = $(AM_CFLAGS)
393 thread_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
394 thread_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
396 once_test_SOURCES = tests/once-test.c
397 once_test_CFLAGS = $(AM_CFLAGS)
398 once_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
399 once_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
401 flist_test_SOURCES = tests/flist-test.c
402 flist_test_CFLAGS = $(AM_CFLAGS)
403 flist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
404 flist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
406 asyncq_test_SOURCES = tests/asyncq-test.c
407 asyncq_test_CFLAGS = $(AM_CFLAGS)
408 asyncq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
409 asyncq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
411 asyncmsgq_test_SOURCES = tests/asyncmsgq-test.c
412 asyncmsgq_test_CFLAGS = $(AM_CFLAGS)
413 asyncmsgq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
414 asyncmsgq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
416 queue_test_SOURCES = tests/queue-test.c
417 queue_test_CFLAGS = $(AM_CFLAGS)
418 queue_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
419 queue_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
421 rtpoll_test_SOURCES = tests/rtpoll-test.c
422 rtpoll_test_CFLAGS = $(AM_CFLAGS)
423 rtpoll_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
424 rtpoll_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
426 mcalign_test_SOURCES = tests/mcalign-test.c
427 mcalign_test_CFLAGS = $(AM_CFLAGS)
428 mcalign_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
429 mcalign_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
431 pacat_simple_SOURCES = tests/pacat-simple.c
432 pacat_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la libpulsecommon-@PA_MAJORMINOR@.la
433 pacat_simple_CFLAGS = $(AM_CFLAGS)
434 pacat_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
436 parec_simple_SOURCES = tests/parec-simple.c
437 parec_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la libpulsecommon-@PA_MAJORMINOR@.la
438 parec_simple_CFLAGS = $(AM_CFLAGS)
439 parec_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
441 strlist_test_SOURCES = tests/strlist-test.c
442 strlist_test_CFLAGS = $(AM_CFLAGS)
443 strlist_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
444 strlist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
446 close_test_SOURCES = tests/close-test.c
447 close_test_CFLAGS = $(AM_CFLAGS)
448 close_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
449 close_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
451 voltest_SOURCES = tests/voltest.c
452 voltest_CFLAGS = $(AM_CFLAGS)
453 voltest_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
454 voltest_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
456 vector_test_SOURCES = tests/vector-test.c
457 vector_test_CFLAGS = $(AM_CFLAGS)
458 vector_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
459 vector_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
461 channelmap_test_SOURCES = tests/channelmap-test.c
462 channelmap_test_CFLAGS = $(AM_CFLAGS)
463 channelmap_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
464 channelmap_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
466 cpulimit_test_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
467 cpulimit_test_CFLAGS = $(AM_CFLAGS)
468 cpulimit_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
469 cpulimit_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
471 cpulimit_test2_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
472 cpulimit_test2_CFLAGS = $(AM_CFLAGS) -DTEST2
473 cpulimit_test2_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
474 cpulimit_test2_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
476 mainloop_test_glib_SOURCES = $(mainloop_test_SOURCES)
477 mainloop_test_glib_CFLAGS = $(mainloop_test_CFLAGS) $(GLIB20_CFLAGS) -DGLIB_MAIN_LOOP
478 mainloop_test_glib_LDADD = $(mainloop_test_LDADD) $(GLIB20_LIBS) libpulse-mainloop-glib.la
479 mainloop_test_glib_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
481 memblockq_test_SOURCES = tests/memblockq-test.c
482 memblockq_test_CFLAGS = $(AM_CFLAGS)
483 memblockq_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
484 memblockq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
486 sync_playback_SOURCES = tests/sync-playback.c
487 sync_playback_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
488 sync_playback_CFLAGS = $(AM_CFLAGS)
489 sync_playback_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
491 interpol_test_SOURCES = tests/interpol-test.c
492 interpol_test_LDADD = $(AM_LDADD) libpulse.la libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
493 interpol_test_CFLAGS = $(AM_CFLAGS)
494 interpol_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
496 sig2str_test_SOURCES = tests/sig2str-test.c
497 sig2str_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
498 sig2str_test_CFLAGS = $(AM_CFLAGS)
499 sig2str_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
501 resampler_test_SOURCES = tests/resampler-test.c
502 resampler_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
503 resampler_test_CFLAGS = $(AM_CFLAGS)
504 resampler_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
506 mix_test_SOURCES = tests/mix-test.c
507 mix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
508 mix_test_CFLAGS = $(AM_CFLAGS)
509 mix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
511 remix_test_SOURCES = tests/remix-test.c
512 remix_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
513 remix_test_CFLAGS = $(AM_CFLAGS)
514 remix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
516 smoother_test_SOURCES = tests/smoother-test.c
517 smoother_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
518 smoother_test_CFLAGS = $(AM_CFLAGS)
519 smoother_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
521 proplist_test_SOURCES = tests/proplist-test.c
522 proplist_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
523 proplist_test_CFLAGS = $(AM_CFLAGS)
524 proplist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
526 rtstutter_SOURCES = tests/rtstutter.c
527 rtstutter_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
528 rtstutter_CFLAGS = $(AM_CFLAGS)
529 rtstutter_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
531 stripnul_SOURCES = tests/stripnul.c
532 stripnul_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
533 stripnul_CFLAGS = $(AM_CFLAGS)
534 stripnul_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
536 lock_autospawn_test_SOURCES = tests/lock-autospawn-test.c
537 lock_autospawn_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
538 lock_autospawn_test_CFLAGS = $(AM_CFLAGS)
539 lock_autospawn_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
541 prioq_test_SOURCES = tests/prioq-test.c
542 prioq_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
543 prioq_test_CFLAGS = $(AM_CFLAGS)
544 prioq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
546 sigbus_test_SOURCES = tests/sigbus-test.c
547 sigbus_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
548 sigbus_test_CFLAGS = $(AM_CFLAGS)
549 sigbus_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
551 gtk_test_SOURCES = tests/gtk-test.c
552 gtk_test_LDADD = $(AM_LDADD) libpulse.la libpulse-mainloop-glib.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
553 gtk_test_CFLAGS = $(AM_CFLAGS) $(GTK20_CFLAGS)
554 gtk_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(GTK20_LIBS)
556 alsa_time_test_SOURCES = tests/alsa-time-test.c
557 alsa_time_test_LDADD = $(AM_LDADD)
558 alsa_time_test_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
559 alsa_time_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(ASOUNDLIB_LIBS)
561 usergroup_test_SOURCES = tests/usergroup-test.c
562 usergroup_test_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
563 usergroup_test_CFLAGS = $(AM_CFLAGS)
564 usergroup_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
566 ###################################
568 ###################################
571 libpulsecommon-@PA_MAJORMINOR@.la
573 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES = \
574 pulse/client-conf.c pulse/client-conf.h \
575 pulse/i18n.c pulse/i18n.h \
576 pulse/fork-detect.c pulse/fork-detect.h \
577 pulse/xmalloc.c pulse/xmalloc.h \
578 pulse/proplist.c pulse/proplist.h \
579 pulse/utf8.c pulse/utf8.h \
580 pulse/channelmap.c pulse/channelmap.h \
581 pulse/sample.c pulse/sample.h \
582 pulse/util.c pulse/util.h \
583 pulse/timeval.c pulse/timeval.h \
584 pulse/rtclock.c pulse/rtclock.h \
586 pulsecore/authkey.c pulsecore/authkey.h \
587 pulsecore/conf-parser.c pulsecore/conf-parser.h \
588 pulsecore/core-error.c pulsecore/core-error.h \
589 pulsecore/core-rtclock.c pulsecore/core-rtclock.h \
590 pulsecore/core-util.c pulsecore/core-util.h \
592 pulsecore/dynarray.c pulsecore/dynarray.h \
593 pulsecore/endianmacros.h \
594 pulsecore/flist.c pulsecore/flist.h \
595 pulsecore/hashmap.c pulsecore/hashmap.h \
596 pulsecore/idxset.c pulsecore/idxset.h \
597 pulsecore/arpa-inet.c pulsecore/arpa-inet.h \
598 pulsecore/iochannel.c pulsecore/iochannel.h \
599 pulsecore/ioline.c pulsecore/ioline.h \
600 pulsecore/ipacl.h pulsecore/ipacl.c \
602 pulsecore/lock-autospawn.c pulsecore/lock-autospawn.h \
603 pulsecore/log.c pulsecore/log.h \
604 pulsecore/ratelimit.c pulsecore/ratelimit.h \
605 pulsecore/macro.h pulsecore/vector.h \
606 pulsecore/mcalign.c pulsecore/mcalign.h \
607 pulsecore/memblock.c pulsecore/memblock.h \
608 pulsecore/memblockq.c pulsecore/memblockq.h \
609 pulsecore/memchunk.c pulsecore/memchunk.h \
610 pulsecore/native-common.h \
611 pulsecore/once.c pulsecore/once.h \
612 pulsecore/packet.c pulsecore/packet.h \
613 pulsecore/parseaddr.c pulsecore/parseaddr.h \
614 pulsecore/pdispatch.c pulsecore/pdispatch.h \
615 pulsecore/pid.c pulsecore/pid.h \
616 pulsecore/pipe.c pulsecore/pipe.h \
617 pulsecore/poll.c pulsecore/poll.h \
618 pulsecore/prioq.c pulsecore/prioq.h \
619 pulsecore/memtrap.c pulsecore/memtrap.h \
620 pulsecore/aupdate.c pulsecore/aupdate.h \
621 pulsecore/proplist-util.c pulsecore/proplist-util.h \
622 pulsecore/pstream-util.c pulsecore/pstream-util.h \
623 pulsecore/pstream.c pulsecore/pstream.h \
624 pulsecore/queue.c pulsecore/queue.h \
625 pulsecore/random.c pulsecore/random.h \
627 pulsecore/shm.c pulsecore/shm.h \
628 pulsecore/bitset.c pulsecore/bitset.h \
629 pulsecore/socket-client.c pulsecore/socket-client.h \
630 pulsecore/socket-server.c pulsecore/socket-server.h \
631 pulsecore/socket-util.c pulsecore/socket-util.h \
632 pulsecore/strbuf.c pulsecore/strbuf.h \
633 pulsecore/strlist.c pulsecore/strlist.h \
634 pulsecore/tagstruct.c pulsecore/tagstruct.h \
635 pulsecore/time-smoother.c pulsecore/time-smoother.h \
636 pulsecore/tokenizer.c pulsecore/tokenizer.h \
637 pulsecore/usergroup.c pulsecore/usergroup.h \
638 pulsecore/sndfile-util.c pulsecore/sndfile-util.h \
641 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSNDFILE_CFLAGS)
642 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
643 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) $(LIBWRAP_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) $(LIBSAMPLERATE_LIBS) $(LIBSNDFILE_LIBS)
646 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulse/client-conf-x11.c pulse/client-conf-x11.h
647 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
648 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
651 # proplist-util.h uses these header files, but not the library itself!
652 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(GLIB20_CFLAGS) $(GTK20_CFLAGS)
654 ## Please note that libpulsecommon implicitly also depends on<
655 ## libpulse! i.e. we have a cyclic dependancy here. Which is intended
656 ## since libpulse only includes stable, official APIs, while
657 ## libpulsecommon only includes unofficial APIs.
660 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
661 pulsecore/mutex-win32.c pulsecore/mutex.h \
662 pulsecore/thread-win32.c pulsecore/thread.h \
663 pulsecore/semaphore-win32.c pulsecore/semaphore.h
666 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
667 pulsecore/mutex-posix.c pulsecore/mutex.h \
668 pulsecore/thread-posix.c pulsecore/thread.h \
669 pulsecore/semaphore-osx.c pulsecore/semaphore.h
670 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += "-I/Developer/Headers/FlatCarbon/"
671 #libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += "-framework CoreServices"
673 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
674 pulsecore/mutex-posix.c pulsecore/mutex.h \
675 pulsecore/thread-posix.c pulsecore/thread.h \
676 pulsecore/semaphore-posix.c pulsecore/semaphore.h
681 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulsecore/x11prop.c pulsecore/x11prop.h
682 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
683 libpulsecommon_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
687 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(LIBASYNCNS_CFLAGS)
688 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD += $(LIBASYNCNS_LIBS)
692 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += pulsecore/dllmain.c
696 libpulsecommon_@PA_MAJORMINOR@_la_SOURCES += \
697 pulsecore/dbus-util.c pulsecore/dbus-util.h \
698 pulsecore/rtkit.c pulsecore/rtkit.h
699 libpulsecommon_@PA_MAJORMINOR@_la_CFLAGS += $(DBUS_CFLAGS)
700 libpulsecommon_@PA_MAJORMINOR@_la_LIBADD += $(DBUS_LIBS)
703 ###################################
705 ###################################
707 pulseinclude_HEADERS = \
713 pulse/ext-device-manager.h \
714 pulse/ext-stream-restore.h \
717 pulse/mainloop-api.h \
718 pulse/mainloop-signal.h \
729 pulse/thread-mainloop.h \
742 pulseinclude_HEADERS += \
750 pulseinclude_HEADERS += \
751 pulse/glib-mainloop.h
754 libpulse-mainloop-glib.la
758 libpulse_la_SOURCES = \
760 pulse/channelmap.c pulse/channelmap.h \
761 pulse/context.c pulse/context.h \
763 pulse/error.c pulse/error.h \
764 pulse/ext-device-manager.c pulse/ext-device-manager.h \
765 pulse/ext-stream-restore.c pulse/ext-stream-restore.h \
768 pulse/introspect.c pulse/introspect.h \
769 pulse/mainloop-api.c pulse/mainloop-api.h \
770 pulse/mainloop-signal.c pulse/mainloop-signal.h \
771 pulse/mainloop.c pulse/mainloop.h \
772 pulse/operation.c pulse/operation.h \
773 pulse/proplist.c pulse/proplist.h \
775 pulse/rtclock.c pulse/rtclock.h \
776 pulse/sample.c pulse/sample.h \
777 pulse/scache.c pulse/scache.h \
778 pulse/stream.c pulse/stream.h \
779 pulse/subscribe.c pulse/subscribe.h \
780 pulse/thread-mainloop.c pulse/thread-mainloop.h \
781 pulse/timeval.c pulse/timeval.h \
782 pulse/utf8.c pulse/utf8.h \
783 pulse/util.c pulse/util.h \
784 pulse/volume.c pulse/volume.h \
785 pulse/xmalloc.c pulse/xmalloc.h
787 libpulse_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
788 libpulse_la_LIBADD = $(AM_LIBADD) $(WINSOCK_LIBS) $(LTLIBICONV) libpulsecommon-@PA_MAJORMINOR@.la
789 libpulse_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_VERSION_INFO)
791 libpulse_simple_la_SOURCES = pulse/simple.c pulse/simple.h
792 libpulse_simple_la_CFLAGS = $(AM_CFLAGS)
793 libpulse_simple_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
794 libpulse_simple_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_SIMPLE_VERSION_INFO)
796 libpulse_browse_la_SOURCES = pulse/browser.c pulse/browser.h pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
797 libpulse_browse_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
798 libpulse_browse_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(AVAHI_LIBS)
799 libpulse_browse_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_BROWSE_VERSION_INFO)
801 libpulse_mainloop_glib_la_SOURCES = pulse/glib-mainloop.h pulse/glib-mainloop.c
802 libpulse_mainloop_glib_la_CFLAGS = $(AM_CFLAGS) $(GLIB20_CFLAGS)
803 libpulse_mainloop_glib_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la $(GLIB20_LIBS)
804 libpulse_mainloop_glib_la_LDFLAGS = $(AM_LDFLAGS) $(VERSIONING_LDFLAGS) -version-info $(LIBPULSE_MAINLOOP_GLIB_VERSION_INFO)
806 ###################################
808 ###################################
811 lib_LTLIBRARIES += libpulsedsp.la
812 bin_SCRIPTS += utils/padsp
815 libpulsedsp_la_SOURCES = utils/padsp.c
816 libpulsedsp_la_CFLAGS = $(AM_CFLAGS)
817 libpulsedsp_la_LIBADD = $(AM_LIBADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la
818 libpulsedsp_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version -disable-static
820 ###################################
821 # Daemon core library #
822 ###################################
824 lib_LTLIBRARIES += libpulsecore-@PA_MAJORMINOR@.la
827 libpulsecore_@PA_MAJORMINOR@_la_SOURCES = \
828 pulsecore/asyncmsgq.c pulsecore/asyncmsgq.h \
829 pulsecore/asyncq.c pulsecore/asyncq.h \
830 pulsecore/auth-cookie.c pulsecore/auth-cookie.h \
831 pulsecore/cli-command.c pulsecore/cli-command.h \
832 pulsecore/cli-text.c pulsecore/cli-text.h \
833 pulsecore/client.c pulsecore/client.h \
834 pulsecore/card.c pulsecore/card.h \
835 pulsecore/core-scache.c pulsecore/core-scache.h \
836 pulsecore/core-subscribe.c pulsecore/core-subscribe.h \
837 pulsecore/core.c pulsecore/core.h \
838 pulsecore/fdsem.c pulsecore/fdsem.h \
839 pulsecore/g711.c pulsecore/g711.h \
840 pulsecore/hook-list.c pulsecore/hook-list.h \
841 pulsecore/ltdl-helper.c pulsecore/ltdl-helper.h \
842 pulsecore/modargs.c pulsecore/modargs.h \
843 pulsecore/modinfo.c pulsecore/modinfo.h \
844 pulsecore/module.c pulsecore/module.h \
845 pulsecore/msgobject.c pulsecore/msgobject.h \
846 pulsecore/namereg.c pulsecore/namereg.h \
847 pulsecore/object.c pulsecore/object.h \
848 pulsecore/play-memblockq.c pulsecore/play-memblockq.h \
849 pulsecore/play-memchunk.c pulsecore/play-memchunk.h \
850 pulsecore/remap.c pulsecore/remap.h \
851 pulsecore/remap_mmx.c pulsecore/remap_sse.c \
852 pulsecore/resampler.c pulsecore/resampler.h \
853 pulsecore/rtpoll.c pulsecore/rtpoll.h \
854 pulsecore/sample-util.c pulsecore/sample-util.h \
856 pulsecore/cpu-arm.c pulsecore/cpu-arm.h \
857 pulsecore/cpu-x86.c pulsecore/cpu-x86.h \
858 pulsecore/cpu-orc.c pulsecore/cpu-orc.h \
859 pulsecore/svolume_c.c pulsecore/svolume_arm.c \
860 pulsecore/svolume_mmx.c pulsecore/svolume_sse.c \
861 pulsecore/sconv-s16be.c pulsecore/sconv-s16be.h \
862 pulsecore/sconv-s16le.c pulsecore/sconv-s16le.h \
863 pulsecore/sconv_sse.c \
864 pulsecore/sconv.c pulsecore/sconv.h \
865 pulsecore/shared.c pulsecore/shared.h \
866 pulsecore/shm.c pulsecore/shm.h \
867 pulsecore/sink-input.c pulsecore/sink-input.h \
868 pulsecore/sink.c pulsecore/sink.h \
869 pulsecore/sioman.c pulsecore/sioman.h \
870 pulsecore/sound-file-stream.c pulsecore/sound-file-stream.h \
871 pulsecore/sound-file.c pulsecore/sound-file.h \
872 pulsecore/source-output.c pulsecore/source-output.h \
873 pulsecore/source.c pulsecore/source.h \
874 pulsecore/start-child.c pulsecore/start-child.h \
875 pulsecore/thread-mq.c pulsecore/thread-mq.h \
876 pulsecore/time-smoother.c pulsecore/time-smoother.h \
879 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS = $(AM_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSPEEX_CFLAGS) $(LIBSNDFILE_CFLAGS) $(WINSOCK_CFLAGS)
880 libpulsecore_@PA_MAJORMINOR@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
881 libpulsecore_@PA_MAJORMINOR@_la_LIBADD = $(AM_LIBADD) $(LIBLTDL) $(LIBSAMPLERATE_LIBS) $(LIBSPEEX_LIBS) $(LIBSNDFILE_LIBS) $(WINSOCK_LIBS) $(LTLIBICONV) libpulsecommon-@PA_MAJORMINOR@.la libpulse.la libpulsecore-foreign.la
884 ORC_SOURCE += pulsecore/svolume
885 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/svolume_orc.c
886 nodist_libpulsecore_@PA_MAJORMINOR@_la_SOURCES = pulsecore/svolume-orc-gen.c pulsecore/svolume-orc-gen.h
887 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(ORC_CFLAGS)
888 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(ORC_LIBS)
892 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/x11wrap.c pulsecore/x11wrap.h
893 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(X11_CFLAGS)
894 libpulsecore_@PA_MAJORMINOR@_la_LDFLAGS += $(X11_LIBS)
898 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += \
899 pulsecore/dbus-shared.c pulsecore/dbus-shared.h \
900 pulsecore/protocol-dbus.c pulsecore/protocol-dbus.h
901 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(DBUS_CFLAGS)
902 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(DBUS_LIBS)
906 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-gdbm.c
907 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(GDBM_CFLAGS)
908 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(GDBM_LIBS)
912 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-tdb.c
913 libpulsecore_@PA_MAJORMINOR@_la_CFLAGS += $(TDB_CFLAGS)
914 libpulsecore_@PA_MAJORMINOR@_la_LIBADD += $(TDB_LIBS)
918 libpulsecore_@PA_MAJORMINOR@_la_SOURCES += pulsecore/database-simple.c
921 # We split the foreign code off to not be annoyed by warnings we don't care about
922 noinst_LTLIBRARIES = libpulsecore-foreign.la
924 libpulsecore_foreign_la_SOURCES = \
925 pulsecore/ffmpeg/resample2.c pulsecore/ffmpeg/avcodec.h pulsecore/ffmpeg/dsputil.h
927 libpulsecore_foreign_la_CFLAGS = $(AM_CFLAGS) $(FOREIGN_CFLAGS)
929 ###################################
930 # Plug-in support libraries #
931 ###################################
933 ### Warning! Due to an obscure bug in libtool/automake it is required
934 ### that the libraries in modlibexec_LTLIBRARIES are specified in-order,
935 ### i.e. libraries near the end of the list depend on libraries near
936 ### the head, and not the other way!
938 modlibexec_LTLIBRARIES = \
941 libprotocol-simple.la \
942 libprotocol-http.la \
943 libprotocol-native.la \
944 libprotocol-esound.la
946 # We need to emulate sendmsg/recvmsg to support this on Win32
948 modlibexec_LTLIBRARIES += \
953 modlibexec_LTLIBRARIES += \
957 libprotocol_simple_la_SOURCES = pulsecore/protocol-simple.c pulsecore/protocol-simple.h
958 libprotocol_simple_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
959 libprotocol_simple_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
961 libcli_la_SOURCES = pulsecore/cli.c pulsecore/cli.h
962 libcli_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
963 libcli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
965 libprotocol_cli_la_SOURCES = pulsecore/protocol-cli.c pulsecore/protocol-cli.h
966 libprotocol_cli_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
967 libprotocol_cli_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la libcli.la
969 libprotocol_http_la_SOURCES = pulsecore/protocol-http.c pulsecore/protocol-http.h pulsecore/mime-type.c pulsecore/mime-type.h
970 libprotocol_http_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
971 libprotocol_http_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
973 libprotocol_native_la_SOURCES = pulsecore/protocol-native.c pulsecore/protocol-native.h pulsecore/native-common.h
974 libprotocol_native_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
975 libprotocol_native_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
977 libprotocol_esound_la_SOURCES = pulsecore/protocol-esound.c pulsecore/protocol-esound.h pulsecore/esound.h
978 libprotocol_esound_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
979 libprotocol_esound_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
981 librtp_la_SOURCES = \
982 modules/rtp/rtp.c modules/rtp/rtp.h \
983 modules/rtp/sdp.c modules/rtp/sdp.h \
984 modules/rtp/sap.c modules/rtp/sap.h \
985 modules/rtp/rtsp_client.c modules/rtp/rtsp_client.h \
986 modules/rtp/headerlist.c modules/rtp/headerlist.h
987 librtp_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
988 librtp_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
990 libraop_la_SOURCES = \
991 modules/raop/raop_client.c modules/raop/raop_client.h \
992 modules/raop/base64.c modules/raop/base64.h
993 libraop_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_CFLAGS) -I$(top_srcdir)/src/modules/rtp
994 libraop_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
995 libraop_la_LIBADD = $(AM_LIBADD) $(OPENSSL_LIBS) libpulsecore-@PA_MAJORMINOR@.la librtp.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
998 libavahi_wrap_la_SOURCES = pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
999 libavahi_wrap_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
1000 libavahi_wrap_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1001 libavahi_wrap_la_LIBADD = $(AM_LIBADD) $(AVAHI_CFLAGS) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1003 ###################################
1004 # Plug-in libraries #
1005 ###################################
1008 # Serveral module (e.g. libalsa-util.la)
1009 modlibexec_LTLIBRARIES += \
1010 module-console-kit.la
1013 modlibexec_LTLIBRARIES += \
1015 module-cli-protocol-tcp.la \
1016 module-simple-protocol-tcp.la \
1017 module-null-sink.la \
1018 module-sine-source.la \
1020 module-volume-restore.la \
1021 module-device-manager.la \
1022 module-device-restore.la \
1023 module-stream-restore.la \
1024 module-card-restore.la \
1025 module-default-device-restore.la \
1026 module-always-sink.la \
1027 module-rescue-streams.la \
1028 module-intended-roles.la \
1029 module-suspend-on-idle.la \
1030 module-echo-cancel.la \
1031 module-http-protocol-tcp.la \
1033 module-native-protocol-tcp.la \
1034 module-native-protocol-fd.la \
1035 module-esound-protocol-tcp.la \
1037 module-remap-sink.la \
1038 module-ladspa-sink.la \
1039 module-esound-sink.la \
1040 module-tunnel-sink.la \
1041 module-tunnel-source.la \
1042 module-position-event-sounds.la \
1043 module-augment-properties.la \
1044 module-cork-music-on-phone.la \
1045 module-loopback.la \
1046 module-virtual-sink.la \
1047 module-virtual-source.la
1049 # See comment at librtp.la above
1051 modlibexec_LTLIBRARIES += \
1052 module-rtp-send.la \
1057 modlibexec_LTLIBRARIES += \
1058 module-cli-protocol-unix.la \
1059 module-simple-protocol-unix.la \
1060 module-http-protocol-unix.la \
1061 module-native-protocol-unix.la \
1062 module-esound-protocol-unix.la
1066 modlibexec_LTLIBRARIES += \
1067 module-pipe-sink.la \
1068 module-pipe-source.la
1072 modlibexec_LTLIBRARIES += \
1073 module-esound-compat-spawnfd.la \
1074 module-esound-compat-spawnpid.la
1078 modlibexec_LTLIBRARIES += \
1083 modlibexec_LTLIBRARIES += \
1084 module-x11-bell.la \
1085 module-x11-publish.la \
1086 module-x11-xsmp.la \
1087 module-x11-cork-request.la
1091 modlibexec_LTLIBRARIES += \
1097 modlibexec_LTLIBRARIES += \
1098 module-coreaudio-detect.la \
1099 module-coreaudio-device.la
1102 pulselibexec_PROGRAMS =
1105 modlibexec_LTLIBRARIES += \
1107 module-alsa-sink.la \
1108 module-alsa-source.la \
1111 dist_alsaprofilesets_DATA = \
1112 modules/alsa/mixer/profile-sets/default.conf \
1113 modules/alsa/mixer/profile-sets/maudio-fasttrack-pro.conf \
1114 modules/alsa/mixer/profile-sets/native-instruments-audio4dj.conf \
1115 modules/alsa/mixer/profile-sets/native-instruments-audio8dj.conf \
1116 modules/alsa/mixer/profile-sets/native-instruments-traktor-audio6.conf \
1117 modules/alsa/mixer/profile-sets/native-instruments-traktor-audio10.conf \
1118 modules/alsa/mixer/profile-sets/native-instruments-traktorkontrol-s4.conf \
1119 modules/alsa/mixer/profile-sets/native-instruments-korecontroller.conf
1122 dist_udevrules_DATA = \
1123 modules/alsa/mixer/profile-sets/90-pulseaudio.rules
1126 dist_alsapaths_DATA = \
1127 modules/alsa/mixer/paths/analog-input-aux.conf \
1128 modules/alsa/mixer/paths/analog-input.conf \
1129 modules/alsa/mixer/paths/analog-input.conf.common \
1130 modules/alsa/mixer/paths/analog-input-fm.conf \
1131 modules/alsa/mixer/paths/analog-input-linein.conf \
1132 modules/alsa/mixer/paths/analog-input-mic.conf \
1133 modules/alsa/mixer/paths/analog-input-dock-mic.conf \
1134 modules/alsa/mixer/paths/analog-input-front-mic.conf \
1135 modules/alsa/mixer/paths/analog-input-internal-mic.conf \
1136 modules/alsa/mixer/paths/analog-input-rear-mic.conf \
1137 modules/alsa/mixer/paths/analog-input-mic.conf.common \
1138 modules/alsa/mixer/paths/analog-input-mic-line.conf \
1139 modules/alsa/mixer/paths/analog-input-tvtuner.conf \
1140 modules/alsa/mixer/paths/analog-input-video.conf \
1141 modules/alsa/mixer/paths/analog-output.conf \
1142 modules/alsa/mixer/paths/analog-output-speaker.conf \
1143 modules/alsa/mixer/paths/analog-output.conf.common \
1144 modules/alsa/mixer/paths/analog-output-desktop-speaker.conf \
1145 modules/alsa/mixer/paths/analog-output-headphones.conf \
1146 modules/alsa/mixer/paths/analog-output-headphones-2.conf \
1147 modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf \
1148 modules/alsa/mixer/paths/analog-output-mono.conf \
1149 modules/alsa/mixer/paths/iec958-stereo-output.conf \
1150 modules/alsa/mixer/paths/iec958-passthrough-output.conf
1155 modlibexec_LTLIBRARIES += \
1160 modlibexec_LTLIBRARIES += \
1161 module-zeroconf-publish.la \
1162 module-zeroconf-discover.la
1166 modlibexec_LTLIBRARIES += \
1167 module-bonjour-publish.la
1171 modlibexec_LTLIBRARIES += \
1176 modlibexec_LTLIBRARIES += \
1177 module-mmkbd-evdev.la
1181 modlibexec_LTLIBRARIES += \
1182 module-jack-sink.la \
1183 module-jack-source.la
1186 modlibexec_LTLIBRARIES += \
1187 module-jackdbus-detect.la
1193 modlibexec_LTLIBRARIES += \
1196 pulselibexec_PROGRAMS += \
1201 modlibexec_LTLIBRARIES += \
1206 modlibexec_LTLIBRARIES += \
1207 module-hal-detect.la
1211 modlibexec_LTLIBRARIES += \
1212 module-hal-detect.la
1216 modlibexec_LTLIBRARIES += \
1217 module-udev-detect.la
1221 modlibexec_LTLIBRARIES += \
1222 module-rygel-media-server.la \
1223 module-dbus-protocol.la
1227 modlibexec_LTLIBRARIES += \
1228 libbluetooth-util.la \
1229 module-bluetooth-proximity.la \
1230 module-bluetooth-discover.la \
1231 libbluetooth-ipc.la \
1232 libbluetooth-sbc.la \
1233 module-bluetooth-device.la
1235 pulselibexec_PROGRAMS += \
1240 modlibexec_LTLIBRARIES += \
1244 modlibexec_LTLIBRARIES += \
1245 module-raop-discover.la
1250 modlibexec_LTLIBRARIES += \
1251 module-equalizer-sink.la
1252 bin_SCRIPTS += utils/qpaeq
1255 # These are generated by an M4 script
1257 module-cli-symdef.h \
1258 module-cli-protocol-tcp-symdef.h \
1259 module-cli-protocol-unix-symdef.h \
1260 module-pipe-sink-symdef.h \
1261 module-pipe-source-symdef.h \
1262 module-simple-protocol-tcp-symdef.h \
1263 module-simple-protocol-unix-symdef.h \
1264 module-esound-protocol-tcp-symdef.h \
1265 module-esound-protocol-unix-symdef.h \
1266 module-native-protocol-tcp-symdef.h \
1267 module-native-protocol-unix-symdef.h \
1268 module-native-protocol-fd-symdef.h \
1269 module-sine-symdef.h \
1270 module-combine-symdef.h \
1271 module-remap-sink-symdef.h \
1272 module-ladspa-sink-symdef.h \
1273 module-equalizer-sink-symdef.h \
1274 module-esound-compat-spawnfd-symdef.h \
1275 module-esound-compat-spawnpid-symdef.h \
1276 module-match-symdef.h \
1277 module-tunnel-sink-symdef.h \
1278 module-tunnel-source-symdef.h \
1279 module-null-sink-symdef.h \
1280 module-sine-source-symdef.h \
1281 module-esound-sink-symdef.h \
1282 module-zeroconf-publish-symdef.h \
1283 module-zeroconf-discover-symdef.h \
1284 module-bonjour-publish-symdef.h \
1285 module-lirc-symdef.h \
1286 module-mmkbd-evdev-symdef.h \
1287 module-http-protocol-tcp-symdef.h \
1288 module-http-protocol-unix-symdef.h \
1289 module-rygel-media-server-symdef.h \
1290 module-x11-bell-symdef.h \
1291 module-x11-publish-symdef.h \
1292 module-x11-xsmp-symdef.h \
1293 module-x11-cork-request-symdef.h \
1294 module-oss-symdef.h \
1295 module-alsa-sink-symdef.h \
1296 module-alsa-source-symdef.h \
1297 module-alsa-card-symdef.h \
1298 module-coreaudio-detect-symdef.h \
1299 module-coreaudio-device-symdef.h \
1300 module-solaris-symdef.h \
1301 module-waveout-symdef.h \
1302 module-detect-symdef.h \
1303 module-rtp-send-symdef.h \
1304 module-rtp-recv-symdef.h \
1305 module-jackdbus-detect-symdef.h \
1306 module-jack-sink-symdef.h \
1307 module-jack-source-symdef.h \
1308 module-volume-restore-symdef.h \
1309 module-device-manager-symdef.h \
1310 module-device-restore-symdef.h \
1311 module-stream-restore-symdef.h \
1312 module-card-restore-symdef.h \
1313 module-default-device-restore-symdef.h \
1314 module-always-sink-symdef.h \
1315 module-rescue-streams-symdef.h \
1316 module-intended-roles-symdef.h \
1317 module-suspend-on-idle-symdef.h \
1318 module-echo-cancel-symdef.h \
1319 module-hal-detect-symdef.h \
1320 module-udev-detect-symdef.h \
1321 module-bluetooth-proximity-symdef.h \
1322 module-bluetooth-discover-symdef.h \
1323 module-bluetooth-device-symdef.h \
1324 module-raop-sink-symdef.h \
1325 module-raop-discover-symdef.h \
1326 module-gconf-symdef.h \
1327 module-position-event-sounds-symdef.h \
1328 module-augment-properties-symdef.h \
1329 module-cork-music-on-phone-symdef.h \
1330 module-console-kit-symdef.h \
1331 module-dbus-protocol-symdef.h \
1332 module-loopback-symdef.h \
1333 module-virtual-sink-symdef.h \
1334 module-virtual-source-symdef.h
1336 EXTRA_DIST += $(SYMDEF_FILES)
1337 BUILT_SOURCES += $(SYMDEF_FILES) builddirs
1339 $(SYMDEF_FILES): modules/module-defs.h.m4
1340 $(AM_V_at)$(MKDIR_P) modules
1341 $(AM_V_GEN)$(M4) -Dfname="$@" $< > $@
1345 $(AM_V_at)$(MKDIR_P) daemon modules
1349 module_simple_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1350 module_simple_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1351 module_simple_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1352 module_simple_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-simple.la
1354 module_simple_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1355 module_simple_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1356 module_simple_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1357 module_simple_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-simple.la
1361 module_cli_la_SOURCES = modules/module-cli.c
1362 module_cli_la_LDFLAGS = $(MODULE_LDFLAGS)
1363 module_cli_la_LIBADD = $(MODULE_LIBADD) libcli.la
1365 module_cli_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1366 module_cli_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1367 module_cli_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1368 module_cli_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-cli.la
1370 module_cli_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1371 module_cli_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1372 module_cli_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1373 module_cli_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-cli.la
1377 module_http_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1378 module_http_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1379 module_http_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1380 module_http_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-http.la
1382 module_http_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1383 module_http_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1384 module_http_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1385 module_http_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-http.la
1389 module_dbus_protocol_la_SOURCES = \
1390 modules/dbus/iface-card.c modules/dbus/iface-card.h \
1391 modules/dbus/iface-card-profile.c modules/dbus/iface-card-profile.h \
1392 modules/dbus/iface-client.c modules/dbus/iface-client.h \
1393 modules/dbus/iface-core.c modules/dbus/iface-core.h \
1394 modules/dbus/iface-device.c modules/dbus/iface-device.h \
1395 modules/dbus/iface-device-port.c modules/dbus/iface-device-port.h \
1396 modules/dbus/iface-memstats.c modules/dbus/iface-memstats.h \
1397 modules/dbus/iface-module.c modules/dbus/iface-module.h \
1398 modules/dbus/iface-sample.c modules/dbus/iface-sample.h \
1399 modules/dbus/iface-stream.c modules/dbus/iface-stream.h \
1400 modules/dbus/module-dbus-protocol.c
1401 module_dbus_protocol_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1402 module_dbus_protocol_la_LDFLAGS = $(MODULE_LDFLAGS)
1403 module_dbus_protocol_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1407 module_native_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1408 module_native_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1409 module_native_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1410 module_native_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1412 module_native_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1413 module_native_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1414 module_native_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1415 module_native_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1417 module_native_protocol_fd_la_SOURCES = modules/module-native-protocol-fd.c
1418 module_native_protocol_fd_la_CFLAGS = $(AM_CFLAGS)
1419 module_native_protocol_fd_la_LDFLAGS = $(MODULE_LDFLAGS)
1420 module_native_protocol_fd_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1424 module_esound_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1425 module_esound_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1426 module_esound_protocol_tcp_la_LDFLAGS = $(MODULE_LDFLAGS)
1427 module_esound_protocol_tcp_la_LIBADD = $(MODULE_LIBADD) libprotocol-esound.la
1429 module_esound_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1430 module_esound_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1431 module_esound_protocol_unix_la_LDFLAGS = $(MODULE_LDFLAGS)
1432 module_esound_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-esound.la
1434 module_esound_compat_spawnfd_la_SOURCES = modules/module-esound-compat-spawnfd.c
1435 module_esound_compat_spawnfd_la_LDFLAGS = $(MODULE_LDFLAGS)
1436 module_esound_compat_spawnfd_la_LIBADD = $(MODULE_LIBADD)
1438 module_esound_compat_spawnpid_la_SOURCES = modules/module-esound-compat-spawnpid.c
1439 module_esound_compat_spawnpid_la_LDFLAGS = $(MODULE_LDFLAGS)
1440 module_esound_compat_spawnpid_la_LIBADD = $(MODULE_LIBADD)
1442 module_esound_sink_la_SOURCES = modules/module-esound-sink.c
1443 module_esound_sink_la_LDFLAGS = $(MODULE_LDFLAGS) $(WINSOCK_LIBS)
1444 module_esound_sink_la_LIBADD = $(MODULE_LIBADD)
1448 module_pipe_sink_la_SOURCES = modules/module-pipe-sink.c
1449 module_pipe_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1450 module_pipe_sink_la_LIBADD = $(MODULE_LIBADD)
1452 module_pipe_source_la_SOURCES = modules/module-pipe-source.c
1453 module_pipe_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1454 module_pipe_source_la_LIBADD = $(MODULE_LIBADD)
1456 # Fake sources/sinks
1458 module_sine_la_SOURCES = modules/module-sine.c
1459 module_sine_la_LDFLAGS = $(MODULE_LDFLAGS)
1460 module_sine_la_LIBADD = $(MODULE_LIBADD)
1462 module_null_sink_la_SOURCES = modules/module-null-sink.c
1463 module_null_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1464 module_null_sink_la_LIBADD = $(MODULE_LIBADD)
1466 module_sine_source_la_SOURCES = modules/module-sine-source.c
1467 module_sine_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1468 module_sine_source_la_LIBADD = $(MODULE_LIBADD)
1472 module_combine_la_SOURCES = modules/module-combine.c
1473 module_combine_la_LDFLAGS = $(MODULE_LDFLAGS)
1474 module_combine_la_LIBADD = $(MODULE_LIBADD)
1476 module_remap_sink_la_SOURCES = modules/module-remap-sink.c
1477 module_remap_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1478 module_remap_sink_la_LIBADD = $(MODULE_LIBADD)
1480 module_ladspa_sink_la_SOURCES = modules/module-ladspa-sink.c modules/ladspa.h
1481 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)
1482 module_ladspa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1483 module_ladspa_sink_la_LIBADD = $(MODULE_LIBADD) $(LIBLTDL)
1485 module_equalizer_sink_la_SOURCES = modules/module-equalizer-sink.c
1486 module_equalizer_sink_la_CFLAGS = $(AM_CFLAGS) $(FFTW_CFLAGS)
1487 module_equalizer_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1488 module_equalizer_sink_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(FFTW_LIBS)
1490 module_match_la_SOURCES = modules/module-match.c
1491 module_match_la_LDFLAGS = $(MODULE_LDFLAGS)
1492 module_match_la_LIBADD = $(MODULE_LIBADD)
1494 module_tunnel_sink_la_SOURCES = modules/module-tunnel.c
1495 module_tunnel_sink_la_CFLAGS = -DTUNNEL_SINK=1 $(AM_CFLAGS)
1496 module_tunnel_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1497 module_tunnel_sink_la_LIBADD = $(MODULE_LIBADD)
1499 module_tunnel_source_la_SOURCES = modules/module-tunnel.c
1500 module_tunnel_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1501 module_tunnel_source_la_LIBADD = $(MODULE_LIBADD)
1503 module_loopback_la_SOURCES = modules/module-loopback.c
1504 module_loopback_la_LDFLAGS = $(MODULE_LDFLAGS)
1505 module_loopback_la_LIBADD = $(MODULE_LIBADD)
1507 module_virtual_sink_la_SOURCES = modules/module-virtual-sink.c
1508 module_virtual_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1509 module_virtual_sink_la_LIBADD = $(MODULE_LIBADD)
1511 module_virtual_source_la_SOURCES = modules/module-virtual-source.c
1512 module_virtual_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1513 module_virtual_source_la_LIBADD = $(MODULE_LIBADD)
1517 module_x11_bell_la_SOURCES = modules/x11/module-x11-bell.c
1518 module_x11_bell_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1519 module_x11_bell_la_LDFLAGS = $(MODULE_LDFLAGS)
1520 module_x11_bell_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1522 module_x11_publish_la_SOURCES = modules/x11/module-x11-publish.c
1523 module_x11_publish_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1524 module_x11_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1525 module_x11_publish_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la $(X11_LIBS)
1527 module_x11_xsmp_la_SOURCES = modules/x11/module-x11-xsmp.c
1528 module_x11_xsmp_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1529 module_x11_xsmp_la_LDFLAGS = $(MODULE_LDFLAGS)
1530 module_x11_xsmp_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1532 module_x11_cork_request_la_SOURCES = modules/x11/module-x11-cork-request.c
1533 module_x11_cork_request_la_CFLAGS = $(AM_CFLAGS) $(X11_CFLAGS)
1534 module_x11_cork_request_la_LDFLAGS = $(MODULE_LDFLAGS)
1535 module_x11_cork_request_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
1539 liboss_util_la_SOURCES = modules/oss/oss-util.c modules/oss/oss-util.h
1540 liboss_util_la_LDFLAGS = -avoid-version
1541 liboss_util_la_LIBADD = $(MODULE_LIBADD)
1543 module_oss_la_SOURCES = modules/oss/module-oss.c
1544 module_oss_la_LDFLAGS = $(MODULE_LDFLAGS)
1545 module_oss_la_LIBADD = $(MODULE_LIBADD) liboss-util.la
1549 module_coreaudio_detect_la_SOURCES = modules/macosx/module-coreaudio-detect.c
1550 module_coreaudio_detect_la_LDFLAGS = $(MODULE_LDFLAGS) \
1551 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1552 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1553 module_coreaudio_detect_la_LIBADD = $(MODULE_LIBADD)
1555 module_coreaudio_device_la_SOURCES = modules/macosx/module-coreaudio-device.c
1556 module_coreaudio_device_la_LDFLAGS = $(MODULE_LDFLAGS) \
1557 -Wl,-framework -Wl,Cocoa -framework CoreAudio \
1558 -Wl,-framework -Wl,AudioUnit -framework AudioUnit
1559 module_coreaudio_device_la_LIBADD = $(MODULE_LIBADD)
1563 libalsa_util_la_SOURCES = \
1564 modules/alsa/alsa-util.c modules/alsa/alsa-util.h \
1565 modules/alsa/alsa-mixer.c modules/alsa/alsa-mixer.h \
1566 modules/alsa/alsa-sink.c modules/alsa/alsa-sink.h \
1567 modules/alsa/alsa-source.c modules/alsa/alsa-source.h \
1568 modules/reserve-wrap.c modules/reserve-wrap.h
1569 libalsa_util_la_LDFLAGS = -avoid-version
1570 libalsa_util_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS)
1571 libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1574 libalsa_util_la_SOURCES += modules/hal-util.h modules/hal-util.c
1575 libalsa_util_la_LIBADD += $(HAL_LIBS)
1576 libalsa_util_la_CFLAGS += $(HAL_CFLAGS)
1580 libalsa_util_la_SOURCES += modules/udev-util.h modules/udev-util.c
1581 libalsa_util_la_LIBADD += $(UDEV_LIBS)
1582 libalsa_util_la_CFLAGS += $(UDEV_CFLAGS)
1586 libalsa_util_la_SOURCES += modules/reserve.h modules/reserve.c modules/reserve-monitor.h modules/reserve-monitor.c
1587 libalsa_util_la_LIBADD += $(DBUS_LIBS)
1588 libalsa_util_la_CFLAGS += $(DBUS_CFLAGS)
1591 module_alsa_sink_la_SOURCES = modules/alsa/module-alsa-sink.c
1592 module_alsa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1593 module_alsa_sink_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1594 module_alsa_sink_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1596 module_alsa_source_la_SOURCES = modules/alsa/module-alsa-source.c
1597 module_alsa_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1598 module_alsa_source_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1599 module_alsa_source_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1601 module_alsa_card_la_SOURCES = modules/alsa/module-alsa-card.c
1602 module_alsa_card_la_LDFLAGS = $(MODULE_LDFLAGS)
1603 module_alsa_card_la_LIBADD = $(MODULE_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la
1604 module_alsa_card_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1608 module_solaris_la_SOURCES = modules/module-solaris.c
1609 module_solaris_la_LDFLAGS = $(MODULE_LDFLAGS)
1610 module_solaris_la_LIBADD = $(MODULE_LIBADD)
1614 module_zeroconf_publish_la_SOURCES = modules/module-zeroconf-publish.c
1615 module_zeroconf_publish_la_LDFLAGS = $(MODULE_LDFLAGS)
1616 module_zeroconf_publish_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libprotocol-native.la
1617 module_zeroconf_publish_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1619 module_zeroconf_discover_la_SOURCES = modules/module-zeroconf-discover.c
1620 module_zeroconf_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1621 module_zeroconf_discover_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la
1622 module_zeroconf_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1626 module_bonjour_publish_la_SOURCES = modules/macosx/module-bonjour-publish.c
1627 module_bonjour_publish_la_LDFLAGS = $(MODULE_LDFLAGS) \
1628 -Wl,-framework -Wl,CoreFoundation -framework CoreFoundation
1629 module_bonjour_publish_la_LIBADD = $(MODULE_LIBADD)
1633 module_lirc_la_SOURCES = modules/module-lirc.c
1634 module_lirc_la_LDFLAGS = $(MODULE_LDFLAGS)
1635 module_lirc_la_LIBADD = $(MODULE_LIBADD) $(LIRC_LIBS)
1636 module_lirc_la_CFLAGS = $(AM_CFLAGS) $(LIRC_CFLAGS)
1640 module_mmkbd_evdev_la_SOURCES = modules/module-mmkbd-evdev.c
1641 module_mmkbd_evdev_la_LDFLAGS = $(MODULE_LDFLAGS)
1642 module_mmkbd_evdev_la_LIBADD = $(MODULE_LIBADD)
1643 module_mmkbd_evdev_la_CFLAGS = $(AM_CFLAGS)
1646 module_waveout_la_SOURCES = modules/module-waveout.c
1647 module_waveout_la_LDFLAGS = $(MODULE_LDFLAGS)
1648 module_waveout_la_LIBADD = $(MODULE_LIBADD) -lwinmm
1649 module_waveout_la_CFLAGS = $(AM_CFLAGS)
1651 # Hardware autodetection module
1652 module_detect_la_SOURCES = modules/module-detect.c
1653 module_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1654 module_detect_la_LIBADD = $(MODULE_LIBADD)
1655 module_detect_la_CFLAGS = $(AM_CFLAGS)
1657 # Volume restore module
1658 module_volume_restore_la_SOURCES = modules/module-volume-restore.c
1659 module_volume_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1660 module_volume_restore_la_LIBADD = $(MODULE_LIBADD)
1661 module_volume_restore_la_CFLAGS = $(AM_CFLAGS)
1663 # Position event sounds in space
1664 module_position_event_sounds_la_SOURCES = modules/module-position-event-sounds.c
1665 module_position_event_sounds_la_LDFLAGS = $(MODULE_LDFLAGS)
1666 module_position_event_sounds_la_LIBADD = $(MODULE_LIBADD)
1667 module_position_event_sounds_la_CFLAGS = $(AM_CFLAGS)
1669 # Augment properties from XDG .desktop files
1670 module_augment_properties_la_SOURCES = modules/module-augment-properties.c
1671 module_augment_properties_la_LDFLAGS = $(MODULE_LDFLAGS)
1672 module_augment_properties_la_LIBADD = $(MODULE_LIBADD)
1673 #module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"$(datadir)/applications\"
1674 module_augment_properties_la_CFLAGS = $(AM_CFLAGS) -DDESKTOPFILEDIR=\"/usr/share/applications\"
1676 # Cork music streams while a phone stream is active
1677 module_cork_music_on_phone_la_SOURCES = modules/module-cork-music-on-phone.c
1678 module_cork_music_on_phone_la_LDFLAGS = $(MODULE_LDFLAGS)
1679 module_cork_music_on_phone_la_LIBADD = $(MODULE_LIBADD)
1680 module_cork_music_on_phone_la_CFLAGS = $(AM_CFLAGS)
1682 # Device description restore module
1683 module_device_manager_la_SOURCES = modules/module-device-manager.c
1684 module_device_manager_la_LDFLAGS = $(MODULE_LDFLAGS)
1685 module_device_manager_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1686 module_device_manager_la_CFLAGS = $(AM_CFLAGS)
1688 # Device volume/muted restore module
1689 module_device_restore_la_SOURCES = modules/module-device-restore.c
1690 module_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1691 module_device_restore_la_LIBADD = $(MODULE_LIBADD)
1692 module_device_restore_la_CFLAGS = $(AM_CFLAGS)
1694 # Stream volume/muted/device restore module
1695 module_stream_restore_la_SOURCES = modules/module-stream-restore.c
1696 module_stream_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1697 module_stream_restore_la_LIBADD = $(MODULE_LIBADD) libprotocol-native.la
1698 module_stream_restore_la_CFLAGS = $(AM_CFLAGS)
1701 module_stream_restore_la_LIBADD += $(DBUS_LIBS)
1702 module_stream_restore_la_CFLAGS += $(DBUS_CFLAGS)
1705 # Card profile restore module
1706 module_card_restore_la_SOURCES = modules/module-card-restore.c
1707 module_card_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1708 module_card_restore_la_LIBADD = $(MODULE_LIBADD)
1709 module_card_restore_la_CFLAGS = $(AM_CFLAGS)
1711 # Default sink/source restore module
1712 module_default_device_restore_la_SOURCES = modules/module-default-device-restore.c
1713 module_default_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
1714 module_default_device_restore_la_LIBADD = $(MODULE_LIBADD)
1715 module_default_device_restore_la_CFLAGS = $(AM_CFLAGS)
1717 # Always Sink module
1718 module_always_sink_la_SOURCES = modules/module-always-sink.c
1719 module_always_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1720 module_always_sink_la_LIBADD = $(MODULE_LIBADD)
1721 module_always_sink_la_CFLAGS = $(AM_CFLAGS)
1723 # Rescue streams module
1724 module_rescue_streams_la_SOURCES = modules/module-rescue-streams.c
1725 module_rescue_streams_la_LDFLAGS = $(MODULE_LDFLAGS)
1726 module_rescue_streams_la_LIBADD = $(MODULE_LIBADD)
1727 module_rescue_streams_la_CFLAGS = $(AM_CFLAGS)
1729 # Automatically move streams to devices that are intended for their roles
1730 module_intended_roles_la_SOURCES = modules/module-intended-roles.c
1731 module_intended_roles_la_LDFLAGS = $(MODULE_LDFLAGS)
1732 module_intended_roles_la_LIBADD = $(MODULE_LIBADD)
1733 module_intended_roles_la_CFLAGS = $(AM_CFLAGS)
1735 # Suspend-on-idle module
1736 module_suspend_on_idle_la_SOURCES = modules/module-suspend-on-idle.c
1737 module_suspend_on_idle_la_LDFLAGS = $(MODULE_LDFLAGS)
1738 module_suspend_on_idle_la_LIBADD = $(MODULE_LIBADD)
1739 module_suspend_on_idle_la_CFLAGS = $(AM_CFLAGS)
1741 # echo-cancel module
1742 module_echo_cancel_la_SOURCES = \
1743 modules/echo-cancel/module-echo-cancel.c modules/echo-cancel/echo-cancel.h \
1744 modules/echo-cancel/speex.c \
1745 modules/echo-cancel/adrian-aec.c modules/echo-cancel/adrian-aec.h \
1746 modules/echo-cancel/adrian.c modules/echo-cancel/adrian.h
1747 module_echo_cancel_la_LDFLAGS = $(MODULE_LDFLAGS)
1748 module_echo_cancel_la_LIBADD = $(MODULE_LIBADD) $(LIBSPEEX_LIBS)
1749 module_echo_cancel_la_CFLAGS = $(AM_CFLAGS) $(LIBSPEEX_CFLAGS)
1751 ORC_SOURCE += modules/echo-cancel/adrian-aec
1752 nodist_module_echo_cancel_la_SOURCES = \
1753 modules/echo-cancel/adrian-aec-orc-gen.c \
1754 modules/echo-cancel/adrian-aec-orc-gen.h
1755 module_echo_cancel_la_LIBADD += $(ORC_LIBS)
1756 module_echo_cancel_la_CFLAGS += $(ORC_CFLAGS) -I$(top_builddir)/src/modules/echo-cancel
1760 module_rtp_send_la_SOURCES = modules/rtp/module-rtp-send.c
1761 module_rtp_send_la_LDFLAGS = $(MODULE_LDFLAGS)
1762 module_rtp_send_la_LIBADD = $(MODULE_LIBADD) librtp.la
1763 module_rtp_send_la_CFLAGS = $(AM_CFLAGS)
1765 module_rtp_recv_la_SOURCES = modules/rtp/module-rtp-recv.c
1766 module_rtp_recv_la_LDFLAGS = $(MODULE_LDFLAGS)
1767 module_rtp_recv_la_LIBADD = $(MODULE_LIBADD) librtp.la
1768 module_rtp_recv_la_CFLAGS = $(AM_CFLAGS)
1772 module_jackdbus_detect_la_SOURCES = modules/jack/module-jackdbus-detect.c
1773 module_jackdbus_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1774 module_jackdbus_detect_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(JACK_LIBS)
1775 module_jackdbus_detect_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) $(JACK_CFLAGS)
1777 module_jack_sink_la_SOURCES = modules/jack/module-jack-sink.c
1778 module_jack_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1779 module_jack_sink_la_LIBADD = $(MODULE_LIBADD) $(JACK_LIBS)
1780 module_jack_sink_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1782 module_jack_source_la_SOURCES = modules/jack/module-jack-source.c
1783 module_jack_source_la_LDFLAGS = $(MODULE_LDFLAGS)
1784 module_jack_source_la_LIBADD = $(MODULE_LIBADD) $(JACK_LIBS)
1785 module_jack_source_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1788 module_hal_detect_la_SOURCES = modules/module-hal-detect-compat.c
1789 module_hal_detect_la_LIBADD = $(MODULE_LIBADD)
1790 module_hal_detect_la_CFLAGS = $(AM_CFLAGS)
1792 module_hal_detect_la_SOURCES = modules/module-hal-detect.c
1793 module_hal_detect_la_LIBADD = $(MODULE_LIBADD) $(HAL_LIBS)
1794 module_hal_detect_la_CFLAGS = $(AM_CFLAGS) $(HAL_CFLAGS)
1796 module_hal_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1798 module_udev_detect_la_SOURCES = modules/module-udev-detect.c
1799 module_udev_detect_la_LDFLAGS = $(MODULE_LDFLAGS)
1800 module_udev_detect_la_LIBADD = $(MODULE_LIBADD) $(UDEV_LIBS)
1801 module_udev_detect_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
1803 module_console_kit_la_SOURCES = modules/module-console-kit.c
1804 module_console_kit_la_LDFLAGS = $(MODULE_LDFLAGS)
1805 module_console_kit_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1806 module_console_kit_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1809 module_gconf_la_SOURCES = modules/gconf/module-gconf.c
1810 module_gconf_la_LDFLAGS = $(MODULE_LDFLAGS)
1811 module_gconf_la_LIBADD = $(MODULE_LIBADD)
1812 module_gconf_la_CFLAGS = $(AM_CFLAGS) -DPA_GCONF_HELPER=\"$(pulselibexecdir)/gconf-helper\"
1814 gconf_helper_SOURCES = modules/gconf/gconf-helper.c
1815 gconf_helper_LDADD = $(AM_LDADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(GCONF_LIBS)
1816 gconf_helper_CFLAGS = $(AM_CFLAGS) $(GCONF_CFLAGS)
1817 gconf_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1819 # Bluetooth proximity
1820 module_bluetooth_proximity_la_SOURCES = modules/bluetooth/module-bluetooth-proximity.c
1821 module_bluetooth_proximity_la_LDFLAGS = $(MODULE_LDFLAGS)
1822 module_bluetooth_proximity_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1823 module_bluetooth_proximity_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -DPA_BT_PROXIMITY_HELPER=\"$(pulselibexecdir)/proximity-helper\"
1825 proximity_helper_SOURCES = modules/bluetooth/proximity-helper.c
1826 proximity_helper_LDADD = $(AM_LDADD) $(BLUEZ_LIBS)
1827 proximity_helper_CFLAGS = $(AM_CFLAGS) $(BLUEZ_CFLAGS)
1828 proximity_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1830 # Bluetooth sink / source
1831 module_bluetooth_discover_la_SOURCES = modules/bluetooth/module-bluetooth-discover.c
1832 module_bluetooth_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1833 module_bluetooth_discover_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libbluetooth-util.la
1834 module_bluetooth_discover_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1836 libbluetooth_sbc_la_SOURCES = \
1837 modules/bluetooth/sbc/sbc.c modules/bluetooth/sbc/sbc.h \
1838 modules/bluetooth/sbc/sbc_primitives.c modules/bluetooth/sbc/sbc_primitives.h \
1839 modules/bluetooth/sbc/sbc_primitives_armv6.h modules/bluetooth/sbc/sbc_primitives_armv6.c \
1840 modules/bluetooth/sbc/sbc_primitives_iwmmxt.h modules/bluetooth/sbc/sbc_primitives_iwmmxt.c \
1841 modules/bluetooth/sbc/sbc_primitives_mmx.c modules/bluetooth/sbc/sbc_primitives_mmx.h \
1842 modules/bluetooth/sbc/sbc_primitives_neon.c modules/bluetooth/sbc/sbc_primitives_neon.h \
1843 modules/bluetooth/sbc/sbc_math.h \
1844 modules/bluetooth/sbc/sbc_tables.h
1845 libbluetooth_sbc_la_LDFLAGS = -avoid-version
1846 libbluetooth_sbc_la_LIBADD = $(MODULE_LIBADD)
1847 libbluetooth_sbc_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/src/modules/bluetooth/sbc
1848 BLUETOOTH_SBC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_sbc_la_SOURCES))
1850 libbluetooth_ipc_la_SOURCES = \
1851 modules/bluetooth/a2dp-codecs.h \
1852 modules/bluetooth/ipc.c modules/bluetooth/ipc.h
1853 libbluetooth_ipc_la_LDFLAGS = -avoid-version
1854 libbluetooth_ipc_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
1855 libbluetooth_ipc_la_CFLAGS = $(AM_CFLAGS)
1856 BLUETOOTH_IPC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_ipc_la_SOURCES)) rtp.h
1858 libbluetooth_util_la_SOURCES = modules/bluetooth/bluetooth-util.c modules/bluetooth/bluetooth-util.h
1859 libbluetooth_util_la_LDFLAGS = -avoid-version
1860 libbluetooth_util_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS)
1861 libbluetooth_util_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1863 module_bluetooth_device_la_SOURCES = modules/bluetooth/module-bluetooth-device.c modules/bluetooth/rtp.h
1864 module_bluetooth_device_la_LDFLAGS = $(MODULE_LDFLAGS)
1865 module_bluetooth_device_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libbluetooth-util.la libbluetooth-ipc.la libbluetooth-sbc.la
1866 module_bluetooth_device_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -I$(top_srcdir)/src/modules/bluetooth/sbc
1868 # Apple Airtunes/RAOP
1869 module_raop_sink_la_SOURCES = modules/raop/module-raop-sink.c
1870 module_raop_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
1871 module_raop_sink_la_LIBADD = $(MODULE_LIBADD) librtp.la libraop.la
1872 module_raop_sink_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/src/modules/rtp
1874 module_raop_discover_la_SOURCES = modules/raop/module-raop-discover.c
1875 module_raop_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
1876 module_raop_discover_la_LIBADD = $(MODULE_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la
1877 module_raop_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1880 module_rygel_media_server_la_SOURCES = modules/module-rygel-media-server.c
1881 module_rygel_media_server_la_LDFLAGS = $(MODULE_LDFLAGS)
1882 module_rygel_media_server_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libprotocol-http.la
1883 module_rygel_media_server_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1885 ###################################
1886 # Some minor stuff #
1887 ###################################
1889 CLEANFILES += esdcompat client.conf default.pa system.pa daemon.conf start-pulseaudio-x11 start-pulseaudio-kde daemon/pulseaudio.desktop daemon/pulseaudio-kde.desktop
1891 esdcompat: daemon/esdcompat.in Makefile
1892 $(AM_V_GEN) sed -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1893 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1894 -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1895 $(AM_V_at) chmod +x esdcompat
1897 start-pulseaudio-x11: daemon/start-pulseaudio-x11.in Makefile
1898 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1899 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1900 $(AM_V_at) chmod +x start-pulseaudio-x11
1902 start-pulseaudio-kde: daemon/start-pulseaudio-kde.in Makefile
1903 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1904 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1905 $(AM_V_at) chmod +x start-pulseaudio-kde
1907 client.conf: pulse/client.conf.in Makefile
1908 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1911 default.pa: daemon/default.pa.win32
1913 system.pa: daemon/default.pa.win32
1916 default.pa: daemon/default.pa.in Makefile
1917 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1918 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1919 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1920 system.pa: daemon/system.pa.in Makefile
1921 $(AM_V_GEN) sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1922 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1923 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1926 daemon.conf: daemon/daemon.conf.in Makefile
1927 $(AM_V_GEN) sed -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1928 -e 's,@PA_DEFAULT_CONFIG_FILE\@,$(DEFAULT_CONFIG_DIR),g' < $< > $@
1931 SYMLINK_PROGRAM=cd $(DESTDIR)$(bindir) && cp
1933 SYMLINK_PROGRAM=ln -sf
1937 -chown root $(DESTDIR)$(pulselibexecdir)/proximity-helper
1938 -chmod u+s $(DESTDIR)$(pulselibexecdir)/proximity-helper
1940 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/parec$(EXEEXT)
1941 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/pamon$(EXEEXT)
1942 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/paplay$(EXEEXT)
1943 $(SYMLINK_PROGRAM) pacat$(EXEEXT) $(DESTDIR)$(bindir)/parecord$(EXEEXT)
1944 rm -f $(DESTDIR)$(libdir)/libpulsedsp.la
1945 rm -f $(DESTDIR)$(modlibexecdir)/*.la
1948 rm -f $(DESTDIR)$(bindir)/parec$(EXEEXT)
1949 rm -f $(DESTDIR)$(bindir)/pamon$(EXEEXT)
1950 rm -f $(DESTDIR)$(bindir)/paplay$(EXEEXT)
1951 rm -f $(DESTDIR)$(bindir)/parecord$(EXEEXT)
1952 rm -f $(DESTDIR)$(libdir)/libpulsedsp.*
1953 rm -f $(DESTDIR)$(modlibexecdir)/*.so
1956 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
1959 wget -O pulsecore/ffmpeg/resample2.c http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/resample2.c?view=co
1961 # We get things twice here, because sometimes gitweb will us just give a "Generating..." otherwise.
1963 for i in $(BLUETOOTH_SBC_FILES) ; do \
1964 wget -O /dev/null http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=$$i ; \
1965 wget -O $(top_srcdir)/src/modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=$$i ; \
1967 for i in $(BLUETOOTH_IPC_FILES); do \
1968 wget -O /dev/null http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
1969 wget -O $(top_srcdir)/src/modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
1973 for i in reserve.c reserve.h reserve-monitor.c reserve-monitor.h ; do \
1974 wget -O $(top_srcdir)/src/modules/$$i http://git.0pointer.de/\?p=reserve.git\;a=blob_plain\;f=$$i\;hb=master ; \
1978 for i in rtkit.c rtkit.h ; do \
1979 wget -O $(top_srcdir)/src/pulsecore/$$i http://git.0pointer.de/\?p=rtkit.git\;a=blob_plain\;f=$$i\;hb=master ; \
1982 # Automatically generate linker version script. We use the same one for all public .sos
1984 ( echo "PULSE_0 {" ; \
1986 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 ; \
1989 echo "};" ) > $(srcdir)/map-file
1991 update-all: update-ffmpeg update-sbc update-map-file
1993 .PHONY: utils/padsp massif update-all update-ffmpeg update-sbc update-map-file