forked from FreeRADIUS/freeradius-server
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Make.inc.in
108 lines (92 loc) · 2.2 KB
/
Make.inc.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# -*- makefile -*-
# Make.inc.in
#
# Version: $Id$
#
# Location of files.
prefix = @prefix@
exec_prefix = @exec_prefix@
sysconfdir = @sysconfdir@
localstatedir = @localstatedir@
libdir = @libdir@
bindir = @bindir@
sbindir = @sbindir@
docdir = @docdir@
mandir = @mandir@
datadir = @datadir@
dictdir = $(datadir)/freeradius
logdir = @logdir@
includedir = @includedir@
raddbdir = @raddbdir@
radacctdir = @radacctdir@
top_builddir = @abs_top_builddir@
top_srcdir = @abs_top_srcdir@
datarootdir = @datarootdir@
MAKE = @MAKE@
CC = @CC@
RANLIB = @RANLIB@
INCLUDE =
CFLAGS = $(INCLUDE) @CFLAGS@
CPPFLAGS = @CPPFLAGS@
LIBPREFIX = @LIBPREFIX@
EXEEXT = @EXEEXT@
LIBTOOL = @LIBTOOL@
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
INSTALL = ${top_builddir}/install-sh -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
INSTALLSTRIP = @INSTALLSTRIP@
LCRYPT = @CRYPTLIB@
LIBS = @LIBS@
LDFLAGS = @LDFLAGS@
LOGDIR = ${logdir}
RADDBDIR = ${raddbdir}
RUNDIR = ${localstatedir}/run/radiusd
SBINDIR = ${sbindir}
RADIR = ${radacctdir}
LIBRADIUS = $(top_builddir)/src/lib/$(LIBPREFIX)freeradius-radius.la
LIBLTDL = @LIBLTDL@
INCLTDL = @INCLTDL@
LTDL_SUBDIRS = @LTDL_SUBDIRS@
USE_SHARED_LIBS = @USE_SHARED_LIBS@
USE_STATIC_LIBS = @USE_STATIC_LIBS@
STATIC_MODULES = @STATIC_MODULES@
OPENSSL_LIBS = @OPENSSL_LIBS@
OPENSSL_INCLUDE = @OPENSSL_INCLUDE@
LIBREADLINE = @LIBREADLINE@
#
# SQL driver defines
#
SQL_ODBC_LIBS = @ODBC_LIBS@
SQL_ODBC_INCLUDE = @ODBC_INCLUDE@
RADIUSD_MAJOR_VERSION = @RADIUSD_MAJOR_VERSION@
RADIUSD_MINOR_VERSION = @RADIUSD_MINOR_VERSION@
RADIUSD_VERSION = @RADIUSD_VERSION@
MODULES = @MODULES@
HOSTINFO = @HOSTINFO@
ifneq ($(WITH_OPENSSL_MD5),)
LIBRADIUS_WITH_OPENSSL = 1
CFLAGS += -DWITH_OPENSSL_MD5
endif
ifneq ($(WITH_OPENSSL_SHA1),)
LIBRADIUS_WITH_OPENSSL = 1
CFLAGS += -DWITH_OPENSSL_SHA1
endif
ifneq ($(LIBRADIUS_WITH_OPENSSL),)
ifeq ($(OPENSSL_LIBS),)
$(error OPENSSL_LIBS must be define in order to use WITH_OPENSSL_*)
else
LIBRADIUS += $(OPENSSL_LIBS)
endif
endif
# http://clang.llvm.org/StaticAnalysis.html
#
# $ make SCAN=/path/to/checker/
#
ifneq ($(SCAN),)
CC := $(SCAN)/scan-build gcc -DFR_SCAN_BUILD
LIBTOOL :=
endif