Merge tag 'libradsec-0.0.5' into debian
[radsecproxy.git] / lib / radius / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 ACLOCAL_AMFLAGS = -I m4
3
4 BUILT_SOURCES = dictionaries.c
5 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)
6 AM_CFLAGS = -Wall -g
7
8 noinst_LTLIBRARIES = libradsec-radius.la
9
10 libradsec_radius_la_SOURCES = \
11         attrs.c \
12         crypto.c \
13         custom.c \
14         dict.c \
15         client.h \
16         id.c \
17         parse.c \
18         print.c \
19         radpkt.c \
20         static.c \
21         valuepair.c
22
23 libradsec_radius_la_SOURCES += client.h
24
25 libradsec_radius_la_CFLAGS = $(AM_CFLAGS) -DHAVE_CONFIG_H
26
27 DICTIONARIES = \
28         share/dictionary.txt \
29         share/dictionary.juniper \
30         share/dictionary.microsoft \
31         share/dictionary.ukerna \
32         share/dictionary.abfab.ietf
33
34 EXTRA_DIST = dictionaries.c $(DICTIONARIES) common.pl convert.pl
35
36 $(top_srcdir)/include/radsec/radius.h dictionaries.c: ${DICTIONARIES} convert.pl common.pl
37         $(srcdir)/convert.pl ${DICTIONARIES}
38
39 static.$(OBJEXT): static.c dictionaries.c
40
41 clean-local:
42         rm -f dictionaries.c
43
44 $(libradsec_radius_la_SOURCES): $(top_srcdir)/include/radsec/radius.h