Merge remote-tracking branch 'origin/0.10'
[platform/upstream/gstreamer.git] / pkgconfig / Makefile.am
1 ### all of the standard pc files we need to generate
2 pcverfiles =  \
3         gstreamer-plugins-bad-@GST_API_VERSION@.pc \
4         gstreamer-codecparsers-@GST_API_VERSION@.pc \
5         gstreamer-basevideo-@GST_API_VERSION@.pc
6
7 pcverfiles_uninstalled = \
8         gstreamer-plugins-bad-@GST_API_VERSION@-uninstalled.pc \
9         gstreamer-codecparsers-@GST_API_VERSION@-uninstalled.pc \
10         gstreamer-basevideo-@GST_API_VERSION@-uninstalled.pc
11
12 all-local: $(pcverfiles) $(pcverfiles_uninstalled)
13
14 cp_verbose = $(cp_verbose_$(V))
15 cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
16 cp_verbose_0 = @echo "  CP     $@";
17
18 ### how to generate versioned .pc files from .pc files in this dir
19 %-@GST_API_VERSION@.pc: %.pc
20         $(cp_verbose_0)cp $< $@
21 %-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
22         $(cp_verbose_0)cp $< $@
23
24 pkgconfigdir = $(libdir)/pkgconfig
25 pkgconfig_DATA = $(pcverfiles)
26
27 CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
28 pcinfiles = \
29            gstreamer-plugins-bad.pc.in gstreamer-plugins-bad-uninstalled.pc.in \
30            gstreamer-codecparsers.pc.in gstreamer-codecparsers-uninstalled.pc.in \
31            gstreamer-basevideo.pc.in gstreamer-basevideo-uninstalled.pc.in
32
33 DISTCLEANFILES = $(pcinfiles:.in=)
34 EXTRA_DIST = $(pcinfiles)