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
33 ###################################
35 ###################################
37 PA_BINARY=$(bindir)/pulseaudio$(EXEEXT)
39 PA_DEFAULT_CONFIG_DIR=%PULSE_ROOT%
41 PA_DEFAULT_CONFIG_DIR=$(pulseconfdir)
44 ###################################
45 # Compiler/linker flags #
46 ###################################
48 AM_CFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src/modules -I$(top_builddir)/src/modules/rtp -I$(top_builddir)/src/modules/gconf -I$(top_builddir)/src/modules/bluetooth
49 AM_CFLAGS += $(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS
50 AM_CFLAGS += $(LTDLINCL)
51 AM_CFLAGS += $(LIBSAMPLERATE_CFLAGS) $(LIBSNDFILE_CFLAGS) $(LIBSPEEX_CFLAGS)
52 AM_CFLAGS += -DPA_DLSEARCHPATH=\"$(modlibexecdir)\"
53 AM_CFLAGS += -DPA_DEFAULT_CONFIG_DIR=\"$(PA_DEFAULT_CONFIG_DIR)\"
54 AM_CFLAGS += -DPA_BINARY=\"$(PA_BINARY)\"
55 AM_CFLAGS += -DPA_SYSTEM_RUNTIME_PATH=\"$(PA_SYSTEM_RUNTIME_PATH)\"
56 AM_CFLAGS += -DPA_SYSTEM_CONFIG_PATH=\"$(PA_SYSTEM_CONFIG_PATH)\"
57 AM_CFLAGS += -DPA_SYSTEM_STATE_PATH=\"$(PA_SYSTEM_STATE_PATH)\"
58 AM_CFLAGS += -DAO_REQUIRE_CAS
59 AM_CFLAGS += -DPULSE_LOCALEDIR=\"$(pulselocaledir)\"
60 AM_CFLAGS += -DPA_MACHINE_ID=\"$(localstatedir)/lib/dbus/machine-id\"
62 # This cool debug trap works on i386/gcc only
63 AM_CFLAGS += '-DDEBUG_TRAP=__asm__("int $$3")'
66 AM_CFLAGS += -I$(top_builddir)/src/modules/raop
69 AM_LIBADD = $(PTHREAD_LIBS) $(INTLLIBS)
70 AM_LDADD = $(PTHREAD_LIBS) $(INTLLIBS)
72 # Only required on some platforms but defined for all to avoid errors
73 AM_LDFLAGS = -Wl,-no-undefined -Wl,--gc-sections
80 AM_LDFLAGS+=-Wl,--export-all-symbols
81 WINSOCK_LIBS=-lwsock32 -lws2_32 -lwininet
86 pulsecore/mutex-win32.c pulsecore/mutex.h \
87 pulsecore/thread-win32.c pulsecore/thread.h \
88 pulsecore/semaphore-win32.c pulsecore/semaphore.h
91 pulsecore/mutex-posix.c pulsecore/mutex.h \
92 pulsecore/thread-posix.c pulsecore/thread.h \
93 pulsecore/semaphore-posix.c pulsecore/semaphore.h
97 ###################################
99 ###################################
102 pulse/client.conf.in \
104 daemon/daemon.conf.in \
105 daemon/default.pa.in \
106 daemon/system.pa.in \
107 daemon/default.pa.win32 \
109 daemon/esdcompat.in \
110 daemon/start-pulseaudio-x11.in \
112 modules/module-defs.h.m4 \
113 daemon/pulseaudio.desktop \
115 daemon/org.pulseaudio.policy
124 xdgautostart_DATA = \
125 daemon/pulseaudio.desktop
131 ###################################
133 ###################################
135 bin_PROGRAMS = pulseaudio
137 pulseaudio_SOURCES = \
138 daemon/caps.h daemon/caps.c \
139 daemon/cmdline.c daemon/cmdline.h \
140 daemon/cpulimit.c daemon/cpulimit.h \
141 daemon/daemon-conf.c daemon/daemon-conf.h \
142 daemon/dumpmodules.c daemon/dumpmodules.h \
143 daemon/ltdl-bind-now.c daemon/ltdl-bind-now.h \
146 pulseaudio_CFLAGS = $(AM_CFLAGS) $(LIBOIL_CFLAGS) $(LIBSAMPLERATE_CFLAGS) $(LIBSPEEX_CFLAGS) $(LIBSNDFILE_CFLAGS) $(CAP_CFLAGS) $(LIBOIL_CFLAGS) $(DBUS_CFLAGS)
147 pulseaudio_CPPFLAGS = $(AM_CPPFLAGS)
148 pulseaudio_LDADD = $(AM_LDADD) libpulsecore.la $(LIBLTDL) $(LIBSAMPLERATE_LIBS) $(LIBSPEEX_LIBS) $(LIBSNDFILE_LIBS) $(CAP_LIBS) $(LIBOIL_LIBS) $(DBUS_LIBS)
149 # This is needed because automake doesn't properly expand the foreach below
150 pulseaudio_DEPENDENCIES = libpulsecore.la $(PREOPEN_LIBS)
153 PREOPEN_LIBS = $(PREOPEN_MODS)
155 PREOPEN_LIBS = $(modlibexec_LTLIBRARIES)
159 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) -dlpreopen force $(foreach f,$(PREOPEN_LIBS),-dlpreopen $(f))
161 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) -dlopen force $(foreach f,$(PREOPEN_LIBS),-dlopen $(f))
166 policy_DATA = daemon/org.pulseaudio.policy
168 pulseaudio_SOURCES += daemon/polkit.c daemon/polkit.h
169 pulseaudio_CFLAGS += $(POLKIT_CFLAGS)
170 pulseaudio_LDADD += $(POLKIT_LIBS)
175 ###################################
177 ###################################
186 bin_PROGRAMS += pacmd
190 bin_PROGRAMS += pax11publish
194 bin_PROGRAMS += pabrowse
197 bin_SCRIPTS = esdcompat start-pulseaudio-x11
199 pacat_SOURCES = utils/pacat.c
200 pacat_LDADD = $(AM_LDADD) libpulse.la
201 pacat_CFLAGS = $(AM_CFLAGS)
202 pacat_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
204 paplay_SOURCES = utils/paplay.c
205 paplay_LDADD = $(AM_LDADD) libpulse.la $(LIBSNDFILE_LIBS)
206 paplay_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
207 paplay_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
209 pactl_SOURCES = utils/pactl.c pulsecore/core-util.c pulsecore/core-util.h pulsecore/core-error.c pulsecore/core-error.h pulsecore/log.c pulsecore/log.h pulsecore/rtclock.c pulsecore/rtclock.h pulsecore/once.c pulsecore/once.h $(PA_THREAD_OBJS)
210 pactl_LDADD = $(AM_LDADD) libpulse.la $(LIBSNDFILE_LIBS)
211 pactl_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
212 pactl_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
214 pasuspender_SOURCES = utils/pasuspender.c pulsecore/core-util.c pulsecore/core-util.h pulsecore/core-error.c pulsecore/core-error.h pulsecore/log.c pulsecore/log.h pulsecore/rtclock.c pulsecore/rtclock.h pulsecore/once.c pulsecore/once.h $(PA_THREAD_OBJS)
215 pasuspender_LDADD = $(AM_LDADD) libpulse.la $(LIBSNDFILE_LIBS)
216 pasuspender_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
217 pasuspender_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
219 pacmd_SOURCES = utils/pacmd.c pulsecore/pid.c pulsecore/pid.h pulsecore/core-util.c pulsecore/core-util.h pulsecore/core-error.c pulsecore/core-error.h pulsecore/log.c pulsecore/log.h pulsecore/rtclock.c pulsecore/rtclock.h pulsecore/once.c pulsecore/once.h $(PA_THREAD_OBJS)
220 pacmd_CFLAGS = $(AM_CFLAGS)
221 pacmd_LDADD = $(AM_LDADD) libpulse.la
222 pacmd_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
224 pax11publish_SOURCES = utils/pax11publish.c pulsecore/x11prop.c pulsecore/x11prop.h pulse/client-conf.c pulse/client-conf.h pulsecore/authkey.h pulsecore/authkey.c pulsecore/random.h pulsecore/random.c pulsecore/conf-parser.c pulsecore/rtclock.c pulsecore/rtclock.h pulsecore/conf-parser.h pulsecore/core-util.c pulsecore/core-util.h pulsecore/core-error.c pulsecore/core-error.h pulsecore/log.c pulsecore/log.h pulsecore/once.c pulsecore/once.h $(PA_THREAD_OBJS)
225 pax11publish_CFLAGS = $(AM_CFLAGS) $(X_CFLAGS)
226 pax11publish_LDADD = $(AM_LDADD) libpulse.la $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS)
227 pax11publish_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
229 pabrowse_SOURCES = utils/pabrowse.c
230 pabrowse_LDADD = $(AM_LDADD) libpulse.la libpulse-browse.la
231 pabrowse_CFLAGS = $(AM_CFLAGS)
232 pabrowse_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
234 ###################################
236 ###################################
250 thread-mainloop-test \
252 get-binary-name-test \
271 lock-autospawn-test \
285 mainloop_test_SOURCES = tests/mainloop-test.c
286 mainloop_test_CFLAGS = $(AM_CFLAGS)
287 mainloop_test_LDADD = $(AM_LDADD) libpulse.la
288 mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
290 thread_mainloop_test_SOURCES = tests/thread-mainloop-test.c
291 thread_mainloop_test_CFLAGS = $(AM_CFLAGS)
292 thread_mainloop_test_LDADD = $(AM_LDADD) libpulsecore.la libpulse.la
293 thread_mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
295 utf8_test_SOURCES = tests/utf8-test.c
296 utf8_test_CFLAGS = $(AM_CFLAGS)
297 utf8_test_LDADD = $(AM_LDADD) libpulsecore.la
298 utf8_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
300 get_binary_name_test_SOURCES = tests/get-binary-name-test.c
301 get_binary_name_test_CFLAGS = $(AM_CFLAGS)
302 get_binary_name_test_LDADD = $(AM_LDADD) libpulse.la
303 get_binary_name_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
305 ipacl_test_SOURCES = tests/ipacl-test.c \
306 pulsecore/ipacl.c pulsecore/ipacl.h \
307 pulsecore/inet_pton.c pulsecore/inet_pton.h
308 ipacl_test_CFLAGS = $(AM_CFLAGS)
309 ipacl_test_LDADD = $(AM_LDADD) libpulsecore.la
310 ipacl_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
312 hook_list_test_SOURCES = tests/hook-list-test.c
313 hook_list_test_CFLAGS = $(AM_CFLAGS)
314 hook_list_test_LDADD = $(AM_LDADD) libpulsecore.la
315 hook_list_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
317 memblock_test_SOURCES = tests/memblock-test.c
318 memblock_test_CFLAGS = $(AM_CFLAGS)
319 memblock_test_LDADD = $(AM_LDADD) libpulsecore.la
320 memblock_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
322 thread_test_SOURCES = tests/thread-test.c
323 thread_test_CFLAGS = $(AM_CFLAGS)
324 thread_test_LDADD = $(AM_LDADD) libpulsecore.la
325 thread_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
327 flist_test_SOURCES = tests/flist-test.c
328 flist_test_CFLAGS = $(AM_CFLAGS)
329 flist_test_LDADD = $(AM_LDADD) libpulsecore.la
330 flist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
332 asyncq_test_SOURCES = tests/asyncq-test.c
333 asyncq_test_CFLAGS = $(AM_CFLAGS)
334 asyncq_test_LDADD = $(AM_LDADD) libpulsecore.la
335 asyncq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
337 asyncmsgq_test_SOURCES = tests/asyncmsgq-test.c
338 asyncmsgq_test_CFLAGS = $(AM_CFLAGS)
339 asyncmsgq_test_LDADD = $(AM_LDADD) libpulsecore.la
340 asyncmsgq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
342 queue_test_SOURCES = tests/queue-test.c
343 queue_test_CFLAGS = $(AM_CFLAGS)
344 queue_test_LDADD = $(AM_LDADD) libpulsecore.la
345 queue_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
347 rtpoll_test_SOURCES = tests/rtpoll-test.c
348 rtpoll_test_CFLAGS = $(AM_CFLAGS)
349 rtpoll_test_LDADD = $(AM_LDADD) libpulsecore.la
350 rtpoll_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
352 mcalign_test_SOURCES = tests/mcalign-test.c
353 mcalign_test_CFLAGS = $(AM_CFLAGS)
354 mcalign_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore.la
355 mcalign_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
357 pacat_simple_SOURCES = tests/pacat-simple.c
358 pacat_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la
359 pacat_simple_CFLAGS = $(AM_CFLAGS)
360 pacat_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
362 parec_simple_SOURCES = tests/parec-simple.c
363 parec_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la
364 parec_simple_CFLAGS = $(AM_CFLAGS)
365 parec_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
367 strlist_test_SOURCES = tests/strlist-test.c
368 strlist_test_CFLAGS = $(AM_CFLAGS)
369 strlist_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore.la libstrlist.la
370 strlist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
372 close_test_SOURCES = tests/close-test.c
373 close_test_CFLAGS = $(AM_CFLAGS)
374 close_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore.la libstrlist.la
375 close_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
377 voltest_SOURCES = tests/voltest.c
378 voltest_CFLAGS = $(AM_CFLAGS)
379 voltest_LDADD = $(AM_LDADD) libpulse.la
380 voltest_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
382 channelmap_test_SOURCES = tests/channelmap-test.c
383 channelmap_test_CFLAGS = $(AM_CFLAGS)
384 channelmap_test_LDADD = $(AM_LDADD) libpulse.la
385 channelmap_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
387 cpulimit_test_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
388 cpulimit_test_CFLAGS = $(AM_CFLAGS)
389 cpulimit_test_LDADD = $(AM_LDADD) libpulsecore.la
390 cpulimit_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
392 cpulimit_test2_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
393 cpulimit_test2_CFLAGS = $(AM_CFLAGS) -DTEST2
394 cpulimit_test2_LDADD = $(AM_LDADD) libpulsecore.la
395 cpulimit_test2_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
397 mainloop_test_glib_SOURCES = $(mainloop_test_SOURCES)
398 mainloop_test_glib_CFLAGS = $(mainloop_test_CFLAGS) $(GLIB20_CFLAGS) -DGLIB_MAIN_LOOP
399 mainloop_test_glib_LDADD = $(mainloop_test_LDADD) $(GLIB20_LIBS) libpulse-mainloop-glib.la
400 mainloop_test_glib_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
402 memblockq_test_SOURCES = tests/memblockq-test.c
403 memblockq_test_CFLAGS = $(AM_CFLAGS)
404 memblockq_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore.la
405 memblockq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
407 sync_playback_SOURCES = tests/sync-playback.c
408 sync_playback_LDADD = $(AM_LDADD) libpulse.la
409 sync_playback_CFLAGS = $(AM_CFLAGS)
410 sync_playback_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
412 interpol_test_SOURCES = tests/interpol-test.c
413 interpol_test_LDADD = $(AM_LDADD) libpulse.la libpulsecore.la
414 interpol_test_CFLAGS = $(AM_CFLAGS)
415 interpol_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
417 sig2str_test_SOURCES = tests/sig2str-test.c
418 sig2str_test_LDADD = $(AM_LDADD) libpulsecore.la
419 sig2str_test_CFLAGS = $(AM_CFLAGS)
420 sig2str_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
422 resampler_test_SOURCES = tests/resampler-test.c
423 resampler_test_LDADD = $(AM_LDADD) libpulsecore.la
424 resampler_test_CFLAGS = $(AM_CFLAGS) $(LIBOIL_CFLAGS)
425 resampler_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBOIL_LIBS)
427 mix_test_SOURCES = tests/mix-test.c
428 mix_test_LDADD = $(AM_LDADD) libpulsecore.la
429 mix_test_CFLAGS = $(AM_CFLAGS) $(LIBOIL_CFLAGS)
430 mix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBOIL_LIBS)
432 remix_test_SOURCES = tests/remix-test.c
433 remix_test_LDADD = $(AM_LDADD) libpulsecore.la
434 remix_test_CFLAGS = $(AM_CFLAGS) $(LIBOIL_CFLAGS)
435 remix_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBOIL_LIBS)
437 smoother_test_SOURCES = tests/smoother-test.c
438 smoother_test_LDADD = $(AM_LDADD) libpulsecore.la
439 smoother_test_CFLAGS = $(AM_CFLAGS)
440 smoother_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
442 envelope_test_SOURCES = tests/envelope-test.c
443 envelope_test_LDADD = $(AM_LDADD) libpulsecore.la
444 envelope_test_CFLAGS = $(AM_CFLAGS) $(LIBOIL_CFLAGS)
445 envelope_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBOIL_LIBS)
447 proplist_test_SOURCES = tests/proplist-test.c
448 proplist_test_LDADD = $(AM_LDADD) libpulsecore.la
449 proplist_test_CFLAGS = $(AM_CFLAGS) $(LIBOIL_CFLAGS)
450 proplist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBOIL_LIBS)
452 rtstutter_SOURCES = tests/rtstutter.c
453 rtstutter_LDADD = $(AM_LDADD) libpulsecore.la
454 rtstutter_CFLAGS = $(AM_CFLAGS) $(LIBOIL_CFLAGS)
455 rtstutter_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBOIL_LIBS)
457 stripnul_SOURCES = tests/stripnul.c
458 stripnul_LDADD = $(AM_LDADD) libpulsecore.la
459 stripnul_CFLAGS = $(AM_CFLAGS) $(LIBOIL_CFLAGS)
460 stripnul_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBOIL_LIBS)
462 lock_autospawn_test_SOURCES = tests/lock-autospawn-test.c
463 lock_autospawn_test_LDADD = $(AM_LDADD) libpulsecore.la
464 lock_autospawn_test_CFLAGS = $(AM_CFLAGS) $(LIBOIL_CFLAGS)
465 lock_autospawn_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBOIL_LIBS)
467 prioq_test_SOURCES = tests/prioq-test.c
468 prioq_test_LDADD = $(AM_LDADD) libpulsecore.la
469 prioq_test_CFLAGS = $(AM_CFLAGS) $(LIBOIL_CFLAGS)
470 prioq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBOIL_LIBS)
472 ###################################
474 ###################################
476 pulseinclude_HEADERS = \
484 pulse/mainloop-api.h \
485 pulse/mainloop-signal.h \
493 pulse/thread-mainloop.h \
502 pulse/ext-stream-restore.h
505 pulseinclude_HEADERS += \
510 pulseinclude_HEADERS += \
511 pulse/glib-mainloop.h
525 libpulse-mainloop-glib.la
529 libpulse_la_SOURCES = \
531 pulse/channelmap.c pulse/channelmap.h \
532 pulse/client-conf.c pulse/client-conf.h \
533 pulse/context.c pulse/context.h \
535 pulse/error.c pulse/error.h \
537 pulse/introspect.c pulse/introspect.h \
538 pulse/mainloop.c pulse/mainloop.h \
539 pulse/mainloop-api.c pulse/mainloop-api.h \
540 pulse/mainloop-signal.c pulse/mainloop-signal.h \
541 pulse/operation.c pulse/operation.h \
543 pulse/sample.c pulse/sample.h \
544 pulse/scache.c pulse/scache.h \
545 pulse/stream.c pulse/stream.h \
546 pulse/subscribe.c pulse/subscribe.h \
547 pulse/thread-mainloop.c pulse/thread-mainloop.h \
548 pulse/timeval.c pulse/timeval.h \
549 pulse/utf8.c pulse/utf8.h \
550 pulse/util.c pulse/util.h \
551 pulse/volume.c pulse/volume.h \
552 pulse/xmalloc.c pulse/xmalloc.h \
553 pulse/proplist.c pulse/proplist.h \
554 pulse/ext-stream-restore.c pulse/ext-stream-restore.h \
555 pulse/i18n.c pulse/i18n.h
557 # Internal stuff that is shared with libpulsecore
558 libpulse_la_SOURCES += \
559 pulsecore/authkey.c pulsecore/authkey.h \
560 pulsecore/conf-parser.c pulsecore/conf-parser.h \
561 pulsecore/core-util.c pulsecore/core-util.h \
562 pulsecore/dynarray.c pulsecore/dynarray.h \
563 pulsecore/hashmap.c pulsecore/hashmap.h \
564 pulsecore/idxset.c pulsecore/idxset.h \
565 pulsecore/inet_ntop.c pulsecore/inet_ntop.h \
566 pulsecore/iochannel.c pulsecore/iochannel.h \
568 pulsecore/log.c pulsecore/log.h \
569 pulsecore/mcalign.c pulsecore/mcalign.h \
570 pulsecore/memblock.c pulsecore/memblock.h \
571 pulsecore/memblockq.c pulsecore/memblockq.h \
572 pulsecore/memchunk.c pulsecore/memchunk.h \
573 pulsecore/native-common.h \
574 pulsecore/packet.c pulsecore/packet.h \
575 pulsecore/parseaddr.c pulsecore/parseaddr.h \
576 pulsecore/pdispatch.c pulsecore/pdispatch.h \
577 pulsecore/pipe.c pulsecore/pipe.h \
578 pulsecore/poll.c pulsecore/poll.h \
579 pulsecore/pstream.c pulsecore/pstream.h \
580 pulsecore/pstream-util.c pulsecore/pstream-util.h \
581 pulsecore/queue.c pulsecore/queue.h \
582 pulsecore/random.c pulsecore/random.h \
583 pulsecore/socket-client.c pulsecore/socket-client.h \
584 pulsecore/socket-util.c pulsecore/socket-util.h \
585 pulsecore/strbuf.c pulsecore/strbuf.h \
586 pulsecore/strlist.c pulsecore/strlist.h \
587 pulsecore/tagstruct.c pulsecore/tagstruct.h \
588 pulsecore/core-error.c pulsecore/core-error.h \
589 pulsecore/winsock.h pulsecore/creds.h \
590 pulsecore/shm.c pulsecore/shm.h \
591 pulsecore/flist.c pulsecore/flist.h \
592 pulsecore/object.c pulsecore/object.h \
593 pulsecore/msgobject.c pulsecore/msgobject.h \
594 pulsecore/once.c pulsecore/once.h \
595 pulsecore/rtclock.c pulsecore/rtclock.h \
596 pulsecore/time-smoother.c pulsecore/time-smoother.h \
597 pulsecore/proplist-util.c pulsecore/proplist-util.h \
601 libpulse_la_SOURCES += \
606 libpulse_la_SOURCES += \
607 pulse/client-conf-x11.c pulse/client-conf-x11.h \
608 pulsecore/x11prop.c pulsecore/x11prop.h
611 libpulse_la_CFLAGS = $(AM_CFLAGS)
612 libpulse_la_LDFLAGS = -version-info $(LIBPULSE_VERSION_INFO) -Wl,-version-script=$(srcdir)/map-file
613 libpulse_la_LIBADD = $(AM_LIBADD) $(WINSOCK_LIBS) $(LTLIBICONV)
616 libpulse_la_CFLAGS += $(X_CFLAGS)
617 libpulse_la_LDFLAGS += $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS)
621 libpulse_la_CFLAGS += $(LIBASYNCNS_CFLAGS)
622 libpulse_la_LIBADD += $(LIBASYNCNS_LIBS)
625 libpulse_simple_la_SOURCES = \
626 pulse/simple.c pulse/simple.h \
627 pulsecore/log.c pulsecore/log.h \
628 pulsecore/core-util.c pulsecore/core-util.h \
629 pulsecore/core-error.c pulsecore/core-error.h \
630 pulsecore/once.c pulsecore/once.h \
631 pulsecore/rtclock.c pulsecore/rtclock.h \
634 libpulse_simple_la_CFLAGS = $(AM_CFLAGS)
635 libpulse_simple_la_LIBADD = $(AM_LIBADD) libpulse.la
636 libpulse_simple_la_LDFLAGS = -version-info $(LIBPULSE_SIMPLE_VERSION_INFO) -Wl,-version-script=$(srcdir)/map-file
638 libpulse_browse_la_SOURCES = pulse/browser.c pulse/browser.h pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h pulsecore/core-util.c pulsecore/core-util.h pulsecore/core-error.c pulsecore/core-error.h pulsecore/log.c pulsecore/log.h pulsecore/rtclock.c pulsecore/rtclock.h pulsecore/once.c pulsecore/once.h $(PA_THREAD_OBJS)
639 libpulse_browse_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
640 libpulse_browse_la_LIBADD = $(AM_LIBADD) libpulse.la $(AVAHI_LIBS)
641 libpulse_browse_la_LDFLAGS = -version-info $(LIBPULSE_BROWSE_VERSION_INFO) -Wl,-version-script=$(srcdir)/map-file
643 libpulse_mainloop_glib_la_SOURCES = \
644 pulse/glib-mainloop.h pulse/glib-mainloop.c \
645 pulsecore/log.c pulsecore/log.h \
646 pulsecore/rtclock.c pulsecore/rtclock.h \
647 pulsecore/core-util.c pulsecore/core-util.h \
648 pulsecore/core-error.c pulsecore/core-error.h \
649 pulsecore/once.c pulsecore/once.h \
651 libpulse_mainloop_glib_la_CFLAGS = $(AM_CFLAGS) $(GLIB20_CFLAGS)
652 libpulse_mainloop_glib_la_LIBADD = $(AM_LIBADD) libpulse.la $(GLIB20_LIBS)
653 libpulse_mainloop_glib_la_LDFLAGS = -version-info $(LIBPULSE_MAINLOOP_GLIB_VERSION_INFO) -Wl,-version-script=$(srcdir)/map-file
655 ###################################
657 ###################################
661 lib_LTLIBRARIES += libpulsedsp.la
663 bin_SCRIPTS += utils/padsp
667 libpulsedsp_la_SOURCES = utils/padsp.c pulsecore/core-util.c pulsecore/core-util.h pulsecore/core-error.c pulsecore/core-error.h pulsecore/log.c pulsecore/log.h pulsecore/rtclock.c pulsecore/rtclock.h pulsecore/once.c pulsecore/once.h $(PA_THREAD_OBJS)
668 libpulsedsp_la_CFLAGS = $(AM_CFLAGS)
669 libpulsedsp_la_LIBADD = $(AM_LIBADD) libpulse.la
670 libpulsedsp_la_LDFLAGS = -avoid-version
672 ###################################
674 ###################################
676 noinst_LTLIBRARIES = libffmpeg-resampler.la
678 libffmpeg_resampler_la_CPPFLAGS = $(AM_CPPFLAGS)
679 libffmpeg_resampler_la_SOURCES = pulsecore/ffmpeg/resample2.c pulsecore/ffmpeg/avcodec.h pulsecore/ffmpeg/dsputil.h
681 ###################################
682 # Daemon core library #
683 ###################################
685 #pulsecoreinclude_HEADERS =
687 pulsecore/autoload.h \
689 pulsecore/cli-command.h \
690 pulsecore/cli-text.h \
693 pulsecore/core-scache.h \
694 pulsecore/core-subscribe.h \
695 pulsecore/conf-parser.h \
696 pulsecore/core-util.h \
697 pulsecore/dynarray.h \
699 pulsecore/hashmap.h \
702 pulsecore/mcalign.h \
703 pulsecore/memblock.h \
704 pulsecore/memblockq.h \
705 pulsecore/memchunk.h \
706 pulsecore/modargs.h \
707 pulsecore/modinfo.h \
709 pulsecore/namereg.h \
711 pulsecore/play-memchunk.h \
712 pulsecore/play-memblockq.h \
716 pulsecore/resampler.h \
717 pulsecore/sample-util.h \
720 pulsecore/sink-input.h \
722 pulsecore/sound-file.h \
723 pulsecore/sound-file-stream.h \
725 pulsecore/source-output.h \
727 pulsecore/tokenizer.h \
734 pulsecore/semaphore.h \
737 lib_LTLIBRARIES += libpulsecore.la
739 # Some public stuff is used even in the core
740 libpulsecore_la_SOURCES = \
741 pulse/channelmap.c pulse/channelmap.h \
742 pulse/error.c pulse/error.h \
743 pulse/mainloop.c pulse/mainloop.h \
744 pulse/mainloop-api.c pulse/mainloop-api.h \
745 pulse/mainloop-signal.c pulse/mainloop-signal.h \
746 pulse/sample.c pulse/sample.h \
747 pulse/timeval.c pulse/timeval.h \
748 pulse/utf8.c pulse/utf8.h \
749 pulse/util.c pulse/util.h \
750 pulse/volume.c pulse/volume.h \
751 pulse/xmalloc.c pulse/xmalloc.h \
752 pulse/proplist.c pulse/proplist.h \
753 pulse/i18n.c pulse/i18n.h
755 # Pure core stuff (some are shared in libpulse though).
756 libpulsecore_la_SOURCES += \
757 pulsecore/autoload.c pulsecore/autoload.h \
758 pulsecore/cli-command.c pulsecore/cli-command.h \
759 pulsecore/cli-text.c pulsecore/cli-text.h \
760 pulsecore/client.c pulsecore/client.h \
761 pulsecore/conf-parser.c pulsecore/conf-parser.h \
762 pulsecore/core.c pulsecore/core.h \
763 pulsecore/core-scache.c pulsecore/core-scache.h \
764 pulsecore/core-subscribe.c pulsecore/core-subscribe.h \
765 pulsecore/core-util.c pulsecore/core-util.h \
766 pulsecore/dynarray.c pulsecore/dynarray.h \
767 pulsecore/endianmacros.h \
768 pulsecore/g711.c pulsecore/g711.h \
769 pulsecore/hashmap.c pulsecore/hashmap.h \
770 pulsecore/idxset.c pulsecore/idxset.h \
771 pulsecore/prioq.c pulsecore/prioq.h \
772 pulsecore/log.c pulsecore/log.h \
773 pulsecore/mcalign.c pulsecore/mcalign.h \
774 pulsecore/memblock.c pulsecore/memblock.h \
775 pulsecore/memblockq.c pulsecore/memblockq.h \
776 pulsecore/memchunk.c pulsecore/memchunk.h \
777 pulsecore/modargs.c pulsecore/modargs.h \
778 pulsecore/modinfo.c pulsecore/modinfo.h \
779 pulsecore/ltdl-helper.c pulsecore/ltdl-helper.h \
780 pulsecore/module.c pulsecore/module.h \
781 pulsecore/namereg.c pulsecore/namereg.h \
782 pulsecore/pid.c pulsecore/pid.h \
783 pulsecore/pipe.c pulsecore/pipe.h \
784 pulsecore/play-memchunk.c pulsecore/play-memchunk.h \
785 pulsecore/play-memblockq.c pulsecore/play-memblockq.h \
786 pulsecore/poll.c pulsecore/poll.h \
787 pulsecore/shared.c pulsecore/shared.h \
788 pulsecore/queue.c pulsecore/queue.h \
789 pulsecore/random.c pulsecore/random.h \
790 pulsecore/resampler.c pulsecore/resampler.h \
791 pulsecore/sample-util.c pulsecore/sample-util.h \
792 pulsecore/sconv.c pulsecore/sconv.h \
793 pulsecore/sconv-s16be.c pulsecore/sconv-s16be.h \
794 pulsecore/sconv-s16le.c pulsecore/sconv-s16le.h \
795 pulsecore/sink.c pulsecore/sink.h \
796 pulsecore/sink-input.c pulsecore/sink-input.h \
797 pulsecore/sioman.c pulsecore/sioman.h \
798 pulsecore/sound-file.c pulsecore/sound-file.h \
799 pulsecore/sound-file-stream.c pulsecore/sound-file-stream.h \
800 pulsecore/source.c pulsecore/source.h \
801 pulsecore/source-output.c pulsecore/source-output.h \
802 pulsecore/strbuf.c pulsecore/strbuf.h \
803 pulsecore/tokenizer.c pulsecore/tokenizer.h \
804 pulsecore/winsock.h \
805 pulsecore/core-error.c pulsecore/core-error.h \
806 pulsecore/hook-list.c pulsecore/hook-list.h \
807 pulsecore/shm.c pulsecore/shm.h \
808 pulsecore/flist.c pulsecore/flist.h \
809 pulsecore/asyncmsgq.c pulsecore/asyncmsgq.h \
810 pulsecore/asyncq.c pulsecore/asyncq.h \
811 pulsecore/thread-mq.c pulsecore/thread-mq.h \
812 pulsecore/fdsem.c pulsecore/fdsem.h \
813 pulsecore/object.c pulsecore/object.h \
814 pulsecore/msgobject.c pulsecore/msgobject.h \
815 pulsecore/rtsig.c pulsecore/rtsig.h \
816 pulsecore/rtpoll.c pulsecore/rtpoll.h \
817 pulsecore/rtclock.c pulsecore/rtclock.h \
819 pulsecore/once.c pulsecore/once.h \
820 pulsecore/time-smoother.c pulsecore/time-smoother.h \
821 pulsecore/start-child.c pulsecore/start-child.h \
822 pulsecore/envelope.c pulsecore/envelope.h \
823 pulsecore/proplist-util.c pulsecore/proplist-util.h \
824 pulsecore/lock-autospawn.c pulsecore/lock-autospawn.h \
828 libpulsecore_la_SOURCES += \
832 libpulsecore_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBOIL_CFLAGS)
833 libpulsecore_la_LDFLAGS = -version-info $(LIBPULSECORE_VERSION_INFO)
834 libpulsecore_la_LIBADD = $(AM_LIBADD) $(LIBLTDL) $(LIBSAMPLERATE_LIBS) $(LIBSNDFILE_LIBS) $(LIBSPEEX_LIBS) $(WINSOCK_LIBS) $(LIBOIL_LIBS) $(LTLIBICONV) libffmpeg-resampler.la
836 ###################################
837 # Plug-in support libraries #
838 ###################################
840 #pulsecoreinclude_HEADERS +=
842 pulsecore/socket-util.h \
843 pulsecore/iochannel.h \
844 pulsecore/socket-server.h \
846 pulsecore/socket-client.h \
847 pulsecore/parseaddr.h \
849 pulsecore/pstream.h \
852 pulsecore/protocol-cli.h \
853 pulsecore/tagstruct.h \
854 pulsecore/pstream-util.h \
855 pulsecore/pdispatch.h \
856 pulsecore/authkey.h \
857 pulsecore/auth-cookie.h \
858 pulsecore/strlist.h \
859 pulsecore/protocol-simple.h \
861 pulsecore/protocol-esound.h \
862 pulsecore/native-common.h \
863 pulsecore/protocol-native.h \
864 pulsecore/protocol-http.h
866 ### Warning! Due to an obscure bug in libtool/automake it is required
867 ### that the libraries in modlibexec_LTLIBRARIES are specified in-order,
868 ### i.e. libraries near the end of the list depend on libraries near
869 ### the head, and not the other way!
871 modlibexec_LTLIBRARIES = \
874 libsocket-server.la \
877 libsocket-client.la \
889 libprotocol-simple.la \
890 libprotocol-http.la \
891 libprotocol-native.la \
892 libprotocol-esound.la
894 # We need to emulate sendmsg/recvmsg to support this on Win32
896 modlibexec_LTLIBRARIES += \
901 #pulsecoreinclude_HEADERS +=
903 pulsecore/x11wrap.h \
906 modlibexec_LTLIBRARIES += \
912 #pulsecoreinclude_HEADERS +=
914 pulsecore/avahi-wrap.h
916 modlibexec_LTLIBRARIES += \
920 libprotocol_simple_la_SOURCES = pulsecore/protocol-simple.c pulsecore/protocol-simple.h
921 libprotocol_simple_la_LDFLAGS = -avoid-version
922 libprotocol_simple_la_LIBADD = $(AM_LIBADD) libpulsecore.la libsocket-server.la libiochannel.la
924 libsocket_server_la_SOURCES = \
925 pulsecore/inet_ntop.c pulsecore/inet_ntop.h \
926 pulsecore/inet_pton.c pulsecore/inet_pton.h \
927 pulsecore/socket-server.c pulsecore/socket-server.h
928 libsocket_server_la_LDFLAGS = -avoid-version
929 libsocket_server_la_LIBADD = $(AM_LIBADD) libpulsecore.la libiochannel.la libsocket-util.la $(LIBWRAP_LIBS) $(WINSOCK_LIBS)
931 libipacl_la_SOURCES = pulsecore/ipacl.h pulsecore/ipacl.c \
932 pulsecore/inet_pton.c pulsecore/inet_pton.h
933 libipacl_la_LDFLAGS = -avoid-version
934 libipacl_la_LIBADD = $(AM_LIBADD) libpulsecore.la $(WINSOCK_LIBS)
936 libsocket_client_la_SOURCES = pulsecore/socket-client.c pulsecore/socket-client.h
937 libsocket_client_la_LDFLAGS = -avoid-version
938 libsocket_client_la_LIBADD = $(AM_LIBADD) libpulsecore.la libiochannel.la libsocket-util.la libparseaddr.la $(LIBASYNCNS_LIBS) $(WINSOCK_LIBS)
939 libsocket_client_la_CFLAGS = $(AM_CFLAGS) $(LIBASYNCNS_CFLAGS)
941 libparseaddr_la_SOURCES = pulsecore/parseaddr.c pulsecore/parseaddr.h
942 libparseaddr_la_LDFLAGS = -avoid-version
943 libparseaddr_la_LIBADD = $(AM_LIBADD) libpulsecore.la
945 libpstream_la_SOURCES = pulsecore/pstream.c pulsecore/pstream.h
946 libpstream_la_LDFLAGS = -avoid-version
947 libpstream_la_LIBADD = $(AM_LIBADD) libpulsecore.la libpacket.la libiochannel.la $(WINSOCK_LIBS)
949 libpstream_util_la_SOURCES = pulsecore/pstream-util.c pulsecore/pstream-util.h
950 libpstream_util_la_LDFLAGS = -avoid-version
951 libpstream_util_la_LIBADD = $(AM_LIBADD) libpacket.la libpstream.la libtagstruct.la libpulsecore.la
953 libpdispatch_la_SOURCES = pulsecore/pdispatch.c pulsecore/pdispatch.h
954 libpdispatch_la_LDFLAGS = -avoid-version
955 libpdispatch_la_LIBADD = $(AM_LIBADD) libtagstruct.la libpulsecore.la
957 libiochannel_la_SOURCES = pulsecore/iochannel.c pulsecore/iochannel.h
958 libiochannel_la_LDFLAGS = -avoid-version
959 libiochannel_la_LIBADD = $(AM_LIBADD) libsocket-util.la libpulsecore.la $(WINSOCK_LIBS)
961 libpacket_la_SOURCES = pulsecore/packet.c pulsecore/packet.h
962 libpacket_la_LDFLAGS = -avoid-version
963 libpacket_la_LIBADD = $(AM_LIBADD) libpulsecore.la
965 libioline_la_SOURCES = pulsecore/ioline.c pulsecore/ioline.h
966 libioline_la_LDFLAGS = -avoid-version
967 libioline_la_LIBADD = $(AM_LIBADD) libiochannel.la libpulsecore.la
969 libcli_la_SOURCES = pulsecore/cli.c pulsecore/cli.h
970 libcli_la_CPPFLAGS = $(AM_CPPFLAGS)
971 libcli_la_LDFLAGS = -avoid-version
972 libcli_la_LIBADD = $(AM_LIBADD) libiochannel.la libioline.la libpulsecore.la
974 libstrlist_la_SOURCES = pulsecore/strlist.c pulsecore/strlist.h
975 libstrlist_la_LDFLAGS = -avoid-version
976 libstrlist_la_LIBADD = $(AM_LIBADD) libpulsecore.la
978 libprotocol_cli_la_SOURCES = pulsecore/protocol-cli.c pulsecore/protocol-cli.h
979 libprotocol_cli_la_LDFLAGS = -avoid-version
980 libprotocol_cli_la_LIBADD = $(AM_LIBADD) libsocket-server.la libiochannel.la libcli.la libpulsecore.la
982 libprotocol_http_la_SOURCES = pulsecore/protocol-http.c pulsecore/protocol-http.h
983 libprotocol_http_la_LDFLAGS = -avoid-version
984 libprotocol_http_la_LIBADD = $(AM_LIBADD) libsocket-server.la libioline.la libpulsecore.la libiochannel.la
986 libprotocol_native_la_SOURCES = pulsecore/protocol-native.c pulsecore/protocol-native.h pulsecore/native-common.h
987 libprotocol_native_la_LDFLAGS = -avoid-version
988 libprotocol_native_la_LIBADD = $(AM_LIBADD) libsocket-server.la libpstream.la libpstream-util.la libpdispatch.la libtagstruct.la libauthkey.la libauth-cookie.la libstrlist.la libpulsecore.la libiochannel.la libipacl.la
990 libtagstruct_la_SOURCES = pulsecore/tagstruct.c pulsecore/tagstruct.h
991 libtagstruct_la_LDFLAGS = -avoid-version
992 libtagstruct_la_LIBADD = $(AM_LIBADD) libpulsecore.la $(WINSOCK_LIBS)
994 libprotocol_esound_la_SOURCES = pulsecore/protocol-esound.c pulsecore/protocol-esound.h pulsecore/esound.h
995 libprotocol_esound_la_LDFLAGS = -avoid-version
996 libprotocol_esound_la_LIBADD = $(AM_LIBADD) libsocket-server.la libiochannel.la libauthkey.la libauth-cookie.la libpulsecore.la libipacl.la
998 libauthkey_la_SOURCES = pulsecore/authkey.c pulsecore/authkey.h
999 libauthkey_la_LDFLAGS = -avoid-version
1000 libauthkey_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1002 libauth_cookie_la_SOURCES = pulsecore/auth-cookie.c pulsecore/auth-cookie.h
1003 libauth_cookie_la_LDFLAGS = -avoid-version
1004 libauth_cookie_la_LIBADD = $(AM_LIBADD) libauthkey.la libpulsecore.la
1006 libsocket_util_la_SOURCES = \
1007 pulsecore/inet_ntop.c pulsecore/inet_ntop.h \
1008 pulsecore/socket-util.c pulsecore/socket-util.h
1009 libsocket_util_la_LDFLAGS = -avoid-version
1010 libsocket_util_la_LIBADD = $(AM_LIBADD) $(WINSOCK_LIBS) libpulsecore.la
1012 librtp_la_SOURCES = \
1013 modules/rtp/rtp.c modules/rtp/rtp.h \
1014 modules/rtp/sdp.c modules/rtp/sdp.h \
1015 modules/rtp/sap.c modules/rtp/sap.h \
1016 modules/rtp/rtsp_client.c modules/rtp/rtsp_client.h \
1017 modules/rtp/headerlist.c modules/rtp/headerlist.h
1018 librtp_la_LDFLAGS = -avoid-version
1019 librtp_la_LIBADD = $(AM_LIBADD) libsocket-util.la libiochannel.la libsocket-client.la libioline.la libpulsecore.la
1021 libraop_la_SOURCES = \
1022 modules/raop/raop_client.c modules/raop/raop_client.h \
1023 modules/raop/base64.c modules/raop/base64.h
1024 libraop_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_CFLAGS)
1025 libraop_la_LDFLAGS = -avoid-version
1026 libraop_la_LIBADD = $(AM_LIBADD) $(OPENSSL_LIBS) libsocket-util.la libiochannel.la libsocket-client.la libioline.la libpulsecore.la librtp.la
1030 libx11wrap_la_SOURCES = pulsecore/x11wrap.c pulsecore/x11wrap.h
1031 libx11wrap_la_LDFLAGS = -avoid-version
1032 libx11wrap_la_CFLAGS = $(AM_CFLAGS) $(X_CFLAGS)
1033 libx11wrap_la_LIBADD = $(AM_LIBADD) $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS) libpulsecore.la
1035 libx11prop_la_SOURCES = pulsecore/x11prop.c pulsecore/x11prop.h
1036 libx11prop_la_LDFLAGS = -avoid-version
1037 libx11prop_la_CFLAGS = $(AM_CFLAGS) $(X_CFLAGS)
1038 libx11prop_la_LIBADD = $(AM_LIBADD) $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS)
1042 libavahi_wrap_la_SOURCES = pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
1043 libavahi_wrap_la_LDFLAGS = -avoid-version
1044 libavahi_wrap_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1045 libavahi_wrap_la_LIBADD = $(AM_LIBADD) $(AVAHI_CFLAGS) libpulsecore.la
1047 ###################################
1048 # Plug-in libraries #
1049 ###################################
1051 modlibexec_LTLIBRARIES += \
1052 module-flat-volume.la \
1054 module-cli-protocol-tcp.la \
1055 module-simple-protocol-tcp.la \
1056 module-null-sink.la \
1058 module-volume-restore.la \
1059 module-device-restore.la \
1060 module-stream-restore.la \
1061 module-default-device-restore.la \
1062 module-always-sink.la \
1063 module-rescue-streams.la \
1064 module-suspend-on-idle.la \
1065 module-http-protocol-tcp.la \
1067 module-native-protocol-tcp.la \
1068 module-native-protocol-fd.la \
1069 module-esound-protocol-tcp.la \
1071 module-remap-sink.la \
1072 module-ladspa-sink.la \
1073 module-esound-sink.la \
1074 module-tunnel-sink.la \
1075 module-tunnel-source.la \
1076 module-position-event-sounds.la
1079 # See comment at librtp.la above
1081 modlibexec_LTLIBRARIES += \
1082 module-rtp-send.la \
1087 modlibexec_LTLIBRARIES += \
1088 module-cli-protocol-unix.la \
1089 module-simple-protocol-unix.la \
1090 module-http-protocol-unix.la \
1091 module-native-protocol-unix.la \
1092 module-esound-protocol-unix.la
1096 modlibexec_LTLIBRARIES += \
1097 module-pipe-sink.la \
1098 module-pipe-source.la
1102 modlibexec_LTLIBRARIES += \
1103 module-esound-compat-spawnfd.la \
1104 module-esound-compat-spawnpid.la
1108 modlibexec_LTLIBRARIES += \
1113 modlibexec_LTLIBRARIES += \
1114 module-x11-bell.la \
1115 module-x11-publish.la \
1120 modlibexec_LTLIBRARIES += \
1126 modlibexec_LTLIBRARIES += \
1128 module-alsa-sink.la \
1129 module-alsa-source.la
1133 modlibexec_LTLIBRARIES += \
1138 modlibexec_LTLIBRARIES += \
1139 module-zeroconf-publish.la \
1140 module-zeroconf-discover.la
1144 modlibexec_LTLIBRARIES += \
1149 modlibexec_LTLIBRARIES += \
1150 module-mmkbd-evdev.la
1154 modlibexec_LTLIBRARIES += \
1155 module-jack-sink.la \
1156 module-jack-source.la
1159 pulselibexec_PROGRAMS =
1162 modlibexec_LTLIBRARIES += \
1165 pulselibexec_PROGRAMS += \
1170 #modlibexec_LTLIBRARIES += \
1175 modlibexec_LTLIBRARIES += \
1177 module-hal-detect.la
1181 modlibexec_LTLIBRARIES += \
1183 module-console-kit.la
1187 modlibexec_LTLIBRARIES += \
1188 module-bluetooth-proximity.la \
1189 module-bluetooth-discover.la \
1190 libbluetooth-ipc.la \
1191 libbluetooth-sbc.la \
1192 module-bluetooth-device.la
1194 pulselibexec_PROGRAMS += \
1199 modlibexec_LTLIBRARIES += \
1203 modlibexec_LTLIBRARIES += \
1204 module-raop-discover.la
1209 # These are generated by a M4 script
1212 modules/module-cli-symdef.h \
1213 modules/module-cli-protocol-tcp-symdef.h \
1214 modules/module-cli-protocol-unix-symdef.h \
1215 modules/module-pipe-sink-symdef.h \
1216 modules/module-pipe-source-symdef.h \
1217 modules/module-simple-protocol-tcp-symdef.h \
1218 modules/module-simple-protocol-unix-symdef.h \
1219 modules/module-esound-protocol-tcp-symdef.h \
1220 modules/module-esound-protocol-unix-symdef.h \
1221 modules/module-native-protocol-tcp-symdef.h \
1222 modules/module-native-protocol-unix-symdef.h \
1223 modules/module-native-protocol-fd-symdef.h \
1224 modules/module-sine-symdef.h \
1225 modules/module-combine-symdef.h \
1226 modules/module-remap-sink-symdef.h \
1227 modules/module-ladspa-sink-symdef.h \
1228 modules/module-esound-compat-spawnfd-symdef.h \
1229 modules/module-esound-compat-spawnpid-symdef.h \
1230 modules/module-match-symdef.h \
1231 modules/module-tunnel-sink-symdef.h \
1232 modules/module-tunnel-source-symdef.h \
1233 modules/module-null-sink-symdef.h \
1234 modules/module-esound-sink-symdef.h \
1235 modules/module-zeroconf-publish-symdef.h \
1236 modules/module-zeroconf-discover-symdef.h \
1237 modules/module-lirc-symdef.h \
1238 modules/module-mmkbd-evdev-symdef.h \
1239 modules/module-http-protocol-tcp-symdef.h \
1240 modules/module-http-protocol-unix-symdef.h \
1241 modules/module-x11-bell-symdef.h \
1242 modules/module-x11-publish-symdef.h \
1243 modules/module-x11-xsmp-symdef.h \
1244 modules/module-oss-symdef.h \
1245 modules/module-alsa-sink-symdef.h \
1246 modules/module-alsa-source-symdef.h \
1247 modules/module-solaris-symdef.h \
1248 modules/module-waveout-symdef.h \
1249 modules/module-detect-symdef.h \
1250 modules/rtp/module-rtp-send-symdef.h \
1251 modules/rtp/module-rtp-recv-symdef.h \
1252 modules/module-jack-sink-symdef.h \
1253 modules/module-jack-source-symdef.h \
1254 modules/module-volume-restore-symdef.h \
1255 modules/module-device-restore-symdef.h \
1256 modules/module-stream-restore-symdef.h \
1257 modules/module-default-device-restore-symdef.h \
1258 modules/module-always-sink-symdef.h \
1259 modules/module-rescue-streams-symdef.h \
1260 modules/module-suspend-on-idle-symdef.h \
1261 modules/module-hal-detect-symdef.h \
1262 modules/bluetooth/module-bluetooth-proximity-symdef.h \
1263 modules/bluetooth/module-bluetooth-discover-symdef.h \
1264 modules/bluetooth/module-bluetooth-device-symdef.h \
1265 modules/module-raop-sink-symdef.h \
1266 modules/module-raop-discover-symdef.h \
1267 modules/gconf/module-gconf-symdef.h \
1268 modules/module-position-event-sounds-symdef.h \
1269 modules/module-console-kit-symdef.h \
1270 modules/module-flat-volume-symdef.h
1272 EXTRA_DIST += $(SYMDEF_FILES)
1273 BUILT_SOURCES += $(SYMDEF_FILES)
1275 $(SYMDEF_FILES): modules/module-defs.h.m4
1277 $(MKDIR_P) modules/gconf
1278 $(MKDIR_P) modules/rtp
1279 $(MKDIR_P) modules/bluetooth
1280 $(M4) -Dfname="$@" $< > $@
1284 module_flat_volume_la_SOURCES = modules/module-flat-volume.c
1285 module_flat_volume_la_LDFLAGS = -module -avoid-version
1286 module_flat_volume_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1290 module_simple_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1291 module_simple_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1292 module_simple_protocol_tcp_la_LDFLAGS = -module -avoid-version
1293 module_simple_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-simple.la libsocket-server.la
1295 module_simple_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1296 module_simple_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
1297 module_simple_protocol_unix_la_LDFLAGS = -module -avoid-version
1298 module_simple_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-simple.la libsocket-server.la libsocket-util.la
1302 module_cli_la_SOURCES = modules/module-cli.c
1303 module_cli_la_LDFLAGS = -module -avoid-version
1304 module_cli_la_LIBADD = $(AM_LIBADD) libcli.la libiochannel.la libpulsecore.la
1306 module_cli_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1307 module_cli_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1308 module_cli_protocol_tcp_la_LDFLAGS = -module -avoid-version
1309 module_cli_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-cli.la libsocket-server.la
1311 module_cli_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1312 module_cli_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
1313 module_cli_protocol_unix_la_LDFLAGS = -module -avoid-version
1314 module_cli_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-cli.la libsocket-server.la libsocket-util.la
1318 module_http_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1319 module_http_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1320 module_http_protocol_tcp_la_LDFLAGS = -module -avoid-version
1321 module_http_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-http.la libsocket-server.la
1323 module_http_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1324 module_http_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
1325 module_http_protocol_unix_la_LDFLAGS = -module -avoid-version
1326 module_http_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-http.la libsocket-server.la libsocket-util.la
1330 module_native_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1331 module_native_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1332 module_native_protocol_tcp_la_LDFLAGS = -module -avoid-version
1333 module_native_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-native.la libsocket-server.la
1335 module_native_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1336 module_native_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
1337 module_native_protocol_unix_la_LDFLAGS = -module -avoid-version
1338 module_native_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-native.la libsocket-server.la libsocket-util.la
1340 module_native_protocol_fd_la_SOURCES = modules/module-native-protocol-fd.c
1341 module_native_protocol_fd_la_CFLAGS = $(AM_CFLAGS)
1342 module_native_protocol_fd_la_LDFLAGS = -module -avoid-version
1343 module_native_protocol_fd_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-native.la libsocket-server.la libsocket-util.la libiochannel.la
1347 module_esound_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
1348 module_esound_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1349 module_esound_protocol_tcp_la_LDFLAGS = -module -avoid-version
1350 module_esound_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-esound.la libsocket-server.la
1352 module_esound_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
1353 module_esound_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
1354 module_esound_protocol_unix_la_LDFLAGS = -module -avoid-version
1355 module_esound_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-esound.la libsocket-server.la libsocket-util.la
1357 module_esound_compat_spawnfd_la_SOURCES = modules/module-esound-compat-spawnfd.c
1358 module_esound_compat_spawnfd_la_LDFLAGS = -module -avoid-version
1359 module_esound_compat_spawnfd_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1361 module_esound_compat_spawnpid_la_SOURCES = modules/module-esound-compat-spawnpid.c
1362 module_esound_compat_spawnpid_la_LDFLAGS = -module -avoid-version
1363 module_esound_compat_spawnpid_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1365 module_esound_sink_la_SOURCES = modules/module-esound-sink.c
1366 module_esound_sink_la_LDFLAGS = -module -avoid-version
1367 module_esound_sink_la_LIBADD = $(AM_LIBADD) libpulsecore.la libiochannel.la libsocket-client.la libauthkey.la libsocket-util.la
1371 module_pipe_sink_la_SOURCES = modules/module-pipe-sink.c
1372 module_pipe_sink_la_LDFLAGS = -module -avoid-version
1373 module_pipe_sink_la_LIBADD = $(AM_LIBADD) libpulsecore.la libiochannel.la
1375 module_pipe_source_la_SOURCES = modules/module-pipe-source.c
1376 module_pipe_source_la_LDFLAGS = -module -avoid-version
1377 module_pipe_source_la_LIBADD = $(AM_LIBADD) libpulsecore.la libiochannel.la
1379 # Fake sources/sinks
1381 module_sine_la_SOURCES = modules/module-sine.c
1382 module_sine_la_LDFLAGS = -module -avoid-version
1383 module_sine_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1385 module_null_sink_la_SOURCES = modules/module-null-sink.c
1386 module_null_sink_la_LDFLAGS = -module -avoid-version
1387 module_null_sink_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1391 module_combine_la_SOURCES = modules/module-combine.c
1392 module_combine_la_LDFLAGS = -module -avoid-version
1393 module_combine_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1395 module_remap_sink_la_SOURCES = modules/module-remap-sink.c
1396 module_remap_sink_la_LDFLAGS = -module -avoid-version
1397 module_remap_sink_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1399 module_ladspa_sink_la_SOURCES = modules/module-ladspa-sink.c modules/ladspa.h
1400 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)
1401 module_ladspa_sink_la_LDFLAGS = -module -avoid-version
1402 module_ladspa_sink_la_LIBADD = $(AM_LIBADD) $(LIBLTDL) libpulsecore.la
1404 module_match_la_SOURCES = modules/module-match.c
1405 module_match_la_LDFLAGS = -module -avoid-version
1406 module_match_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1408 module_tunnel_sink_la_SOURCES = modules/module-tunnel.c
1409 module_tunnel_sink_la_CFLAGS = -DTUNNEL_SINK=1 $(AM_CFLAGS)
1410 module_tunnel_sink_la_LDFLAGS = -module -avoid-version
1411 module_tunnel_sink_la_LIBADD = $(AM_LIBADD) libpulsecore.la libsocket-client.la libpstream.la libpstream-util.la libpdispatch.la libtagstruct.la libauthkey.la libauth-cookie.la libsocket-util.la libiochannel.la
1413 module_tunnel_source_la_SOURCES = modules/module-tunnel.c
1414 module_tunnel_source_la_LDFLAGS = -module -avoid-version
1415 module_tunnel_source_la_LIBADD = $(AM_LIBADD) libpulsecore.la libsocket-client.la libpstream.la libpstream-util.la libpdispatch.la libtagstruct.la libauthkey.la libauth-cookie.la libsocket-util.la libiochannel.la
1419 module_x11_bell_la_SOURCES = modules/module-x11-bell.c
1420 module_x11_bell_la_CFLAGS = $(AM_CFLAGS) $(X_CFLAGS)
1421 module_x11_bell_la_LDFLAGS = -module -avoid-version
1422 module_x11_bell_la_LIBADD = $(AM_LIBADD) $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS) libx11wrap.la libpulsecore.la
1424 module_x11_publish_la_SOURCES = modules/module-x11-publish.c
1425 module_x11_publish_la_CFLAGS = $(AM_CFLAGS) $(X_CFLAGS)
1426 module_x11_publish_la_LDFLAGS = -module -avoid-version
1427 module_x11_publish_la_LIBADD = $(AM_LIBADD) $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS) libx11wrap.la libauthkey.la libauth-cookie.la libx11prop.la libstrlist.la libprotocol-native.la libpulsecore.la
1429 module_x11_xsmp_la_SOURCES = modules/module-x11-xsmp.c
1430 module_x11_xsmp_la_CFLAGS = $(AM_CFLAGS) $(X_CFLAGS)
1431 module_x11_xsmp_la_LDFLAGS = -module -avoid-version
1432 module_x11_xsmp_la_LIBADD = $(AM_LIBADD) $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS) libx11wrap.la libpulsecore.la
1436 liboss_util_la_SOURCES = modules/oss-util.c modules/oss-util.h
1437 liboss_util_la_LDFLAGS = -avoid-version
1438 liboss_util_la_LIBADD = libpulsecore.la
1440 module_oss_la_SOURCES = modules/module-oss.c
1441 module_oss_la_LDFLAGS = -module -avoid-version
1442 module_oss_la_LIBADD = $(AM_LIBADD) libiochannel.la liboss-util.la libpulsecore.la
1446 libalsa_util_la_SOURCES = modules/alsa-util.c modules/alsa-util.h
1447 libalsa_util_la_LDFLAGS = -avoid-version
1448 libalsa_util_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libpulsecore.la
1449 libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1451 module_alsa_sink_la_SOURCES = modules/module-alsa-sink.c
1452 module_alsa_sink_la_LDFLAGS = -module -avoid-version
1453 module_alsa_sink_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la libpulsecore.la
1454 module_alsa_sink_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1456 module_alsa_source_la_SOURCES = modules/module-alsa-source.c
1457 module_alsa_source_la_LDFLAGS = -module -avoid-version
1458 module_alsa_source_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la libpulsecore.la
1459 module_alsa_source_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
1463 module_solaris_la_SOURCES = modules/module-solaris.c
1464 module_solaris_la_LDFLAGS = -module -avoid-version
1465 module_solaris_la_LIBADD = $(AM_LIBADD) libiochannel.la libpulsecore.la
1469 module_zeroconf_publish_la_SOURCES = modules/module-zeroconf-publish.c
1470 module_zeroconf_publish_la_LDFLAGS = -module -avoid-version
1471 module_zeroconf_publish_la_LIBADD = $(AM_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libpulsecore.la
1472 module_zeroconf_publish_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1474 module_zeroconf_discover_la_SOURCES = modules/module-zeroconf-discover.c
1475 module_zeroconf_discover_la_LDFLAGS = -module -avoid-version
1476 module_zeroconf_discover_la_LIBADD = $(AM_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libpulsecore.la
1477 module_zeroconf_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1481 module_lirc_la_SOURCES = modules/module-lirc.c
1482 module_lirc_la_LDFLAGS = -module -avoid-version
1483 module_lirc_la_LIBADD = $(AM_LIBADD) $(LIRC_LIBS) libpulsecore.la
1484 module_lirc_la_CFLAGS = $(AM_CFLAGS) $(LIRC_CFLAGS)
1488 module_mmkbd_evdev_la_SOURCES = modules/module-mmkbd-evdev.c
1489 module_mmkbd_evdev_la_LDFLAGS = -module -avoid-version
1490 module_mmkbd_evdev_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1491 module_mmkbd_evdev_la_CFLAGS = $(AM_CFLAGS)
1495 #module_waveout_la_SOURCES = modules/module-waveout.c
1496 #module_waveout_la_LDFLAGS = -module -avoid-version
1497 #module_waveout_la_LIBADD = $(AM_LIBADD) libpulsecore.la -lwinmm
1498 #module_waveout_la_CFLAGS = $(AM_CFLAGS)
1500 # Hardware autodetection module
1501 module_detect_la_SOURCES = modules/module-detect.c
1502 module_detect_la_LDFLAGS = -module -avoid-version
1503 module_detect_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1504 module_detect_la_CFLAGS = $(AM_CFLAGS)
1506 # Volume restore module
1507 module_volume_restore_la_SOURCES = modules/module-volume-restore.c
1508 module_volume_restore_la_LDFLAGS = -module -avoid-version
1509 module_volume_restore_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1510 module_volume_restore_la_CFLAGS = $(AM_CFLAGS)
1512 # Position event sounds in space
1513 module_position_event_sounds_la_SOURCES = modules/module-position-event-sounds.c
1514 module_position_event_sounds_la_LDFLAGS = -module -avoid-version
1515 module_position_event_sounds_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1516 module_position_event_sounds_CFLAGS = $(AM_CFLAGS)
1518 # Device volume/muted restore module
1519 module_device_restore_la_SOURCES = modules/module-device-restore.c
1520 module_device_restore_la_LDFLAGS = -module -avoid-version
1521 module_device_restore_la_LIBADD = $(AM_LIBADD) libpulsecore.la -lgdbm
1522 module_device_restore_la_CFLAGS = $(AM_CFLAGS)
1524 # Stream volume/muted/device restore module
1525 module_stream_restore_la_SOURCES = modules/module-stream-restore.c
1526 module_stream_restore_la_LDFLAGS = -module -avoid-version
1527 module_stream_restore_la_LIBADD = $(AM_LIBADD) libtagstruct.la libprotocol-native.la libpulsecore.la -lgdbm
1528 module_stream_restore_la_CFLAGS = $(AM_CFLAGS)
1530 # Default sink/source restore module
1531 module_default_device_restore_la_SOURCES = modules/module-default-device-restore.c
1532 module_default_device_restore_la_LDFLAGS = -module -avoid-version
1533 module_default_device_restore_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1534 module_default_device_restore_la_CFLAGS = $(AM_CFLAGS)
1536 # Always Sink module
1537 module_always_sink_la_SOURCES = modules/module-always-sink.c
1538 module_always_sink_la_LDFLAGS = -module -avoid-version
1539 module_always_sink_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1540 module_always_sink_la_CFLAGS = $(AM_CFLAGS)
1542 # Rescue streams module
1543 module_rescue_streams_la_SOURCES = modules/module-rescue-streams.c
1544 module_rescue_streams_la_LDFLAGS = -module -avoid-version
1545 module_rescue_streams_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1546 module_rescue_streams_la_CFLAGS = $(AM_CFLAGS)
1548 # Suspend-on-idle module
1549 module_suspend_on_idle_la_SOURCES = modules/module-suspend-on-idle.c
1550 module_suspend_on_idle_la_LDFLAGS = -module -avoid-version
1551 module_suspend_on_idle_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1552 module_suspend_on_idle_la_CFLAGS = $(AM_CFLAGS)
1555 module_rtp_send_la_SOURCES = modules/rtp/module-rtp-send.c
1556 module_rtp_send_la_LDFLAGS = -module -avoid-version
1557 module_rtp_send_la_LIBADD = $(AM_LIBADD) libpulsecore.la librtp.la libsocket-util.la
1558 module_rtp_send_la_CFLAGS = $(AM_CFLAGS)
1560 module_rtp_recv_la_SOURCES = modules/rtp/module-rtp-recv.c
1561 module_rtp_recv_la_LDFLAGS = -module -avoid-version
1562 module_rtp_recv_la_LIBADD = $(AM_LIBADD) libpulsecore.la librtp.la
1563 module_rtp_recv_la_CFLAGS = $(AM_CFLAGS)
1567 module_jack_sink_la_SOURCES = modules/module-jack-sink.c
1568 module_jack_sink_la_LDFLAGS = -module -avoid-version
1569 module_jack_sink_la_LIBADD = $(AM_LIBADD) libpulsecore.la $(JACK_LIBS)
1570 module_jack_sink_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1572 module_jack_source_la_SOURCES = modules/module-jack-source.c
1573 module_jack_source_la_LDFLAGS = -module -avoid-version
1574 module_jack_source_la_LIBADD = $(AM_LIBADD) libpulsecore.la $(JACK_LIBS)
1575 module_jack_source_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
1578 libdbus_util_la_SOURCES = modules/dbus-util.c modules/dbus-util.h
1579 libdbus_util_la_LDFLAGS = -avoid-version
1580 libdbus_util_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore.la
1581 libdbus_util_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1583 module_hal_detect_la_SOURCES = modules/module-hal-detect.c
1584 module_hal_detect_la_LDFLAGS = -module -avoid-version
1585 module_hal_detect_la_LIBADD = $(AM_LIBADD) $(HAL_LIBS) libpulsecore.la libdbus-util.la
1586 module_hal_detect_la_CFLAGS = $(AM_CFLAGS) $(HAL_CFLAGS)
1588 module_console_kit_la_SOURCES = modules/module-console-kit.c
1589 module_console_kit_la_LDFLAGS = -module -avoid-version
1590 module_console_kit_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore.la libdbus-util.la
1591 module_console_kit_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1594 module_gconf_la_SOURCES = modules/gconf/module-gconf.c
1595 module_gconf_la_LDFLAGS = -module -avoid-version
1596 module_gconf_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1597 module_gconf_la_CFLAGS = $(AM_CFLAGS) -DPA_GCONF_HELPER=\"$(pulselibexecdir)/gconf-helper\"
1599 gconf_helper_SOURCES = modules/gconf/gconf-helper.c
1600 gconf_helper_LDADD = $(AM_LDADD) $(GCONF_LIBS) libpulsecore.la
1601 gconf_helper_CFLAGS = $(AM_CFLAGS) $(GCONF_CFLAGS)
1602 gconf_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1604 # Bluetooth proximity
1605 module_bluetooth_proximity_la_SOURCES = modules/bluetooth/module-bluetooth-proximity.c
1606 module_bluetooth_proximity_la_LDFLAGS = -module -avoid-version
1607 module_bluetooth_proximity_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore.la libdbus-util.la
1608 module_bluetooth_proximity_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -DPA_BT_PROXIMITY_HELPER=\"$(pulselibexecdir)/proximity-helper\"
1610 proximity_helper_SOURCES = modules/bluetooth/proximity-helper.c
1611 proximity_helper_LDADD = $(AM_LDADD) $(BLUEZ_LIBS)
1612 proximity_helper_CFLAGS = $(AM_CFLAGS) $(BLUEZ_CFLAGS)
1613 proximity_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
1615 # Bluetooth sink / source
1616 module_bluetooth_discover_la_SOURCES = modules/bluetooth/module-bluetooth-discover.c
1617 module_bluetooth_discover_la_LDFLAGS = -module -avoid-version
1618 module_bluetooth_discover_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore.la libdbus-util.la
1619 module_bluetooth_discover_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1621 libbluetooth_sbc_la_SOURCES = modules/bluetooth/sbc.c modules/bluetooth/sbc.h modules/bluetooth/sbc_tables.h modules/bluetooth/sbc_math.h
1622 libbluetooth_sbc_la_LDFLAGS = -avoid-version
1623 libbluetooth_sbc_la_LIBADD = $(AM_LIBADD)
1624 libbluetooth_sbc_la_CFLAGS = $(AM_CFLAGS)
1626 libbluetooth_ipc_la_SOURCES = modules/bluetooth/ipc.c modules/bluetooth/ipc.h
1627 libbluetooth_ipc_la_LDFLAGS = -avoid-version
1628 libbluetooth_ipc_la_LIBADD = $(AM_LIBADD)
1629 libbluetooth_ipc_la_CFLAGS = $(AM_CFLAGS)
1631 module_bluetooth_device_la_SOURCES = modules/bluetooth/module-bluetooth-device.c modules/bluetooth/rtp.h
1632 module_bluetooth_device_la_LDFLAGS = -module -avoid-version
1633 module_bluetooth_device_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore.la libdbus-util.la libbluetooth-ipc.la libbluetooth-sbc.la libsocket-util.la
1634 module_bluetooth_device_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
1636 # Apple Airtunes/RAOP
1637 module_raop_sink_la_SOURCES = modules/module-raop-sink.c
1638 module_raop_sink_la_LDFLAGS = -module -avoid-version
1639 module_raop_sink_la_LIBADD = $(AM_LIBADD) libpulsecore.la libiochannel.la librtp.la libraop.la
1641 module_raop_discover_la_SOURCES = modules/module-raop-discover.c
1642 module_raop_discover_la_LDFLAGS = -module -avoid-version
1643 module_raop_discover_la_LIBADD = $(AM_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libpulsecore.la
1644 module_raop_discover_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
1647 ###################################
1648 # Some minor stuff #
1649 ###################################
1651 suid: pulseaudio .libs/lt-pulseaudio
1655 CLEANFILES = esdcompat client.conf default.pa system.pa daemon.conf start-pulseaudio-x11
1657 esdcompat: daemon/esdcompat.in Makefile
1658 sed -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
1659 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
1660 -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1663 start-pulseaudio-x11: daemon/start-pulseaudio-x11.in Makefile
1664 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1665 -e 's,@PACTL_BINARY\@,$(bindir)/pactl,g' < $< > $@
1666 chmod +x start-pulseaudio-x11
1668 client.conf: pulse/client.conf.in Makefile
1669 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1672 default.pa: daemon/default.pa.win32
1674 system.pa: daemon/default.pa.win32
1677 default.pa: daemon/default.pa.in Makefile
1678 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1679 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1680 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1681 system.pa: daemon/system.pa.in Makefile
1682 sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' \
1683 -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1684 -e 's,@PA_SOEXT\@,.so,g' < $< > $@
1687 daemon.conf: daemon/daemon.conf.in Makefile
1688 sed -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
1689 -e 's,@PA_DEFAULT_CONFIG_FILE\@,$(DEFAULT_CONFIG_DIR),g' < $< > $@
1692 chown root $(DESTDIR)$(bindir)/pulseaudio ; true
1693 chmod u+s $(DESTDIR)$(bindir)/pulseaudio
1694 -chmod u+s $(DESTDIR)$(pulselibexecdir)/proximity-helper
1695 ln -sf pacat $(DESTDIR)$(bindir)/parec
1696 rm -f $(DESTDIR)$(modlibexecdir)/*.a
1697 rm -f $(DESTDIR)$(libdir)/libpulsedsp.a
1698 rm -f $(DESTDIR)$(libdir)/libpulsedsp.la
1699 rm -f $(DESTDIR)$(modlibexecdir)/*.la
1702 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
1705 wget -O pulsecore/ffmpeg/resample2.c http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/resample2.c?view=co
1707 # Automatically generate linker version script. We use the same one for all public .sos
1709 ( echo "PULSE_0 {" ; \
1711 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 ; \
1714 echo "};" ) > $(srcdir)/map-file