adding media info pc files package them use ffmpegcolorspace in gstplay
[platform/upstream/gstreamer.git] / pkgconfig / Makefile.am
1 if USE_GCONF
2 GCONF_PC=gstreamer-gconf-@GST_MAJORMINOR@.pc
3 GCONF_PC_UNINSTALLED=gstreamer-gconf-@GST_MAJORMINOR@-uninstalled.pc
4 else
5 GCONF_PC=
6 GCONF_PC_UNINSTALLED=
7 endif
8
9 ### all of the standard pc files we need to generate
10 pcverfiles =  \
11         $(GCONF_PC) \
12         gstreamer-interfaces-@GST_MAJORMINOR@.pc \
13         gstreamer-libs-@GST_MAJORMINOR@.pc \
14         gstreamer-media-info-@GST_MAJORMINOR@.pc \
15         gstreamer-play-@GST_MAJORMINOR@.pc
16 pcverfiles_uninstalled = \
17         $(GCONF_PC_UNINSTALLED) \
18         gstreamer-interfaces-@GST_MAJORMINOR@-uninstalled.pc \
19         gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc \
20         gstreamer-media-info-@GST_MAJORMINOR@-uninstalled.pc \
21         gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc
22
23 pcverfiles_gconf = $(GCONF_PC) $(GCONF_PC_UNINSTALLED)
24 all-local: $(pcverfiles) $(pcverfiles_uninstalled)
25
26 ### how to generate versioned .pc files from .pc files in this dir
27 $(pcverfiles): %-@GST_MAJORMINOR@.pc: %.pc
28         cp $< $@
29 $(pcverfiles_uninstalled): %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
30         cp $< $@
31
32 pkgconfigdir = $(libdir)/pkgconfig
33 pkgconfig_DATA = $(pcverfiles)
34
35 CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
36 pcinfiles = \
37            gstreamer-gconf.pc.in gstreamer-gconf-uninstalled.pc.in \
38            gstreamer-interfaces.pc.in gstreamer-interfaces-uninstalled.pc.in \
39            gstreamer-libs.pc.in gstreamer-libs-uninstalled.pc.in \
40            gstreamer-media-info.pc.in gstreamer-media-info-uninstalled.pc.in \
41            gstreamer-play.pc.in gstreamer-play-uninstalled.pc.in
42
43 DISTCLEANFILES = $(pcinfiles:.in=)
44 EXTRA_DIST = $(pcinfiles)