diff options
Diffstat (limited to 'pkgconfig/Makefile.am')
-rwxr-xr-x | pkgconfig/Makefile.am | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am new file mode 100755 index 0000000..2d7917b --- /dev/null +++ b/pkgconfig/Makefile.am @@ -0,0 +1,31 @@ +### all of the standard pc files we need to generate +pcverfiles = \ + gstreamer-plugins-good-@GST_API_VERSION@.pc +pcverfiles_uninstalled = \ + gstreamer-plugins-good-@GST_API_VERSION@-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_API_VERSION@.pc: %.pc + $(cp_verbose)cp $< $@ +%-@GST_API_VERSION@-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-good.pc.in gstreamer-plugins-good-uninstalled.pc.in +pcinfiles = \ + gstreamer-plugins-good-uninstalled.pc.in + +DISTCLEANFILES = $(pcinfiles:.in=) +EXTRA_DIST = $(pcinfiles) |