gstreamer/pkgconfig/Makefile.am
Sebastian Dröge 3809775d31 Provide one pkg-config file for every gst-plugins-base library.
Original commit message from CVS:
* configure.ac:
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-audio-uninstalled.pc.in:
* pkgconfig/gstreamer-audio.pc.in:
* pkgconfig/gstreamer-cdda-uninstalled.pc.in:
* pkgconfig/gstreamer-cdda.pc.in:
* pkgconfig/gstreamer-fft-uninstalled.pc.in:
* pkgconfig/gstreamer-fft.pc.in:
* pkgconfig/gstreamer-floatcast-uninstalled.pc.in:
* pkgconfig/gstreamer-floatcast.pc.in:
* pkgconfig/gstreamer-interfaces-uninstalled.pc.in:
* pkgconfig/gstreamer-interfaces.pc.in:
* pkgconfig/gstreamer-netbuffer-uninstalled.pc.in:
* pkgconfig/gstreamer-netbuffer.pc.in:
* pkgconfig/gstreamer-pbutils-uninstalled.pc.in:
* pkgconfig/gstreamer-pbutils.pc.in:
* pkgconfig/gstreamer-riff-uninstalled.pc.in:
* pkgconfig/gstreamer-riff.pc.in:
* pkgconfig/gstreamer-rtp-uninstalled.pc.in:
* pkgconfig/gstreamer-rtp.pc.in:
* pkgconfig/gstreamer-rtsp-uninstalled.pc.in:
* pkgconfig/gstreamer-rtsp.pc.in:
* pkgconfig/gstreamer-sdp-uninstalled.pc.in:
* pkgconfig/gstreamer-sdp.pc.in:
* pkgconfig/gstreamer-tag-uninstalled.pc.in:
* pkgconfig/gstreamer-tag.pc.in:
* pkgconfig/gstreamer-video-uninstalled.pc.in:
* pkgconfig/gstreamer-video.pc.in:
Provide one pkg-config file for every gst-plugins-base library.
This makes linking to those libraries much more intuitive and
provides standard pkg-config behaviour for them. Fixes bug #499697.
2008-01-14 13:11:05 +00:00

63 lines
2.7 KiB
Makefile

### all of the standard pc files we need to generate
pcverfiles = \
gstreamer-audio-@GST_MAJORMINOR@.pc \
gstreamer-cdda-@GST_MAJORMINOR@.pc \
gstreamer-fft-@GST_MAJORMINOR@.pc \
gstreamer-floatcast-@GST_MAJORMINOR@.pc \
gstreamer-interfaces-@GST_MAJORMINOR@.pc \
gstreamer-netbuffer-@GST_MAJORMINOR@.pc \
gstreamer-pbutils-@GST_MAJORMINOR@.pc \
gstreamer-riff-@GST_MAJORMINOR@.pc \
gstreamer-rtp-@GST_MAJORMINOR@.pc \
gstreamer-rtsp-@GST_MAJORMINOR@.pc \
gstreamer-sdp-@GST_MAJORMINOR@.pc \
gstreamer-tag-@GST_MAJORMINOR@.pc \
gstreamer-video-@GST_MAJORMINOR@.pc \
gstreamer-plugins-base-@GST_MAJORMINOR@.pc
pcverfiles_uninstalled = \
gstreamer-audio-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-cdda-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-fft-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-floatcast-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-interfaces-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-netbuffer-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-pbutils-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-riff-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-rtp-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-rtsp-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-sdp-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-tag-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-video-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-plugins-base-@GST_MAJORMINOR@-uninstalled.pc
all-local: $(pcverfiles) $(pcverfiles_uninstalled)
### how to generate versioned .pc files from .pc files in this dir
%-@GST_MAJORMINOR@.pc: %.pc
cp $< $@
%-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
cp $< $@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(pcverfiles)
CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
pcinfiles = \
gstreamer-audio.pc.in gstreamer-audio-uninstalled.pc.in \
gstreamer-cdda.pc.in gstreamer-cdda-uninstalled.pc.in \
gstreamer-fft.pc.in gstreamer-fft-uninstalled.pc.in \
gstreamer-floatcast.pc.in gstreamer-floatcast-uninstalled.pc.in \
gstreamer-interfaces.pc.in gstreamer-interfaces-uninstalled.pc.in \
gstreamer-netbuffer.pc.in gstreamer-netbuffer-uninstalled.pc.in \
gstreamer-pbutils.pc.in gstreamer-pbutils-uninstalled.pc.in \
gstreamer-riff.pc.in gstreamer-riff-uninstalled.pc.in \
gstreamer-rtp.pc.in gstreamer-rtp-uninstalled.pc.in \
gstreamer-rtsp.pc.in gstreamer-rtsp-uninstalled.pc.in \
gstreamer-sdp.pc.in gstreamer-sdp-uninstalled.pc.in \
gstreamer-tag.pc.in gstreamer-tag-uninstalled.pc.in \
gstreamer-video.pc.in gstreamer-video-uninstalled.pc.in \
gstreamer-plugins-base.pc.in gstreamer-plugins-base-uninstalled.pc.in
DISTCLEANFILES = $(pcinfiles:.in=)
EXTRA_DIST = $(pcinfiles)