2 ### all of the standard pc files we need to generate
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-webrtc-@GST_API_VERSION@.pc \
10 gstreamer-bad-audio-@GST_API_VERSION@.pc \
11 gstreamer-bad-video-@GST_API_VERSION@.pc
13 pcverfiles_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-webrtc-@GST_API_VERSION@-uninstalled.pc \
20 gstreamer-bad-audio-@GST_API_VERSION@-uninstalled.pc \
21 gstreamer-bad-video-@GST_API_VERSION@-uninstalled.pc
23 all-local: $(pcverfiles) $(pcverfiles_uninstalled)
25 cp_verbose = $(cp_verbose_$(V))
26 cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
27 cp_verbose_0 = @echo " CP $@";
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.
36 -e "s|[@]audiolibdir[@]|$(abs_top_builddir)/gst-libs/gst/audio/.libs|" \
37 -e "s|[@]videolibdir[@]|$(abs_top_builddir)/gst-libs/gst/video/.libs|" \
38 -e "s|[@]codecparserslibdir[@]|$(abs_top_builddir)/gst-libs/gst/codecparsers/.libs|" \
39 -e "s|[@]gllibdir[@]|$(abs_top_builddir)/gst-libs/gst/gl/.libs|" \
40 -e "s|[@]insertbinlibdir[@]|$(abs_top_builddir)/gst-libs/gst/insertbin/.libs|" \
41 -e "s|[@]mpegtslibdir[@]|$(abs_top_builddir)/gst-libs/gst/mpegts/.libs|" \
42 -e "s|[@]playerlibdir[@]|$(abs_top_builddir)/gst-libs/gst/player/.libs|" \
43 -e "s|[@]waylandlibdir[@]|$(abs_top_builddir)/gst-libs/gst/wayland/.libs|" \
44 -e "s|[@]webrtclibdir[@]|$(abs_top_builddir)/gst-libs/gst/webrtc/.libs|" \
45 -e "s|[@]basecamerabinsrclibdir[@]|$(abs_top_builddir)/gst-libs/gst/basecamerabinsrc/.libs|" \
46 -e "s|[@]photographylibdir[@]|$(abs_top_builddir)/gst-libs/gst/interfaces/.libs|" \
47 $< > $@.tmp && mv $@.tmp $@
49 pkgconfigdir = $(libdir)/pkgconfig
50 pkgconfig_DATA = $(pcverfiles)
52 CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
54 gstreamer-plugins-bad.pc.in gstreamer-plugins-bad-uninstalled.pc.in \
55 gstreamer-codecparsers.pc.in gstreamer-codecparsers-uninstalled.pc.in \
56 gstreamer-insertbin.pc.in gstreamer-insertbin-uninstalled.pc.in \
57 gstreamer-mpegts.pc.in gstreamer-mpegts-uninstalled.pc.in \
58 gstreamer-player.pc.in gstreamer-player-uninstalled.pc.in \
59 gstreamer-webrtc.pc.in gstreamer-webrtc-uninstalled.pc.in \
60 gstreamer-bad-audio.pc.in gstreamer-bad-audio-uninstalled.pc.in \
61 gstreamer-bad-video.pc.in gstreamer-bad-video-uninstalled.pc.in
63 DISTCLEANFILES = $(pcinfiles:.in=)
64 EXTRA_DIST = $(pcinfiles)