diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 14:11:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 14:11:00 +0000 |
commit | af754e596a8dbb05ed8580c342e7fe02e08b28e0 (patch) | |
tree | b2f334c2b55ede42081aa6710a72da784547d8ea /src/modules/rlm_eap/radeapclient.mk | |
parent | Initial commit. (diff) | |
download | freeradius-af754e596a8dbb05ed8580c342e7fe02e08b28e0.tar.xz freeradius-af754e596a8dbb05ed8580c342e7fe02e08b28e0.zip |
Adding upstream version 3.2.3+dfsg.upstream/3.2.3+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/modules/rlm_eap/radeapclient.mk')
-rw-r--r-- | src/modules/rlm_eap/radeapclient.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/modules/rlm_eap/radeapclient.mk b/src/modules/rlm_eap/radeapclient.mk new file mode 100644 index 0000000..6068f54 --- /dev/null +++ b/src/modules/rlm_eap/radeapclient.mk @@ -0,0 +1,29 @@ +TARGET := radeapclient +SOURCES := radeapclient.c + +SOURCES += ${top_srcdir}/src/main/files.c \ + ${top_srcdir}/src/main/threads.c \ + ${top_srcdir}/src/main/version.c + +TGT_PREREQS := libfreeradius-radius.a libfreeradius-server.a +TGT_LDLIBS := $(LIBS) + +# +# For future work, if we want radeapclient to become radclient +# +ifneq "$(filter libfreeradius-eap%,${ALL_TGTS})" "" +TGT_PREREQS += libfreeradius-eap.a + +ifneq ($(OPENSSL_LIBS),) +SOURCES += ${top_srcdir}/src/main/cb.c ${top_srcdir}/src/main/tls.c +TGT_LDLIBS += $(OPENSSL_LIBS) +endif + +SRC_CFLAGS += -DWITH_EAPCLIENT +SRC_INCDIRS := ${top_srcdir}/src/modules/rlm_eap/libeap + +ifneq ($(MAKECMDGOALS),scan) +SRC_CFLAGS += -DBUILT_WITH_CPPFLAGS=\"$(CPPFLAGS)\" -DBUILT_WITH_CFLAGS=\"$(CFLAGS)\" -DBUILT_WITH_LDFLAGS=\"$(LDFLAGS)\" -DBUILT_WITH_LIBS=\"$(LIBS)\" +endif + +endif |