daemon/default.pa.in \
depmod.py \
daemon/esdcompat.sh.in \
+ utils/padsp \
modules/module-defs.h.m4
polypconf_DATA = \
polypinclude_HEADERS = \
polyp/cdecl.h \
polyp/channelmap.h \
- polyp/glib-mainloop.h \
- polyp/mainloop.h \
- polyp/mainloop-api.h \
- polyp/mainloop-signal.h \
- polyp/thread-mainloop.h \
- polyp/polypaudio.h \
polyp/context.h \
polyp/def.h \
polyp/error.h \
polyp/introspect.h \
+ polyp/mainloop.h \
+ polyp/mainloop-api.h \
+ polyp/mainloop-signal.h \
polyp/operation.h \
+ polyp/polypaudio.h \
+ polyp/sample.h \
polyp/scache.h \
polyp/simple.h \
polyp/stream.h \
polyp/subscribe.h \
- polyp/version.h \
- polyp/sample.h \
+ polyp/thread-mainloop.h \
+ polyp/timeval.h \
polyp/utf8.h \
+ polyp/util.h \
+ polyp/version.h \
polyp/volume.h \
- polyp/xmalloc.h \
- polyp/util.h
+ polyp/xmalloc.h
if HAVE_HOWL
polypinclude_HEADERS += \
polyp/browser.h
endif
+if HAVE_GLIB20
+polypinclude_HEADERS += \
+ polyp/glib-mainloop.h
+else
+if HAVE_GLIB12
+polypinclude_HEADERS += \
+ polyp/glib-mainloop.h
+endif
+endif
+
lib_LTLIBRARIES = \
libpolyp.la \
libpolyp-simple.la
polyp/cdecl.h \
polyp/channelmap.c polyp/channelmap.h \
polyp/client-conf.c polyp/client-conf.h \
- polyp/mainloop-api.c polyp/mainloop-api.h \
- polyp/polypaudio.h \
polyp/context.c polyp/context.h \
polyp/def.h \
polyp/error.c polyp/error.h \
polyp/internal.h \
polyp/introspect.c polyp/introspect.h \
+ polyp/mainloop.c polyp/mainloop.h \
+ polyp/mainloop-api.c polyp/mainloop-api.h \
+ polyp/mainloop-signal.c polyp/mainloop-signal.h \
polyp/operation.c polyp/operation.h \
+ polyp/polypaudio.h \
+ polyp/sample.c polyp/sample.h \
polyp/scache.c polyp/scache.h \
polyp/stream.c polyp/stream.h \
polyp/subscribe.c polyp/subscribe.h \
- polyp/sample.c polyp/sample.h \
+ polyp/thread-mainloop.c polyp/thread-mainloop.h \
polyp/timeval.c polyp/timeval.h \
- polyp/volume.c polyp/volume.h \
polyp/utf8.c polyp/utf8.h \
- polyp/mainloop.c polyp/mainloop.h \
- polyp/mainloop-signal.c polyp/mainloop-signal.h \
- polyp/thread-mainloop.c polyp/thread-mainloop.h \
- polyp/xmalloc.c polyp/xmalloc.h \
- polyp/util.c polyp/util.h
+ polyp/util.c polyp/util.h \
+ polyp/volume.c polyp/volume.h \
+ polyp/xmalloc.c polyp/xmalloc.h
# Internal stuff that is shared with libpolypcore
libpolyp_la_SOURCES += \
polypcore/authkey.c polypcore/authkey.h \
polypcore/conf-parser.c polypcore/conf-parser.h \
+ polypcore/core-util.c polypcore/core-util.h \
polypcore/dynarray.c polypcore/dynarray.h \
polypcore/gccmacro.h \
polypcore/hashmap.c polypcore/hashmap.h \
polypcore/idxset.c polypcore/idxset.h \
polypcore/iochannel.c polypcore/iochannel.h \
+ polypcore/llist.h \
polypcore/log.c polypcore/log.h \
polypcore/mcalign.c polypcore/mcalign.h \
polypcore/memblock.c polypcore/memblock.h \
polypcore/packet.c polypcore/packet.h \
polypcore/parseaddr.c polypcore/parseaddr.h \
polypcore/pdispatch.c polypcore/pdispatch.h \
+ polypcore/pipe.c polypcore/pipe.h \
+ polypcore/poll.c polypcore/poll.h \
polypcore/pstream.c polypcore/pstream.h \
polypcore/pstream-util.c polypcore/pstream-util.h \
polypcore/queue.c polypcore/queue.h \
polypcore/strbuf.c polypcore/strbuf.h \
polypcore/strlist.c polypcore/strlist.h \
polypcore/tagstruct.c polypcore/tagstruct.h \
- polypcore/core-util.c polypcore/core-util.h \
- polypcore/winsock.h \
- polypcore/llist.h \
- polypcore/pipe.c polypcore/pipe.h \
- polypcore/poll.c polypcore/poll.h
+ polypcore/core-error.c polypcore/core-error.h \
+ polypcore/winsock.h
if OS_IS_WIN32
libpolyp_la_SOURCES += \
libpolyp_mainloop_glib12_la_LIBADD = $(AM_LIBADD) libpolyp.la $(GLIB12_LIBS)
libpolyp_mainloop_glib12_la_LDFLAGS = -version-info $(LIBPOLYP_MAINLOOP_GLIB_VERSION_INFO)
+###################################
+# OSS emulation #
+###################################
+
+if HAVE_OSS
+
+lib_LTLIBRARIES += libpolypdsp.la
+
+bin_SCRIPTS += utils/padsp
+
+endif
+
+libpolypdsp_la_SOURCES = utils/padsp.c
+libpolypdsp_la_CFLAGS = $(AM_CFLAGS)
+libpolypdsp_la_LIBADD = $(AM_LIBADD) libpolyp.la
+libpolypdsp_la_LDFLAGS = -avoid-version
+
###################################
# Daemon core library #
###################################
polypcore/core-scache.h \
polypcore/core-subscribe.h \
polypcore/conf-parser.h \
+ polypcore/core-util.h \
polypcore/dynarray.h \
polypcore/g711.h \
polypcore/hashmap.h \
polypcore/source.h \
polypcore/source-output.h \
polypcore/strbuf.h \
- polypcore/tokenizer.h \
- polypcore/core-util.h
+ polypcore/tokenizer.h
lib_LTLIBRARIES += libpolypcore.la
# Some public stuff is used even in the core.
libpolypcore_la_SOURCES = \
polyp/channelmap.c polyp/channelmap.h \
+ polyp/error.c polyp/error.h \
polyp/mainloop.c polyp/mainloop.h \
polyp/mainloop-api.c polyp/mainloop-api.h \
polyp/mainloop-signal.c polyp/mainloop-signal.h \
polyp/sample.c polyp/sample.h \
- polyp/volume.c polyp/volume.h \
polyp/timeval.c polyp/timeval.h \
polyp/utf8.c polyp/utf8.h \
polyp/util.c polyp/util.h \
+ polyp/volume.c polyp/volume.h \
polyp/xmalloc.c polyp/xmalloc.h
# Pure core stuff (some are shared in libpolyp though).
polypcore/core.c polypcore/core.h \
polypcore/core-scache.c polypcore/core-scache.h \
polypcore/core-subscribe.c polypcore/core-subscribe.h \
+ polypcore/core-util.c polypcore/core-util.h \
polypcore/dynarray.c polypcore/dynarray.h \
polypcore/endianmacros.h \
polypcore/g711.c polypcore/g711.h \
polypcore/source-output.c polypcore/source-output.h \
polypcore/strbuf.c polypcore/strbuf.h \
polypcore/tokenizer.c polypcore/tokenizer.h \
- polypcore/core-util.c polypcore/core-util.h \
- polypcore/winsock.h
+ polypcore/winsock.h \
+ polypcore/core-error.c polypcore/core-error.h
if OS_IS_WIN32
libpolypcore_la_SOURCES += \
chown root $<
chmod u+s $<
-CLEANFILES=esdcompat.sh client.conf default.pa daemon.conf
+CLEANFILES = esdcompat.sh client.conf default.pa daemon.conf
esdcompat.sh: daemon/esdcompat.sh.in Makefile
sed -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
chmod u+s $(DESTDIR)$(bindir)/polypaudio
ln -sf pacat $(DESTDIR)$(bindir)/parec
rm -f $(DESTDIR)$(modlibexecdir)/*.a
+
+.PHONY: utils/padsp