Merge branch 'master' into 0.11
[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_MAJORMINOR@.pc \
4         gstreamer-codecparsers-@GST_MAJORMINOR@.pc
5
6 pcverfiles_uninstalled = \
7         gstreamer-plugins-bad-@GST_MAJORMINOR@-uninstalled.pc \
8         gstreamer-codecparsers-@GST_MAJORMINOR@-uninstalled.pc
9
10 all-local: $(pcverfiles) $(pcverfiles_uninstalled)
11
12 cp_verbose = $(cp_verbose_$(V))
13 cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
14 cp_verbose_0 = @echo "  CP     $@";
15
16 ### how to generate versioned .pc files from .pc files in this dir
17 %-@GST_MAJORMINOR@.pc: %.pc
18         $(cp_verbose_0)cp $< $@
19 %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
20         $(cp_verbose_0)cp $< $@
21
22 pkgconfigdir = $(libdir)/pkgconfig
23 pkgconfig_DATA = $(pcverfiles)
24
25 CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
26 pcinfiles = \
27            gstreamer-plugins-bad.pc.in gstreamer-plugins-bad-uninstalled.pc.in \
28            gstreamer-codecparsers.pc.in gstreamer-codecparsers-uninstalled.pc.in
29
30 DISTCLEANFILES = $(pcinfiles:.in=)
31 EXTRA_DIST = $(pcinfiles)