]> git.saurik.com Git - apt.git/blame - buildlib/libversion.mak
Change the package index Info methods to allow apt-cache policy to be
[apt.git] / buildlib / libversion.mak
CommitLineData
23d84658
DK
1# -*- make -*-
2# Version number of libapt-pkg.
3# Please increase MAJOR with each ABI break,
4# with each non-ABI break to the lib, please increase RELEASE.
5# The versionnumber is extracted from apt-pkg/init.h - see also there.
6LIBAPTPKG_MAJOR=$(shell awk -v ORS='.' '/^\#define APT_PKG_M/ {print $$3}' $(BASE)/apt-pkg/init.h | sed 's/\.$$//')
7LIBAPTPKG_RELEASE=$(shell grep -E '^\#define APT_PKG_RELEASE' $(BASE)/apt-pkg/init.h | cut -d ' ' -f 3)
8
9# Version number of libapt-inst
10# Please increase MAJOR with each ABI break,
11# with each non-ABI break to the lib, please increase MINOR.
12# The versionnumber is extracted from apt-inst/makefile - see also there.
13LIBAPTINST_MAJOR=$(shell egrep '^MAJOR=' $(BASE)/apt-inst/makefile |cut -d '=' -f 2)
14LIBAPTINST_MINOR=$(shell egrep '^MINOR=' $(BASE)/apt-inst/makefile |cut -d '=' -f 2)
c0a73937
DK
15
16# FIXME: In previous releases this lovely variable includes
17# the detected libc and libdc++ version. As this is bogus we
18# want to drop this, but this a ABI break.
19# And we don't want to do this now. So we hardcode a value here,
20# and drop it later on (hopefully as fast as possible).
21LIBEXT=-libc6.9-6