Ported dataprotol to 0.9.
[platform/upstream/gstreamer.git] / pkgconfig / Makefile.am
1 ### all of the standard pc files we need to generate
2 pcfiles =                                                       \
3         gstreamer-@GST_MAJORMINOR@.pc                           \
4         gstreamer-base-@GST_MAJORMINOR@.pc                      \
5         gstreamer-control-@GST_MAJORMINOR@.pc                   \
6         gstreamer-dataprotocol-@GST_MAJORMINOR@.pc
7
8 pcfiles_uninstalled =                                           \
9         gstreamer-@GST_MAJORMINOR@-uninstalled.pc               \
10         gstreamer-base-@GST_MAJORMINOR@-uninstalled.pc          \
11         gstreamer-control-@GST_MAJORMINOR@-uninstalled.pc       \
12         gstreamer-dataprotocol-@GST_MAJORMINOR@-uninstalled.pc
13
14 all-local: $(pcfiles) $(pcfiles_uninstalled)
15
16 ### how to generate pc files
17 %-@GST_MAJORMINOR@.pc: %.pc
18         cp $< $@
19 %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
20         cp $< $@
21
22 pkgconfigdir = $(libdir)/pkgconfig
23 pkgconfig_DATA = $(pcfiles)
24
25 EXTRA_DIST =                                                    \
26         gstreamer.pc.in                                         \
27         gstreamer-uninstalled.pc.in                             \
28         gstreamer-base.pc.in                                    \
29         gstreamer-base-uninstalled.pc.in                        \
30         gstreamer-control.pc.in                                 \
31         gstreamer-control-uninstalled.pc.in                     \
32         gstreamer-dataprotocol.pc.in                            \
33         gstreamer-dataprotocol-uninstalled.pc.in
34
35 CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)