From 50b37d4a27d3295a29afca2286f1a5a086142cec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 11:49:46 +0200 Subject: Adding upstream version 3.2.1+dfsg. Signed-off-by: Daniel Baumann --- src/main/radiusd.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/main/radiusd.mk (limited to 'src/main/radiusd.mk') diff --git a/src/main/radiusd.mk b/src/main/radiusd.mk new file mode 100644 index 0000000..651413a --- /dev/null +++ b/src/main/radiusd.mk @@ -0,0 +1,21 @@ +TARGET := radiusd +SOURCES := acct.c auth.c client.c crypt.c files.c \ + listen.c mainconfig.c modules.c modcall.c \ + radiusd.c state.c stats.c soh.c connection.c \ + session.c threads.c channel.c \ + process.c realms.c detail.c +ifneq ($(OPENSSL_LIBS),) +SOURCES += cb.c tls.c tls_listen.c +endif + +SRC_CFLAGS := -DHOSTINFO=\"${HOSTINFO}\" + +TGT_INSTALLDIR := ${sbindir} +TGT_LDLIBS := $(LIBS) $(OPENSSL_LIBS) $(SYSTEMD_LIBS) $(LCRYPT) +TGT_PREREQS := libfreeradius-server.a libfreeradius-radius.a + +# Libraries can't depend on libraries (oops), so make the binary +# depend on the EAP code... +ifneq "$(filter rlm_eap_%,${ALL_TGTS})" "" +TGT_PREREQS += libfreeradius-eap.a +endif -- cgit v1.2.3