nfq: fix redundant LIBVERSION definition
[platform/upstream/libnetfilter_queue.git] / src / Makefile.am
1 # This is _NOT_ the library release version, it's an API version.
2 # Extracted from Chapter 6 "Library interface versions" of the libtool docs.
3 #
4 # <snippet>
5 # Here are a set of rules to help you update your library version information:
6 #
7 # 1. Start with version information of `0:0:0' for each libtool library.
8 # 2. Update the version information only immediately before a public release
9 # of your software. More frequent updates are unnecessary, and only guarantee
10 # that the current interface number gets larger faster.
11 # 3. If the library source code has changed at all since the last update,
12 # then increment revision (`c:r:a' becomes `c:r+1:a').
13 # 4. If any interfaces have been added, removed, or changed since the last
14 # update, increment current, and set revision to 0.
15 # 5. If any interfaces have been added since the last public release, then
16 # increment age.
17 # 6. If any interfaces have been removed since the last public release, then
18 # set age to 0.
19 # </snippet>
20 #
21 LIBVERSION=2:0:1
22
23 INCLUDES = $(all_includes) -I$(top_srcdir)/include -I${KERNELDIR}
24 AM_CFLAGS = -fPIC -Wall
25 LIBS = @LIBNFQUEUE_LIBS@
26
27 lib_LTLIBRARIES = libnetfilter_queue.la
28
29 libnetfilter_queue_la_LDFLAGS = -Wc,-nostartfiles -lnfnetlink \
30                                 -version-info $(LIBVERSION)
31 libnetfilter_queue_la_SOURCES = libnetfilter_queue.c