b57ef16a8de9d295ac32bbfa807e9e4d706e7187
[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         parse.c \
16         print.c \
17         radpkt.c \
18         static.c \
19         valuepair.c
20
21 libradsec_radius_la_CFLAGS = $(AM_CFLAGS) -DHAVE_CONFIG_H
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