aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2010-08-11 18:08:39 +0200
committerGuenter Knauf <lists@gknw.net>2010-08-11 18:08:39 +0200
commit3c2ee9c341d0e9f22a1020c13deb87a2b6afafeb (patch)
tree9a11433e02e487830e70a20b20c81e73e5b6b9d2 /src
parent8d31d701141fdbfdcc8bab40a4f87ffa53dbf2c6 (diff)
Added OpenSSL builds to Watcom makefiles.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.Watcom13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Makefile.Watcom b/src/Makefile.Watcom
index 84d78c1f2..5391fbe8b 100644
--- a/src/Makefile.Watcom
+++ b/src/Makefile.Watcom
@@ -66,12 +66,22 @@ ZLIB_ROOT = $(%zlib_root)
ZLIB_ROOT = ..\..\zlib-1.2.5
!endif
+!ifdef %openssl_root
+OPENSSL_ROOT = $(%openssl_root)
+!else
+OPENSSL_ROOT = ..\..\openssl-0.9.8o
+!endif
+
!ifdef %ares_root
ARES_ROOT = $(%ares_root)
!else
ARES_ROOT = ..\ares
!endif
+!ifdef %use_ssl
+CFLAGS += -wcd=138 -dUSE_OPENSSL -dUSE_SSLEAY -I$(OPENSSL_ROOT)\inc32
+!endif
+
OBJ_DIR = WC_Win32.obj
LINK_ARG = $(OBJ_DIR)\wlink.arg
@@ -145,6 +155,9 @@ $(LINK_ARG): $(__MAKEFILES__)
!ifdef %use_zlib
@%append $^@ library $(ZLIB_ROOT)\zlib.lib
!endif
+!ifdef %use_ssl
+ @%append $^@ library $(OPENSSL_ROOT)\out32\libeay32.lib, $(OPENSSL_ROOT)\out32\ssleay32.lib
+!endif
!ifdef %use_ares
@%append $^@ library $(ARES_ROOT)\cares.lib
!endif