92a12cfe162cb66317978ead514be2f9a45d2aa4
[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
29 $(top_srcdir)/include/radsec/radius.h dictionaries.c: ${DICTIONARIES} convert.pl common.pl
30         $(srcdir)/convert.pl ${DICTIONARIES}
31
32 static.$(OBJEXT): static.c dictionaries.c
33
34 clean-local:
35         rm -f dictionaries.c
36
37 $(libradsec_radius_la_SOURCES): $(top_srcdir)/include/radsec/radius.h
38