1 2### all of the standard pc files we need to generate 3pcverfiles = \ 4 gstreamer-plugins-bad-@GST_API_VERSION@.pc \ 5 gstreamer-codecparsers-@GST_API_VERSION@.pc \ 6 gstreamer-insertbin-@GST_API_VERSION@.pc \ 7 gstreamer-mpegts-@GST_API_VERSION@.pc \ 8 gstreamer-player-@GST_API_VERSION@.pc \ 9 gstreamer-sctp-@GST_API_VERSION@.pc \ 10 gstreamer-webrtc-@GST_API_VERSION@.pc \ 11 gstreamer-bad-audio-@GST_API_VERSION@.pc 12 13pcverfiles_uninstalled = \ 14 gstreamer-plugins-bad-@GST_API_VERSION@-uninstalled.pc \ 15 gstreamer-codecparsers-@GST_API_VERSION@-uninstalled.pc \ 16 gstreamer-insertbin-@GST_API_VERSION@-uninstalled.pc \ 17 gstreamer-mpegts-@GST_API_VERSION@-uninstalled.pc \ 18 gstreamer-player-@GST_API_VERSION@-uninstalled.pc \ 19 gstreamer-sctp-@GST_API_VERSION@-uninstalled.pc \ 20 gstreamer-webrtc-@GST_API_VERSION@-uninstalled.pc \ 21 gstreamer-bad-audio-@GST_API_VERSION@-uninstalled.pc 22 23all-local: $(pcverfiles) $(pcverfiles_uninstalled) 24 25cp_verbose = $(cp_verbose_$(V)) 26cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY)) 27cp_verbose_0 = @echo " CP $@"; 28 29### how to generate versioned .pc files from .pc files in this dir 30%-@GST_API_VERSION@.pc: %.pc 31 $(cp_verbose_0)cp $< $@ 32%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc 33### the uninstalled libdir is depend of the build system used so set it here 34### rather than hardcoding it in the file directly. 35 $(AM_V_GEN) sed \ 36 -e "s|[@]audiolibdir[@]|$(abs_top_builddir)/gst-libs/gst/audio/.libs|" \ 37 -e "s|[@]codecparserslibdir[@]|$(abs_top_builddir)/gst-libs/gst/codecparsers/.libs|" \ 38 -e "s|[@]insertbinlibdir[@]|$(abs_top_builddir)/gst-libs/gst/insertbin/.libs|" \ 39 -e "s|[@]mpegtslibdir[@]|$(abs_top_builddir)/gst-libs/gst/mpegts/.libs|" \ 40 -e "s|[@]playerlibdir[@]|$(abs_top_builddir)/gst-libs/gst/player/.libs|" \ 41 -e "s|[@]waylandlibdir[@]|$(abs_top_builddir)/gst-libs/gst/wayland/.libs|" \ 42 -e "s|[@]webrtclibdir[@]|$(abs_top_builddir)/gst-libs/gst/webrtc/.libs|" \ 43 -e "s|[@]basecamerabinsrclibdir[@]|$(abs_top_builddir)/gst-libs/gst/basecamerabinsrc/.libs|" \ 44 -e "s|[@]photographylibdir[@]|$(abs_top_builddir)/gst-libs/gst/interfaces/.libs|" \ 45 $< > $@.tmp && mv $@.tmp $@ 46 47pkgconfigdir = $(libdir)/pkgconfig 48pkgconfig_DATA = $(pcverfiles) 49 50CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled) 51pcinfiles = \ 52 gstreamer-plugins-bad.pc.in gstreamer-plugins-bad-uninstalled.pc.in \ 53 gstreamer-codecparsers.pc.in gstreamer-codecparsers-uninstalled.pc.in \ 54 gstreamer-insertbin.pc.in gstreamer-insertbin-uninstalled.pc.in \ 55 gstreamer-mpegts.pc.in gstreamer-mpegts-uninstalled.pc.in \ 56 gstreamer-player.pc.in gstreamer-player-uninstalled.pc.in \ 57 gstreamer-webrtc.pc.in gstreamer-webrtc-uninstalled.pc.in \ 58 gstreamer-bad-audio.pc.in gstreamer-bad-audio-uninstalled.pc.in \ 59 gstreamer-sctp.pc.in gstreamer-sctp-uninstalled.pc.in 60 61DISTCLEANFILES = $(pcinfiles:.in=) 62EXTRA_DIST = $(pcinfiles) 63