Update to IETF RADIUS attributes
[libradsec.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.juniper \
26         share/dictionary.microsoft \
27         share/dictionary.ukerna \
28         share/dictionary.abfab.ietf
29
30 EXTRA_DIST = $(DICTIONARIES)
31
32 $(top_srcdir)/include/radsec/radius.h dictionaries.c: ${DICTIONARIES} convert.pl common.pl
33         $(srcdir)/convert.pl ${DICTIONARIES}
34
35 static.$(OBJEXT): static.c dictionaries.c
36
37 clean-local:
38         rm -f dictionaries.c
39
40 $(libradsec_radius_la_SOURCES): $(top_srcdir)/include/radsec/radius.h
41