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