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-bad-audio-@GST_API_VERSION@.pc \
10 gstreamer-bad-video-@GST_API_VERSION@.pc
12 pcverfiles_uninstalled = \
13 gstreamer-plugins-bad-@GST_API_VERSION@-uninstalled.pc \
14 gstreamer-codecparsers-@GST_API_VERSION@-uninstalled.pc \
15 gstreamer-insertbin-@GST_API_VERSION@-uninstalled.pc \
16 gstreamer-mpegts-@GST_API_VERSION@-uninstalled.pc \
17 gstreamer-player-@GST_API_VERSION@-uninstalled.pc \
18 gstreamer-bad-audio-@GST_API_VERSION@-uninstalled.pc \
19 gstreamer-bad-video-@GST_API_VERSION@-uninstalled.pc
21 all-local: $(pcverfiles) $(pcverfiles_uninstalled)
23 cp_verbose = $(cp_verbose_$(V))
24 cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
25 cp_verbose_0 = @echo " CP $@";
27 ### how to generate versioned .pc files from .pc files in this dir
28 %-@GST_API_VERSION@.pc: %.pc
29 $(cp_verbose_0)cp $< $@
30 %-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
31 ### the uninstalled libdir is depend of the build system used so set it here
32 ### rather than hardcoding it in the file directly.
34 -e "s|[@]audiolibdir[@]|$(abs_top_builddir)/gst-libs/gst/audio/.libs|" \
35 -e "s|[@]videolibdir[@]|$(abs_top_builddir)/gst-libs/gst/video/.libs|" \
36 -e "s|[@]codecparserslibdir[@]|$(abs_top_builddir)/gst-libs/gst/codecparsers/.libs|" \
37 -e "s|[@]gllibdir[@]|$(abs_top_builddir)/gst-libs/gst/gl/.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|[@]basecamerabinsrclibdir[@]|$(abs_top_builddir)/gst-libs/gst/basecamerabinsrc/.libs|" \
43 -e "s|[@]photographylibdir[@]|$(abs_top_builddir)/gst-libs/gst/interfaces/.libs|" \
44 $< > $@.tmp && mv $@.tmp $@
46 pkgconfigdir = $(libdir)/pkgconfig
47 pkgconfig_DATA = $(pcverfiles)
49 CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
51 gstreamer-plugins-bad.pc.in gstreamer-plugins-bad-uninstalled.pc.in \
52 gstreamer-codecparsers.pc.in gstreamer-codecparsers-uninstalled.pc.in \
53 gstreamer-insertbin.pc.in gstreamer-insertbin-uninstalled.pc.in \
54 gstreamer-mpegts.pc.in gstreamer-mpegts-uninstalled.pc.in \
55 gstreamer-player.pc.in gstreamer-player-uninstalled.pc.in \
56 gstreamer-bad-audio.pc.in gstreamer-bad-audio-uninstalled.pc.in \
57 gstreamer-bad-video.pc.in gstreamer-bad-video-uninstalled.pc.in
59 DISTCLEANFILES = $(pcinfiles:.in=)
60 EXTRA_DIST = $(pcinfiles)