X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=pkgconfig%2FMakefile.am;h=5da63ed8ae1be682562fb697fb619546b668d968;hb=066b515985897495cae32fca5b7eeeec260c40c9;hp=22c7066779b0c5cc291aa9a567ef7df72aa18a59;hpb=4c712824b94b2ffe8351c4577233fd198d53ac35;p=platform%2Fupstream%2Fgstreamer.git diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am index 22c7066..5da63ed 100644 --- a/pkgconfig/Makefile.am +++ b/pkgconfig/Makefile.am @@ -1,21 +1,37 @@ ### all of the standard pc files we need to generate +if HAVE_CHECK +CHECK_PC_I = gstreamer-check-@GST_API_VERSION@.pc +CHECK_PC_U = gstreamer-check-@GST_API_VERSION@-uninstalled.pc +else +CHECK_PC_I = +CHECK_PC_U = +endif + pcfiles = \ - gstreamer-@GST_MAJORMINOR@.pc \ - gstreamer-base-@GST_MAJORMINOR@.pc \ - gstreamer-control-@GST_MAJORMINOR@.pc + gstreamer-@GST_API_VERSION@.pc \ + gstreamer-base-@GST_API_VERSION@.pc \ + $(CHECK_PC_I) \ + gstreamer-controller-@GST_API_VERSION@.pc \ + gstreamer-net-@GST_API_VERSION@.pc pcfiles_uninstalled = \ - gstreamer-@GST_MAJORMINOR@-uninstalled.pc \ - gstreamer-base-@GST_MAJORMINOR@-uninstalled.pc \ - gstreamer-control-@GST_MAJORMINOR@-uninstalled.pc + gstreamer-@GST_API_VERSION@-uninstalled.pc \ + gstreamer-base-@GST_API_VERSION@-uninstalled.pc \ + $(CHECK_PC_U) \ + gstreamer-controller-@GST_API_VERSION@-uninstalled.pc \ + gstreamer-net-@GST_API_VERSION@-uninstalled.pc all-local: $(pcfiles) $(pcfiles_uninstalled) +cp_verbose = $(cp_verbose_$(V)) +cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY)) +cp_verbose_0 = @echo " CP $@"; + ### how to generate pc files -%-@GST_MAJORMINOR@.pc: %.pc - cp $< $@ -%-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc - cp $< $@ +%-@GST_API_VERSION@.pc: %.pc + $(cp_verbose_0)cp $< $@ +%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc + $(cp_verbose_0)cp $< $@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = $(pcfiles) @@ -25,7 +41,11 @@ EXTRA_DIST = \ gstreamer-uninstalled.pc.in \ gstreamer-base.pc.in \ gstreamer-base-uninstalled.pc.in \ - gstreamer-control.pc.in \ - gstreamer-control-uninstalled.pc.in + gstreamer-check.pc.in \ + gstreamer-check-uninstalled.pc.in \ + gstreamer-controller.pc.in \ + gstreamer-controller-uninstalled.pc.in \ + gstreamer-net.pc.in \ + gstreamer-net-uninstalled.pc.in CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)