Mark Hammond | f229f9f | 2002-12-03 05:47:26 +0000 | [diff] [blame] | 1 | |
| 2 | !IFDEF DEBUG |
| 3 | MODULE=_ssl_d.pyd |
| 4 | TEMP_DIR=x86-temp-debug/_ssl |
| 5 | CFLAGS=/Od /Zi /MDd /LDd /DDEBUG /D_DEBUG |
| 6 | SSL_LIB_DIR=$(SSL_DIR)/out32.dbg |
| 7 | !ELSE |
| 8 | MODULE=_ssl.pyd |
| 9 | TEMP_DIR=x86-temp-release/_ssl |
| 10 | CFLAGS=/Ox /MD /LD |
| 11 | SSL_LIB_DIR=$(SSL_DIR)/out32 |
| 12 | !ENDIF |
| 13 | |
| 14 | INCLUDES=-I ../Include -I ../PC -I $(SSL_DIR)/inc32 |
| 15 | LIBS=gdi32.lib wsock32.lib /libpath:$(SSL_LIB_DIR) libeay32.lib ssleay32.lib |
| 16 | |
Mark Hammond | 040b00a | 2002-12-03 20:59:46 +0000 | [diff] [blame] | 17 | SOURCE=../Modules/_ssl.c $(SSL_LIB_DIR)/libeay32.lib $(SSL_LIB_DIR)/ssleay32.lib |
Mark Hammond | f229f9f | 2002-12-03 05:47:26 +0000 | [diff] [blame] | 18 | |
| 19 | $(MODULE): $(SOURCE) ../PC/*.h ../Include/*.h |
Mark Hammond | 4b2030f | 2002-12-03 06:29:48 +0000 | [diff] [blame] | 20 | @if not exist "$(TEMP_DIR)/." mkdir "$(TEMP_DIR)" |
Mark Hammond | f229f9f | 2002-12-03 05:47:26 +0000 | [diff] [blame] | 21 | cl /nologo $(SOURCE) $(CFLAGS) /Fo$(TEMP_DIR)\$*.obj $(INCLUDES) /link /out:$(MODULE) $(LIBS) |