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