2010-12-15 14:51:41 +00:00
|
|
|
pcfiles = \
|
2012-04-04 12:50:23 +00:00
|
|
|
gst-editing-services-@GST_API_VERSION@.pc
|
2010-12-15 14:51:41 +00:00
|
|
|
|
|
|
|
pcfiles_uninstalled = \
|
2012-04-04 12:50:23 +00:00
|
|
|
gst-editing-services-@GST_API_VERSION@-uninstalled.pc
|
2010-12-15 14:51:41 +00:00
|
|
|
|
|
|
|
all-local: $(pcfiles) $(pcfiles_uninstalled)
|
|
|
|
|
|
|
|
### how to generate pc files
|
2012-04-04 12:50:23 +00:00
|
|
|
%-@GST_API_VERSION@.pc: %.pc
|
2010-12-15 14:51:41 +00:00
|
|
|
cp $< $@
|
2012-04-04 12:50:23 +00:00
|
|
|
%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
|
2017-01-04 14:55:36 +00:00
|
|
|
### the uninstalled libdir is depend of the build system used so set it here
|
|
|
|
### rather than hardcoding it in the file directly.
|
|
|
|
$(AM_V_GEN) sed \
|
|
|
|
-e "s|[@]geslibdir[@]|$(abs_top_builddir)/ges/.libs|" \
|
|
|
|
$< > $@.tmp && mv $@.tmp $@
|
2010-12-15 14:51:41 +00:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = $(pcfiles)
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
gst-editing-services.pc.in \
|
|
|
|
gst-editing-services-uninstalled.pc.in
|
|
|
|
CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)
|