Port some changes from 0.6.0/0.6.1 back to HEAD (.pc files moved to pkg-config/,...
[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-control-@GST_MAJORMINOR@.pc
5
6 pcfiles_uninstalled = \
7         gstreamer-@GST_MAJORMINOR@-uninstalled.pc \
8         gstreamer-control-@GST_MAJORMINOR@-uninstalled.pc
9
10 all-local: $(pcfiles) $(pcfiles_uninstalled)
11
12 ### how to generate pc files
13 $(pcfiles): %-@GST_MAJORMINOR@.pc: %.pc
14         cp $< $@
15 $(pcfiles_uninstalled): %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
16         cp $< $@
17
18 pkgconfigdir = $(libdir)/pkgconfig
19 pkgconfig_DATA = $(pcfiles)
20
21 EXTRA_DIST = \
22         gstreamer.pc.in \
23         gstreamer-uninstalled.pc.in \
24         gstreamer-control.pc.in \
25         gstreamer-control-uninstalled.pc.in
26
27 CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)