Browse code

Changes to Windows build configuration to 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

james authored on 2005/10/31 10:58:12
Showing 4 changed files
... ...
@@ -264,7 +264,10 @@ typedef unsigned long in_addr_t;
264 264
 #define USE_LZO 1
265 265
 
266 266
 /* LZO version number */
267
-#define LZO_VERSION_NUM "1"
267
+#define LZO_VERSION_NUM "2"
268
+
269
+/* Use lzo/ directory prefix for LZO header files (for LZO 2.0) */
270
+#define LZO_HEADER_DIR 1
268 271
 
269 272
 /* Use OpenSSL SSL library */
270 273
 #define USE_SSL 1
... ...
@@ -1,5 +1,5 @@
1 1
 REM Build openssl.exe with DLL linkage to OpenSSL library
2 2
 REM Run this script from top level of OpenSSL source tree
3
-REM eg.: cp /y/openvpn/20/openvpn/install-win32/openssl.bat .
3
+REM eg.: copy y:\openvpn\21\openvpn\install-win32\openssl.bat go.bat
4 4
 
5 5
 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
... ...
@@ -18,10 +18,10 @@ OUT=$H/21
18 18
 IN=/y/openvpn/21/openvpn
19 19
 
20 20
 # Already built OpenSSL tree.
21
-SSL=$H/openssl-0.9.7g
21
+SSL=$H/openssl-0.9.7i
22 22
 
23 23
 # Already built LZO tree.
24
-LZO=$H/lzo-1.08
24
+LZO=$H/lzo-2.02
25 25
 
26 26
 # Already built dmalloc tree.
27 27
 # Optional, but leave defined even if you are not using
... ...
@@ -30,7 +30,7 @@ DMALLOC=$H/dmalloc-5.4.2
30 30
 
31 31
 # TAP binaries should be here: tap0801.sys and tapinstall.exe
32 32
 # These must be built with MS DDK.
33
-TAPBIN=$I3
33
+TAPBIN=$H/tapbin-21
34 34
 
35 35
 # u2d.c should exist here.
36 36
 SCRIPTS=$IN/install-win32
... ...
@@ -35,8 +35,8 @@
35 35
 # Change these to point to your OpenSSL, LZO, and
36 36
 # (optionally) dmalloc top-level directories.
37 37
 
38
-OPENSSL = /c/src/openssl-0.9.7g
39
-LZO = /c/src/lzo-1.08
38
+OPENSSL = /c/src/openssl-0.9.7i
39
+LZO = /c/src/lzo-2.02
40 40
 DMALLOC = /c/src/dmalloc-5.4.2
41 41
 
42 42
 #########################################################
... ...
@@ -49,7 +49,7 @@ INCLUDE_DIRS = -I${OPENSSL}/include -I${LZO}/include
49 49
 
50 50
 INCLUDE_DIRS_DMALLOC = ${INCLUDE_DIRS} -I${DMALLOC}
51 51
 
52
-LIBS = -llzo -lcrypt32 -lws2_32 -lgdi32 -liphlpapi -lwinmm
52
+LIBS = -llzo2 -lcrypt32 -lws2_32 -lgdi32 -liphlpapi -lwinmm
53 53
 
54 54
 LIBS_DMALLOC = ${LIBS} -ldmalloc
55 55