14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
-
+
|
# Copyright (c) 1995-1996 Sun Microsystems, Inc.
# Copyright (c) 1998-2000 Ajuba Solutions.
# Copyright (c) 2001 ActiveState Corporation.
# Copyright (c) 2001-2002 David Gravereaux.
# Copyright (c) 2003 Pat Thoyts
#
#-------------------------------------------------------------------------
# RCS: @(#)$Id: makefile.vc,v 1.1 2004/12/17 16:02:05 patthoyts Exp $
# RCS: @(#)$Id: makefile.vc,v 1.2 2005/01/14 16:07:11 patthoyts Exp $
#-------------------------------------------------------------------------
!if !defined(MSDEVDIR) && !defined(MSVCDIR) && !defined(VCToolkitInstallDir)
MSG = ^
You will need to run vcvars32.bat from Developer Studio, first, to setup^
the environment. Jump to this line to read the new instructions.
!error $(MSG)
|
175
176
177
178
179
180
181
182
183
184
185
186
187
188
|
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
|
+
+
|
OPENSSL = c:\opt
!endif
SSL_INCLUDE_DIR = $(OPENSSL)\include
SSL_LIB_DIR = $(OPENSSL)\lib
SSL_LIBS =-libpath:"$(SSL_LIB_DIR)" ssleay32s.lib libeay32s.lib
SSL_CFLAGS =-DNO_IDEA=1 -DNO_RC5=1
!if !exist("$(SSL_LIB_DIR)\ssleay32s.lib")
MSG = ^
You must provide the path to your OpenSSL library....
!error $(MSG)
!endif
|
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
|
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
|
-
+
|
!endif
!endif
INCLUDES = $(TCL_INCLUDES) -I"$(WINDIR)" -I"$(GENERICDIR)" \
-I"$(SSL_INCLUDE_DIR)"
BASE_CLFAGS = $(cflags) $(cdebug) $(crt) $(INCLUDES)
CON_CFLAGS = $(cflags) $(cdebug) $(crt) -DCONSOLE
TCL_CFLAGS = -DUSE_TCL_STUBS \
TCL_CFLAGS = -DUSE_TCL_STUBS -DBUILD_$(PROJECT) $(SSL_CFLAGS) \
-DPACKAGE_VERSION="\"$(DOTVERSION)\"" \
-DPACKAGE_NAME="\"$(PROJECT)\"" \
$(BASE_CLFAGS) $(OPTDEFINES)
#---------------------------------------------------------------------
# Link flags
#---------------------------------------------------------------------
|