toxcore/build/Makefile.am
Sergey 'Jin' Bostandzhyan 3f24f04876 Setup autotools to read .so version info from a separate file
We want to use the same libtool style .so versions in both build systems,
ideally both systems should read the version information from the same
configuration file.

This commit introduces an so.version configuration file and sets up
the autotools to use it.

The version numbers in so.version define the ABI compatibility and should be
updated prior to each release.

implements #323
2017-01-18 11:20:07 +01:00

27 lines
520 B
Makefile

bin_PROGRAMS =
noinst_PROGRAMS =
lib_LTLIBRARIES =
noinst_bindir = $(top_builddir)/build
EXTRA_DIST=
if SET_SO_VERSION
include ../so.version
LT_LDFLAGS=-version-info $(CURRENT):$(REVISION):$(AGE)
else
LT_LDFLAGS=-avoid-version
endif
include ../toxcore/Makefile.inc
include ../toxdns/Makefile.inc
include ../toxencryptsave/Makefile.inc
include ../toxav/Makefile.inc
include ../other/Makefile.inc
include ../testing/Makefile.inc
include ../other/bootstrap_daemon/src/Makefile.inc
include ../auto_tests/Makefile.inc