]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Changes to Windows build configuration to
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Mon, 31 Oct 2005 01:58:12 +0000 (01:58 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Mon, 31 Oct 2005 01:58:12 +0000 (01:58 +0000)
support lzo2 and openssl-0.9.7i.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@738 e7ae566f-a301-0410-adde-c780ea21d3b5

config-win32.h.in
install-win32/openssl.bat
install-win32/prebuild
makefile.w32

index ab036f1b98f6682e20a0cdae4e527c376cb85aa1..3ea4d8582b1add91f24f195dbf9f40b79eba1e03 100644 (file)
@@ -264,7 +264,10 @@ typedef unsigned long in_addr_t;
 #define USE_LZO 1
 
 /* LZO version number */
-#define LZO_VERSION_NUM "1"
+#define LZO_VERSION_NUM "2"
+
+/* Use lzo/ directory prefix for LZO header files (for LZO 2.0) */
+#define LZO_HEADER_DIR 1
 
 /* Use OpenSSL SSL library */
 #define USE_SSL 1
index c3492e007e1b33c97cce21806f33c6585443c6dc..9ea478c442fd1d256f9e3450328268eb619483eb 100755 (executable)
@@ -1,5 +1,5 @@
 REM Build openssl.exe with DLL linkage to OpenSSL library
 REM Run this script from top level of OpenSSL source tree
-REM eg.: cp /y/openvpn/20/openvpn/install-win32/openssl.bat .
+REM eg.: copy y:\openvpn\21\openvpn\install-win32\openssl.bat go.bat
 
 gcc -o openssl  tmp\verify.o tmp\asn1pars.o tmp\req.o tmp\dgst.o tmp\dh.o tmp\dhparam.o tmp\enc.o tmp\passwd.o tmp\gendh.o tmp\errstr.o tmp\ca.o tmp\pkcs7.o tmp\crl2p7.o tmp\crl.o tmp\rsa.o tmp\rsautl.o tmp\dsa.o tmp\dsaparam.o tmp\x509.o tmp\genrsa.o tmp\gendsa.o tmp\s_server.o tmp\s_client.o tmp\speed.o tmp\s_time.o tmp\apps.o tmp\s_cb.o tmp\s_socket.o tmp\app_rand.o tmp\version.o tmp\sess_id.o tmp\ciphers.o tmp\nseq.o tmp\pkcs12.o tmp\pkcs8.o tmp\spkac.o tmp\smime.o tmp\rand.o tmp\engine.o tmp\ocsp.o tmp\prime.o tmp\openssl.o -leay32 -lssl32 -L. -lwsock32 -lgdi32
index 01121111badd2e13de5cf7ea01b7833d5fd7ef55..d6466846ad8bb32557781a403dcec7a72c4ab6ae 100755 (executable)
@@ -18,10 +18,10 @@ OUT=$H/21
 IN=/y/openvpn/21/openvpn
 
 # Already built OpenSSL tree.
-SSL=$H/openssl-0.9.7g
+SSL=$H/openssl-0.9.7i
 
 # Already built LZO tree.
-LZO=$H/lzo-1.08
+LZO=$H/lzo-2.02
 
 # Already built dmalloc tree.
 # Optional, but leave defined even if you are not using
@@ -30,7 +30,7 @@ DMALLOC=$H/dmalloc-5.4.2
 
 # TAP binaries should be here: tap0801.sys and tapinstall.exe
 # These must be built with MS DDK.
-TAPBIN=$I3
+TAPBIN=$H/tapbin-21
 
 # u2d.c should exist here.
 SCRIPTS=$IN/install-win32
index 48cc3f13076dfea0234619efd4160edb864456d4..4184504b380011e0f24ebf7e09cf052650e646c4 100755 (executable)
@@ -35,8 +35,8 @@
 # Change these to point to your OpenSSL, LZO, and
 # (optionally) dmalloc top-level directories.
 
-OPENSSL = /c/src/openssl-0.9.7g
-LZO = /c/src/lzo-1.08
+OPENSSL = /c/src/openssl-0.9.7i
+LZO = /c/src/lzo-2.02
 DMALLOC = /c/src/dmalloc-5.4.2
 
 #########################################################
@@ -49,7 +49,7 @@ INCLUDE_DIRS = -I${OPENSSL}/include -I${LZO}/include
 
 INCLUDE_DIRS_DMALLOC = ${INCLUDE_DIRS} -I${DMALLOC}
 
-LIBS = -llzo -lcrypt32 -lws2_32 -lgdi32 -liphlpapi -lwinmm
+LIBS = -llzo2 -lcrypt32 -lws2_32 -lgdi32 -liphlpapi -lwinmm
 
 LIBS_DMALLOC = ${LIBS} -ldmalloc