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