2003-04-07 21:34:30 +00:00
|
|
|
### all of the standard pc files we need to generate
|
2004-03-15 17:17:28 +00:00
|
|
|
pcverfiles = \
|
2013-02-18 14:18:38 +00:00
|
|
|
gstreamer-allocators-@GST_API_VERSION@.pc \
|
2012-04-04 12:20:13 +00:00
|
|
|
gstreamer-audio-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-app-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-fft-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-pbutils-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-riff-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-rtp-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-rtsp-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-sdp-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-tag-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-video-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-plugins-base-@GST_API_VERSION@.pc
|
2004-03-15 17:17:28 +00:00
|
|
|
pcverfiles_uninstalled = \
|
2013-02-18 14:18:38 +00:00
|
|
|
gstreamer-allocators-@GST_API_VERSION@-uninstalled.pc \
|
2012-04-04 12:20:13 +00:00
|
|
|
gstreamer-audio-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-app-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-fft-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-pbutils-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-riff-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-rtp-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-rtsp-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-sdp-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-tag-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-video-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-plugins-base-@GST_API_VERSION@-uninstalled.pc
|
2003-04-07 21:34:30 +00:00
|
|
|
|
2004-03-15 17:17:28 +00:00
|
|
|
all-local: $(pcverfiles) $(pcverfiles_uninstalled)
|
2003-04-07 21:34:30 +00:00
|
|
|
|
2010-02-26 15:25:59 +00:00
|
|
|
cp_verbose = $(cp_verbose_$(V))
|
|
|
|
cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
|
|
|
|
cp_verbose_0 = @echo " CP $@";
|
|
|
|
|
2004-03-15 17:17:28 +00:00
|
|
|
### how to generate versioned .pc files from .pc files in this dir
|
2012-04-04 12:20:13 +00:00
|
|
|
%-@GST_API_VERSION@.pc: %.pc
|
2010-02-26 15:25:59 +00:00
|
|
|
$(cp_verbose_0)cp $< $@
|
2012-04-04 12:20:13 +00:00
|
|
|
%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
|
2017-01-04 13:56:36 +00:00
|
|
|
### the uninstalled libdir is depend of the build system used so set it here
|
|
|
|
### rather than hardcoding it in the file directly.
|
|
|
|
$(AM_V_GEN) sed \
|
|
|
|
-e "s|[@]allocatorslibdir[@]|$(abs_top_builddir)/gst-libs/gst/allocators/.libs|" \
|
|
|
|
-e "s|[@]audiolibdir[@]|$(abs_top_builddir)/gst-libs/gst/audio/.libs|" \
|
|
|
|
-e "s|[@]applibdir[@]|$(abs_top_builddir)/gst-libs/gst/app/.libs|" \
|
|
|
|
-e "s|[@]fftlibdir[@]|$(abs_top_builddir)/gst-libs/gst/fft/.libs|" \
|
|
|
|
-e "s|[@]pbutilslibdir[@]|$(abs_top_builddir)/gst-libs/gst/pbutils/.libs|" \
|
|
|
|
-e "s|[@]rifflibdir[@]|$(abs_top_builddir)/gst-libs/gst/riff/.libs|" \
|
|
|
|
-e "s|[@]rtplibdir[@]|$(abs_top_builddir)/gst-libs/gst/rtp/.libs|" \
|
|
|
|
-e "s|[@]rtsplibdir[@]|$(abs_top_builddir)/gst-libs/gst/rtsp/.libs|" \
|
|
|
|
-e "s|[@]sdplibdir[@]|$(abs_top_builddir)/gst-libs/gst/sdp/.libs|" \
|
|
|
|
-e "s|[@]taglibdir[@]|$(abs_top_builddir)/gst-libs/gst/tag/.libs|" \
|
|
|
|
-e "s|[@]videolibdir[@]|$(abs_top_builddir)/gst-libs/gst/video/.libs|" \
|
|
|
|
$< > $@.tmp && mv $@.tmp $@
|
2003-04-07 21:34:30 +00:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2004-03-15 17:17:28 +00:00
|
|
|
pkgconfig_DATA = $(pcverfiles)
|
2003-04-07 21:34:30 +00:00
|
|
|
|
2004-03-15 17:17:28 +00:00
|
|
|
CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
|
|
|
|
pcinfiles = \
|
2013-02-18 14:18:38 +00:00
|
|
|
gstreamer-allocators.pc.in gstreamer-allocators-uninstalled.pc.in \
|
2008-01-14 13:11:05 +00:00
|
|
|
gstreamer-audio.pc.in gstreamer-audio-uninstalled.pc.in \
|
2009-01-06 12:16:18 +00:00
|
|
|
gstreamer-app.pc.in gstreamer-app-uninstalled.pc.in \
|
2008-01-14 13:11:05 +00:00
|
|
|
gstreamer-fft.pc.in gstreamer-fft-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 \
|
2005-06-30 13:22:55 +00:00
|
|
|
gstreamer-plugins-base.pc.in gstreamer-plugins-base-uninstalled.pc.in
|
2004-03-15 17:17:28 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = $(pcinfiles:.in=)
|
|
|
|
EXTRA_DIST = $(pcinfiles)
|