gstreamer/pkgconfig/Makefile.am

24 lines
691 B
Makefile

### all of the standard pc files we need to generate
pcverfiles = \
gstreamer-plugins-bad-@GST_MAJORMINOR@.pc
pcverfiles_uninstalled = \
gstreamer-plugins-bad-@GST_MAJORMINOR@-uninstalled.pc
all-local: $(pcverfiles) $(pcverfiles_uninstalled)
### how to generate versioned .pc files from .pc files in this dir
%-@GST_MAJORMINOR@.pc: %.pc
cp $< $@
%-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
cp $< $@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(pcverfiles)
CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
pcinfiles = \
gstreamer-plugins-bad.pc.in gstreamer-plugins-bad-uninstalled.pc.in
DISTCLEANFILES = $(pcinfiles:.in=)
EXTRA_DIST = $(pcinfiles)