summaryrefslogtreecommitdiffstats
path: root/src/main/libfreeradius-server.mk
blob: 4495f72481876d954856dc0d022a43a24e592acd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TARGET	:= libfreeradius-server.a

SOURCES	:=	conffile.c \
		evaluate.c \
		exec.c \
		exfile.c \
		log.c \
		parser.c \
		map.c \
		regex.c \
		tmpl.c \
		util.c \
		version.c \
		pair.c \
		xlat.c

# This lets the linker determine which version of the SSLeay functions to use.
TGT_LDLIBS      := $(OPENSSL_LIBS)

ifneq ($(MAKECMDGOALS),scan)
SRC_CFLAGS	+= -DBUILT_WITH_CPPFLAGS=\"$(CPPFLAGS)\" -DBUILT_WITH_CFLAGS=\"$(CFLAGS)\" -DBUILT_WITH_LDFLAGS=\"$(LDFLAGS)\" -DBUILT_WITH_LIBS=\"$(LIBS)\"
endif