aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.netware
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2010-12-22 04:45:41 +0100
committerGuenter Knauf <lists@gknw.net>2010-12-22 04:45:41 +0100
commit5f829456c1d2b5a13146b7fb41c88389568e5db1 (patch)
tree1501eb11b59f56b6efff5d2e688f441aad720bcf /src/Makefile.netware
parenta834e004544cff32f933b899a1f6d29963bef0e1 (diff)
Added support for axTLS to NetWare build.
Diffstat (limited to 'src/Makefile.netware')
-rw-r--r--src/Makefile.netware19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 81482891c..7b4d98b1a 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -27,6 +27,11 @@ ifndef LIBSSH2_PATH
LIBSSH2_PATH = ../../libssh2-1.2.7
endif
+# Edit the path below to point to the base of your axTLS package.
+ifndef AXTLS_PATH
+AXTLS_PATH = ../../axTLS-1.2.7
+endif
+
# Edit the path below to point to the base of your libidn package.
ifndef LIBIDN_PATH
LIBIDN_PATH = ../../libidn-1.18
@@ -196,6 +201,16 @@ ifdef WITH_SSL
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT)
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
IMPORTS += GetProcessSwitchCount RunningProcess
+else
+ifdef WITH_AXTLS
+ INCLUDES += -I$(AXTLS_PATH)/inc
+ifdef LINK_STATIC
+ LDLIBS += $(AXTLS_PATH)/lib/libaxtls.$(LIBEXT)
+else
+ MODULES += libaxtls.nlm
+ IMPORTS += $(AXTLS_PATH)/lib/libaxtls.imp
+endif
+endif
endif
ifdef WITH_ZLIB
INCLUDES += -I$(ZLIB_PATH)
@@ -557,6 +572,10 @@ ifdef WITH_SSL
@echo $(DL)#define HAVE_LIBSSL 1$(DL) >> $@
@echo $(DL)#define HAVE_LIBCRYPTO 1$(DL) >> $@
@echo $(DL)#define OPENSSL_NO_KRB5 1$(DL) >> $@
+else
+ifdef WITH_AXTLS
+ @echo $(DL)#define USE_AXTLS 1$(DL) >> $@
+endif
endif
ifdef WITH_SSH2
@echo $(DL)#define USE_LIBSSH2 1$(DL) >> $@