diff options
author | Jaska Uimonen <jaska.uimonen@helsinki.fi> | 2012-06-05 11:36:13 +0300 |
---|---|---|
committer | Jaska Uimonen <jaska.uimonen@intel.com> | 2013-02-15 09:39:56 +0200 |
commit | da41df6fc85b0d96b90811aeb5d40e4cddb5c591 (patch) | |
tree | d079b3c659d3adb4f73a5d038523d6011ba3ee2b | |
parent | 02bd2b3c2c99170390491effce95254baca0851d (diff) | |
download | pulseaudio-panda-da41df6fc85b0d96b90811aeb5d40e4cddb5c591.tar.gz pulseaudio-panda-da41df6fc85b0d96b90811aeb5d40e4cddb5c591.tar.bz2 pulseaudio-panda-da41df6fc85b0d96b90811aeb5d40e4cddb5c591.zip |
build-sys: install files for a module development.
-rw-r--r-- | Makefile.am | 11 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | pulseaudio-module-devel.pc.in | 12 |
3 files changed, 23 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 8a94a7c9..b19141bd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -44,7 +44,13 @@ vapi_DATA = \ vala/libpulse-mainloop-glib.deps vala/libpulse-mainloop-glib.vapi pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libpulse.pc libpulse-simple.pc +pkgconfig_DATA = libpulse.pc libpulse-simple.pc pulseaudio-module-devel.pc + +moduledev_DATA = pulsecore-config.h src/pulsecore/*.h +moduledevdir = $(includedir)/pulsemodule/pulsecore + +moduledevinternal_DATA = src/pulse/internal.h src/pulse/client-conf.h src/pulse/fork-detect.h +moduledevinternaldir = $(includedir)/pulsemodule/pulse if HAVE_GLIB20 pkgconfig_DATA += \ @@ -82,6 +88,9 @@ dist-hook: echo $(VERSION) > $(distdir)/.tarball-version echo $(VERSION) > $(distdir)/.version +pulsecore-config.h: config.h + cp $< $@ + .PHONY: homepage distcleancheck doxygen # see git-version-gen diff --git a/configure.ac b/configure.ac index a78098c1..69603c67 100644 --- a/configure.ac +++ b/configure.ac @@ -1333,6 +1333,7 @@ man/default.pa.5.xml man/pulse-cli-syntax.5.xml man/start-pulseaudio-kde.1.xml man/start-pulseaudio-x11.1.xml +pulseaudio-module-devel.pc ]) AC_CONFIG_FILES([src/esdcompat:src/daemon/esdcompat.in], [chmod +x src/esdcompat]) diff --git a/pulseaudio-module-devel.pc.in b/pulseaudio-module-devel.pc.in new file mode 100644 index 00000000..85aadbcc --- /dev/null +++ b/pulseaudio-module-devel.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ +modlibexecdir=@modlibexecdir@ + +Name: pulseaudio-module-devel +Description: PulseAudio Module Development Interface +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -L${libdir}/pulseaudio -L${modlibexecdir} -lpulsecommon-@PA_MAJORMINOR@ -lpulsecore-@PA_MAJORMINOR@ -lprotocol-native +Libs.private: +Cflags: -I${includedir}/pulsemodule -D_REENTRANT |