gstreamer/pkgconfig/Makefile.am
Sebastian Dröge b0d89da6b6 gst: Change versioning
Remove GST_MAJORMINOR and replace it by GST_API_VERSION
Also set GST_VERSION_{MAJOR,MINOR,MICRO,NANO} explicitely
now.

All versions are at 1.0.0 now for the release soon but
API/ABI can still change until the 1.0.0 release.

Next release versions until 1.0.0 will be 0.10.9X and
these will be release candidates. GST_VERSION_* will
nonetheless stay at 1.0.0.0.
2012-04-04 14:28:55 +02:00

52 lines
1.4 KiB
Makefile

### 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_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_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_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)
EXTRA_DIST = \
gstreamer.pc.in \
gstreamer-uninstalled.pc.in \
gstreamer-base.pc.in \
gstreamer-base-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)