@@ -16,11 +16,11 @@ # 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^ @@ -177,10 +177,12 @@ 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) @@ -261,11 +263,11 @@ 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) #---------------------------------------------------------------------