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