mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
add pkgconfig stuff
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@85 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
cf965cbda8
commit
3e379ca99d
7 changed files with 132 additions and 7 deletions
|
|
@ -20,5 +20,8 @@
|
|||
EXTRA_DIST = bootstrap.sh
|
||||
SUBDIRS=src
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = polyplib.pc polyplib-simple.pc polyplib-error.pc polyplib-mainloop.pc
|
||||
|
||||
distcleancheck:
|
||||
@:
|
||||
|
|
|
|||
|
|
@ -55,5 +55,7 @@ if test "x$GCC" = "xyes" ; then
|
|||
CFLAGS="$CFLAGS -pipe -Wall -W -Wno-unused-parameter"
|
||||
fi
|
||||
|
||||
AC_CONFIG_FILES([Makefile src/Makefile])
|
||||
AM_CONDITIONAL(BUILD_LIBPOLYPCORE, false)
|
||||
|
||||
AC_CONFIG_FILES([Makefile src/Makefile polyplib.pc polyplib-simple.pc polyplib-mainloop.pc polyplib-error.pc])
|
||||
AC_OUTPUT
|
||||
|
|
|
|||
10
polyplib-error.pc.in
Normal file
10
polyplib-error.pc.in
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: polyplib-error
|
||||
Description: Error library for the polypaudio sound daemon
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lpolyp-error
|
||||
Cflags: -D_REENTRANT -I${includedir}
|
||||
10
polyplib-mainloop.pc.in
Normal file
10
polyplib-mainloop.pc.in
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: polyplib-mainloop
|
||||
Description: Mainloop API of the polypaudio sound daemon
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lpolyp-mainloop
|
||||
Cflags: -D_REENTRANT -I${includedir}
|
||||
10
polyplib-simple.pc.in
Normal file
10
polyplib-simple.pc.in
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: polyplib-simple
|
||||
Description: Simplistic client interface to polypaudio sound daemon
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lpolyp-simple
|
||||
Cflags: -D_REENTRANT -I${includedir}
|
||||
10
polyplib.pc.in
Normal file
10
polyplib.pc.in
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: polyplib
|
||||
Description: Client interface to polypaudio sound daemon
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lpolyp
|
||||
Cflags: -D_REENTRANT -I${includedir}
|
||||
|
|
@ -23,6 +23,15 @@ EXTRA_DIST = polypaudio.run depmod.py
|
|||
bin_PROGRAMS = polypaudio pacat pactl
|
||||
noinst_PROGRAMS = pacat-simple parec-simple
|
||||
|
||||
pkginclude_HEADERS=polyplib.h \
|
||||
polyplib-def.h \
|
||||
polyplib-simple.h \
|
||||
polyplib-error.h \
|
||||
mainloop-api.h \
|
||||
mainloop.h \
|
||||
mainloop-signal.h \
|
||||
sample.h
|
||||
|
||||
pkglib_LTLIBRARIES=libiochannel.la \
|
||||
libsocket-server.la \
|
||||
libsocket-client.la \
|
||||
|
|
@ -54,8 +63,9 @@ pkglib_LTLIBRARIES=libiochannel.la \
|
|||
module-esound-protocol-tcp.la \
|
||||
module-esound-protocol-unix.la \
|
||||
module-native-protocol-tcp.la \
|
||||
module-native-protocol-unix.la \
|
||||
libpolyp.la \
|
||||
module-native-protocol-unix.la
|
||||
|
||||
lib_LTLIBRARIES=libpolyp.la \
|
||||
libpolyp-simple.la \
|
||||
libpolyp-error.la \
|
||||
libpolyp-mainloop.la
|
||||
|
|
@ -267,18 +277,88 @@ libpolyp_simple_la_SOURCES = polyplib-simple.c polyplib-simple.h
|
|||
libpolyp_simple_la_CFLAGS = $(AM_CFLAGS)
|
||||
libpolyp_simple_la_LIBADD = libpolyp.la libpolyp-mainloop.la
|
||||
|
||||
pacat_SOURCES = pacat.c #$(libpolyp_la_SOURCES) $(libpolyp_error_la_SOURCES)
|
||||
pacat_SOURCES = pacat.c
|
||||
pacat_LDADD = libpolyp.la libpolyp-error.la libpolyp-mainloop.la
|
||||
pacat_CFLAGS = $(AM_CFLAGS)
|
||||
|
||||
pactl_SOURCES = pactl.c #$(libpolyp_la_SOURCES) $(libpolyp_error_la_SOURCES)
|
||||
pactl_SOURCES = pactl.c
|
||||
pactl_LDADD = libpolyp.la libpolyp-error.la libpolyp-mainloop.la
|
||||
pactl_CFLAGS = $(AM_CFLAGS)
|
||||
|
||||
pacat_simple_SOURCES = pacat-simple.c #$(libpolyp_la_SOURCES) $(libpolyp_simple_la_SOURCES) $(libpolyp_error_la_SOURCES)
|
||||
pacat_simple_SOURCES = pacat-simple.c
|
||||
pacat_simple_LDADD = libpolyp-simple.la libpolyp-error.la
|
||||
pacat_simple_CFLAGS = $(AM_CFLAGS)
|
||||
|
||||
parec_simple_SOURCES = parec-simple.c #$(libpolyp_la_SOURCES) $(libpolyp_simple_la_SOURCES) $(libpolyp_error_la_SOURCES)
|
||||
parec_simple_SOURCES = parec-simple.c
|
||||
parec_simple_LDADD = libpolyp-simple.la libpolyp-error.la
|
||||
parec_simple_CFLAGS = $(AM_CFLAGS)
|
||||
|
||||
if BUILD_LIBPOLYPCORE
|
||||
|
||||
pkginclude_HEADERS+=cli-command.h\
|
||||
client.h \
|
||||
core.h \
|
||||
dynarray.h \
|
||||
endianmacros.h \
|
||||
hashmap.h \
|
||||
idxset.h \
|
||||
iochannel.h \
|
||||
memblock.h \
|
||||
memblockq.h \
|
||||
memchunk.h \
|
||||
modargs.h \
|
||||
module.h \
|
||||
namereg.h \
|
||||
queue.h \
|
||||
resampler.h \
|
||||
sample-util.h \
|
||||
sink.h \
|
||||
sink-input.h \
|
||||
sioman.h \
|
||||
socket-server.h \
|
||||
socket-client.h \
|
||||
socket-util.h \
|
||||
source.h \
|
||||
source-output.h \
|
||||
strbuf.h \
|
||||
tokenizer.h \
|
||||
tagstruct.h \
|
||||
util.h
|
||||
|
||||
lib_LTLIBRARIES+= libpolypcore.la
|
||||
|
||||
libpolypcore_la_SOURCES = idxset.c idxset.h \
|
||||
queue.c queue.h \
|
||||
strbuf.c strbuf.h \
|
||||
mainloop.c mainloop.h \
|
||||
memblock.c memblock.h \
|
||||
sample.c sample.h \
|
||||
sample-util.c sample-util.h \
|
||||
memblockq.c memblockq.h \
|
||||
client.c client.h \
|
||||
core.c core.h \
|
||||
source-output.c source-output.h \
|
||||
sink-input.c sink-input.h \
|
||||
source.c source.h \
|
||||
sink.c sink.h \
|
||||
module.c module.h \
|
||||
mainloop-signal.c mainloop-signal.h \
|
||||
mainloop-api.c mainloop-api.h \
|
||||
util.c util.h \
|
||||
hashmap.c hashmap.h \
|
||||
namereg.c namereg.h \
|
||||
sconv.c sconv.h \
|
||||
resampler.c resampler.h \
|
||||
endianmacros.h \
|
||||
memchunk.c memchunk.h \
|
||||
sconv-s16le.c sconv-s16le.h \
|
||||
sconv-s16be.c sconv-s16be.h \
|
||||
sioman.c sioman.h \
|
||||
modargs.c modargs.h \
|
||||
cmdline.c cmdline.h \
|
||||
cli-command.c cli-command.h \
|
||||
clitext.c clitext.h \
|
||||
tokenizer.c tokenizer.h \
|
||||
dynarray.c dynarray.h
|
||||
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue