Bump library interface revision.
[radsecproxy.git] / lib / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 ACLOCAL_AMFLAGS = -I m4
3
4 # Shared library interface version, i.e. -version-info to Libtool,
5 # expressed as three integers CURRENT:REVISION:AGE.
6
7 # CURRENT is the version number of the current interface.  Increment
8 #         CURRENT when the library interface changes.
9
10 # REVISION is the version number of the _implementation_ of the
11 #          CURRENT interface.  Set REVISION to 0 when CURRENT changes,
12 #          else increment.
13
14 # AGE is the number of interfaces this library implements, i.e. how
15 #     many versions before CURRENT that are supported.  Increment AGE
16 #     when the library interface is _extended_.  Set AGE to 0 when the
17 #     library interface is _changed_.
18
19
20 SUBDIRS = . examples include 
21
22 INCLUDES = -I$(srcdir)/include
23 AM_CFLAGS = -Wall -g
24
25 lib_LTLIBRARIES = libradsec.la
26
27 libradsec_la_SOURCES = \
28         compat.c \
29         conf.c \
30         conn.c \
31         debug.c \
32         err.c \
33         event.c \
34         packet.c \
35         peer.c \
36         radsec.c \
37         request.c \
38         send.c \
39         tcp.c \
40         udp.c
41
42 libradsec_la_SOURCES += \
43         rsp_debug.c \
44         rsp_hash.c \
45         rsp_list.c \
46         rsp_util.c
47
48 if RS_ENABLE_TLS
49 libradsec_la_SOURCES += \
50         tls.c \
51         rsp_tlscommon.c
52 endif
53
54 libradsec_la_LDFLAGS = -version-info 0:0:0 -export-symbols radsec.sym
55 libradsec_la_CFLAGS = $(AM_CFLAGS) -Werror # -DDEBUG -DDEBUG_LEVENT