2004-06-20 01:12:13 +00:00
|
|
|
# $Id$
|
2004-06-11 00:33:43 +00:00
|
|
|
#
|
2006-06-19 21:53:48 +00:00
|
|
|
# This file is part of PulseAudio.
|
2004-06-11 00:33:43 +00:00
|
|
|
#
|
2006-06-19 21:53:48 +00:00
|
|
|
# PulseAudio is free software; you can redistribute it and/or modify
|
2004-11-14 14:58:54 +00:00
|
|
|
# it under the terms of the GNU Lesser General Public License as published by
|
2004-06-11 00:33:43 +00:00
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
#
|
2006-06-19 21:53:48 +00:00
|
|
|
# PulseAudio is distributed in the hope that it will be useful, but
|
2004-06-11 00:33:43 +00:00
|
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
# General Public License for more details.
|
|
|
|
|
#
|
2004-11-14 14:58:54 +00:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
2006-06-19 21:53:48 +00:00
|
|
|
# along with PulseAudio; if not, write to the Free Software
|
2004-07-16 20:02:44 +00:00
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
|
|
|
# USA.
|
2004-06-11 00:33:43 +00:00
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
|
|
|
|
|
###################################
|
|
|
|
|
# Extra directories #
|
|
|
|
|
###################################
|
|
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
pulseincludedir=$(includedir)/pulse
|
|
|
|
|
pulsecoreincludedir=$(includedir)/pulsecore
|
|
|
|
|
pulseconfdir=$(sysconfdir)/pulse
|
2006-07-26 17:36:14 +00:00
|
|
|
pulselibexecdir=$(libexecdir)/pulse
|
2004-09-01 17:36:46 +00:00
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
###################################
|
|
|
|
|
# Defines #
|
|
|
|
|
###################################
|
|
|
|
|
|
2006-07-19 17:44:19 +00:00
|
|
|
PA_BINARY=$(bindir)/pulseaudio$(EXEEXT)
|
2006-01-10 17:51:06 +00:00
|
|
|
if OS_IS_WIN32
|
2006-07-19 17:44:19 +00:00
|
|
|
PA_DEFAULT_CONFIG_DIR=%PULSE_ROOT%
|
2006-01-10 17:51:06 +00:00
|
|
|
else
|
2006-07-19 17:44:19 +00:00
|
|
|
PA_DEFAULT_CONFIG_DIR=$(pulseconfdir)
|
2006-01-10 17:51:06 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
###################################
|
|
|
|
|
# Compiler/linker flags #
|
|
|
|
|
###################################
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
AM_CFLAGS = -I$(top_srcdir)/src
|
2006-01-10 17:51:06 +00:00
|
|
|
AM_CFLAGS += $(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS
|
|
|
|
|
AM_CFLAGS += $(LTDLINCL)
|
|
|
|
|
AM_CFLAGS += $(LIBSAMPLERATE_CFLAGS) $(LIBSNDFILE_CFLAGS)
|
2006-07-19 17:44:19 +00:00
|
|
|
AM_CFLAGS += -DPA_DLSEARCHPATH=\"$(modlibexecdir)\"
|
|
|
|
|
AM_CFLAGS += -DPA_DEFAULT_CONFIG_DIR=\"$(PA_DEFAULT_CONFIG_DIR)\"
|
|
|
|
|
AM_CFLAGS += -DPA_BINARY=\"$(PA_BINARY)\"
|
|
|
|
|
AM_CFLAGS += -DPA_SYSTEM_RUNTIME_PATH=\"$(PA_SYSTEM_RUNTIME_PATH)\"
|
2006-08-31 15:20:43 +00:00
|
|
|
AM_CFLAGS += -DAO_REQUIRE_CAS
|
2004-09-01 21:12:27 +00:00
|
|
|
|
2004-11-17 00:05:25 +00:00
|
|
|
# This cool debug trap works on i386/gcc only
|
2006-01-10 17:51:06 +00:00
|
|
|
AM_CFLAGS += '-DDEBUG_TRAP=__asm__("int $$3")'
|
|
|
|
|
|
|
|
|
|
AM_LIBADD = $(PTHREAD_LIBS)
|
|
|
|
|
AM_LDADD = $(PTHREAD_LIBS)
|
|
|
|
|
|
|
|
|
|
# Only required on some platforms but defined for all to avoid errors
|
|
|
|
|
AM_LDFLAGS = -no-undefined
|
|
|
|
|
|
|
|
|
|
if STATIC_BINS
|
|
|
|
|
BINLDFLAGS = -static
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if OS_IS_WIN32
|
|
|
|
|
AM_LDFLAGS+=-Wl,--export-all-symbols
|
|
|
|
|
WINSOCK_LIBS=-lwsock32 -lws2_32 -lwininet
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
###################################
|
|
|
|
|
# Extra files #
|
|
|
|
|
###################################
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2006-06-19 21:53:48 +00:00
|
|
|
pulse/client.conf.in \
|
2006-02-16 21:37:20 +00:00
|
|
|
daemon/daemon.conf.in \
|
|
|
|
|
daemon/default.pa.in \
|
2006-07-14 10:08:53 +00:00
|
|
|
daemon/default.pa.win32 \
|
2006-01-10 17:51:06 +00:00
|
|
|
depmod.py \
|
2006-05-29 12:59:10 +00:00
|
|
|
daemon/esdcompat.in \
|
2006-05-25 13:56:14 +00:00
|
|
|
utils/padsp \
|
2006-02-16 19:19:58 +00:00
|
|
|
modules/module-defs.h.m4
|
2006-01-10 17:51:06 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
pulseconf_DATA = \
|
2006-02-16 21:37:20 +00:00
|
|
|
default.pa \
|
|
|
|
|
daemon.conf \
|
|
|
|
|
client.conf
|
2006-01-10 17:51:06 +00:00
|
|
|
|
2006-02-16 21:37:20 +00:00
|
|
|
BUILT_SOURCES = \
|
2006-06-19 21:53:48 +00:00
|
|
|
pulse/version.h
|
2006-01-10 17:51:06 +00:00
|
|
|
|
|
|
|
|
###################################
|
|
|
|
|
# Main daemon #
|
|
|
|
|
###################################
|
|
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
bin_PROGRAMS = pulseaudio
|
2006-01-10 17:51:06 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
pulseaudio_SOURCES = \
|
2006-02-16 19:19:58 +00:00
|
|
|
daemon/caps.h daemon/caps.c \
|
|
|
|
|
daemon/cmdline.c daemon/cmdline.h \
|
|
|
|
|
daemon/cpulimit.c daemon/cpulimit.h \
|
|
|
|
|
daemon/daemon-conf.c daemon/daemon-conf.h \
|
|
|
|
|
daemon/dumpmodules.c daemon/dumpmodules.h \
|
|
|
|
|
daemon/main.c \
|
2006-06-19 21:53:48 +00:00
|
|
|
pulsecore/gccmacro.h
|
2006-01-10 17:51:06 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
pulseaudio_CFLAGS = $(AM_CFLAGS) $(LIBOIL_CFLAGS)
|
|
|
|
|
pulseaudio_CPPFLAGS = $(AM_CPPFLAGS)
|
|
|
|
|
pulseaudio_LDADD = $(AM_LDADD) libpulsecore.la $(LIBLTDL) \
|
2006-01-27 16:25:31 +00:00
|
|
|
$(LIBSAMPLERATE_LIBS) $(LIBSNDFILE_LIBS) $(CAP_LIBS) $(LIBOIL_LIBS)
|
2006-06-11 01:34:12 +00:00
|
|
|
# This is needed because automake doesn't properly expand the foreach below
|
2006-06-19 21:53:48 +00:00
|
|
|
pulseaudio_DEPENDENCIES = libpulsecore.la $(PREOPEN_LIBS)
|
2006-01-10 17:51:06 +00:00
|
|
|
|
|
|
|
|
if PREOPEN_MODS
|
|
|
|
|
PREOPEN_LIBS = $(PREOPEN_MODS)
|
|
|
|
|
else
|
2006-05-16 15:29:58 +00:00
|
|
|
PREOPEN_LIBS = $(modlibexec_LTLIBRARIES)
|
2006-01-10 17:51:06 +00:00
|
|
|
endif
|
2004-11-17 00:05:25 +00:00
|
|
|
|
2006-04-13 17:32:10 +00:00
|
|
|
if FORCE_PREOPEN
|
2006-06-19 21:53:48 +00:00
|
|
|
pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) -dlpreopen force $(foreach f,$(PREOPEN_LIBS),-dlpreopen $(f))
|
2006-04-13 17:32:10 +00:00
|
|
|
else
|
2006-06-19 21:53:48 +00:00
|
|
|
pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) -dlopen force $(foreach f,$(PREOPEN_LIBS),-dlopen $(f))
|
2006-04-13 17:32:10 +00:00
|
|
|
endif
|
|
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
###################################
|
|
|
|
|
# Utility programs #
|
|
|
|
|
###################################
|
2004-06-11 00:33:43 +00:00
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
bin_PROGRAMS += \
|
2004-11-21 18:15:33 +00:00
|
|
|
pacat \
|
|
|
|
|
pactl \
|
2006-01-10 17:51:06 +00:00
|
|
|
paplay
|
|
|
|
|
|
|
|
|
|
if HAVE_AF_UNIX
|
|
|
|
|
bin_PROGRAMS += pacmd
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if HAVE_X11
|
|
|
|
|
bin_PROGRAMS += pax11publish
|
|
|
|
|
endif
|
|
|
|
|
|
2006-07-13 17:33:44 +00:00
|
|
|
if HAVE_AVAHI
|
2006-02-16 21:37:20 +00:00
|
|
|
bin_PROGRAMS += pabrowse
|
2006-01-10 17:51:06 +00:00
|
|
|
endif
|
2004-11-21 18:15:33 +00:00
|
|
|
|
2006-05-29 12:59:10 +00:00
|
|
|
bin_SCRIPTS = esdcompat
|
2004-11-21 18:15:33 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
pacat_SOURCES = utils/pacat.c
|
2006-06-19 21:53:48 +00:00
|
|
|
pacat_LDADD = $(AM_LDADD) libpulse.la
|
2006-01-10 17:51:06 +00:00
|
|
|
pacat_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
pacat_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
paplay_SOURCES = utils/paplay.c
|
2006-06-19 21:53:48 +00:00
|
|
|
paplay_LDADD = $(AM_LDADD) libpulse.la $(LIBSNDFILE_LIBS)
|
2006-01-10 17:51:06 +00:00
|
|
|
paplay_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
|
|
|
|
|
paplay_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
pactl_SOURCES = utils/pactl.c
|
2006-06-19 21:53:48 +00:00
|
|
|
pactl_LDADD = $(AM_LDADD) libpulse.la $(LIBSNDFILE_LIBS)
|
2006-01-10 17:51:06 +00:00
|
|
|
pactl_CFLAGS = $(AM_CFLAGS) $(LIBSNDFILE_CFLAGS)
|
|
|
|
|
pactl_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
pacmd_SOURCES = utils/pacmd.c pulsecore/pid.c pulsecore/pid.h
|
2006-01-10 17:51:06 +00:00
|
|
|
pacmd_CFLAGS = $(AM_CFLAGS)
|
2006-06-19 21:53:48 +00:00
|
|
|
pacmd_LDADD = $(AM_LDADD) libpulse.la
|
2006-01-10 17:51:06 +00:00
|
|
|
pacmd_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
pax11publish_SOURCES = utils/pax11publish.c
|
2006-01-10 17:51:06 +00:00
|
|
|
pax11publish_CFLAGS = $(AM_CFLAGS) $(X_CFLAGS)
|
2006-06-19 21:53:48 +00:00
|
|
|
pax11publish_LDADD = $(AM_LDADD) libpulse.la $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS)
|
2006-01-10 17:51:06 +00:00
|
|
|
pax11publish_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
pabrowse_SOURCES = utils/pabrowse.c
|
2006-06-19 21:53:48 +00:00
|
|
|
pabrowse_LDADD = $(AM_LDADD) libpulse.la libpulse-browse.la
|
2006-01-10 17:51:06 +00:00
|
|
|
pabrowse_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
pabrowse_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
|
|
|
|
###################################
|
|
|
|
|
# Test programs #
|
|
|
|
|
###################################
|
|
|
|
|
|
2004-09-12 23:29:54 +00:00
|
|
|
noinst_PROGRAMS = \
|
|
|
|
|
mainloop-test \
|
2006-01-10 17:51:06 +00:00
|
|
|
mcalign-test \
|
2004-09-12 23:29:54 +00:00
|
|
|
pacat-simple \
|
|
|
|
|
parec-simple \
|
2004-11-17 00:05:25 +00:00
|
|
|
strlist-test \
|
2006-02-20 04:05:16 +00:00
|
|
|
voltest \
|
|
|
|
|
memblockq-test \
|
2006-04-26 14:34:45 +00:00
|
|
|
sync-playback \
|
2006-06-19 11:27:00 +00:00
|
|
|
interpol-test \
|
2006-05-09 08:39:26 +00:00
|
|
|
channelmap-test \
|
2006-05-16 00:46:03 +00:00
|
|
|
thread-mainloop-test \
|
2006-07-14 00:19:09 +00:00
|
|
|
utf8-test \
|
2006-07-20 16:48:26 +00:00
|
|
|
get-binary-name-test \
|
2006-08-12 23:35:44 +00:00
|
|
|
ipacl-test \
|
2006-08-18 19:56:51 +00:00
|
|
|
hook-list-test \
|
2006-08-29 19:51:14 +00:00
|
|
|
memblock-test \
|
|
|
|
|
thread-test
|
2006-01-10 17:51:06 +00:00
|
|
|
|
|
|
|
|
if HAVE_SIGXCPU
|
|
|
|
|
noinst_PROGRAMS += \
|
|
|
|
|
cpulimit-test \
|
|
|
|
|
cpulimit-test2
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if HAVE_GLIB20
|
|
|
|
|
noinst_PROGRAMS += \
|
|
|
|
|
mainloop-test-glib
|
|
|
|
|
endif
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
mainloop_test_SOURCES = tests/mainloop-test.c
|
2006-01-10 17:51:06 +00:00
|
|
|
mainloop_test_CFLAGS = $(AM_CFLAGS)
|
2006-06-19 21:53:48 +00:00
|
|
|
mainloop_test_LDADD = $(AM_LDADD) libpulse.la
|
2006-01-10 17:51:06 +00:00
|
|
|
mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-04-30 23:34:17 +00:00
|
|
|
thread_mainloop_test_SOURCES = tests/thread-mainloop-test.c
|
|
|
|
|
thread_mainloop_test_CFLAGS = $(AM_CFLAGS)
|
2006-06-19 21:53:48 +00:00
|
|
|
thread_mainloop_test_LDADD = $(AM_LDADD) libpulse.la
|
2006-04-30 23:34:17 +00:00
|
|
|
thread_mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-05-16 00:46:03 +00:00
|
|
|
utf8_test_SOURCES = tests/utf8-test.c
|
|
|
|
|
utf8_test_CFLAGS = $(AM_CFLAGS)
|
2006-06-19 21:53:48 +00:00
|
|
|
utf8_test_LDADD = $(AM_LDADD) libpulsecore.la
|
2006-05-16 00:46:03 +00:00
|
|
|
utf8_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-07-14 00:19:09 +00:00
|
|
|
get_binary_name_test_SOURCES = tests/get-binary-name-test.c
|
|
|
|
|
get_binary_name_test_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
get_binary_name_test_LDADD = $(AM_LDADD) libpulse.la
|
|
|
|
|
get_binary_name_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-07-20 23:21:57 +00:00
|
|
|
ipacl_test_SOURCES = tests/ipacl-test.c \
|
|
|
|
|
pulsecore/ipacl.c pulsecore/ipacl.h \
|
|
|
|
|
pulsecore/inet_pton.c pulsecore/inet_pton.h
|
2006-07-20 16:48:26 +00:00
|
|
|
ipacl_test_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
ipacl_test_LDADD = $(AM_LDADD) libpulsecore.la
|
|
|
|
|
ipacl_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-08-12 23:35:44 +00:00
|
|
|
hook_list_test_SOURCES = tests/hook-list-test.c
|
|
|
|
|
hook_list_test_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
hook_list_test_LDADD = $(AM_LDADD) libpulsecore.la
|
|
|
|
|
hook_list_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-08-18 19:56:51 +00:00
|
|
|
memblock_test_SOURCES = tests/memblock-test.c
|
|
|
|
|
memblock_test_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
memblock_test_LDADD = $(AM_LDADD) libpulsecore.la
|
|
|
|
|
memblock_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-08-29 19:51:14 +00:00
|
|
|
thread_test_SOURCES = tests/thread-test.c
|
|
|
|
|
thread_test_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
thread_test_LDADD = $(AM_LDADD) libpulsecore.la
|
|
|
|
|
thread_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
mcalign_test_SOURCES = tests/mcalign-test.c
|
2006-01-10 17:51:06 +00:00
|
|
|
mcalign_test_CFLAGS = $(AM_CFLAGS)
|
2006-06-19 21:53:48 +00:00
|
|
|
mcalign_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore.la
|
2006-01-10 17:51:06 +00:00
|
|
|
mcalign_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
pacat_simple_SOURCES = tests/pacat-simple.c
|
2006-06-19 21:53:48 +00:00
|
|
|
pacat_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la
|
2006-01-10 17:51:06 +00:00
|
|
|
pacat_simple_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
pacat_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
parec_simple_SOURCES = tests/parec-simple.c
|
2006-06-19 21:53:48 +00:00
|
|
|
parec_simple_LDADD = $(AM_LDADD) libpulse.la libpulse-simple.la
|
2006-01-10 17:51:06 +00:00
|
|
|
parec_simple_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
parec_simple_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
strlist_test_SOURCES = tests/strlist-test.c
|
2006-01-10 17:51:06 +00:00
|
|
|
strlist_test_CFLAGS = $(AM_CFLAGS)
|
2006-06-19 21:53:48 +00:00
|
|
|
strlist_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore.la libstrlist.la
|
2006-01-10 17:51:06 +00:00
|
|
|
strlist_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
voltest_SOURCES = tests/voltest.c
|
2006-01-10 17:51:06 +00:00
|
|
|
voltest_CFLAGS = $(AM_CFLAGS)
|
2006-06-19 21:53:48 +00:00
|
|
|
voltest_LDADD = $(AM_LDADD) libpulse.la
|
2006-01-10 17:51:06 +00:00
|
|
|
voltest_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-04-26 14:34:45 +00:00
|
|
|
channelmap_test_SOURCES = tests/channelmap-test.c
|
|
|
|
|
channelmap_test_CFLAGS = $(AM_CFLAGS)
|
2006-06-19 21:53:48 +00:00
|
|
|
channelmap_test_LDADD = $(AM_LDADD) libpulse.la
|
2006-04-26 14:34:45 +00:00
|
|
|
channelmap_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
cpulimit_test_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
|
2006-01-10 17:51:06 +00:00
|
|
|
cpulimit_test_CFLAGS = $(AM_CFLAGS)
|
2006-06-19 21:53:48 +00:00
|
|
|
cpulimit_test_LDADD = $(AM_LDADD) libpulsecore.la
|
2006-01-10 17:51:06 +00:00
|
|
|
cpulimit_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
cpulimit_test2_SOURCES = tests/cpulimit-test.c daemon/cpulimit.c daemon/cpulimit.h
|
2006-01-10 17:51:06 +00:00
|
|
|
cpulimit_test2_CFLAGS = $(AM_CFLAGS) -DTEST2
|
2006-06-19 21:53:48 +00:00
|
|
|
cpulimit_test2_LDADD = $(AM_LDADD) libpulsecore.la
|
2006-01-10 17:51:06 +00:00
|
|
|
cpulimit_test2_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
|
|
|
|
mainloop_test_glib_SOURCES = $(mainloop_test_SOURCES)
|
|
|
|
|
mainloop_test_glib_CFLAGS = $(mainloop_test_CFLAGS) $(GLIB20_CFLAGS) -DGLIB_MAIN_LOOP
|
2006-06-19 21:53:48 +00:00
|
|
|
mainloop_test_glib_LDADD = $(mainloop_test_LDADD) $(GLIB20_LIBS) libpulse-mainloop-glib.la
|
2006-01-10 17:51:06 +00:00
|
|
|
mainloop_test_glib_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
2004-06-11 00:33:43 +00:00
|
|
|
|
2006-05-17 20:09:57 +00:00
|
|
|
memblockq_test_SOURCES = tests/memblockq-test.c
|
2006-02-20 04:05:16 +00:00
|
|
|
memblockq_test_CFLAGS = $(AM_CFLAGS)
|
2006-06-19 21:53:48 +00:00
|
|
|
memblockq_test_LDADD = $(AM_LDADD) $(WINSOCK_LIBS) libpulsecore.la
|
2006-02-20 04:05:16 +00:00
|
|
|
memblockq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
|
|
|
|
sync_playback_SOURCES = tests/sync-playback.c
|
2006-06-19 21:53:48 +00:00
|
|
|
sync_playback_LDADD = $(AM_LDADD) libpulse.la
|
2006-02-20 04:05:16 +00:00
|
|
|
sync_playback_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
sync_playback_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-06-19 11:27:00 +00:00
|
|
|
interpol_test_SOURCES = tests/interpol-test.c
|
2006-06-19 21:53:48 +00:00
|
|
|
interpol_test_LDADD = $(AM_LDADD) libpulse.la
|
2006-06-19 11:27:00 +00:00
|
|
|
interpol_test_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
interpol_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
###################################
|
|
|
|
|
# Client library #
|
|
|
|
|
###################################
|
2004-08-18 01:00:18 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
pulseinclude_HEADERS = \
|
|
|
|
|
pulse/cdecl.h \
|
|
|
|
|
pulse/channelmap.h \
|
|
|
|
|
pulse/context.h \
|
|
|
|
|
pulse/def.h \
|
|
|
|
|
pulse/error.h \
|
|
|
|
|
pulse/introspect.h \
|
|
|
|
|
pulse/mainloop.h \
|
|
|
|
|
pulse/mainloop-api.h \
|
|
|
|
|
pulse/mainloop-signal.h \
|
|
|
|
|
pulse/operation.h \
|
|
|
|
|
pulse/pulseaudio.h \
|
|
|
|
|
pulse/sample.h \
|
|
|
|
|
pulse/scache.h \
|
|
|
|
|
pulse/simple.h \
|
|
|
|
|
pulse/stream.h \
|
|
|
|
|
pulse/subscribe.h \
|
|
|
|
|
pulse/thread-mainloop.h \
|
|
|
|
|
pulse/timeval.h \
|
|
|
|
|
pulse/utf8.h \
|
|
|
|
|
pulse/util.h \
|
|
|
|
|
pulse/version.h \
|
|
|
|
|
pulse/volume.h \
|
|
|
|
|
pulse/xmalloc.h
|
2004-07-16 20:58:18 +00:00
|
|
|
|
2006-07-13 17:33:44 +00:00
|
|
|
if HAVE_AVAHI
|
2006-06-19 21:53:48 +00:00
|
|
|
pulseinclude_HEADERS += \
|
|
|
|
|
pulse/browser.h
|
2006-01-10 17:51:06 +00:00
|
|
|
endif
|
|
|
|
|
|
2006-05-19 07:38:35 +00:00
|
|
|
if HAVE_GLIB20
|
2006-06-19 21:53:48 +00:00
|
|
|
pulseinclude_HEADERS += \
|
|
|
|
|
pulse/glib-mainloop.h
|
2006-05-19 07:38:35 +00:00
|
|
|
endif
|
|
|
|
|
|
2006-05-25 13:31:28 +00:00
|
|
|
lib_LTLIBRARIES = \
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulse.la \
|
|
|
|
|
libpulse-simple.la
|
2006-01-10 17:51:06 +00:00
|
|
|
|
2006-07-13 17:33:44 +00:00
|
|
|
if HAVE_AVAHI
|
2006-01-10 17:51:06 +00:00
|
|
|
lib_LTLIBRARIES += \
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulse-browse.la
|
2006-01-10 17:51:06 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if HAVE_GLIB20
|
|
|
|
|
lib_LTLIBRARIES += \
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulse-mainloop-glib.la
|
2006-01-10 17:51:06 +00:00
|
|
|
endif
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
# Public interface
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulse_la_SOURCES = \
|
|
|
|
|
pulse/cdecl.h \
|
|
|
|
|
pulse/channelmap.c pulse/channelmap.h \
|
|
|
|
|
pulse/client-conf.c pulse/client-conf.h \
|
|
|
|
|
pulse/context.c pulse/context.h \
|
|
|
|
|
pulse/def.h \
|
|
|
|
|
pulse/error.c pulse/error.h \
|
|
|
|
|
pulse/internal.h \
|
|
|
|
|
pulse/introspect.c pulse/introspect.h \
|
|
|
|
|
pulse/mainloop.c pulse/mainloop.h \
|
|
|
|
|
pulse/mainloop-api.c pulse/mainloop-api.h \
|
|
|
|
|
pulse/mainloop-signal.c pulse/mainloop-signal.h \
|
|
|
|
|
pulse/operation.c pulse/operation.h \
|
|
|
|
|
pulse/pulseaudio.h \
|
|
|
|
|
pulse/sample.c pulse/sample.h \
|
|
|
|
|
pulse/scache.c pulse/scache.h \
|
|
|
|
|
pulse/stream.c pulse/stream.h \
|
|
|
|
|
pulse/subscribe.c pulse/subscribe.h \
|
|
|
|
|
pulse/thread-mainloop.c pulse/thread-mainloop.h \
|
|
|
|
|
pulse/timeval.c pulse/timeval.h \
|
|
|
|
|
pulse/utf8.c pulse/utf8.h \
|
|
|
|
|
pulse/util.c pulse/util.h \
|
|
|
|
|
pulse/volume.c pulse/volume.h \
|
|
|
|
|
pulse/xmalloc.c pulse/xmalloc.h
|
|
|
|
|
|
|
|
|
|
# Internal stuff that is shared with libpulsecore
|
|
|
|
|
libpulse_la_SOURCES += \
|
|
|
|
|
pulsecore/authkey.c pulsecore/authkey.h \
|
|
|
|
|
pulsecore/conf-parser.c pulsecore/conf-parser.h \
|
|
|
|
|
pulsecore/core-util.c pulsecore/core-util.h \
|
|
|
|
|
pulsecore/dynarray.c pulsecore/dynarray.h \
|
|
|
|
|
pulsecore/gccmacro.h \
|
|
|
|
|
pulsecore/hashmap.c pulsecore/hashmap.h \
|
|
|
|
|
pulsecore/idxset.c pulsecore/idxset.h \
|
|
|
|
|
pulsecore/inet_ntop.c pulsecore/inet_ntop.h \
|
|
|
|
|
pulsecore/iochannel.c pulsecore/iochannel.h \
|
|
|
|
|
pulsecore/llist.h \
|
|
|
|
|
pulsecore/log.c pulsecore/log.h \
|
|
|
|
|
pulsecore/mcalign.c pulsecore/mcalign.h \
|
|
|
|
|
pulsecore/memblock.c pulsecore/memblock.h \
|
|
|
|
|
pulsecore/memblockq.c pulsecore/memblockq.h \
|
|
|
|
|
pulsecore/memchunk.c pulsecore/memchunk.h \
|
|
|
|
|
pulsecore/native-common.h \
|
|
|
|
|
pulsecore/packet.c pulsecore/packet.h \
|
|
|
|
|
pulsecore/parseaddr.c pulsecore/parseaddr.h \
|
|
|
|
|
pulsecore/pdispatch.c pulsecore/pdispatch.h \
|
|
|
|
|
pulsecore/pipe.c pulsecore/pipe.h \
|
|
|
|
|
pulsecore/poll.c pulsecore/poll.h \
|
|
|
|
|
pulsecore/pstream.c pulsecore/pstream.h \
|
|
|
|
|
pulsecore/pstream-util.c pulsecore/pstream-util.h \
|
|
|
|
|
pulsecore/queue.c pulsecore/queue.h \
|
|
|
|
|
pulsecore/random.c pulsecore/random.h \
|
|
|
|
|
pulsecore/socket-client.c pulsecore/socket-client.h \
|
|
|
|
|
pulsecore/socket-util.c pulsecore/socket-util.h \
|
|
|
|
|
pulsecore/strbuf.c pulsecore/strbuf.h \
|
|
|
|
|
pulsecore/strlist.c pulsecore/strlist.h \
|
|
|
|
|
pulsecore/tagstruct.c pulsecore/tagstruct.h \
|
|
|
|
|
pulsecore/core-error.c pulsecore/core-error.h \
|
2006-08-18 19:56:51 +00:00
|
|
|
pulsecore/winsock.h pulsecore/creds.h \
|
|
|
|
|
pulsecore/shm.c pulsecore/shm.h
|
2006-01-10 17:51:06 +00:00
|
|
|
|
2006-02-20 23:40:49 +00:00
|
|
|
if OS_IS_WIN32
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulse_la_SOURCES += \
|
|
|
|
|
pulsecore/dllmain.c
|
2006-02-20 23:40:49 +00:00
|
|
|
endif
|
|
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
if HAVE_X11
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulse_la_SOURCES += \
|
|
|
|
|
pulse/client-conf-x11.c pulse/client-conf-x11.h \
|
|
|
|
|
pulsecore/x11prop.c pulsecore/x11prop.h
|
2006-01-10 17:51:06 +00:00
|
|
|
endif
|
|
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulse_la_CFLAGS = $(AM_CFLAGS)
|
2006-06-19 23:56:54 +00:00
|
|
|
libpulse_la_LDFLAGS = -version-info $(LIBPULSE_VERSION_INFO)
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulse_la_LIBADD = $(AM_LIBADD) $(WINSOCK_LIBS) $(LIBICONV)
|
2006-01-10 17:51:06 +00:00
|
|
|
|
|
|
|
|
if HAVE_X11
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulse_la_CFLAGS += $(X_CFLAGS)
|
|
|
|
|
libpulse_la_LDFLAGS += $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS)
|
2006-01-10 17:51:06 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if HAVE_LIBASYNCNS
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulse_la_CFLAGS += $(LIBASYNCNS_CFLAGS)
|
|
|
|
|
libpulse_la_LIBADD += $(LIBASYNCNS_LIBS)
|
2006-01-10 17:51:06 +00:00
|
|
|
endif
|
|
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulse_simple_la_SOURCES = pulse/simple.c pulse/simple.h
|
|
|
|
|
libpulse_simple_la_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
libpulse_simple_la_LIBADD = $(AM_LIBADD) libpulse.la
|
2006-06-19 23:56:54 +00:00
|
|
|
libpulse_simple_la_LDFLAGS = -version-info $(LIBPULSE_SIMPLE_VERSION_INFO)
|
2006-01-10 17:51:06 +00:00
|
|
|
|
2006-07-13 17:33:44 +00:00
|
|
|
libpulse_browse_la_SOURCES = pulse/browser.c pulse/browser.h pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
|
|
|
|
|
libpulse_browse_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
|
|
|
|
|
libpulse_browse_la_LIBADD = $(AM_LIBADD) libpulse.la $(AVAHI_LIBS)
|
2006-06-19 23:56:54 +00:00
|
|
|
libpulse_browse_la_LDFLAGS = -version-info $(LIBPULSE_BROWSE_VERSION_INFO)
|
2006-01-10 17:51:06 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulse_mainloop_glib_la_SOURCES = pulse/glib-mainloop.h pulse/glib-mainloop.c
|
|
|
|
|
libpulse_mainloop_glib_la_CFLAGS = $(AM_CFLAGS) $(GLIB20_CFLAGS)
|
|
|
|
|
libpulse_mainloop_glib_la_LIBADD = $(AM_LIBADD) libpulse.la $(GLIB20_LIBS)
|
2006-06-19 23:56:54 +00:00
|
|
|
libpulse_mainloop_glib_la_LDFLAGS = -version-info $(LIBPULSE_MAINLOOP_GLIB_VERSION_INFO)
|
2006-01-10 17:51:06 +00:00
|
|
|
|
2006-05-25 13:31:28 +00:00
|
|
|
###################################
|
|
|
|
|
# OSS emulation #
|
|
|
|
|
###################################
|
|
|
|
|
|
|
|
|
|
if HAVE_OSS
|
|
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
lib_LTLIBRARIES += libpulsedsp.la
|
2006-05-25 13:31:28 +00:00
|
|
|
|
2006-05-25 13:56:14 +00:00
|
|
|
bin_SCRIPTS += utils/padsp
|
2006-05-25 13:31:28 +00:00
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulsedsp_la_SOURCES = utils/padsp.c
|
|
|
|
|
libpulsedsp_la_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
libpulsedsp_la_LIBADD = $(AM_LIBADD) libpulse.la
|
|
|
|
|
libpulsedsp_la_LDFLAGS = -avoid-version
|
2006-05-25 13:31:28 +00:00
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
###################################
|
|
|
|
|
# Daemon core library #
|
|
|
|
|
###################################
|
|
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
pulsecoreinclude_HEADERS = \
|
|
|
|
|
pulsecore/autoload.h \
|
|
|
|
|
pulsecore/cli-command.h \
|
|
|
|
|
pulsecore/cli-text.h \
|
|
|
|
|
pulsecore/client.h \
|
|
|
|
|
pulsecore/core.h \
|
|
|
|
|
pulsecore/core-def.h \
|
|
|
|
|
pulsecore/core-scache.h \
|
|
|
|
|
pulsecore/core-subscribe.h \
|
|
|
|
|
pulsecore/conf-parser.h \
|
|
|
|
|
pulsecore/core-util.h \
|
|
|
|
|
pulsecore/dynarray.h \
|
|
|
|
|
pulsecore/g711.h \
|
|
|
|
|
pulsecore/hashmap.h \
|
|
|
|
|
pulsecore/idxset.h \
|
|
|
|
|
pulsecore/log.h \
|
|
|
|
|
pulsecore/mcalign.h \
|
|
|
|
|
pulsecore/memblock.h \
|
|
|
|
|
pulsecore/memblockq.h \
|
|
|
|
|
pulsecore/memchunk.h \
|
|
|
|
|
pulsecore/modargs.h \
|
|
|
|
|
pulsecore/modinfo.h \
|
|
|
|
|
pulsecore/module.h \
|
|
|
|
|
pulsecore/namereg.h \
|
|
|
|
|
pulsecore/pid.h \
|
|
|
|
|
pulsecore/play-memchunk.h \
|
2006-07-28 22:52:28 +00:00
|
|
|
pulsecore/play-memblockq.h \
|
2006-06-19 21:53:48 +00:00
|
|
|
pulsecore/props.h \
|
|
|
|
|
pulsecore/queue.h \
|
|
|
|
|
pulsecore/random.h \
|
|
|
|
|
pulsecore/resampler.h \
|
|
|
|
|
pulsecore/sample-util.h \
|
|
|
|
|
pulsecore/sconv.h \
|
|
|
|
|
pulsecore/sink.h \
|
|
|
|
|
pulsecore/sink-input.h \
|
|
|
|
|
pulsecore/sioman.h \
|
|
|
|
|
pulsecore/sound-file.h \
|
|
|
|
|
pulsecore/sound-file-stream.h \
|
|
|
|
|
pulsecore/source.h \
|
|
|
|
|
pulsecore/source-output.h \
|
|
|
|
|
pulsecore/strbuf.h \
|
2006-07-20 16:56:06 +00:00
|
|
|
pulsecore/tokenizer.h \
|
2006-08-18 19:56:51 +00:00
|
|
|
pulsecore/creds.h \
|
2006-08-29 01:15:51 +00:00
|
|
|
pulsecore/shm.h \
|
|
|
|
|
pulsecore/llist.h \
|
2006-08-29 19:51:14 +00:00
|
|
|
pulsecore/refcnt.h \
|
|
|
|
|
pulsecore/mutex.h \
|
|
|
|
|
pulsecore/thread.h
|
2006-06-19 21:53:48 +00:00
|
|
|
|
|
|
|
|
lib_LTLIBRARIES += libpulsecore.la
|
2006-01-10 17:51:06 +00:00
|
|
|
|
2006-07-20 18:43:20 +00:00
|
|
|
# Some public stuff is used even in the core
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulsecore_la_SOURCES = \
|
|
|
|
|
pulse/channelmap.c pulse/channelmap.h \
|
|
|
|
|
pulse/error.c pulse/error.h \
|
|
|
|
|
pulse/mainloop.c pulse/mainloop.h \
|
|
|
|
|
pulse/mainloop-api.c pulse/mainloop-api.h \
|
|
|
|
|
pulse/mainloop-signal.c pulse/mainloop-signal.h \
|
|
|
|
|
pulse/sample.c pulse/sample.h \
|
|
|
|
|
pulse/timeval.c pulse/timeval.h \
|
|
|
|
|
pulse/utf8.c pulse/utf8.h \
|
|
|
|
|
pulse/util.c pulse/util.h \
|
|
|
|
|
pulse/volume.c pulse/volume.h \
|
|
|
|
|
pulse/xmalloc.c pulse/xmalloc.h
|
|
|
|
|
|
|
|
|
|
# Pure core stuff (some are shared in libpulse though).
|
|
|
|
|
libpulsecore_la_SOURCES += \
|
|
|
|
|
pulsecore/autoload.c pulsecore/autoload.h \
|
|
|
|
|
pulsecore/cli-command.c pulsecore/cli-command.h \
|
|
|
|
|
pulsecore/cli-text.c pulsecore/cli-text.h \
|
|
|
|
|
pulsecore/client.c pulsecore/client.h \
|
|
|
|
|
pulsecore/conf-parser.c pulsecore/conf-parser.h \
|
|
|
|
|
pulsecore/core.c pulsecore/core.h \
|
|
|
|
|
pulsecore/core-scache.c pulsecore/core-scache.h \
|
|
|
|
|
pulsecore/core-subscribe.c pulsecore/core-subscribe.h \
|
|
|
|
|
pulsecore/core-util.c pulsecore/core-util.h \
|
|
|
|
|
pulsecore/dynarray.c pulsecore/dynarray.h \
|
|
|
|
|
pulsecore/endianmacros.h \
|
|
|
|
|
pulsecore/g711.c pulsecore/g711.h \
|
|
|
|
|
pulsecore/hashmap.c pulsecore/hashmap.h \
|
|
|
|
|
pulsecore/idxset.c pulsecore/idxset.h \
|
|
|
|
|
pulsecore/log.c pulsecore/log.h \
|
|
|
|
|
pulsecore/mcalign.c pulsecore/mcalign.h \
|
|
|
|
|
pulsecore/memblock.c pulsecore/memblock.h \
|
|
|
|
|
pulsecore/memblockq.c pulsecore/memblockq.h \
|
|
|
|
|
pulsecore/memchunk.c pulsecore/memchunk.h \
|
|
|
|
|
pulsecore/modargs.c pulsecore/modargs.h \
|
|
|
|
|
pulsecore/modinfo.c pulsecore/modinfo.h \
|
|
|
|
|
pulsecore/module.c pulsecore/module.h \
|
2006-09-01 18:16:55 +00:00
|
|
|
pulsecore/mutex.h \
|
2006-06-19 21:53:48 +00:00
|
|
|
pulsecore/namereg.c pulsecore/namereg.h \
|
|
|
|
|
pulsecore/pid.c pulsecore/pid.h \
|
|
|
|
|
pulsecore/pipe.c pulsecore/pipe.h \
|
|
|
|
|
pulsecore/play-memchunk.c pulsecore/play-memchunk.h \
|
2006-07-28 22:52:28 +00:00
|
|
|
pulsecore/play-memblockq.c pulsecore/play-memblockq.h \
|
2006-06-19 21:53:48 +00:00
|
|
|
pulsecore/poll.c pulsecore/poll.h \
|
|
|
|
|
pulsecore/props.c pulsecore/props.h \
|
|
|
|
|
pulsecore/queue.c pulsecore/queue.h \
|
|
|
|
|
pulsecore/random.c pulsecore/random.h \
|
|
|
|
|
pulsecore/resampler.c pulsecore/resampler.h \
|
|
|
|
|
pulsecore/sample-util.c pulsecore/sample-util.h \
|
|
|
|
|
pulsecore/sconv.c pulsecore/sconv.h \
|
|
|
|
|
pulsecore/sconv-s16be.c pulsecore/sconv-s16be.h \
|
|
|
|
|
pulsecore/sconv-s16le.c pulsecore/sconv-s16le.h \
|
|
|
|
|
pulsecore/sink.c pulsecore/sink.h \
|
|
|
|
|
pulsecore/sink-input.c pulsecore/sink-input.h \
|
|
|
|
|
pulsecore/sioman.c pulsecore/sioman.h \
|
|
|
|
|
pulsecore/sound-file.c pulsecore/sound-file.h \
|
|
|
|
|
pulsecore/sound-file-stream.c pulsecore/sound-file-stream.h \
|
|
|
|
|
pulsecore/source.c pulsecore/source.h \
|
|
|
|
|
pulsecore/source-output.c pulsecore/source-output.h \
|
|
|
|
|
pulsecore/strbuf.c pulsecore/strbuf.h \
|
2006-09-01 18:16:55 +00:00
|
|
|
pulsecore/thread.h \
|
2006-06-19 21:53:48 +00:00
|
|
|
pulsecore/tokenizer.c pulsecore/tokenizer.h \
|
|
|
|
|
pulsecore/winsock.h \
|
2006-08-13 01:43:34 +00:00
|
|
|
pulsecore/core-error.c pulsecore/core-error.h \
|
2006-08-18 19:56:51 +00:00
|
|
|
pulsecore/hook-list.c pulsecore/hook-list.h \
|
2006-09-01 18:16:55 +00:00
|
|
|
pulsecore/shm.c pulsecore/shm.h
|
2006-01-10 17:51:06 +00:00
|
|
|
|
2006-02-20 23:40:49 +00:00
|
|
|
if OS_IS_WIN32
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulsecore_la_SOURCES += \
|
|
|
|
|
pulsecore/dllmain.c
|
2006-02-20 23:40:49 +00:00
|
|
|
endif
|
|
|
|
|
|
2006-09-01 18:16:55 +00:00
|
|
|
if OS_IS_WIN32
|
|
|
|
|
libpulsecore_la_SOURCES += \
|
|
|
|
|
pulsecore/mutex-win32.c \
|
|
|
|
|
pulsecore/thread-win32.c
|
|
|
|
|
else
|
|
|
|
|
libpulsecore_la_SOURCES += \
|
|
|
|
|
pulsecore/mutex-posix.c \
|
|
|
|
|
pulsecore/thread-posix.c
|
|
|
|
|
endif
|
|
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulsecore_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBOIL_CFLAGS)
|
2006-06-19 23:56:54 +00:00
|
|
|
libpulsecore_la_LDFLAGS = -version-info $(LIBPULSECORE_VERSION_INFO)
|
2006-06-19 21:53:48 +00:00
|
|
|
libpulsecore_la_LIBADD = $(AM_LIBADD) $(LIBLTDL) $(LIBSAMPLERATE_LIBS) $(LIBSNDFILE_LIBS) $(WINSOCK_LIBS) $(LIBOIL_LIBS) $(LIBICONV)
|
2006-01-10 17:51:06 +00:00
|
|
|
|
|
|
|
|
###################################
|
|
|
|
|
# Plug-in support libraries #
|
|
|
|
|
###################################
|
|
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
pulsecoreinclude_HEADERS += \
|
|
|
|
|
pulsecore/socket-util.h \
|
|
|
|
|
pulsecore/iochannel.h \
|
|
|
|
|
pulsecore/socket-server.h \
|
2006-07-20 16:48:26 +00:00
|
|
|
pulsecore/ipacl.h \
|
2006-06-19 21:53:48 +00:00
|
|
|
pulsecore/socket-client.h \
|
|
|
|
|
pulsecore/parseaddr.h \
|
|
|
|
|
pulsecore/packet.h \
|
|
|
|
|
pulsecore/pstream.h \
|
|
|
|
|
pulsecore/ioline.h \
|
|
|
|
|
pulsecore/cli.h \
|
|
|
|
|
pulsecore/protocol-cli.h \
|
|
|
|
|
pulsecore/tagstruct.h \
|
|
|
|
|
pulsecore/pstream-util.h \
|
|
|
|
|
pulsecore/pdispatch.h \
|
|
|
|
|
pulsecore/authkey.h \
|
|
|
|
|
pulsecore/authkey-prop.h \
|
|
|
|
|
pulsecore/strlist.h \
|
|
|
|
|
pulsecore/protocol-simple.h \
|
|
|
|
|
pulsecore/esound.h \
|
|
|
|
|
pulsecore/protocol-esound.h \
|
|
|
|
|
pulsecore/native-common.h \
|
|
|
|
|
pulsecore/protocol-native.h \
|
|
|
|
|
pulsecore/protocol-http.h
|
2006-02-17 12:34:44 +00:00
|
|
|
|
2004-09-13 00:28:16 +00:00
|
|
|
### Warning! Due to an obscure bug in libtool/automake it is required
|
2006-05-16 15:29:58 +00:00
|
|
|
### that the libraries in modlibexec_LTLIBRARIES are specified in-order,
|
2004-09-13 00:28:16 +00:00
|
|
|
### i.e. libraries near the end of the list depend on libraries near
|
|
|
|
|
### the head, and not the other way!
|
|
|
|
|
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES = \
|
2004-09-12 23:29:54 +00:00
|
|
|
libsocket-util.la \
|
|
|
|
|
libiochannel.la \
|
2004-07-03 23:35:12 +00:00
|
|
|
libsocket-server.la \
|
2006-07-20 16:48:26 +00:00
|
|
|
libipacl.la \
|
2004-12-15 01:02:50 +00:00
|
|
|
libparseaddr.la \
|
2006-04-23 14:29:32 +00:00
|
|
|
libsocket-client.la \
|
2004-07-03 23:35:12 +00:00
|
|
|
libpacket.la \
|
2004-09-12 23:29:54 +00:00
|
|
|
libpstream.la \
|
2004-07-03 23:35:12 +00:00
|
|
|
libioline.la \
|
|
|
|
|
libcli.la \
|
|
|
|
|
libprotocol-cli.la \
|
|
|
|
|
libtagstruct.la \
|
|
|
|
|
libpstream-util.la \
|
|
|
|
|
libpdispatch.la \
|
2004-07-06 00:08:44 +00:00
|
|
|
libauthkey.la \
|
2004-11-07 20:48:46 +00:00
|
|
|
libauthkey-prop.la \
|
2004-11-11 21:18:33 +00:00
|
|
|
libstrlist.la \
|
2004-07-03 23:35:12 +00:00
|
|
|
libprotocol-simple.la \
|
2006-01-10 17:51:06 +00:00
|
|
|
libprotocol-esound.la \
|
|
|
|
|
libprotocol-native.la \
|
2006-04-18 13:36:59 +00:00
|
|
|
libprotocol-http.la
|
|
|
|
|
|
|
|
|
|
# We need to emulate sendmsg/recvmsg to support this on Win32
|
|
|
|
|
if !OS_IS_WIN32
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-04-14 23:49:12 +00:00
|
|
|
librtp.la
|
2006-04-18 13:36:59 +00:00
|
|
|
endif
|
2006-01-10 17:51:06 +00:00
|
|
|
|
|
|
|
|
if HAVE_X11
|
2006-06-19 21:53:48 +00:00
|
|
|
pulsecoreinclude_HEADERS += \
|
|
|
|
|
pulsecore/x11wrap.h \
|
|
|
|
|
pulsecore/x11prop.h
|
2006-02-17 12:34:44 +00:00
|
|
|
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-01-10 17:51:06 +00:00
|
|
|
libx11wrap.la \
|
|
|
|
|
libx11prop.la
|
|
|
|
|
endif
|
|
|
|
|
|
2006-07-13 15:54:13 +00:00
|
|
|
if HAVE_AVAHI
|
|
|
|
|
pulsecoreinclude_HEADERS += \
|
|
|
|
|
pulsecore/avahi-wrap.h
|
|
|
|
|
|
|
|
|
|
modlibexec_LTLIBRARIES += \
|
|
|
|
|
libavahi-wrap.la
|
|
|
|
|
endif
|
|
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libprotocol_simple_la_SOURCES = pulsecore/protocol-simple.c pulsecore/protocol-simple.h
|
2004-06-11 21:30:16 +00:00
|
|
|
libprotocol_simple_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libprotocol_simple_la_LIBADD = $(AM_LIBADD) libpulsecore.la libsocket-server.la libiochannel.la
|
2004-06-11 00:33:43 +00:00
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
libsocket_server_la_SOURCES = \
|
2006-06-19 21:53:48 +00:00
|
|
|
pulsecore/inet_ntop.c pulsecore/inet_ntop.h \
|
|
|
|
|
pulsecore/inet_pton.c pulsecore/inet_pton.h \
|
|
|
|
|
pulsecore/socket-server.c pulsecore/socket-server.h
|
2004-06-11 21:30:16 +00:00
|
|
|
libsocket_server_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libsocket_server_la_LIBADD = $(AM_LIBADD) libpulsecore.la libiochannel.la libsocket-util.la $(LIBWRAP_LIBS) $(WINSOCK_LIBS)
|
2004-06-11 00:33:43 +00:00
|
|
|
|
2006-07-20 23:21:57 +00:00
|
|
|
libipacl_la_SOURCES = pulsecore/ipacl.h pulsecore/ipacl.c \
|
|
|
|
|
pulsecore/inet_pton.c pulsecore/inet_pton.h
|
2006-07-20 16:48:26 +00:00
|
|
|
libipacl_la_LDFLAGS = -avoid-version
|
|
|
|
|
libipacl_la_LIBADD = $(AM_LIBADD) libpulsecore.la $(WINSOCK_LIBS)
|
|
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libsocket_client_la_SOURCES = pulsecore/socket-client.c pulsecore/socket-client.h
|
2004-06-23 23:17:30 +00:00
|
|
|
libsocket_client_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libsocket_client_la_LIBADD = $(AM_LIBADD) libpulsecore.la libiochannel.la libsocket-util.la libparseaddr.la $(LIBASYNCNS_LIBS) $(WINSOCK_LIBS)
|
2005-01-08 21:36:53 +00:00
|
|
|
libsocket_client_la_CFLAGS = $(AM_CFLAGS) $(LIBASYNCNS_CFLAGS)
|
2004-12-15 01:02:50 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libparseaddr_la_SOURCES = pulsecore/parseaddr.c pulsecore/parseaddr.h
|
2004-12-15 01:02:50 +00:00
|
|
|
libparseaddr_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libparseaddr_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2004-06-23 23:17:30 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libpstream_la_SOURCES = pulsecore/pstream.c pulsecore/pstream.h
|
2004-06-11 21:30:16 +00:00
|
|
|
libpstream_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libpstream_la_LIBADD = $(AM_LIBADD) libpulsecore.la libpacket.la libiochannel.la $(WINSOCK_LIBS)
|
2004-06-11 00:33:43 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libpstream_util_la_SOURCES = pulsecore/pstream-util.c pulsecore/pstream-util.h
|
2004-06-23 23:17:30 +00:00
|
|
|
libpstream_util_la_LDFLAGS = -avoid-version
|
2004-07-17 15:44:49 +00:00
|
|
|
libpstream_util_la_LIBADD = $(AM_LIBADD) libpacket.la libpstream.la libtagstruct.la
|
2004-06-23 23:17:30 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libpdispatch_la_SOURCES = pulsecore/pdispatch.c pulsecore/pdispatch.h
|
2004-06-23 23:17:30 +00:00
|
|
|
libpdispatch_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libpdispatch_la_LIBADD = $(AM_LIBADD) libtagstruct.la libpulsecore.la
|
2004-06-23 23:17:30 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libiochannel_la_SOURCES = pulsecore/iochannel.c pulsecore/iochannel.h
|
2004-06-11 21:30:16 +00:00
|
|
|
libiochannel_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libiochannel_la_LIBADD = $(AM_LIBADD) libsocket-util.la libpulsecore.la $(WINSOCK_LIBS)
|
2004-06-11 00:33:43 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libpacket_la_SOURCES = pulsecore/packet.c pulsecore/packet.h
|
2004-06-11 21:30:16 +00:00
|
|
|
libpacket_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libpacket_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2004-06-16 00:05:30 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libioline_la_SOURCES = pulsecore/ioline.c pulsecore/ioline.h
|
2004-06-18 00:22:37 +00:00
|
|
|
libioline_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libioline_la_LIBADD = $(AM_LIBADD) libiochannel.la libpulsecore.la
|
2004-06-18 00:22:37 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libcli_la_SOURCES = pulsecore/cli.c pulsecore/cli.h
|
2006-01-10 17:51:06 +00:00
|
|
|
libcli_la_CPPFLAGS = $(AM_CPPFLAGS)
|
2004-06-18 00:22:37 +00:00
|
|
|
libcli_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libcli_la_LIBADD = $(AM_LIBADD) libiochannel.la libioline.la libpulsecore.la
|
2004-06-19 01:01:09 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libstrlist_la_SOURCES = pulsecore/strlist.c pulsecore/strlist.h
|
2004-11-11 21:18:33 +00:00
|
|
|
libstrlist_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libstrlist_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2004-11-11 21:18:33 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libprotocol_cli_la_SOURCES = pulsecore/protocol-cli.c pulsecore/protocol-cli.h
|
2004-06-19 18:51:30 +00:00
|
|
|
libprotocol_cli_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libprotocol_cli_la_LIBADD = $(AM_LIBADD) libsocket-server.la libiochannel.la libcli.la libpulsecore.la
|
2004-06-19 18:51:30 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libprotocol_http_la_SOURCES = pulsecore/protocol-http.c pulsecore/protocol-http.h
|
2005-01-12 17:37:31 +00:00
|
|
|
libprotocol_http_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libprotocol_http_la_LIBADD = $(AM_LIBADD) libsocket-server.la libioline.la libpulsecore.la libiochannel.la
|
2005-01-12 17:37:31 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libprotocol_native_la_SOURCES = pulsecore/protocol-native.c pulsecore/protocol-native.h pulsecore/native-common.h
|
2004-06-20 01:12:13 +00:00
|
|
|
libprotocol_native_la_LDFLAGS = -avoid-version
|
2006-07-20 18:43:20 +00:00
|
|
|
libprotocol_native_la_LIBADD = $(AM_LIBADD) libsocket-server.la libpstream.la libpstream-util.la libpdispatch.la libtagstruct.la libauthkey.la libauthkey-prop.la libstrlist.la libpulsecore.la libiochannel.la libipacl.la
|
2004-06-20 01:12:13 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libtagstruct_la_SOURCES = pulsecore/tagstruct.c pulsecore/tagstruct.h
|
2004-06-20 01:12:13 +00:00
|
|
|
libtagstruct_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libtagstruct_la_LIBADD = $(AM_LIBADD) libpulsecore.la $(WINSOCK_LIBS)
|
2004-06-20 01:12:13 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libprotocol_esound_la_SOURCES = pulsecore/protocol-esound.c pulsecore/protocol-esound.h pulsecore/esound.h
|
2004-06-29 16:48:37 +00:00
|
|
|
libprotocol_esound_la_LDFLAGS = -avoid-version
|
2006-07-20 18:43:20 +00:00
|
|
|
libprotocol_esound_la_LIBADD = $(AM_LIBADD) libsocket-server.la libiochannel.la libauthkey.la libpulsecore.la libipacl.la
|
2004-07-06 00:08:44 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libauthkey_la_SOURCES = pulsecore/authkey.c pulsecore/authkey.h
|
2004-07-06 00:08:44 +00:00
|
|
|
libauthkey_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libauthkey_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2004-06-29 16:48:37 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libauthkey_prop_la_SOURCES = pulsecore/authkey-prop.c pulsecore/authkey-prop.h
|
2004-11-07 20:48:46 +00:00
|
|
|
libauthkey_prop_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libauthkey_prop_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2004-11-07 20:48:46 +00:00
|
|
|
|
2006-06-13 10:53:49 +00:00
|
|
|
libsocket_util_la_SOURCES = \
|
2006-07-08 10:51:46 +00:00
|
|
|
pulsecore/inet_ntop.c pulsecore/inet_ntop.h \
|
2006-06-19 21:53:48 +00:00
|
|
|
pulsecore/socket-util.c pulsecore/socket-util.h
|
2004-07-11 01:09:46 +00:00
|
|
|
libsocket_util_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libsocket_util_la_LIBADD = $(AM_LIBADD) $(WINSOCK_LIBS) libpulsecore.la
|
2006-01-10 17:51:06 +00:00
|
|
|
|
2006-04-14 23:49:12 +00:00
|
|
|
librtp_la_SOURCES = modules/rtp/rtp.c modules/rtp/rtp.h modules/rtp/sdp.c modules/rtp/sdp.h modules/rtp/sap.c modules/rtp/sap.h
|
|
|
|
|
librtp_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
librtp_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2006-04-14 23:49:12 +00:00
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
# X11
|
|
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libx11wrap_la_SOURCES = pulsecore/x11wrap.c pulsecore/x11wrap.h
|
2006-01-10 17:51:06 +00:00
|
|
|
libx11wrap_la_LDFLAGS = -avoid-version
|
|
|
|
|
libx11wrap_la_CFLAGS = $(AM_CFLAGS) $(X_CFLAGS)
|
2006-06-19 21:53:48 +00:00
|
|
|
libx11wrap_la_LIBADD = $(AM_LIBADD) $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS) libpulsecore.la
|
2006-01-10 17:51:06 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
libx11prop_la_SOURCES = pulsecore/x11prop.c pulsecore/x11prop.h
|
2006-01-10 17:51:06 +00:00
|
|
|
libx11prop_la_LDFLAGS = -avoid-version
|
|
|
|
|
libx11prop_la_CFLAGS = $(AM_CFLAGS) $(X_CFLAGS)
|
|
|
|
|
libx11prop_la_LIBADD = $(AM_LIBADD) $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS)
|
|
|
|
|
|
2006-07-13 15:54:13 +00:00
|
|
|
# Avahi
|
|
|
|
|
|
|
|
|
|
libavahi_wrap_la_SOURCES = pulsecore/avahi-wrap.c pulsecore/avahi-wrap.h
|
|
|
|
|
libavahi_wrap_la_LDFLAGS = -avoid-version
|
|
|
|
|
libavahi_wrap_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
|
|
|
|
|
libavahi_wrap_la_LIBADD = $(AM_LIBADD) $(AVAHI_CFLAGS) libpulsecore.la
|
|
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
###################################
|
|
|
|
|
# Plug-in libraries #
|
|
|
|
|
###################################
|
|
|
|
|
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-01-10 17:51:06 +00:00
|
|
|
module-cli.la \
|
|
|
|
|
module-cli-protocol-tcp.la \
|
|
|
|
|
module-simple-protocol-tcp.la \
|
|
|
|
|
module-esound-protocol-tcp.la \
|
|
|
|
|
module-native-protocol-tcp.la \
|
|
|
|
|
module-native-protocol-fd.la \
|
|
|
|
|
module-sine.la \
|
|
|
|
|
module-combine.la \
|
|
|
|
|
module-tunnel-sink.la \
|
|
|
|
|
module-tunnel-source.la \
|
|
|
|
|
module-null-sink.la \
|
|
|
|
|
module-esound-sink.la \
|
|
|
|
|
module-http-protocol-tcp.la \
|
2006-05-15 12:45:55 +00:00
|
|
|
module-detect.la \
|
2006-08-13 17:34:36 +00:00
|
|
|
module-volume-restore.la \
|
|
|
|
|
module-rescue-streams.la
|
2006-04-18 13:36:59 +00:00
|
|
|
|
|
|
|
|
# See comment at librtp.la above
|
|
|
|
|
if !OS_IS_WIN32
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-04-16 10:56:45 +00:00
|
|
|
module-rtp-send.la \
|
2006-04-16 00:16:53 +00:00
|
|
|
module-rtp-recv.la
|
2006-04-18 13:36:59 +00:00
|
|
|
endif
|
2006-01-10 17:51:06 +00:00
|
|
|
|
|
|
|
|
if HAVE_AF_UNIX
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-01-10 17:51:06 +00:00
|
|
|
module-cli-protocol-unix.la \
|
|
|
|
|
module-simple-protocol-unix.la \
|
|
|
|
|
module-esound-protocol-unix.la \
|
|
|
|
|
module-native-protocol-unix.la \
|
|
|
|
|
module-http-protocol-unix.la
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if HAVE_MKFIFO
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-01-10 17:51:06 +00:00
|
|
|
module-pipe-sink.la \
|
|
|
|
|
module-pipe-source.la
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if !OS_IS_WIN32
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-01-10 17:51:06 +00:00
|
|
|
module-esound-compat-spawnfd.la \
|
|
|
|
|
module-esound-compat-spawnpid.la
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if HAVE_REGEX
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-05-15 12:45:55 +00:00
|
|
|
module-match.la
|
2006-01-10 17:51:06 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if HAVE_X11
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-01-10 17:51:06 +00:00
|
|
|
module-x11-bell.la \
|
|
|
|
|
module-x11-publish.la
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if HAVE_OSS
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-02-17 09:12:06 +00:00
|
|
|
liboss-util.la \
|
2006-01-10 17:51:06 +00:00
|
|
|
module-oss.la \
|
|
|
|
|
module-oss-mmap.la
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if HAVE_ALSA
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-02-17 09:12:06 +00:00
|
|
|
libalsa-util.la \
|
2006-01-10 17:51:06 +00:00
|
|
|
module-alsa-sink.la \
|
|
|
|
|
module-alsa-source.la
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if HAVE_SOLARIS
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-01-10 17:51:06 +00:00
|
|
|
module-solaris.la
|
|
|
|
|
endif
|
|
|
|
|
|
2006-07-13 17:33:44 +00:00
|
|
|
if HAVE_AVAHI
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-01-10 17:51:06 +00:00
|
|
|
module-zeroconf-publish.la
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if HAVE_LIRC
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-01-10 17:51:06 +00:00
|
|
|
module-lirc.la
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if HAVE_EVDEV
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-01-10 17:51:06 +00:00
|
|
|
module-mmkbd-evdev.la
|
|
|
|
|
endif
|
|
|
|
|
|
2006-04-17 00:11:04 +00:00
|
|
|
if HAVE_JACK
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-04-18 17:19:41 +00:00
|
|
|
module-jack-sink.la \
|
|
|
|
|
module-jack-source.la
|
2006-04-17 00:11:04 +00:00
|
|
|
endif
|
|
|
|
|
|
2006-07-26 17:36:14 +00:00
|
|
|
if HAVE_GCONF
|
|
|
|
|
modlibexec_LTLIBRARIES += \
|
|
|
|
|
module-gconf.la
|
|
|
|
|
|
|
|
|
|
pulselibexec_PROGRAMS = \
|
|
|
|
|
gconf-helper
|
|
|
|
|
endif
|
|
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
if OS_IS_WIN32
|
2006-05-16 15:29:58 +00:00
|
|
|
modlibexec_LTLIBRARIES += \
|
2006-01-10 17:51:06 +00:00
|
|
|
module-waveout.la
|
|
|
|
|
endif
|
|
|
|
|
|
2006-08-06 16:16:50 +00:00
|
|
|
if HAVE_HAL
|
|
|
|
|
modlibexec_LTLIBRARIES += \
|
|
|
|
|
libdbus-util.la \
|
|
|
|
|
module-hal-detect.la
|
|
|
|
|
endif
|
|
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
# These are generated by a M4 script
|
|
|
|
|
|
|
|
|
|
SYMDEF_FILES = \
|
2006-02-16 19:19:58 +00:00
|
|
|
modules/module-cli-symdef.h \
|
|
|
|
|
modules/module-cli-protocol-tcp-symdef.h \
|
|
|
|
|
modules/module-cli-protocol-unix-symdef.h \
|
|
|
|
|
modules/module-pipe-sink-symdef.h \
|
|
|
|
|
modules/module-pipe-source-symdef.h \
|
|
|
|
|
modules/module-simple-protocol-tcp-symdef.h \
|
|
|
|
|
modules/module-simple-protocol-unix-symdef.h \
|
|
|
|
|
modules/module-esound-protocol-tcp-symdef.h \
|
|
|
|
|
modules/module-esound-protocol-unix-symdef.h \
|
|
|
|
|
modules/module-native-protocol-tcp-symdef.h \
|
|
|
|
|
modules/module-native-protocol-unix-symdef.h \
|
|
|
|
|
modules/module-native-protocol-fd-symdef.h \
|
|
|
|
|
modules/module-sine-symdef.h \
|
|
|
|
|
modules/module-combine-symdef.h \
|
|
|
|
|
modules/module-esound-compat-spawnfd-symdef.h \
|
|
|
|
|
modules/module-esound-compat-spawnpid-symdef.h \
|
|
|
|
|
modules/module-match-symdef.h \
|
|
|
|
|
modules/module-tunnel-sink-symdef.h \
|
|
|
|
|
modules/module-tunnel-source-symdef.h \
|
|
|
|
|
modules/module-null-sink-symdef.h \
|
|
|
|
|
modules/module-esound-sink-symdef.h \
|
|
|
|
|
modules/module-zeroconf-publish-symdef.h \
|
|
|
|
|
modules/module-lirc-symdef.h \
|
|
|
|
|
modules/module-mmkbd-evdev-symdef.h \
|
|
|
|
|
modules/module-http-protocol-tcp-symdef.h \
|
|
|
|
|
modules/module-http-protocol-unix-symdef.h \
|
|
|
|
|
modules/module-x11-bell-symdef.h \
|
|
|
|
|
modules/module-x11-publish-symdef.h \
|
|
|
|
|
modules/module-oss-symdef.h \
|
|
|
|
|
modules/module-oss-mmap-symdef.h \
|
|
|
|
|
modules/module-alsa-sink-symdef.h \
|
|
|
|
|
modules/module-alsa-source-symdef.h \
|
|
|
|
|
modules/module-solaris-symdef.h \
|
|
|
|
|
modules/module-waveout-symdef.h \
|
2006-04-14 23:49:12 +00:00
|
|
|
modules/module-detect-symdef.h \
|
2006-04-16 10:56:45 +00:00
|
|
|
modules/rtp/module-rtp-send-symdef.h \
|
2006-04-17 00:11:04 +00:00
|
|
|
modules/rtp/module-rtp-recv-symdef.h \
|
2006-04-18 17:19:41 +00:00
|
|
|
modules/module-jack-sink-symdef.h \
|
2006-05-14 00:41:56 +00:00
|
|
|
modules/module-jack-source-symdef.h \
|
2006-07-26 17:36:14 +00:00
|
|
|
modules/module-volume-restore-symdef.h \
|
2006-08-13 17:34:36 +00:00
|
|
|
modules/module-rescue-streams-symdef.h \
|
2006-08-06 16:16:50 +00:00
|
|
|
modules/module-hal-detect-symdef.h \
|
2006-07-26 17:36:14 +00:00
|
|
|
modules/gconf/module-gconf-symdef.h
|
2006-01-10 17:51:06 +00:00
|
|
|
|
|
|
|
|
EXTRA_DIST += $(SYMDEF_FILES)
|
|
|
|
|
BUILT_SOURCES += $(SYMDEF_FILES)
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
$(SYMDEF_FILES): modules/module-defs.h.m4
|
2006-01-10 17:51:06 +00:00
|
|
|
$(M4) -Dfname="$@" $< > $@
|
|
|
|
|
|
|
|
|
|
# Simple protocol
|
2004-07-11 01:09:46 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_simple_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
|
2004-06-19 18:51:30 +00:00
|
|
|
module_simple_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
|
2004-06-15 00:29:01 +00:00
|
|
|
module_simple_protocol_tcp_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_simple_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-simple.la libsocket-server.la
|
2004-06-11 00:33:43 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_simple_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
|
2004-06-19 18:51:30 +00:00
|
|
|
module_simple_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_SIMPLE $(AM_CFLAGS)
|
2004-06-19 18:41:24 +00:00
|
|
|
module_simple_protocol_unix_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_simple_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-simple.la libsocket-server.la libsocket-util.la
|
2006-01-10 17:51:06 +00:00
|
|
|
|
|
|
|
|
# CLI protocol
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_cli_la_SOURCES = modules/module-cli.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_cli_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_cli_la_LIBADD = $(AM_LIBADD) libcli.la libiochannel.la libpulsecore.la
|
2004-06-19 18:41:24 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_cli_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
|
2004-06-19 18:51:30 +00:00
|
|
|
module_cli_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
|
|
|
|
|
module_cli_protocol_tcp_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_cli_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-cli.la libsocket-server.la
|
2004-06-19 18:51:30 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_cli_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
|
2004-06-20 01:12:13 +00:00
|
|
|
module_cli_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_CLI $(AM_CFLAGS)
|
|
|
|
|
module_cli_protocol_unix_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_cli_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-cli.la libsocket-server.la libsocket-util.la
|
2006-01-10 17:51:06 +00:00
|
|
|
|
|
|
|
|
# HTTP protocol
|
2004-06-20 01:12:13 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_http_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
|
2005-01-12 17:37:31 +00:00
|
|
|
module_http_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
|
|
|
|
|
module_http_protocol_tcp_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_http_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-http.la libsocket-server.la
|
2005-01-12 17:37:31 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_http_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
|
2005-01-12 17:37:31 +00:00
|
|
|
module_http_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_HTTP $(AM_CFLAGS)
|
|
|
|
|
module_http_protocol_unix_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_http_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-http.la libsocket-server.la libsocket-util.la
|
2006-01-10 17:51:06 +00:00
|
|
|
|
|
|
|
|
# Native protocol
|
2005-01-12 17:37:31 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_native_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
|
2004-06-20 01:12:13 +00:00
|
|
|
module_native_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
|
|
|
|
|
module_native_protocol_tcp_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_native_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-native.la libsocket-server.la
|
2004-06-20 01:12:13 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_native_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
|
2004-06-20 01:12:13 +00:00
|
|
|
module_native_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_NATIVE $(AM_CFLAGS)
|
|
|
|
|
module_native_protocol_unix_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_native_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-native.la libsocket-server.la libsocket-util.la
|
2004-06-29 16:48:37 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_native_protocol_fd_la_SOURCES = modules/module-native-protocol-fd.c
|
2004-09-01 21:12:27 +00:00
|
|
|
module_native_protocol_fd_la_CFLAGS = $(AM_CFLAGS)
|
2006-01-10 17:51:06 +00:00
|
|
|
module_native_protocol_fd_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_native_protocol_fd_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-native.la libsocket-server.la libsocket-util.la libiochannel.la
|
2004-09-11 00:03:00 +00:00
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
# EsounD protocol
|
2004-09-11 00:03:00 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_esound_protocol_tcp_la_SOURCES = modules/module-protocol-stub.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_esound_protocol_tcp_la_CFLAGS = -DUSE_TCP_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
|
|
|
|
|
module_esound_protocol_tcp_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_esound_protocol_tcp_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-esound.la libsocket-server.la
|
2004-07-06 00:08:44 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_esound_protocol_unix_la_SOURCES = modules/module-protocol-stub.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_esound_protocol_unix_la_CFLAGS = -DUSE_UNIX_SOCKETS -DUSE_PROTOCOL_ESOUND $(AM_CFLAGS)
|
|
|
|
|
module_esound_protocol_unix_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_esound_protocol_unix_la_LIBADD = $(AM_LIBADD) libpulsecore.la libprotocol-esound.la libsocket-server.la libsocket-util.la
|
2004-09-26 22:27:04 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_esound_compat_spawnfd_la_SOURCES = modules/module-esound-compat-spawnfd.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_esound_compat_spawnfd_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_esound_compat_spawnfd_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2004-07-15 20:51:55 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_esound_compat_spawnpid_la_SOURCES = modules/module-esound-compat-spawnpid.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_esound_compat_spawnpid_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_esound_compat_spawnpid_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2004-07-10 19:04:21 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_esound_sink_la_SOURCES = modules/module-esound-sink.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_esound_sink_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_esound_sink_la_LIBADD = $(AM_LIBADD) libpulsecore.la libiochannel.la libsocket-client.la libauthkey.la
|
2004-07-16 20:58:18 +00:00
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
# Pipes
|
2004-08-07 10:52:43 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_pipe_sink_la_SOURCES = modules/module-pipe-sink.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_pipe_sink_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_pipe_sink_la_LIBADD = $(AM_LIBADD) libpulsecore.la libiochannel.la
|
2004-10-24 00:48:02 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_pipe_source_la_SOURCES = modules/module-pipe-source.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_pipe_source_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_pipe_source_la_LIBADD = $(AM_LIBADD) libpulsecore.la libiochannel.la
|
2004-11-11 21:18:33 +00:00
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
# Fake sources/sinks
|
2004-11-17 00:05:25 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_sine_la_SOURCES = modules/module-sine.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_sine_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_sine_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2004-11-21 18:15:33 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_null_sink_la_SOURCES = modules/module-null-sink.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_null_sink_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_null_sink_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2004-09-12 23:29:54 +00:00
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
# Couplings
|
2004-09-12 23:29:54 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_combine_la_SOURCES = modules/module-combine.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_combine_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_combine_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2004-09-12 23:29:54 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_match_la_SOURCES = modules/module-match.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_match_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_match_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2004-10-30 01:55:16 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_tunnel_sink_la_SOURCES = modules/module-tunnel.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_tunnel_sink_la_CFLAGS = -DTUNNEL_SINK=1 $(AM_CFLAGS)
|
|
|
|
|
module_tunnel_sink_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_tunnel_sink_la_LIBADD = $(AM_LIBADD) libpulsecore.la libsocket-client.la libpstream.la libpstream-util.la libpdispatch.la libtagstruct.la libauthkey.la libauthkey-prop.la libsocket-util.la libiochannel.la
|
2004-11-09 23:19:42 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_tunnel_source_la_SOURCES = modules/module-tunnel.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_tunnel_source_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_tunnel_source_la_LIBADD = $(AM_LIBADD) libpulsecore.la libsocket-client.la libpstream.la libpstream-util.la libpdispatch.la libtagstruct.la libauthkey.la libauthkey-prop.la libsocket-util.la libiochannel.la
|
2006-01-10 17:51:06 +00:00
|
|
|
|
|
|
|
|
# X11
|
2004-09-12 23:29:54 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_x11_bell_la_SOURCES = modules/module-x11-bell.c
|
2004-09-12 23:29:54 +00:00
|
|
|
module_x11_bell_la_CFLAGS = $(AM_CFLAGS) $(X_CFLAGS)
|
|
|
|
|
module_x11_bell_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_x11_bell_la_LIBADD = $(AM_LIBADD) $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS) libx11wrap.la libpulsecore.la
|
2004-10-30 01:55:16 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_x11_publish_la_SOURCES = modules/module-x11-publish.c
|
2004-10-30 01:55:16 +00:00
|
|
|
module_x11_publish_la_CFLAGS = $(AM_CFLAGS) $(X_CFLAGS)
|
|
|
|
|
module_x11_publish_la_LDFLAGS = -module -avoid-version
|
2004-11-11 21:18:33 +00:00
|
|
|
module_x11_publish_la_LIBADD = $(AM_LIBADD) $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS) libx11wrap.la libauthkey.la libauthkey-prop.la libx11prop.la libstrlist.la
|
2004-10-30 01:55:16 +00:00
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
# OSS
|
2005-01-08 01:15:11 +00:00
|
|
|
|
2006-02-17 09:12:06 +00:00
|
|
|
liboss_util_la_SOURCES = modules/oss-util.c modules/oss-util.h
|
|
|
|
|
liboss_util_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
liboss_util_la_LIBADD = libpulsecore.la
|
2006-02-17 09:12:06 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_oss_la_SOURCES = modules/module-oss.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_oss_la_LDFLAGS = -module -avoid-version
|
|
|
|
|
module_oss_la_LIBADD = $(AM_LIBADD) libiochannel.la liboss-util.la
|
2004-09-12 23:29:54 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_oss_mmap_la_SOURCES = modules/module-oss-mmap.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_oss_mmap_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_oss_mmap_la_LIBADD = $(AM_LIBADD) liboss-util.la libpulsecore.la
|
2004-09-12 23:29:54 +00:00
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
# ALSA
|
2004-09-12 23:29:54 +00:00
|
|
|
|
2006-02-17 09:12:06 +00:00
|
|
|
libalsa_util_la_SOURCES = modules/alsa-util.c modules/alsa-util.h
|
|
|
|
|
libalsa_util_la_LDFLAGS = -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
libalsa_util_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libpulsecore.la
|
2006-02-17 09:12:06 +00:00
|
|
|
libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_alsa_sink_la_SOURCES = modules/module-alsa-sink.c
|
2004-09-12 23:29:54 +00:00
|
|
|
module_alsa_sink_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_alsa_sink_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la libpulsecore.la
|
2004-09-12 23:29:54 +00:00
|
|
|
module_alsa_sink_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
|
|
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_alsa_source_la_SOURCES = modules/module-alsa-source.c
|
2004-09-12 23:29:54 +00:00
|
|
|
module_alsa_source_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_alsa_source_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la libpulsecore.la
|
2004-09-12 23:29:54 +00:00
|
|
|
module_alsa_source_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
|
|
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
# Solaris
|
2004-12-11 00:10:41 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_solaris_la_SOURCES = modules/module-solaris.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_solaris_la_LDFLAGS = -module -avoid-version
|
|
|
|
|
module_solaris_la_LIBADD = $(AM_LIBADD) libiochannel.la
|
|
|
|
|
|
2006-07-13 17:33:44 +00:00
|
|
|
# Avahi
|
2006-02-17 09:12:06 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_zeroconf_publish_la_SOURCES = modules/module-zeroconf-publish.c
|
2004-12-11 00:10:41 +00:00
|
|
|
module_zeroconf_publish_la_LDFLAGS = -module -avoid-version
|
2006-07-13 15:54:13 +00:00
|
|
|
module_zeroconf_publish_la_LIBADD = $(AM_LIBADD) $(AVAHI_LIBS) libavahi-wrap.la libpulsecore.la
|
|
|
|
|
module_zeroconf_publish_la_CFLAGS = $(AM_CFLAGS) $(AVAHI_CFLAGS)
|
2004-12-11 00:10:41 +00:00
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
# LIRC
|
2005-01-08 21:36:53 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_lirc_la_SOURCES = modules/module-lirc.c
|
2005-01-08 21:36:53 +00:00
|
|
|
module_lirc_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_lirc_la_LIBADD = $(AM_LIBADD) $(LIRC_LIBS) libpulsecore.la
|
2005-01-08 21:36:53 +00:00
|
|
|
module_lirc_la_CFLAGS = $(AM_CFLAGS) $(LIRC_CFLAGS)
|
|
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
# Linux evdev
|
2005-01-09 01:11:53 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_mmkbd_evdev_la_SOURCES = modules/module-mmkbd-evdev.c
|
2005-01-09 01:11:53 +00:00
|
|
|
module_mmkbd_evdev_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_mmkbd_evdev_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2005-01-09 01:11:53 +00:00
|
|
|
module_mmkbd_evdev_la_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
# Windows waveout
|
2004-07-16 20:58:18 +00:00
|
|
|
|
2006-02-16 19:19:58 +00:00
|
|
|
module_waveout_la_SOURCES = modules/module-waveout.c
|
2006-01-10 17:51:06 +00:00
|
|
|
module_waveout_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_waveout_la_LIBADD = $(AM_LIBADD) libpulsecore.la -lwinmm
|
2006-01-10 17:51:06 +00:00
|
|
|
module_waveout_la_CFLAGS = $(AM_CFLAGS)
|
2004-08-06 23:07:48 +00:00
|
|
|
|
2006-02-16 01:17:30 +00:00
|
|
|
# Hardware autodetection module
|
2006-02-16 19:19:58 +00:00
|
|
|
module_detect_la_SOURCES = modules/module-detect.c
|
2006-02-16 01:17:30 +00:00
|
|
|
module_detect_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_detect_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2006-02-16 01:17:30 +00:00
|
|
|
module_detect_la_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
|
2006-05-14 00:41:56 +00:00
|
|
|
# Volume restore module
|
|
|
|
|
module_volume_restore_la_SOURCES = modules/module-volume-restore.c
|
|
|
|
|
module_volume_restore_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_volume_restore_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
2006-05-14 00:41:56 +00:00
|
|
|
module_volume_restore_la_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
|
2006-08-13 17:34:36 +00:00
|
|
|
# Rescue streams module
|
|
|
|
|
module_rescue_streams_la_SOURCES = modules/module-rescue-streams.c
|
|
|
|
|
module_rescue_streams_la_LDFLAGS = -module -avoid-version
|
|
|
|
|
module_rescue_streams_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
|
|
|
|
module_rescue_streams_la_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
|
2006-04-16 00:16:53 +00:00
|
|
|
# RTP modules
|
2006-04-16 10:56:45 +00:00
|
|
|
module_rtp_send_la_SOURCES = modules/rtp/module-rtp-send.c
|
|
|
|
|
module_rtp_send_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_rtp_send_la_LIBADD = $(AM_LIBADD) libpulsecore.la librtp.la
|
2006-04-16 10:56:45 +00:00
|
|
|
module_rtp_send_la_CFLAGS = $(AM_CFLAGS)
|
2006-04-14 23:49:12 +00:00
|
|
|
|
2006-04-16 00:16:53 +00:00
|
|
|
module_rtp_recv_la_SOURCES = modules/rtp/module-rtp-recv.c
|
|
|
|
|
module_rtp_recv_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_rtp_recv_la_LIBADD = $(AM_LIBADD) libpulsecore.la librtp.la
|
2006-04-16 00:16:53 +00:00
|
|
|
module_rtp_recv_la_CFLAGS = $(AM_CFLAGS)
|
|
|
|
|
|
2006-04-17 00:11:04 +00:00
|
|
|
# JACK
|
|
|
|
|
|
|
|
|
|
module_jack_sink_la_SOURCES = modules/module-jack-sink.c
|
|
|
|
|
module_jack_sink_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_jack_sink_la_LIBADD = $(AM_LIBADD) libpulsecore.la $(JACK_LIBS)
|
2006-04-18 19:12:53 +00:00
|
|
|
module_jack_sink_la_CFLAGS = $(AM_LIBADD) $(JACK_CFLAGS)
|
2006-04-18 17:19:41 +00:00
|
|
|
|
|
|
|
|
module_jack_source_la_SOURCES = modules/module-jack-source.c
|
|
|
|
|
module_jack_source_la_LDFLAGS = -module -avoid-version
|
2006-06-19 21:53:48 +00:00
|
|
|
module_jack_source_la_LIBADD = $(AM_LIBADD) libpulsecore.la $(JACK_LIBS)
|
2006-04-18 19:12:53 +00:00
|
|
|
module_jack_source_la_CFLAGS = $(AM_LIBADD) $(JACK_CFLAGS)
|
2006-04-17 00:11:04 +00:00
|
|
|
|
2006-08-06 16:16:50 +00:00
|
|
|
# HAL
|
|
|
|
|
libdbus_util_la_SOURCES = modules/dbus-util.c modules/dbus-util.h
|
|
|
|
|
libdbus_util_la_LDFLAGS = -avoid-version
|
|
|
|
|
libdbus_util_la_LIBADD = $(AM_LIBADD) $(HAL_LIBS) libpulsecore.la
|
|
|
|
|
libdbus_util_la_CFLAGS = $(AM_CFLAGS) $(HAL_CFLAGS)
|
|
|
|
|
|
|
|
|
|
module_hal_detect_la_SOURCES = modules/module-hal-detect.c
|
|
|
|
|
module_hal_detect_la_LDFLAGS = -module -avoid-version
|
|
|
|
|
module_hal_detect_la_LIBADD = $(AM_LIBADD) $(HAL_LIBS) libpulsecore.la libdbus-util.la
|
|
|
|
|
module_hal_detect_la_CFLAGS = $(AM_CFLAGS) $(HAL_CFLAGS)
|
|
|
|
|
|
2006-07-26 17:36:14 +00:00
|
|
|
# GConf support
|
|
|
|
|
module_gconf_la_SOURCES = modules/gconf/module-gconf.c
|
|
|
|
|
module_gconf_la_LDFLAGS = -module -avoid-version
|
|
|
|
|
module_gconf_la_LIBADD = $(AM_LIBADD) libpulsecore.la
|
|
|
|
|
module_gconf_la_CFLAGS = $(AM_CFLAGS) -DPA_GCONF_HELPER=\"$(pulselibexecdir)/gconf-helper\"
|
|
|
|
|
|
|
|
|
|
gconf_helper_SOURCES = modules/gconf/gconf-helper.c
|
|
|
|
|
gconf_helper_LDADD = $(AM_LDADD) $(GCONF_LIBS)
|
|
|
|
|
gconf_helper_CFLAGS = $(AM_CFLAGS) $(GCONF_CFLAGS)
|
|
|
|
|
gconf_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
|
|
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
###################################
|
|
|
|
|
# Some minor stuff #
|
|
|
|
|
###################################
|
2004-09-01 00:23:51 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
suid: pulse
|
2004-11-01 23:37:36 +00:00
|
|
|
chown root $<
|
2004-09-01 00:23:51 +00:00
|
|
|
chmod u+s $<
|
2004-09-01 21:12:27 +00:00
|
|
|
|
2006-05-29 12:59:10 +00:00
|
|
|
CLEANFILES = esdcompat client.conf default.pa daemon.conf
|
2006-04-18 18:18:28 +00:00
|
|
|
|
2006-05-29 12:59:10 +00:00
|
|
|
esdcompat: daemon/esdcompat.in Makefile
|
2004-09-01 21:12:27 +00:00
|
|
|
sed -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
|
|
|
|
|
-e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
|
2006-07-20 23:04:59 +00:00
|
|
|
-e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
|
2004-09-19 00:03:12 +00:00
|
|
|
|
2006-06-19 21:53:48 +00:00
|
|
|
client.conf: pulse/client.conf.in Makefile
|
2006-07-20 23:04:59 +00:00
|
|
|
sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
|
2004-09-17 19:52:38 +00:00
|
|
|
|
2006-01-10 17:51:06 +00:00
|
|
|
if OS_IS_WIN32
|
2006-02-16 21:37:20 +00:00
|
|
|
default.pa: daemon/default.pa.win32
|
2006-01-10 17:51:06 +00:00
|
|
|
cp $< $@
|
|
|
|
|
else
|
2006-02-16 21:37:20 +00:00
|
|
|
default.pa: daemon/default.pa.in Makefile
|
2006-07-20 23:04:59 +00:00
|
|
|
sed -e 's,@PA_BINARY\@,$(PA_BINARY),g' < $< > $@
|
2006-01-10 17:51:06 +00:00
|
|
|
endif
|
2004-09-23 20:41:49 +00:00
|
|
|
|
2006-02-16 21:37:20 +00:00
|
|
|
daemon.conf: daemon/daemon.conf.in Makefile
|
2006-07-19 18:08:29 +00:00
|
|
|
sed -e 's,@PA_DLSEARCHPATH\@,$(modlibexecdir),g' \
|
|
|
|
|
-e 's,@PA_DEFAULT_CONFIG_FILE\@,$(DEFAULT_CONFIG_DIR),g' < $< > $@
|
2004-09-13 23:28:30 +00:00
|
|
|
|
|
|
|
|
install-exec-hook:
|
2006-06-19 21:53:48 +00:00
|
|
|
chown root $(DESTDIR)$(bindir)/pulseaudio ; true
|
|
|
|
|
chmod u+s $(DESTDIR)$(bindir)/pulseaudio
|
2004-11-23 13:34:59 +00:00
|
|
|
ln -sf pacat $(DESTDIR)$(bindir)/parec
|
2006-05-16 15:29:58 +00:00
|
|
|
rm -f $(DESTDIR)$(modlibexecdir)/*.a
|
2006-06-19 21:53:48 +00:00
|
|
|
rm -f $(DESTDIR)$(libdir)/libpulsedsp.a
|
|
|
|
|
rm -f $(DESTDIR)$(libdir)/libpulsedsp.la
|
2006-05-25 17:16:55 +00:00
|
|
|
|
2006-07-23 22:36:08 +00:00
|
|
|
massif: pulseaudio
|
|
|
|
|
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
|
|
|
|
|
|
2006-05-25 17:16:55 +00:00
|
|
|
.PHONY: utils/padsp
|