blob: f2b5d92a605cd84779f1b81baee3d1cd5414c4a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
|
# Microsoft Visual C++ generated build script - Do not modify
PROJ = PYTH_W31
DEBUG = 0
PROGTYPE = 3
CALLER =
ARGS =
DLLS =
D_RCDEFINES = -d_DEBUG
R_RCDEFINES = -dNDEBUG
ORIGIN = MSVC
ORIGIN_VER = 1.00
PROJPATH = N:\PYTHON\PYTHO~HA.4B0\PC\VC15_W31\
USEMFC = 0
CC = cl
CPP = cl
CXX = cl
CCREATEPCHFLAG =
CPPCREATEPCHFLAG =
CUSEPCHFLAG =
CPPUSEPCHFLAG =
FIRSTC = MAIN.C
FIRSTCPP =
RC = rc
CFLAGS_D_WTTY = /nologo /G3 /Mq /W3 /Zi /AL /Gt9 /Od /D "_DEBUG" /D "HAVE_CONFIG_H" /I "..\src" /FR /Fd"PYTH_W31.PDB"
CFLAGS_R_WTTY = /nologo /Gs /G3 /Mq /W3 /AL /Gt9 /O2 /D "NDEBUG" /D "HAVE_CONFIG_H" /I "..\src" /FR
LFLAGS_D_WTTY = /NOLOGO /NOD /PACKC:57344 /STACK:20000 /SEG:1024 /ALIGN:16 /ONERROR:NOEXE /CO /MAP
LFLAGS_R_WTTY = /NOLOGO /NOD /PACKC:57344 /STACK:20000 /SEG:1024 /ALIGN:16 /ONERROR:NOEXE /MAP
LIBS_D_WTTY = ..\vc15_lib\python.lib oldnames libw llibcewq winsock
LIBS_R_WTTY = ..\vc15_lib\python.lib oldnames libw llibcewq winsock
RCFLAGS = /nologo
RESFLAGS = /nologo
RUNFLAGS =
DEFFILE = ..\PYTH_W31.DEF
OBJS_EXT =
LIBS_EXT =
!if "$(DEBUG)" == "1"
CFLAGS = $(CFLAGS_D_WTTY)
LFLAGS = $(LFLAGS_D_WTTY)
LIBS = $(LIBS_D_WTTY)
MAPFILE = nul
RCDEFINES = $(D_RCDEFINES)
DEFFILE=N:\PYTHON\PYTHO~HA.4B0\PC\PYTH_W31.DEF
!else
CFLAGS = $(CFLAGS_R_WTTY)
LFLAGS = $(LFLAGS_R_WTTY)
LIBS = $(LIBS_R_WTTY)
MAPFILE = nul
RCDEFINES = $(R_RCDEFINES)
DEFFILE=N:\PYTHON\PYTHO~HA.4B0\PC\PYTH_W31.DEF
!endif
!if [if exist MSVC.BND del MSVC.BND]
!endif
SBRS = MAIN.SBR \
GETOPT.SBR \
SELECTMO.SBR \
SOCKETMO.SBR
MAIN_DEP = n:\python\pytho~ha.4b0\pc\src\python.h \
n:\python\pytho~ha.4b0\pc\src\allobjec.h \
n:\python\pytho~ha.4b0\pc\src\config.h \
n:\python\pytho~ha.4b0\pc\src\myproto.h \
n:\python\pytho~ha.4b0\pc\src\rename2.h \
n:\python\pytho~ha.4b0\pc\src\object.h \
n:\python\pytho~ha.4b0\pc\src\objimpl.h \
n:\python\pytho~ha.4b0\pc\src\pydebug.h \
n:\python\pytho~ha.4b0\pc\src\accessob.h \
n:\python\pytho~ha.4b0\pc\src\intobjec.h \
n:\python\pytho~ha.4b0\pc\src\longobje.h \
n:\python\pytho~ha.4b0\pc\src\floatobj.h \
n:\python\pytho~ha.4b0\pc\src\complexo.h \
n:\python\pytho~ha.4b0\pc\src\rangeobj.h \
n:\python\pytho~ha.4b0\pc\src\stringob.h \
n:\python\pytho~ha.4b0\pc\src\tupleobj.h \
n:\python\pytho~ha.4b0\pc\src\listobje.h \
n:\python\pytho~ha.4b0\pc\src\mappingo.h \
n:\python\pytho~ha.4b0\pc\src\methodob.h \
n:\python\pytho~ha.4b0\pc\src\moduleob.h \
n:\python\pytho~ha.4b0\pc\src\funcobje.h \
n:\python\pytho~ha.4b0\pc\src\classobj.h \
n:\python\pytho~ha.4b0\pc\src\thread.h \
n:\python\pytho~ha.4b0\pc\src\fileobje.h \
n:\python\pytho~ha.4b0\pc\src\cobject.h \
n:\python\pytho~ha.4b0\pc\src\tracebac.h \
n:\python\pytho~ha.4b0\pc\src\errors.h \
n:\python\pytho~ha.4b0\pc\src\mymalloc.h \
n:\python\pytho~ha.4b0\pc\src\modsuppo.h \
n:\python\pytho~ha.4b0\pc\src\ceval.h \
n:\python\pytho~ha.4b0\pc\src\pythonru.h \
n:\python\pytho~ha.4b0\pc\src\sysmodul.h \
n:\python\pytho~ha.4b0\pc\src\intrchec.h \
n:\python\pytho~ha.4b0\pc\src\import.h \
n:\python\pytho~ha.4b0\pc\src\bltinmod.h \
n:\python\pytho~ha.4b0\pc\src\abstract.h
GETOPT_DEP =
SELECTMO_DEP = n:\python\pytho~ha.4b0\pc\src\allobjec.h \
n:\python\pytho~ha.4b0\pc\src\config.h \
n:\python\pytho~ha.4b0\pc\src\myproto.h \
n:\python\pytho~ha.4b0\pc\src\rename2.h \
n:\python\pytho~ha.4b0\pc\src\object.h \
n:\python\pytho~ha.4b0\pc\src\objimpl.h \
n:\python\pytho~ha.4b0\pc\src\pydebug.h \
n:\python\pytho~ha.4b0\pc\src\accessob.h \
n:\python\pytho~ha.4b0\pc\src\intobjec.h \
n:\python\pytho~ha.4b0\pc\src\longobje.h \
n:\python\pytho~ha.4b0\pc\src\floatobj.h \
n:\python\pytho~ha.4b0\pc\src\complexo.h \
n:\python\pytho~ha.4b0\pc\src\rangeobj.h \
n:\python\pytho~ha.4b0\pc\src\stringob.h \
n:\python\pytho~ha.4b0\pc\src\tupleobj.h \
n:\python\pytho~ha.4b0\pc\src\listobje.h \
n:\python\pytho~ha.4b0\pc\src\mappingo.h \
n:\python\pytho~ha.4b0\pc\src\methodob.h \
n:\python\pytho~ha.4b0\pc\src\moduleob.h \
n:\python\pytho~ha.4b0\pc\src\funcobje.h \
n:\python\pytho~ha.4b0\pc\src\classobj.h \
n:\python\pytho~ha.4b0\pc\src\thread.h \
n:\python\pytho~ha.4b0\pc\src\fileobje.h \
n:\python\pytho~ha.4b0\pc\src\cobject.h \
n:\python\pytho~ha.4b0\pc\src\tracebac.h \
n:\python\pytho~ha.4b0\pc\src\errors.h \
n:\python\pytho~ha.4b0\pc\src\mymalloc.h \
n:\python\pytho~ha.4b0\pc\src\modsuppo.h \
n:\python\pytho~ha.4b0\pc\src\ceval.h \
n:\python\pytho~ha.4b0\pc\src\pythonru.h \
n:\python\pytho~ha.4b0\pc\src\sysmodul.h \
n:\python\pytho~ha.4b0\pc\src\intrchec.h \
n:\python\pytho~ha.4b0\pc\src\import.h \
n:\python\pytho~ha.4b0\pc\src\bltinmod.h \
n:\python\pytho~ha.4b0\pc\src\abstract.h \
c:\msvc\include\winsock.h \
n:\python\pytho~ha.4b0\pc\src\myselect.h \
n:\python\pytho~ha.4b0\pc\src\mytime.h
SOCKETMO_DEP = n:\python\pytho~ha.4b0\pc\src\python.h \
n:\python\pytho~ha.4b0\pc\src\allobjec.h \
n:\python\pytho~ha.4b0\pc\src\config.h \
n:\python\pytho~ha.4b0\pc\src\myproto.h \
n:\python\pytho~ha.4b0\pc\src\rename2.h \
n:\python\pytho~ha.4b0\pc\src\object.h \
n:\python\pytho~ha.4b0\pc\src\objimpl.h \
n:\python\pytho~ha.4b0\pc\src\pydebug.h \
n:\python\pytho~ha.4b0\pc\src\accessob.h \
n:\python\pytho~ha.4b0\pc\src\intobjec.h \
n:\python\pytho~ha.4b0\pc\src\longobje.h \
n:\python\pytho~ha.4b0\pc\src\floatobj.h \
n:\python\pytho~ha.4b0\pc\src\complexo.h \
n:\python\pytho~ha.4b0\pc\src\rangeobj.h \
n:\python\pytho~ha.4b0\pc\src\stringob.h \
n:\python\pytho~ha.4b0\pc\src\tupleobj.h \
n:\python\pytho~ha.4b0\pc\src\listobje.h \
n:\python\pytho~ha.4b0\pc\src\mappingo.h \
n:\python\pytho~ha.4b0\pc\src\methodob.h \
n:\python\pytho~ha.4b0\pc\src\moduleob.h \
n:\python\pytho~ha.4b0\pc\src\funcobje.h \
n:\python\pytho~ha.4b0\pc\src\classobj.h \
n:\python\pytho~ha.4b0\pc\src\thread.h \
n:\python\pytho~ha.4b0\pc\src\fileobje.h \
n:\python\pytho~ha.4b0\pc\src\cobject.h \
n:\python\pytho~ha.4b0\pc\src\tracebac.h \
n:\python\pytho~ha.4b0\pc\src\errors.h \
n:\python\pytho~ha.4b0\pc\src\mymalloc.h \
n:\python\pytho~ha.4b0\pc\src\modsuppo.h \
n:\python\pytho~ha.4b0\pc\src\ceval.h \
n:\python\pytho~ha.4b0\pc\src\pythonru.h \
n:\python\pytho~ha.4b0\pc\src\sysmodul.h \
n:\python\pytho~ha.4b0\pc\src\intrchec.h \
n:\python\pytho~ha.4b0\pc\src\import.h \
n:\python\pytho~ha.4b0\pc\src\bltinmod.h \
n:\python\pytho~ha.4b0\pc\src\abstract.h \
n:\python\pytho~ha.4b0\pc\src\mytime.h \
c:\msvc\include\winsock.h
all: $(PROJ).EXE $(PROJ).BSC
MAIN.OBJ: ..\SRC\MAIN.C $(MAIN_DEP)
$(CC) $(CFLAGS) $(CCREATEPCHFLAG) /c ..\SRC\MAIN.C
GETOPT.OBJ: ..\SRC\GETOPT.C $(GETOPT_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c ..\SRC\GETOPT.C
SELECTMO.OBJ: ..\SRC\SELECTMO.C $(SELECTMO_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c ..\SRC\SELECTMO.C
SOCKETMO.OBJ: ..\SRC\SOCKETMO.C $(SOCKETMO_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c ..\SRC\SOCKETMO.C
$(PROJ).EXE:: MAIN.OBJ GETOPT.OBJ SELECTMO.OBJ SOCKETMO.OBJ $(OBJS_EXT) $(DEFFILE)
echo >NUL @<<$(PROJ).CRF
MAIN.OBJ +
GETOPT.OBJ +
SELECTMO.OBJ +
SOCKETMO.OBJ +
$(OBJS_EXT)
$(PROJ).EXE
$(MAPFILE)
c:\msvc\lib\+
c:\msvc\mfc\lib\+
$(LIBS)
$(DEFFILE);
<<
link $(LFLAGS) @$(PROJ).CRF
$(RC) $(RESFLAGS) $@
run: $(PROJ).EXE
$(PROJ) $(RUNFLAGS)
$(PROJ).BSC: $(SBRS)
bscmake @<<
/o$@ $(SBRS)
<<
|