1### all of the standard pc files we need to generate
2pcverfiles =  \
3	gstreamer-plugins-good-@GST_API_VERSION@.pc
4pcverfiles_uninstalled = \
5	gstreamer-plugins-good-@GST_API_VERSION@-uninstalled.pc
6
7### all-local: $(pcverfiles) $(pcverfiles_uninstalled)
8all-local: $(pcverfiles_uninstalled)
9
10cp_verbose = $(cp_verbose_$(V))
11cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
12cp_verbose_0 = @echo "  CP     $@";
13
14### how to generate versioned .pc files from .pc files in this dir
15%-@GST_API_VERSION@.pc: %.pc
16	$(cp_verbose)cp $< $@
17%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
18	$(cp_verbose)cp $< $@
19
20# do not install for now
21# pkgconfigdir = $(libdir)/pkgconfig
22# pkgconfig_DATA = $(pcverfiles)
23
24CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
25# pcinfiles = \
26#           gstreamer-plugins-good.pc.in gstreamer-plugins-good-uninstalled.pc.in
27pcinfiles = \
28           gstreamer-plugins-good-uninstalled.pc.in
29
30DISTCLEANFILES = $(pcinfiles:.in=)
31EXTRA_DIST = $(pcinfiles)
32