mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Added support for axTLS to NetWare build.
This commit is contained in:
parent
a834e00454
commit
5f829456c1
@ -27,6 +27,11 @@ ifndef LIBSSH2_PATH
|
|||||||
LIBSSH2_PATH = ../../libssh2-1.2.7
|
LIBSSH2_PATH = ../../libssh2-1.2.7
|
||||||
endif
|
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.
|
# Edit the path below to point to the base of your libidn package.
|
||||||
ifndef LIBIDN_PATH
|
ifndef LIBIDN_PATH
|
||||||
LIBIDN_PATH = ../../libidn-1.18
|
LIBIDN_PATH = ../../libidn-1.18
|
||||||
@ -195,6 +200,17 @@ ifdef WITH_SSL
|
|||||||
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
|
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
|
||||||
IMPORTS += GetProcessSwitchCount RunningProcess
|
IMPORTS += GetProcessSwitchCount RunningProcess
|
||||||
INSTDEP += ca-bundle.crt
|
INSTDEP += ca-bundle.crt
|
||||||
|
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
|
||||||
|
INSTDEP += ca-bundle.crt
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
ifdef WITH_ZLIB
|
ifdef WITH_ZLIB
|
||||||
INCLUDES += -I$(ZLIB_PATH)
|
INCLUDES += -I$(ZLIB_PATH)
|
||||||
@ -563,6 +579,10 @@ ifdef WITH_SSL
|
|||||||
@echo $(DL)#define HAVE_LIBSSL 1$(DL) >> $@
|
@echo $(DL)#define HAVE_LIBSSL 1$(DL) >> $@
|
||||||
@echo $(DL)#define HAVE_LIBCRYPTO 1$(DL) >> $@
|
@echo $(DL)#define HAVE_LIBCRYPTO 1$(DL) >> $@
|
||||||
@echo $(DL)#define OPENSSL_NO_KRB5 1$(DL) >> $@
|
@echo $(DL)#define OPENSSL_NO_KRB5 1$(DL) >> $@
|
||||||
|
else
|
||||||
|
ifdef WITH_AXTLS
|
||||||
|
@echo $(DL)#define USE_AXTLS 1$(DL) >> $@
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
ifdef WITH_SSH2
|
ifdef WITH_SSH2
|
||||||
@echo $(DL)#define USE_LIBSSH2 1$(DL) >> $@
|
@echo $(DL)#define USE_LIBSSH2 1$(DL) >> $@
|
||||||
|
@ -27,6 +27,11 @@ ifndef LIBSSH2_PATH
|
|||||||
LIBSSH2_PATH = ../../libssh2-1.2.7
|
LIBSSH2_PATH = ../../libssh2-1.2.7
|
||||||
endif
|
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.
|
# Edit the path below to point to the base of your libidn package.
|
||||||
ifndef LIBIDN_PATH
|
ifndef LIBIDN_PATH
|
||||||
LIBIDN_PATH = ../../libidn-1.18
|
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)/ssl.$(LIBEXT)
|
||||||
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
|
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
|
||||||
IMPORTS += GetProcessSwitchCount RunningProcess
|
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
|
endif
|
||||||
ifdef WITH_ZLIB
|
ifdef WITH_ZLIB
|
||||||
INCLUDES += -I$(ZLIB_PATH)
|
INCLUDES += -I$(ZLIB_PATH)
|
||||||
@ -557,6 +572,10 @@ ifdef WITH_SSL
|
|||||||
@echo $(DL)#define HAVE_LIBSSL 1$(DL) >> $@
|
@echo $(DL)#define HAVE_LIBSSL 1$(DL) >> $@
|
||||||
@echo $(DL)#define HAVE_LIBCRYPTO 1$(DL) >> $@
|
@echo $(DL)#define HAVE_LIBCRYPTO 1$(DL) >> $@
|
||||||
@echo $(DL)#define OPENSSL_NO_KRB5 1$(DL) >> $@
|
@echo $(DL)#define OPENSSL_NO_KRB5 1$(DL) >> $@
|
||||||
|
else
|
||||||
|
ifdef WITH_AXTLS
|
||||||
|
@echo $(DL)#define USE_AXTLS 1$(DL) >> $@
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
ifdef WITH_SSH2
|
ifdef WITH_SSH2
|
||||||
@echo $(DL)#define USE_LIBSSH2 1$(DL) >> $@
|
@echo $(DL)#define USE_LIBSSH2 1$(DL) >> $@
|
||||||
|
Loading…
Reference in New Issue
Block a user