4d1812ea82799ec7c1897691cc020770c00e812b
[profile/ivi/pulseaudio-panda.git] / src / Makefile.am
1 # This file is part of PulseAudio.
2 #
3 # Copyright 2004-2006 Lennart Poettering
4 # Copyright 2006 Pierre Ossman <ossman@cendio.se> for Cendio AB
5 # Copyright 2006 Diego Pettenò
6 #
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.
11 #
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.
16 #
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
20 # USA.
21
22
23 ###################################
24 #       Extra directories         #
25 ###################################
26
27 pulseincludedir=$(includedir)/pulse
28 pulsecoreincludedir=$(includedir)/pulsecore
29 pulseconfdir=$(sysconfdir)/pulse
30 pulselibexecdir=$(libexecdir)/pulse
31 xdgautostartdir=$(sysconfdir)/xdg/autostart
32
33 ###################################
34 #            Defines              #
35 ###################################
36
37 PA_BINARY=$(bindir)/pulseaudio$(EXEEXT)
38 if OS_IS_WIN32
39 PA_DEFAULT_CONFIG_DIR=%PULSE_ROOT%
40 else
41 PA_DEFAULT_CONFIG_DIR=$(pulseconfdir)
42 endif
43
44 ###################################
45 #     Compiler/linker flags       #
46 ###################################
47
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\"
61
62 # This cool debug trap works on i386/gcc only
63 AM_CFLAGS += '-DDEBUG_TRAP=__asm__("int $$3")'
64
65 if HAVE_OPENSSL
66 AM_CFLAGS += -I$(top_builddir)/src/modules/raop
67 endif
68
69 AM_LIBADD = $(PTHREAD_LIBS) $(INTLLIBS)
70 AM_LDADD = $(PTHREAD_LIBS) $(INTLLIBS)
71
72 # Only required on some platforms but defined for all to avoid errors
73 AM_LDFLAGS = -Wl,-no-undefined -Wl,--gc-sections
74
75 if STATIC_BINS
76 BINLDFLAGS = -static
77 endif
78
79 if OS_IS_WIN32
80 AM_LDFLAGS+=-Wl,--export-all-symbols
81 WINSOCK_LIBS=-lwsock32 -lws2_32 -lwininet
82 endif
83
84 if OS_IS_WIN32
85 PA_THREAD_OBJS = \
86                 pulsecore/mutex-win32.c pulsecore/mutex.h \
87                 pulsecore/thread-win32.c pulsecore/thread.h \
88                 pulsecore/semaphore-win32.c pulsecore/semaphore.h
89 else
90 PA_THREAD_OBJS = \
91                 pulsecore/mutex-posix.c pulsecore/mutex.h \
92                 pulsecore/thread-posix.c pulsecore/thread.h \
93                 pulsecore/semaphore-posix.c pulsecore/semaphore.h
94 endif
95
96
97 ###################################
98 #          Extra files            #
99 ###################################
100
101 EXTRA_DIST = \
102                 pulse/client.conf.in \
103                 pulse/version.h.in \
104                 daemon/daemon.conf.in \
105                 daemon/default.pa.in \
106                 daemon/system.pa.in \
107                 daemon/default.pa.win32 \
108                 depmod.py \
109                 daemon/esdcompat.in \
110                 daemon/start-pulseaudio-x11.in \
111                 utils/padsp \
112                 modules/module-defs.h.m4 \
113                 daemon/pulseaudio.desktop \
114                 map-file \
115                 daemon/org.pulseaudio.policy
116
117 pulseconf_DATA = \
118                 default.pa \
119                 system.pa \
120                 daemon.conf \
121                 client.conf
122
123 if HAVE_X11
124 xdgautostart_DATA = \
125                 daemon/pulseaudio.desktop
126 endif
127
128 BUILT_SOURCES = \
129                 pulse/version.h
130
131 ###################################
132 #          Main daemon            #
133 ###################################
134
135 bin_PROGRAMS = pulseaudio
136
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 \
144                 daemon/main.c
145
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)
151
152 if PREOPEN_MODS
153 PREOPEN_LIBS = $(PREOPEN_MODS)
154 else
155 PREOPEN_LIBS = $(modlibexec_LTLIBRARIES)
156 endif
157
158 if FORCE_PREOPEN
159 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) -dlpreopen force $(foreach f,$(PREOPEN_LIBS),-dlpreopen $(f))
160 else
161 pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) -dlopen force $(foreach f,$(PREOPEN_LIBS),-dlopen $(f))
162 endif
163
164 if HAVE_POLKIT
165
166 policy_DATA = daemon/org.pulseaudio.policy
167
168 pulseaudio_SOURCES += daemon/polkit.c daemon/polkit.h
169 pulseaudio_CFLAGS += $(POLKIT_CFLAGS)
170 pulseaudio_LDADD += $(POLKIT_LIBS)
171
172
173 endif
174
175 ###################################
176 #       Utility programs          #
177 ###################################
178
179 bin_PROGRAMS += \
180                 pacat \
181                 pactl \
182                 paplay \
183                 pasuspender
184
185 if HAVE_AF_UNIX
186 bin_PROGRAMS += pacmd
187 endif
188
189 if HAVE_X11
190 bin_PROGRAMS += pax11publish
191 endif
192
193 if HAVE_AVAHI
194 bin_PROGRAMS += pabrowse
195 endif
196
197 bin_SCRIPTS = esdcompat start-pulseaudio-x11
198
199 pacat_SOURCES = utils/pacat.c
200 pacat_LDADD = $(AM_LDADD) libpulse.la
201 pacat_CFLAGS = $(AM_CFLAGS)
202 pacat_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
203
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)
208
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)
213
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)
218
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)
223
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)
228
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)
233
234 ###################################
235 #         Test programs           #
236 ###################################
237
238 noinst_PROGRAMS = \
239                 mainloop-test \
240                 mcalign-test \
241                 pacat-simple \
242                 parec-simple \
243                 strlist-test \
244                 close-test \
245                 voltest \
246                 memblockq-test \
247                 sync-playback \
248                 interpol-test \
249                 channelmap-test \
250                 thread-mainloop-test \
251                 utf8-test \
252                 get-binary-name-test \
253                 ipacl-test \
254                 hook-list-test \
255                 memblock-test \
256                 thread-test \
257                 flist-test \
258                 asyncq-test \
259                 asyncmsgq-test \
260                 queue-test \
261                 rtpoll-test \
262                 sig2str-test \
263                 resampler-test \
264                 smoother-test \
265                 mix-test \
266                 remix-test \
267                 envelope-test \
268                 proplist-test \
269                 rtstutter \
270                 stripnul \
271                 lock-autospawn-test \
272                 prioq-test
273
274 if HAVE_SIGXCPU
275 noinst_PROGRAMS += \
276                 cpulimit-test \
277                 cpulimit-test2
278 endif
279
280 if HAVE_GLIB20
281 noinst_PROGRAMS += \
282                 mainloop-test-glib
283 endif
284
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)
289
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)
294
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)
299
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)
304
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)
311
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)
316
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)
321
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)
326
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)
331
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)
336
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)
341
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)
346
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)
351
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)
356
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)
361
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)
366
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)
371
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)
376
377 voltest_SOURCES = tests/voltest.c
378 voltest_CFLAGS = $(AM_CFLAGS)
379 voltest_LDADD = $(AM_LDADD) libpulse.la
380 voltest_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
381
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)
386
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)
391
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)
396
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)
401
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)
406
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)
411
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)
416
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)
421
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)
426
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)
431
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)
436
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)
441
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)
446
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)
451
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)
456
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)
461
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)
466
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)
471
472 ###################################
473 #         Client library          #
474 ###################################
475
476 pulseinclude_HEADERS = \
477                 pulse/cdecl.h \
478                 pulse/channelmap.h \
479                 pulse/context.h \
480                 pulse/def.h \
481                 pulse/error.h \
482                 pulse/introspect.h \
483                 pulse/mainloop.h \
484                 pulse/mainloop-api.h \
485                 pulse/mainloop-signal.h \
486                 pulse/operation.h \
487                 pulse/pulseaudio.h \
488                 pulse/sample.h \
489                 pulse/scache.h \
490                 pulse/simple.h \
491                 pulse/stream.h \
492                 pulse/subscribe.h \
493                 pulse/thread-mainloop.h \
494                 pulse/timeval.h \
495                 pulse/utf8.h \
496                 pulse/util.h \
497                 pulse/version.h \
498                 pulse/volume.h \
499                 pulse/xmalloc.h \
500                 pulse/proplist.h \
501                 pulse/gccmacro.h \
502                 pulse/ext-stream-restore.h
503
504 if HAVE_AVAHI
505 pulseinclude_HEADERS += \
506                 pulse/browser.h
507 endif
508
509 if HAVE_GLIB20
510 pulseinclude_HEADERS += \
511                 pulse/glib-mainloop.h
512 endif
513
514 lib_LTLIBRARIES = \
515                 libpulse.la \
516                 libpulse-simple.la
517
518 if HAVE_AVAHI
519 lib_LTLIBRARIES += \
520                 libpulse-browse.la
521 endif
522
523 if HAVE_GLIB20
524 lib_LTLIBRARIES += \
525                 libpulse-mainloop-glib.la
526 endif
527
528 # Public interface
529 libpulse_la_SOURCES = \
530                 pulse/cdecl.h \
531                 pulse/channelmap.c pulse/channelmap.h \
532                 pulse/client-conf.c pulse/client-conf.h \
533                 pulse/context.c pulse/context.h \
534                 pulse/def.h \
535                 pulse/error.c pulse/error.h \
536                 pulse/internal.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 \
542                 pulse/pulseaudio.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
556
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 \
567                 pulsecore/llist.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 \
598                 $(PA_THREAD_OBJS)
599
600 if OS_IS_WIN32
601 libpulse_la_SOURCES += \
602                 pulsecore/dllmain.c
603 endif
604
605 if HAVE_X11
606 libpulse_la_SOURCES += \
607                 pulse/client-conf-x11.c pulse/client-conf-x11.h \
608                 pulsecore/x11prop.c pulsecore/x11prop.h
609 endif
610
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)
614
615 if HAVE_X11
616 libpulse_la_CFLAGS += $(X_CFLAGS)
617 libpulse_la_LDFLAGS += $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS)
618 endif
619
620 if HAVE_LIBASYNCNS
621 libpulse_la_CFLAGS += $(LIBASYNCNS_CFLAGS)
622 libpulse_la_LIBADD += $(LIBASYNCNS_LIBS)
623 endif
624
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 \
632                 $(PA_THREAD_OBJS)
633
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
637
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
642
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 \
650                 $(PA_THREAD_OBJS)
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
654
655 ###################################
656 #         OSS emulation           #
657 ###################################
658
659 if HAVE_OSS
660
661 lib_LTLIBRARIES += libpulsedsp.la
662
663 bin_SCRIPTS += utils/padsp
664
665 endif
666
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
671
672 ###################################
673 #      ffmpeg resampler           #
674 ###################################
675
676 noinst_LTLIBRARIES = libffmpeg-resampler.la
677
678 libffmpeg_resampler_la_CPPFLAGS = $(AM_CPPFLAGS)
679 libffmpeg_resampler_la_SOURCES = pulsecore/ffmpeg/resample2.c pulsecore/ffmpeg/avcodec.h pulsecore/ffmpeg/dsputil.h
680
681 ###################################
682 #      Daemon core library        #
683 ###################################
684
685 #pulsecoreinclude_HEADERS =
686 noinst_HEADERS = \
687                 pulsecore/autoload.h \
688                 pulsecore/atomic.h \
689                 pulsecore/cli-command.h \
690                 pulsecore/cli-text.h \
691                 pulsecore/client.h \
692                 pulsecore/core.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 \
698                 pulsecore/g711.h \
699                 pulsecore/hashmap.h \
700                 pulsecore/idxset.h \
701                 pulsecore/log.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 \
708                 pulsecore/module.h \
709                 pulsecore/namereg.h \
710                 pulsecore/pid.h \
711                 pulsecore/play-memchunk.h \
712                 pulsecore/play-memblockq.h \
713                 pulsecore/shared.h \
714                 pulsecore/queue.h \
715                 pulsecore/random.h \
716                 pulsecore/resampler.h \
717                 pulsecore/sample-util.h \
718                 pulsecore/sconv.h \
719                 pulsecore/sink.h \
720                 pulsecore/sink-input.h \
721                 pulsecore/sioman.h \
722                 pulsecore/sound-file.h \
723                 pulsecore/sound-file-stream.h \
724                 pulsecore/source.h \
725                 pulsecore/source-output.h \
726                 pulsecore/strbuf.h \
727                 pulsecore/tokenizer.h \
728                 pulsecore/creds.h \
729                 pulsecore/shm.h \
730                 pulsecore/llist.h \
731                 pulsecore/refcnt.h \
732                 pulsecore/mutex.h \
733                 pulsecore/thread.h \
734                 pulsecore/semaphore.h \
735                 pulsecore/once.h
736
737 lib_LTLIBRARIES += libpulsecore.la
738
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
754
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 \
818                 pulsecore/macro.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 \
825                 $(PA_THREAD_OBJS)
826
827 if OS_IS_WIN32
828 libpulsecore_la_SOURCES += \
829                 pulsecore/dllmain.c
830 endif
831
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
835
836 ###################################
837 #   Plug-in support libraries     #
838 ###################################
839
840 #pulsecoreinclude_HEADERS +=
841 noinst_HEADERS += \
842                 pulsecore/socket-util.h \
843                 pulsecore/iochannel.h \
844                 pulsecore/socket-server.h \
845                 pulsecore/ipacl.h \
846                 pulsecore/socket-client.h \
847                 pulsecore/parseaddr.h \
848                 pulsecore/packet.h \
849                 pulsecore/pstream.h \
850                 pulsecore/ioline.h \
851                 pulsecore/cli.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 \
860                 pulsecore/esound.h \
861                 pulsecore/protocol-esound.h \
862                 pulsecore/native-common.h \
863                 pulsecore/protocol-native.h \
864                 pulsecore/protocol-http.h
865
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!
870
871 modlibexec_LTLIBRARIES = \
872                 libsocket-util.la \
873                 libiochannel.la \
874                 libsocket-server.la \
875                 libipacl.la \
876                 libparseaddr.la \
877                 libsocket-client.la \
878                 libpacket.la \
879                 libpstream.la \
880                 libioline.la \
881                 libcli.la \
882                 libprotocol-cli.la \
883                 libtagstruct.la \
884                 libpstream-util.la \
885                 libpdispatch.la \
886                 libauthkey.la \
887                 libauth-cookie.la \
888                 libstrlist.la \
889                 libprotocol-simple.la \
890                 libprotocol-http.la \
891                 libprotocol-native.la \
892                 libprotocol-esound.la
893
894 # We need to emulate sendmsg/recvmsg to support this on Win32
895 if !OS_IS_WIN32
896 modlibexec_LTLIBRARIES += \
897                 librtp.la
898 endif
899
900 if HAVE_X11
901 #pulsecoreinclude_HEADERS +=
902 noinst_HEADERS += \
903                 pulsecore/x11wrap.h \
904                 pulsecore/x11prop.h
905
906 modlibexec_LTLIBRARIES += \
907                 libx11wrap.la \
908                 libx11prop.la
909 endif
910
911 if HAVE_AVAHI
912 #pulsecoreinclude_HEADERS +=
913 noinst_HEADERS += \
914                 pulsecore/avahi-wrap.h
915
916 modlibexec_LTLIBRARIES += \
917                 libavahi-wrap.la
918 endif
919
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
923
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)
930
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)
935
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)
940
941 libparseaddr_la_SOURCES = pulsecore/parseaddr.c pulsecore/parseaddr.h
942 libparseaddr_la_LDFLAGS = -avoid-version
943 libparseaddr_la_LIBADD = $(AM_LIBADD) libpulsecore.la
944
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)
948
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
952
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
956
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)
960
961 libpacket_la_SOURCES = pulsecore/packet.c pulsecore/packet.h
962 libpacket_la_LDFLAGS = -avoid-version
963 libpacket_la_LIBADD = $(AM_LIBADD) libpulsecore.la
964
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
968
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
973
974 libstrlist_la_SOURCES = pulsecore/strlist.c pulsecore/strlist.h
975 libstrlist_la_LDFLAGS = -avoid-version
976 libstrlist_la_LIBADD = $(AM_LIBADD) libpulsecore.la
977
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
981
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
985
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
989
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)
993
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
997
998 libauthkey_la_SOURCES = pulsecore/authkey.c pulsecore/authkey.h
999 libauthkey_la_LDFLAGS = -avoid-version
1000 libauthkey_la_LIBADD = $(AM_LIBADD) libpulsecore.la
1001
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
1005
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
1011
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
1020
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
1027
1028 # X11
1029
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
1034
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)
1039
1040 # Avahi
1041
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
1046
1047 ###################################
1048 #        Plug-in libraries        #
1049 ###################################
1050
1051 modlibexec_LTLIBRARIES += \
1052                 module-flat-volume.la \
1053                 module-cli.la \
1054                 module-cli-protocol-tcp.la \
1055                 module-simple-protocol-tcp.la \
1056                 module-null-sink.la \
1057                 module-detect.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 \
1066                 module-sine.la \
1067                 module-native-protocol-tcp.la \
1068                 module-native-protocol-fd.la \
1069                 module-esound-protocol-tcp.la \
1070                 module-combine.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
1077
1078
1079 # See comment at librtp.la above
1080 if !OS_IS_WIN32
1081 modlibexec_LTLIBRARIES += \
1082                 module-rtp-send.la \
1083                 module-rtp-recv.la
1084 endif
1085
1086 if HAVE_AF_UNIX
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
1093 endif
1094
1095 if HAVE_MKFIFO
1096 modlibexec_LTLIBRARIES += \
1097                 module-pipe-sink.la \
1098                 module-pipe-source.la
1099 endif
1100
1101 if !OS_IS_WIN32
1102 modlibexec_LTLIBRARIES += \
1103                 module-esound-compat-spawnfd.la \
1104                 module-esound-compat-spawnpid.la
1105 endif
1106
1107 if HAVE_REGEX
1108 modlibexec_LTLIBRARIES += \
1109                 module-match.la
1110 endif
1111
1112 if HAVE_X11
1113 modlibexec_LTLIBRARIES += \
1114                 module-x11-bell.la \
1115                 module-x11-publish.la \
1116                 module-x11-xsmp.la
1117 endif
1118
1119 if HAVE_OSS
1120 modlibexec_LTLIBRARIES += \
1121                 liboss-util.la \
1122                 module-oss.la
1123 endif
1124
1125 if HAVE_ALSA
1126 modlibexec_LTLIBRARIES += \
1127                 libalsa-util.la \
1128                 module-alsa-sink.la \
1129                 module-alsa-source.la
1130 endif
1131
1132 if HAVE_SOLARIS
1133 modlibexec_LTLIBRARIES += \
1134                 module-solaris.la
1135 endif
1136
1137 if HAVE_AVAHI
1138 modlibexec_LTLIBRARIES += \
1139                 module-zeroconf-publish.la \
1140                 module-zeroconf-discover.la
1141 endif
1142
1143 if HAVE_LIRC
1144 modlibexec_LTLIBRARIES += \
1145                 module-lirc.la
1146 endif
1147
1148 if HAVE_EVDEV
1149 modlibexec_LTLIBRARIES += \
1150                 module-mmkbd-evdev.la
1151 endif
1152
1153 if HAVE_JACK
1154 modlibexec_LTLIBRARIES += \
1155                 module-jack-sink.la \
1156                 module-jack-source.la
1157 endif
1158
1159 pulselibexec_PROGRAMS =
1160
1161 if HAVE_GCONF
1162 modlibexec_LTLIBRARIES += \
1163                 module-gconf.la
1164
1165 pulselibexec_PROGRAMS += \
1166                 gconf-helper
1167 endif
1168
1169 #if OS_IS_WIN32
1170 #modlibexec_LTLIBRARIES += \
1171 #               module-waveout.la
1172 #endif
1173
1174 if HAVE_HAL
1175 modlibexec_LTLIBRARIES += \
1176                 libdbus-util.la \
1177                 module-hal-detect.la
1178 endif
1179
1180 if HAVE_DBUS
1181 modlibexec_LTLIBRARIES += \
1182                 libdbus-util.la \
1183                 module-console-kit.la
1184 endif
1185
1186 if HAVE_BLUEZ
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
1193
1194 pulselibexec_PROGRAMS += \
1195                 proximity-helper
1196 endif
1197
1198 if HAVE_OPENSSL
1199 modlibexec_LTLIBRARIES += \
1200                 libraop.la \
1201                 module-raop-sink.la
1202 if HAVE_AVAHI
1203 modlibexec_LTLIBRARIES += \
1204                 module-raop-discover.la
1205 endif
1206 endif
1207
1208
1209 # These are generated by a M4 script
1210
1211 SYMDEF_FILES = \
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
1271
1272 EXTRA_DIST += $(SYMDEF_FILES)
1273 BUILT_SOURCES += $(SYMDEF_FILES)
1274
1275 $(SYMDEF_FILES): modules/module-defs.h.m4
1276         $(MKDIR_P) modules
1277         $(MKDIR_P) modules/gconf
1278         $(MKDIR_P) modules/rtp
1279         $(MKDIR_P) modules/bluetooth
1280         $(M4) -Dfname="$@" $< > $@
1281
1282 # Flat volume
1283
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
1287
1288 # Simple protocol
1289
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
1294
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
1299
1300 # CLI protocol
1301
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
1305
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
1310
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
1315
1316 # HTTP protocol
1317
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
1322
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
1327
1328 # Native protocol
1329
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
1334
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
1339
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
1344
1345 # EsounD protocol
1346
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
1351
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
1356
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
1360
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
1364
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
1368
1369 # Pipes
1370
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
1374
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
1378
1379 # Fake sources/sinks
1380
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
1384
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
1388
1389 # Couplings
1390
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
1394
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
1398
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
1403
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
1407
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
1412
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
1416
1417 # X11
1418
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
1423
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
1428
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
1433
1434 # OSS
1435
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
1439
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
1443
1444 # ALSA
1445
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)
1450
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)
1455
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)
1460
1461 # Solaris
1462
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
1466
1467 # Avahi
1468
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)
1473
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)
1478
1479 # LIRC
1480
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)
1485
1486 # Linux evdev
1487
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)
1492
1493 # Windows waveout
1494
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)
1499
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)
1505
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)
1511
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)
1517
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)
1523
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)
1529
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)
1535
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)
1541
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)
1547
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)
1553
1554 # RTP modules
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)
1559
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)
1564
1565 # JACK
1566
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)
1571
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)
1576
1577 # HAL/D-Bus
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)
1582
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)
1587
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)
1592
1593 # GConf support
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\"
1598
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)
1603
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\"
1609
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)
1614
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)
1620
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)
1625
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)
1630
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)
1635
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
1640
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)
1645
1646
1647 ###################################
1648 #        Some minor stuff         #
1649 ###################################
1650
1651 suid: pulseaudio .libs/lt-pulseaudio
1652         chown root $^
1653         chmod u+s $^
1654
1655 CLEANFILES = esdcompat client.conf default.pa system.pa daemon.conf start-pulseaudio-x11
1656
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' < $< > $@
1661         chmod +x esdcompat
1662
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
1667
1668 client.conf: pulse/client.conf.in Makefile
1669         sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
1670
1671 if OS_IS_WIN32
1672 default.pa: daemon/default.pa.win32
1673         cp $< $@
1674 system.pa: daemon/default.pa.win32
1675         cp $< $@
1676 else
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' < $< > $@
1685 endif
1686
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' < $< > $@
1690
1691 install-exec-hook:
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
1700
1701 massif: pulseaudio
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
1703
1704 update-ffmpeg:
1705         wget -O pulsecore/ffmpeg/resample2.c http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/resample2.c?view=co
1706
1707 # Automatically generate linker version script. We use the same one for all public .sos
1708 update-map-file:
1709         ( echo "PULSE_0 {" ; \
1710           echo "global:" ; \
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 ; \
1712           echo "local:" ;  \
1713           echo "*;" ; \
1714           echo "};" ) > $(srcdir)/map-file
1715
1716 .PHONY: utils/padsp