@@ -65,8 +65,7 @@ MKMF_SRCS = $(PY_MODULES)\*.c $(PY_OBJECTS)\*.c $(PY_PARSER)\*.c $(PY_PYTHON)\*.
6565
6666# .HDRPATH.c := $(PROJINCLUDE,;= ) $(.HDRPATH.c)
6767# .PATH.c = .;$(PY_MODULES);$(PY_OBJECTS);$(PY_PARSER);$(PY_PYTHON)
68- OTHERLIBS = $(OS2TCPIP ) \lib\so32dll.lib $(OS2TCPIP ) \lib\tcp32dll.lib \
69- $(TCLTK ) \Lib\Tcl76.lib $(TCLTK ) \Lib\Tk42.lib
68+ OTHERLIBS = so32dll.lib tcp32dll.lib # Tcl76.lib Tk42.lib
7069
7170# ################
7271# Inference Rules
@@ -121,7 +120,14 @@ PYTHON = \
121120 $(PATHOBJ ) \SysModule.obj \
122121 $(PATHOBJ ) \Thread.obj \
123122 $(PATHOBJ ) \TraceBack.obj \
124- $(PATHOBJ ) \FrozenMain.obj
123+ $(PATHOBJ ) \FrozenMain.obj \
124+ $(PATHOBJ ) \exceptions.obj \
125+ $(PATHOBJ ) \symtable.obj \
126+ $(PATHOBJ ) \codecs.obj \
127+ $(PATHOBJ ) \future.obj \
128+ $(PATHOBJ ) \dynload_os2.obj \
129+ $(PATHOBJ ) \mysnprintf.obj \
130+ $(PATHOBJ ) \iterobject.obj
125131
126132# Python's Internal Parser
127133PARSER = \
@@ -154,7 +160,13 @@ OBJECTS = \
154160 $(PATHOBJ ) \SliceObject.obj \
155161 $(PATHOBJ ) \StringObject.obj \
156162 $(PATHOBJ ) \TupleObject.obj \
157- $(PATHOBJ ) \TypeObject.obj
163+ $(PATHOBJ ) \TypeObject.obj \
164+ $(PATHOBJ ) \unicodeobject.obj \
165+ $(PATHOBJ ) \unicodectype.obj \
166+ $(PATHOBJ ) \cellobject.obj \
167+ $(PATHOBJ ) \descrobject.obj \
168+ $(PATHOBJ ) \weakrefobject.obj \
169+ $(PATHOBJ ) \structseq.obj
158170
159171# Extension Modules (Built-In or as Separate DLLs)
160172MODULES = \
@@ -181,12 +193,13 @@ MODULES = \
181193 $(PATHOBJ ) \SelectModule.obj \
182194 $(PATHOBJ ) \SignalModule.obj \
183195 $(PATHOBJ ) \SocketModule.obj \
184- $(PATHOBJ ) \SoundEx.obj \
185196 $(PATHOBJ ) \StropModule.obj \
186197 $(PATHOBJ ) \StructModule.obj \
187198 $(PATHOBJ ) \TimeModule.obj \
188199 $(PATHOBJ ) \ThreadModule.obj \
189- $(PATHOBJ ) \YUVConvert.obj
200+ $(PATHOBJ ) \YUVConvert.obj \
201+ $(PATHOBJ ) \bufferobject.obj \
202+ $(PATHOBJ ) \gcmodule.obj
190203
191204# Standalone Parser Generator Program (Shares Some of Python's Modules)
192205PGEN = \
@@ -211,7 +224,7 @@ _GEN = /G4 /Gm /Gd-
211224 # /Gm = Use Multithread Runtime
212225 # /Gd = Dynamically Load Runtime
213226 # /Ms = Use _System Calling Convention (vs _Optlink)
214- # (to allow non-VAC++ code to call into Python15 .dll)
227+ # (to allow non-VAC++ code to call into Python22 .dll)
215228
216229_OPT = /O /Gl
217230 # /O = Enable Speed-Optimizations
@@ -246,8 +259,8 @@ CFLAGS = $(_BASE) $(_GEN) $(_OPT) $(_DBG) $(_OUT) $(_EXE) /Ss
246259# ##################
247260# Primary Target(s)
248261# ##################
249- All : obj noise PyCore.lib Python15 .lib PGen.exe \
250- Python.exe PythonPM.exe Python15 .dll _tkinter.dll
262+ All : obj noise PyCore.lib Python22 .lib PGen.exe \
263+ Python.exe PythonPM.exe Python22 .dll # _tkinter.dll
251264
252265Modules : $(MODULES )
253266Objects : $(OBJECTS )
@@ -267,43 +280,43 @@ noise:
267280# #############
268281
269282# Python Extension DLL: Tcl/Tk Interface
270- _tkinter.dll : $(PATHOBJ ) \_tkinter.obj Python15 .lib _tkinter.def
271- @ Echo Linking $@ As DLL
272- @ $(CC ) $(CFLAGS ) /B" /NOE" $(_DLL ) /Fe$@ $(_MAP ) $* * $(OTHERLIBS ) >> $(ERRS )
283+ # _tkinter.dll: $(PATHOBJ)\_tkinter.obj Python22 .lib _tkinter.def
284+ # @ Echo Linking $@ As DLL
285+ # @ $(CC) $(CFLAGS) /B"/NOE" $(_DLL) /Fe$@ $(_MAP) $** $(OTHERLIBS) >>$(ERRS)
273286
274- $(PATHOBJ ) \_tkinter.obj : $(PY_MODULES ) \_tkinter.c
275- @ Echo Compiling $* *
276- @ $(CC ) -c $(CFLAGS ) $(_DLL ) -Fo$@ $* * >> $(ERRS )
287+ # $(PATHOBJ)\_tkinter.obj: $(PY_MODULES)\_tkinter.c
288+ # @ Echo Compiling $**
289+ # @ $(CC) -c $(CFLAGS) $(_DLL) -Fo$@ $** >>$(ERRS)
277290
278291# Object Library of All Essential Python Routines
279292PyCore.lib : $(MODULES ) $(OBJECTS ) $(PARSER ) $(PYTHON ) $(PATHOBJ ) \Config.obj
280293 @ Echo Adding Updated Object Files to Link Library $@
281294 @ ! ILIB $@ /NOLOGO /NOBACKUP -+$? ; >> $(ERRS )
282295
283- Python15 .dll : $(PATHOBJ ) \Compile.obj PyCore.lib Python.def
296+ Python22 .dll : $(PATHOBJ ) \Compile.obj PyCore.lib Python.def
284297 @ Echo Linking $@ As DLL
285298 @ $(CC ) $(CFLAGS ) /B" /NOE" $(_DLL ) /Fe$@ $(_MAP ) $* * $(OTHERLIBS ) >> $(ERRS )
286- @ Echo Compressing $@ with LxLite
287- @ lxlite $@
299+ # @ Echo Compressing $@ with LxLite
300+ # @ lxlite $@
288301
289302# IBM Linker Requires One Explicit .OBJ To Build a .DLL from a .LIB
290303$(PATHOBJ ) \Compile.obj : $(PY_PYTHON ) \Compile.c
291304 @ Echo Compiling $* *
292305 @ $(CC ) -c $(CFLAGS ) $(_DLL ) -Fo$@ $* * >> $(ERRS )
293306
294- # Import Library for Using the Python15 .dll
295- Python15 .lib : Python.def
307+ # Import Library for Using the Python22 .dll
308+ Python22 .lib : Python.def
296309 @ Echo Making $@
297310 @ IMPLIB /NOLOGO /NOIGNORE $@ $* * >> $(ERRS )
298311 @ ILIB /NOLOGO /CONVFORMAT /NOEXTDICTIONARY /NOBROWSE /NOBACKUP $@ ; >> $(ERRS )
299312
300- # Small Command-Line Program to Start Interpreter in Python15 .dll
301- Python.exe : $(PATHOBJ ) \Python.obj Python15 .lib
313+ # Small Command-Line Program to Start Interpreter in Python22 .dll
314+ Python.exe : $(PATHOBJ ) \Python.obj Python22 .lib
302315 @ Echo Linking $@ As EXE
303316 @ $(CC ) $(CFLAGS ) $(_EXE ) /B" /PM:VIO /STACK:360000" /Fe$@ $(_MAP ) $* * $(OTHERLIBS ) >> $(ERRS )
304317
305- # Small PM-GUI Program to Start Interpreter in Python15 .dll
306- PythonPM.exe : $(PATHOBJ ) \Python.obj Python15 .lib
318+ # Small PM-GUI Program to Start Interpreter in Python22 .dll
319+ PythonPM.exe : $(PATHOBJ ) \Python.obj Python22 .lib
307320 @ Echo Linking $@ As EXE
308321 @ $(CC ) $(CFLAGS ) $(_EXE ) /B" /PM:PM /STACK:360000" /Fe$@ $(_MAP ) $* * $(OTHERLIBS ) >> $(ERRS )
309322
@@ -323,13 +336,13 @@ clean:
323336
324337# Remove All Targets, Including Final Binaries
325338distclean : clean
326- -- Del /Q PyCore.lib Python15 .lib >NUL 2>&1
327- -- Del /Q Python15 .dll Python.exe PGen.exe >NUL 2>&1
339+ -- Del /Q PyCore.lib Python22 .lib >NUL 2>&1
340+ -- Del /Q Python22 .dll Python.exe PGen.exe >NUL 2>&1
328341
329- release : Python.exe Python15 .dll Python15 .lib
342+ release : Python.exe Python22 .dll Python22 .lib
330343 -- @Echo Y | copy /U Python.exe D:\E XEs
331- -- @Echo Y | copy /U Python15 .dll D:\D LLs
332- -- @Echo Y | copy /U Python15 .lib E:\T au\L ib
344+ -- @Echo Y | copy /U Python22 .dll D:\D LLs
345+ -- @Echo Y | copy /U Python22 .lib E:\T au\L ib
333346 -- @Echo Y | copy /U _tkinter.dll D:\P ython
334347
335348test :
0 commit comments