1pcfiles = \ 2 gst-validate-@GST_API_VERSION@.pc 3 4pcfiles_uninstalled = \ 5 gst-validate-@GST_API_VERSION@-uninstalled.pc 6 7all-local: $(pcfiles) $(pcfiles_uninstalled) 8 9### how to generate pc files 10%-@GST_API_VERSION@.pc: %.pc 11 cp $< $@ 12%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc 13### the uninstalled libdir is depend of the build system used so set it here 14### rather than hardcoding it in the file directly. 15 $(AM_V_GEN) sed \ 16 -e "s|[@]validatelibdir[@]|$(abs_top_builddir)/gst/validate/.libs|" \ 17 $< > $@.tmp && mv $@.tmp $@ 18 19 20pkgconfigdir = $(libdir)/pkgconfig 21pkgconfig_DATA = $(pcfiles) 22 23EXTRA_DIST = \ 24 gst-validate.pc.in \ 25 gst-validate-uninstalled.pc.in 26CLEANFILES = $(pcfiles) $(pcfiles_uninstalled) 27