Build even when not configured with `--enable-tls'.
[libradsec.git] / lib / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 ACLOCAL_AMFLAGS = -I m4
3
4 SUBDIRS = . examples include 
5
6 INCLUDES = -I$(srcdir)/include
7
8 lib_LTLIBRARIES = libradsec.la
9 libradsec_la_SOURCES = \
10         attr.c \
11         conf.c \
12         conn.c \
13         debug.c \
14         err.c \
15         packet.c \
16         radsec.c \
17         request.c
18
19 libradsec_la_SOURCES += \
20         rsp_debug.c \
21         rsp_hash.c \
22         rsp_list.c \
23         rsp_util.c
24
25 if RS_ENABLE_TLS
26 libradsec_la_SOURCES += \
27         tls.c \
28         rsp_tlscommon.c
29 endif
30
31 libradsec_la_LDFLAGS = -version-info 0:0:0
32 libradsec_la_CFLAGS = $(CFLAGS) -DDEBUG -DDEBUG_LEVENT