Initial RPM packaging
[libradsec.git] / lib / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 ACLOCAL_AMFLAGS = -I m4
3
4 SUBDIRS = . examples include 
5 DIST_SUBDIRS=tests ${SUBDIRS}
6
7 INCLUDES = -I$(srcdir)/include
8 AM_CFLAGS = -Wall -g
9
10 lib_LTLIBRARIES = libradsec.la
11
12 libradsec_la_SOURCES = \
13         compat.c \
14         conf.c \
15         conn.c \
16         debug.c \
17         err.c \
18         event.c \
19         packet.c \
20         peer.c \
21         radsec.c \
22         request.c \
23         send.c \
24         tcp.c \
25         udp.c
26
27 libradsec_la_SOURCES += \
28         rsp_debug.c \
29         rsp_hash.c \
30         rsp_list.c \
31         rsp_util.c
32
33 if RS_ENABLE_TLS
34 libradsec_la_SOURCES += \
35         tls.c \
36         rsp_tlscommon.c
37 endif
38
39 libradsec_la_SOURCES += compat.h \
40         conn.h \
41         debug.h \
42         err.h \
43         event.h \
44         packet.h \
45         peer.h \
46         rsp_debug.h\
47         rsp_hash.h \
48         rsp_list.h \
49         rsp_tlscommon.h \
50         rsp_util.h \
51         tcp.h \
52         tls.h \
53         udp.h
54
55 libradsec_la_LDFLAGS = -version-info 0:0:0 -export-symbols radsec.sym
56 libradsec_la_CFLAGS = $(AM_CFLAGS) -Werror # -DDEBUG -DDEBUG_LEVENT 
57
58 EXTRA_DIST = libradsec.spec radsec.sym