pkgconfig/: New files.
[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
7 pcfiles_uninstalled =                                           \
8         gstreamer-@GST_MAJORMINOR@-uninstalled.pc               \
9         gstreamer-base-@GST_MAJORMINOR@-uninstalled.pc          \
10         gstreamer-control-@GST_MAJORMINOR@-uninstalled.pc
11
12 all-local: $(pcfiles) $(pcfiles_uninstalled)
13
14 ### how to generate pc files
15 %-@GST_MAJORMINOR@.pc: %.pc
16         cp $< $@
17 %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
18         cp $< $@
19
20 pkgconfigdir = $(libdir)/pkgconfig
21 pkgconfig_DATA = $(pcfiles)
22
23 EXTRA_DIST =                                                    \
24         gstreamer.pc.in                                         \
25         gstreamer-uninstalled.pc.in                             \
26         gstreamer-base.pc.in                                    \
27         gstreamer-base-uninstalled.pc.in                        \
28         gstreamer-control.pc.in                                 \
29         gstreamer-control-uninstalled.pc.in
30
31 CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)