blob: b5eba2878147db2f9703f27120dad1aa83219277 [file] [log] [blame]
Mark Hammondf229f9f2002-12-03 05:47:26 +00001
2!IFDEF DEBUG
3MODULE=_ssl_d.pyd
4TEMP_DIR=x86-temp-debug/_ssl
5CFLAGS=/Od /Zi /MDd /LDd /DDEBUG /D_DEBUG
6SSL_LIB_DIR=$(SSL_DIR)/out32.dbg
7!ELSE
8MODULE=_ssl.pyd
9TEMP_DIR=x86-temp-release/_ssl
10CFLAGS=/Ox /MD /LD
11SSL_LIB_DIR=$(SSL_DIR)/out32
12!ENDIF
13
14INCLUDES=-I ../Include -I ../PC -I $(SSL_DIR)/inc32
Martin v. Löwisa0f45492006-03-21 12:08:39 +000015LIBS=gdi32.lib wsock32.lib user32.lib advapi32.lib /libpath:$(SSL_LIB_DIR) libeay32.lib ssleay32.lib
Mark Hammondf229f9f2002-12-03 05:47:26 +000016
Mark Hammond040b00a2002-12-03 20:59:46 +000017SOURCE=../Modules/_ssl.c $(SSL_LIB_DIR)/libeay32.lib $(SSL_LIB_DIR)/ssleay32.lib
Mark Hammondf229f9f2002-12-03 05:47:26 +000018
19$(MODULE): $(SOURCE) ../PC/*.h ../Include/*.h
Mark Hammond4b2030f2002-12-03 06:29:48 +000020 @if not exist "$(TEMP_DIR)/." mkdir "$(TEMP_DIR)"
Mark Hammondf229f9f2002-12-03 05:47:26 +000021 cl /nologo $(SOURCE) $(CFLAGS) /Fo$(TEMP_DIR)\$*.obj $(INCLUDES) /link /out:$(MODULE) $(LIBS)