1 ### all of the standard pc files we need to generate
3 gstreamer-allocators-@GST_API_VERSION@.pc \
4 gstreamer-audio-@GST_API_VERSION@.pc \
5 gstreamer-app-@GST_API_VERSION@.pc \
6 gstreamer-fft-@GST_API_VERSION@.pc \
7 gstreamer-pbutils-@GST_API_VERSION@.pc \
8 gstreamer-riff-@GST_API_VERSION@.pc \
9 gstreamer-rtp-@GST_API_VERSION@.pc \
10 gstreamer-rtsp-@GST_API_VERSION@.pc \
11 gstreamer-sdp-@GST_API_VERSION@.pc \
12 gstreamer-tag-@GST_API_VERSION@.pc \
13 gstreamer-video-@GST_API_VERSION@.pc \
14 gstreamer-plugins-base-@GST_API_VERSION@.pc
15 pcverfiles_uninstalled = \
16 gstreamer-allocators-@GST_API_VERSION@-uninstalled.pc \
17 gstreamer-audio-@GST_API_VERSION@-uninstalled.pc \
18 gstreamer-app-@GST_API_VERSION@-uninstalled.pc \
19 gstreamer-fft-@GST_API_VERSION@-uninstalled.pc \
20 gstreamer-pbutils-@GST_API_VERSION@-uninstalled.pc \
21 gstreamer-riff-@GST_API_VERSION@-uninstalled.pc \
22 gstreamer-rtp-@GST_API_VERSION@-uninstalled.pc \
23 gstreamer-rtsp-@GST_API_VERSION@-uninstalled.pc \
24 gstreamer-sdp-@GST_API_VERSION@-uninstalled.pc \
25 gstreamer-tag-@GST_API_VERSION@-uninstalled.pc \
26 gstreamer-video-@GST_API_VERSION@-uninstalled.pc \
27 gstreamer-plugins-base-@GST_API_VERSION@-uninstalled.pc
30 pcverfiles += gstreamer-gl-@GST_API_VERSION@.pc
31 pcverfiles_uninstalled += gstreamer-gl-@GST_API_VERSION@-uninstalled.pc
34 all-local: $(pcverfiles) $(pcverfiles_uninstalled)
36 cp_verbose = $(cp_verbose_$(V))
37 cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
38 cp_verbose_0 = @echo " CP $@";
40 ### how to generate versioned .pc files from .pc files in this dir
41 %-@GST_API_VERSION@.pc: %.pc
42 $(cp_verbose_0)cp $< $@
43 %-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
44 ### the uninstalled libdir is depend of the build system used so set it here
45 ### rather than hardcoding it in the file directly.
47 -e "s|[@]allocatorslibdir[@]|$(abs_top_builddir)/gst-libs/gst/allocators/.libs|" \
48 -e "s|[@]audiolibdir[@]|$(abs_top_builddir)/gst-libs/gst/audio/.libs|" \
49 -e "s|[@]applibdir[@]|$(abs_top_builddir)/gst-libs/gst/app/.libs|" \
50 -e "s|[@]fftlibdir[@]|$(abs_top_builddir)/gst-libs/gst/fft/.libs|" \
51 -e "s|[@]pbutilslibdir[@]|$(abs_top_builddir)/gst-libs/gst/pbutils/.libs|" \
52 -e "s|[@]rifflibdir[@]|$(abs_top_builddir)/gst-libs/gst/riff/.libs|" \
53 -e "s|[@]rtplibdir[@]|$(abs_top_builddir)/gst-libs/gst/rtp/.libs|" \
54 -e "s|[@]rtsplibdir[@]|$(abs_top_builddir)/gst-libs/gst/rtsp/.libs|" \
55 -e "s|[@]sdplibdir[@]|$(abs_top_builddir)/gst-libs/gst/sdp/.libs|" \
56 -e "s|[@]taglibdir[@]|$(abs_top_builddir)/gst-libs/gst/tag/.libs|" \
57 -e "s|[@]videolibdir[@]|$(abs_top_builddir)/gst-libs/gst/video/.libs|" \
58 -e "s|[@]gllibdir[@]|$(abs_top_builddir)/gst-libs/gst/gl/.libs|" \
59 $< > $@.tmp && mv $@.tmp $@
61 pkgconfigdir = $(libdir)/pkgconfig
62 pkgconfig_DATA = $(pcverfiles)
64 CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
66 gstreamer-allocators.pc.in gstreamer-allocators-uninstalled.pc.in \
67 gstreamer-audio.pc.in gstreamer-audio-uninstalled.pc.in \
68 gstreamer-app.pc.in gstreamer-app-uninstalled.pc.in \
69 gstreamer-fft.pc.in gstreamer-fft-uninstalled.pc.in \
70 gstreamer-pbutils.pc.in gstreamer-pbutils-uninstalled.pc.in \
71 gstreamer-riff.pc.in gstreamer-riff-uninstalled.pc.in \
72 gstreamer-rtp.pc.in gstreamer-rtp-uninstalled.pc.in \
73 gstreamer-rtsp.pc.in gstreamer-rtsp-uninstalled.pc.in \
74 gstreamer-sdp.pc.in gstreamer-sdp-uninstalled.pc.in \
75 gstreamer-tag.pc.in gstreamer-tag-uninstalled.pc.in \
76 gstreamer-video.pc.in gstreamer-video-uninstalled.pc.in \
77 gstreamer-gl.pc.in gstreamer-gl-uninstalled.pc.in \
78 gstreamer-plugins-base.pc.in gstreamer-plugins-base-uninstalled.pc.in
80 DISTCLEANFILES = $(pcinfiles:.in=)
81 EXTRA_DIST = $(pcinfiles)