gstreamer/pkgconfig/Makefile.am
Tim-Philipp Müller bafd2cb4c6 Add gstreamer-plugins-ugly-uninstalled-0.10.pc file so other modules can find our plugins
This .pc file will not be installed, it's only for uninstalled setups,
same thing as we do for -good. This is so other modules' unit tests can
find our plugins properly in an uninstalled setup.
2010-09-08 00:11:53 +01:00

31 lines
980 B
Makefile

### all of the standard pc files we need to generate
pcverfiles = \
gstreamer-plugins-ugly-@GST_MAJORMINOR@.pc
pcverfiles_uninstalled = \
gstreamer-plugins-ugly-@GST_MAJORMINOR@-uninstalled.pc
### all-local: $(pcverfiles) $(pcverfiles_uninstalled)
all-local: $(pcverfiles_uninstalled)
cp_verbose = $(cp_verbose_$(V))
cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
cp_verbose_0 = @echo " CP $@";
### how to generate versioned .pc files from .pc files in this dir
%-@GST_MAJORMINOR@.pc: %.pc
$(cp_verbose)cp $< $@
%-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
$(cp_verbose)cp $< $@
# do not install for now
# pkgconfigdir = $(libdir)/pkgconfig
# pkgconfig_DATA = $(pcverfiles)
CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
# pcinfiles = \
# gstreamer-plugins-ugly.pc.in gstreamer-plugins-ugly-uninstalled.pc.in
pcinfiles = \
gstreamer-plugins-ugly-uninstalled.pc.in
DISTCLEANFILES = $(pcinfiles:.in=)
EXTRA_DIST = $(pcinfiles)