2003-04-07 21:28:57 +00:00
|
|
|
### all of the standard pc files we need to generate
|
2005-08-20 12:14:28 +00:00
|
|
|
if HAVE_CHECK
|
2012-04-04 11:13:52 +00:00
|
|
|
CHECK_PC_I = gstreamer-check-@GST_API_VERSION@.pc
|
|
|
|
CHECK_PC_U = gstreamer-check-@GST_API_VERSION@-uninstalled.pc
|
2005-08-20 12:14:28 +00:00
|
|
|
else
|
|
|
|
CHECK_PC_I =
|
|
|
|
CHECK_PC_U =
|
|
|
|
endif
|
|
|
|
|
2003-11-24 02:09:23 +00:00
|
|
|
pcfiles = \
|
2012-04-04 11:13:52 +00:00
|
|
|
gstreamer-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-base-@GST_API_VERSION@.pc \
|
2005-08-20 12:14:28 +00:00
|
|
|
$(CHECK_PC_I) \
|
2012-04-04 11:13:52 +00:00
|
|
|
gstreamer-controller-@GST_API_VERSION@.pc \
|
|
|
|
gstreamer-net-@GST_API_VERSION@.pc
|
2003-04-07 21:28:57 +00:00
|
|
|
|
2003-11-24 02:09:23 +00:00
|
|
|
pcfiles_uninstalled = \
|
2012-04-04 11:13:52 +00:00
|
|
|
gstreamer-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-base-@GST_API_VERSION@-uninstalled.pc \
|
2005-08-20 12:14:28 +00:00
|
|
|
$(CHECK_PC_U) \
|
2012-04-04 11:13:52 +00:00
|
|
|
gstreamer-controller-@GST_API_VERSION@-uninstalled.pc \
|
|
|
|
gstreamer-net-@GST_API_VERSION@-uninstalled.pc
|
2003-04-07 21:28:57 +00:00
|
|
|
|
|
|
|
all-local: $(pcfiles) $(pcfiles_uninstalled)
|
|
|
|
|
2010-02-26 15:03:47 +00:00
|
|
|
cp_verbose = $(cp_verbose_$(V))
|
|
|
|
cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
|
|
|
|
cp_verbose_0 = @echo " CP $@";
|
|
|
|
|
2003-04-07 21:28:57 +00:00
|
|
|
### how to generate pc files
|
2012-04-04 11:13:52 +00:00
|
|
|
%-@GST_API_VERSION@.pc: %.pc
|
2010-02-26 15:03:47 +00:00
|
|
|
$(cp_verbose_0)cp $< $@
|
2012-04-04 11:13:52 +00:00
|
|
|
%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
|
2017-01-04 11:10:45 +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|[@]gstlibdir[@]|$(abs_top_builddir)/gst/.libs|" \
|
|
|
|
-e "s|[@]checklibdir[@]|$(abs_top_builddir)/libs/gst/check/.libs|" \
|
|
|
|
-e "s|[@]baselibdir[@]|$(abs_top_builddir)/libs/gst/base/.libs|" \
|
|
|
|
-e "s|[@]netlibdir[@]|$(abs_top_builddir)/libs/gst/net/.libs|" \
|
|
|
|
-e "s|[@]controllerlibdir[@]|$(abs_top_builddir)/libs/gst/controller/.libs|" \
|
|
|
|
$< > $@.tmp && mv $@.tmp $@
|
2003-04-07 21:28:57 +00:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = $(pcfiles)
|
|
|
|
|
2003-11-24 02:09:23 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
gstreamer.pc.in \
|
|
|
|
gstreamer-uninstalled.pc.in \
|
2005-04-06 11:08:07 +00:00
|
|
|
gstreamer-base.pc.in \
|
|
|
|
gstreamer-base-uninstalled.pc.in \
|
2005-08-20 12:14:28 +00:00
|
|
|
gstreamer-check.pc.in \
|
|
|
|
gstreamer-check-uninstalled.pc.in \
|
|
|
|
gstreamer-controller.pc.in \
|
2005-08-02 21:35:34 +00:00
|
|
|
gstreamer-controller-uninstalled.pc.in \
|
2005-11-18 16:24:56 +00:00
|
|
|
gstreamer-net.pc.in \
|
|
|
|
gstreamer-net-uninstalled.pc.in
|
2003-04-07 21:28:57 +00:00
|
|
|
|
|
|
|
CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)
|