port to new RADIUS client library
[radsecproxy.git] / lib / radius / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 ACLOCAL_AMFLAGS = -I m4
3
4 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)
5 AM_CFLAGS = -Wall -g
6
7 noinst_LTLIBRARIES = libradsec-radius.la
8
9 libradsec_radius_la_SOURCES = \
10         attrs.c \
11         crypto.c \
12         custom.c \
13         dict.c \
14         id.c \
15         packet.c \
16         parse.c \
17         print.c \
18         static.c \
19         valuepair.c
20
21 libradsec_radius_la_CFLAGS = $(AM_CFLAGS)
22
23 DICTIONARIES = \
24         share/dictionary.txt \
25         share/dictionary.microsoft \
26         share/dictionary.ukerna
27
28 $(top_srcdir)/include/radsec/radius.h dictionaries.c: ${DICTIONARIES} convert.pl common.pl
29         $(srcdir)/convert.pl ${DICTIONARIES}
30
31 static.$(OBJEXT): static.c dictionaries.c
32
33 clean-local:
34         rm -f dictionaries.c
35
36 $(libradsec_radius_la_SOURCES): $(top_srcdir)/include/radsec/radius.h
37