aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.netware
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-17 13:25:54 +0000
committerYang Tse <yangsita@gmail.com>2008-08-17 13:25:54 +0000
commitfb8fe6f2b3f244e76e47ac955a37d07927d1bc02 (patch)
treeb6aff66f561048e04044bef7a69f1a09ae2b27b1 /src/Makefile.netware
parent3e61c90dbec53e06fb30b0dc706768b675e665f4 (diff)
OpenSSl enabled NetWare builds are changed to use the 'openssl' subdirectory
when including the OpenSSL header files. This is the recommended setting, this prevents the undesired inclusion of header files with the same name as those of OpenSSL but which do not belong to the OpenSSL package. The visible change from previously released libcurl versions is that now OpenSSl enabled NetWare builds also define USE_OPENSSL in config files, and that OpenSSL header files must be located in a subdirectory named 'openssl'.
Diffstat (limited to 'src/Makefile.netware')
-rw-r--r--src/Makefile.netware2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 47a7cada9..b8ff8b7c3 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -167,6 +167,7 @@ else
endif
endif
ifdef WITH_SSL
+ INCLUDES += -I$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L)
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT)
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
IMPORTS += GetProcessSwitchCount RunningProcess
@@ -504,6 +505,7 @@ ifdef WITH_ZLIB
endif
ifdef WITH_SSL
@echo $(DL)#define USE_SSLEAY 1$(DL) >> $@
+ @echo $(DL)#define USE_OPENSSL 1$(DL) >> $@
@echo $(DL)#define HAVE_OPENSSL_X509_H 1$(DL) >> $@
@echo $(DL)#define HAVE_OPENSSL_SSL_H 1$(DL) >> $@
@echo $(DL)#define HAVE_OPENSSL_RSA_H 1$(DL) >> $@