annotate PC/VC6/_ssl.mak @ 79675:c0a2294de787 2.7

Issue #16199: Backport 2to3 typo fix from 3.2.
author Chris Jerdonek <chris.jerdonek@gmail.com>
date Thu, 11 Oct 2012 16:15:46 -0700
parents 6fe6401da51f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31333
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
1
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
2 !IFDEF DEBUG
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
3 MODULE=_ssl_d.pyd
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
4 TEMP_DIR=x86-temp-debug/_ssl
40450
cc992d75d5b3 Four months of trunk changes (including a few releases...)
Thomas Wouters <thomas@python.org>
parents: 31333
diff changeset
5 CFLAGS=/Od /Zi /MDd /LDd /DDEBUG /D_DEBUG /DWIN32
52207
6fe6401da51f Merged revisions 70450 via svnmerge from
Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
parents: 40450
diff changeset
6 LFLAGS=/nodefaultlib:"msvcrt"
31333
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
7 !ELSE
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
8 MODULE=_ssl.pyd
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
9 TEMP_DIR=x86-temp-release/_ssl
40450
cc992d75d5b3 Four months of trunk changes (including a few releases...)
Thomas Wouters <thomas@python.org>
parents: 31333
diff changeset
10 CFLAGS=/Ox /MD /LD /DWIN32
52207
6fe6401da51f Merged revisions 70450 via svnmerge from
Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
parents: 40450
diff changeset
11 LFLAGS=
31333
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
12 !ENDIF
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
13
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
14 INCLUDES=-I ../../Include -I .. -I $(SSL_DIR)/inc32
52207
6fe6401da51f Merged revisions 70450 via svnmerge from
Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
parents: 40450
diff changeset
15 SSL_LIB_DIR=$(SSL_DIR)/out32
40450
cc992d75d5b3 Four months of trunk changes (including a few releases...)
Thomas Wouters <thomas@python.org>
parents: 31333
diff changeset
16 LIBS=gdi32.lib wsock32.lib user32.lib advapi32.lib /libpath:$(SSL_LIB_DIR) libeay32.lib ssleay32.lib
31333
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
17
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
18 SOURCE=../../Modules/_ssl.c $(SSL_LIB_DIR)/libeay32.lib $(SSL_LIB_DIR)/ssleay32.lib
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
19
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
20 $(MODULE): $(SOURCE) ../*.h ../../Include/*.h
0baa2660a568 The _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters <tim.peters@gmail.com>
parents:
diff changeset
21 @if not exist "$(TEMP_DIR)/." mkdir "$(TEMP_DIR)"
52207
6fe6401da51f Merged revisions 70450 via svnmerge from
Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
parents: 40450
diff changeset
22 cl /nologo $(SOURCE) $(CFLAGS) /Fo$(TEMP_DIR)\$*.obj $(INCLUDES) /link /out:$(MODULE) $(LIBS) $(LFLAGS)