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 if HAVE_CHECK
3 CHECK_PC_I = gstreamer-check-@GST_API_VERSION@.pc
4 CHECK_PC_U = gstreamer-check-@GST_API_VERSION@-uninstalled.pc
5 else
6 CHECK_PC_I =
7 CHECK_PC_U =
8 endif
9
10 pcfiles =                                                       \
11         gstreamer-@GST_API_VERSION@.pc                          \
12         gstreamer-base-@GST_API_VERSION@.pc                     \
13         $(CHECK_PC_I)                                           \
14         gstreamer-controller-@GST_API_VERSION@.pc               \
15         gstreamer-net-@GST_API_VERSION@.pc
16
17 pcfiles_uninstalled =                                           \
18         gstreamer-@GST_API_VERSION@-uninstalled.pc              \
19         gstreamer-base-@GST_API_VERSION@-uninstalled.pc         \
20         $(CHECK_PC_U)                                           \
21         gstreamer-controller-@GST_API_VERSION@-uninstalled.pc   \
22         gstreamer-net-@GST_API_VERSION@-uninstalled.pc
23
24 all-local: $(pcfiles) $(pcfiles_uninstalled)
25
26 cp_verbose = $(cp_verbose_$(V))
27 cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
28 cp_verbose_0 = @echo "  CP     $@";
29
30 ### how to generate pc files
31 %-@GST_API_VERSION@.pc: %.pc
32         $(cp_verbose_0)cp $< $@
33 %-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
34         $(cp_verbose_0)cp $< $@
35
36 pkgconfigdir = $(libdir)/pkgconfig
37 pkgconfig_DATA = $(pcfiles)
38
39 EXTRA_DIST =                                                    \
40         gstreamer.pc.in                                         \
41         gstreamer-uninstalled.pc.in                             \
42         gstreamer-base.pc.in                                    \
43         gstreamer-base-uninstalled.pc.in                        \
44         gstreamer-check.pc.in                                   \
45         gstreamer-check-uninstalled.pc.in                       \
46         gstreamer-controller.pc.in                              \
47         gstreamer-controller-uninstalled.pc.in                  \
48         gstreamer-net.pc.in                                     \
49         gstreamer-net-uninstalled.pc.in
50
51 CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)