2013-02-21 12:39:28 +00:00
|
|
|
|
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 = \
|
2012-04-04 12:41:22 +00:00
|
|
|
gstreamer-plugins-bad-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-codecparsers-@GST_API_VERSION@.pc \
|
2013-09-30 21:32:55 +00:00
|
|
|
gstreamer-insertbin-@GST_API_VERSION@.pc \
|
2015-12-23 12:04:23 +00:00
|
|
|
gstreamer-mpegts-@GST_API_VERSION@.pc \
|
2016-01-23 03:30:05 +00:00
|
|
|
gstreamer-player-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-bad-audio-@GST_API_VERSION@.pc \
|
2017-02-17 17:26:41 +00:00
|
|
|
gstreamer-bad-video-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-bad-allocators-@GST_API_VERSION@.pc
|
2005-07-01 19:41:07 +00:00
|
|
|
|
2004-03-15 17:17:28 +00:00
|
|
|
pcverfiles_uninstalled = \
|
2012-04-04 12:41:22 +00:00
|
|
|
gstreamer-plugins-bad-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-codecparsers-@GST_API_VERSION@-uninstalled.pc \
|
2013-09-30 21:32:55 +00:00
|
|
|
gstreamer-insertbin-@GST_API_VERSION@-uninstalled.pc \
|
2015-12-23 12:04:23 +00:00
|
|
|
gstreamer-mpegts-@GST_API_VERSION@-uninstalled.pc \
|
2016-01-23 03:30:05 +00:00
|
|
|
gstreamer-player-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-bad-audio-@GST_API_VERSION@-uninstalled.pc \
|
2017-02-17 17:26:41 +00:00
|
|
|
gstreamer-bad-video-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-bad-allocators-@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:40:25 +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:41:22 +00:00
|
|
|
%-@GST_API_VERSION@.pc: %.pc
|
2010-02-26 15:40:25 +00:00
|
|
|
$(cp_verbose_0)cp $< $@
|
2012-04-04 12:41:22 +00:00
|
|
|
%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
|
2017-01-04 15:51:10 +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|[@]audiolibdir[@]|$(abs_top_builddir)/gst-libs/gst/audio/.libs|" \
|
|
|
|
-e "s|[@]videolibdir[@]|$(abs_top_builddir)/gst-libs/gst/video/.libs|" \
|
|
|
|
-e "s|[@]codecparserslibdir[@]|$(abs_top_builddir)/gst-libs/gst/codecparsers/.libs|" \
|
|
|
|
-e "s|[@]gllibdir[@]|$(abs_top_builddir)/gst-libs/gst/gl/.libs|" \
|
|
|
|
-e "s|[@]insertbinlibdir[@]|$(abs_top_builddir)/gst-libs/gst/insertbin/.libs|" \
|
|
|
|
-e "s|[@]mpegtslibdir[@]|$(abs_top_builddir)/gst-libs/gst/mpegts/.libs|" \
|
|
|
|
-e "s|[@]playerlibdir[@]|$(abs_top_builddir)/gst-libs/gst/player/.libs|" \
|
|
|
|
-e "s|[@]waylandlibdir[@]|$(abs_top_builddir)/gst-libs/gst/wayland/.libs|" \
|
|
|
|
-e "s|[@]basecamerabinsrclibdir[@]|$(abs_top_builddir)/gst-libs/gst/basecamerabinsrc/.libs|" \
|
|
|
|
-e "s|[@]photographylibdir[@]|$(abs_top_builddir)/gst-libs/gst/interfaces/.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 = \
|
2011-08-12 08:17:47 +00:00
|
|
|
gstreamer-plugins-bad.pc.in gstreamer-plugins-bad-uninstalled.pc.in \
|
2011-09-28 23:29:07 +00:00
|
|
|
gstreamer-codecparsers.pc.in gstreamer-codecparsers-uninstalled.pc.in \
|
2012-03-15 18:12:21 +00:00
|
|
|
gstreamer-insertbin.pc.in gstreamer-insertbin-uninstalled.pc.in \
|
2015-12-23 12:04:23 +00:00
|
|
|
gstreamer-mpegts.pc.in gstreamer-mpegts-uninstalled.pc.in \
|
2016-01-16 16:59:43 +00:00
|
|
|
gstreamer-player.pc.in gstreamer-player-uninstalled.pc.in \
|
2016-01-23 03:30:05 +00:00
|
|
|
gstreamer-bad-audio.pc.in gstreamer-bad-audio-uninstalled.pc.in \
|
|
|
|
gstreamer-bad-video.pc.in gstreamer-bad-video-uninstalled.pc.in \
|
2017-02-17 17:26:41 +00:00
|
|
|
gstreamer-bad-allocators.pc.in gstreamer-bad-allocators-uninstalled.pc.in
|
2004-03-15 17:17:28 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = $(pcinfiles:.in=)
|
|
|
|
EXTRA_DIST = $(pcinfiles)
|