1 # This is _NOT_ the library release version, it's an API version.
2 # Please read Chapter 6 "Library interface versions" of the libtool
3 # documentation before making any modification
5 # http://sources.redhat.com/autobook/autobook/autobook_91.html
7 # The version scheme used by Libtool tracks interfaces, where an interface
8 # is the set of exported entry points into the library. All Libtool libraries
9 # start with `-version-info' set to `0:0:0' -- this will be the default
10 # version number if you don't explicitly set it on the Libtool link command
11 # line. The meaning of these numbers (from left to right) is as follows:
14 # The number of the current interface exported by the library. A current
15 # value of `0', means that you are calling the interface exported by this
16 # library interface 0.
19 # The implementation number of the most recent interface exported by this
20 # library. In this case, a revision value of `0' means that this is the
21 # first implementation of the interface.
23 # If the next release of this library exports the same interface, but has
24 # a different implementation (perhaps some bugs have been fixed), the
25 # revision number will be higher, but current number will be the same.
26 # In that case, when given a choice, the library with the highest revision
27 # will always be used by the runtime loader.
30 # The number of previous additional interfaces supported by this library.
31 # If age were `2', then this library can be linked into executables which
32 # were built with a release of this library that exported the current
33 # interface number, current, or any of the previous two interfaces.
35 # By definition age must be less than or equal to current. At the outset,
36 # only the first ever interface is implemented, so age can only be `0'.
38 # 1. If you have changed any of the sources for this library, the revision
39 # number must be incremented.
40 # This is a new revision of the current interface.
42 # 2. If the interface has changed, then current must be incremented, and
43 # revision reset to `0'.
44 # This is the first revision of a new interface.
46 # 3. If the new interface is a superset of the previous interface (that is,
47 # if the previous interface has not been broken by the changes in this
48 # new release), then age must be incremented.
49 # This release is backwards compatible with the previous release.
51 # 4. If the new interface has removed elements with respect to the previous
52 # interface, then you have broken backward compatibility and age must be
54 # This release has a new, but backwards incompatible interface.
56 # For example, if the next release of the library included some new commands
57 # for an existing socket protocol, you would use -version-info 1:0:1.
58 # This is the first revision of a new interface. This release is backwards
59 # compatible with the previous release.
61 # Later, you implement a faster way of handling part of the algorithm at the
62 # core of the library, and release it with -version-info 1:1:1. This is a new
63 # revision of the current interface.
65 # Unfortunately the speed of your new implementation can only be fully
66 # exploited by changing the API to access the structures at a lower level,
67 # which breaks compatibility with the previous interface, so you release it
68 # as -version-info 2:0:0. This release has a new, but backwards incompatible
74 AM_CPPFLAGS = $(kinclude_CFLAGS) $(all_includes) -I$(top_srcdir)/include
76 AM_CFLAGS = -std=gnu99
79 AM_CFLAGS += -g -g3 -ggdb -gdwarf-2 -DIPSET_DEBUG -Wall -Werror
81 AM_CFLAGS += -O2 -DNDEBUG
85 SPARSE_FLAGS = -Wsparse-all -I../include $(SPARSE_EXT_FLAGS)
86 IPSET_AM_V_CHECK = $(ipset_am__v_CHECK_$(V))
87 ipset_am__v_CHECK_ = $(ipset_am__v_CHECK_$(AM_DEFAULT_VERBOSITY))
88 ipset_am__v_CHECK_0 = @echo " CHECK " $<;