From 4f28c4da36968ee006b46949f96ac48eeec91273 Mon Sep 17 00:00:00 2001 From: Andrew MacIntyre Date: Wed, 19 Feb 2003 12:42:36 +0000 Subject: [PATCH] OS/2 EMX build updates for recent CVS changes --- PC/os2emx/Makefile | 8 ++++++++ PC/os2emx/python23.def | 9 +++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/PC/os2emx/Makefile b/PC/os2emx/Makefile index 3bf4fc27921..10dc9bd629e 100644 --- a/PC/os2emx/Makefile +++ b/PC/os2emx/Makefile @@ -393,6 +393,7 @@ HARDEXTMODULES= binascii \ cStringI \ _hotshot \ imageop \ + itertool \ md5 \ operator \ pcre \ @@ -531,6 +532,13 @@ _hotshot$(MODULE.EXT): $(OUT)_hotshot$O $(OUT)_hotshot_m.def $(PYTHON.IMPLIB) imageop$(MODULE.EXT): $(OUT)imageop$O $(OUT)imageop_m.def $(PYTHON.IMPLIB) $(LD) $(LDFLAGS.DLL) -o $@ $(^^) $(L^) $(LIBS) +# itertools needs to be renamed to be useful +itertools$(MODULE.EXT): $(OUT)itertoolsmodule$O $(OUT)itertools_m.def $(PYTHON.IMPLIB) + $(LD) $(LDFLAGS.DLL) -o $@ $(^^) $(L^) $(LIBS) + +itertool$(MODULE.EXT): itertools$(MODULE.EXT) + cp $^ $@ + md5$(MODULE.EXT): $(OUT)md5module$O $(OUT)md5c$O $(OUT)md5_m.def $(PYTHON.IMPLIB) $(LD) $(LDFLAGS.DLL) -o $@ $(^^) $(L^) $(LIBS) diff --git a/PC/os2emx/python23.def b/PC/os2emx/python23.def index 0acaea08cde..f6c507a3313 100644 --- a/PC/os2emx/python23.def +++ b/PC/os2emx/python23.def @@ -298,6 +298,7 @@ EXPORTS "PyFunction_New" "PyFunction_GetCode" "PyFunction_GetGlobals" + "PyFunction_GetModule" "PyFunction_GetDefaults" "PyFunction_SetDefaults" "PyFunction_GetClosure" @@ -347,6 +348,8 @@ EXPORTS "PyLong_FromDouble" "PyLong_AsLong" "PyLong_AsUnsignedLong" + "_PyLong_Sign" + "_PyLong_NumBits" "_PyLong_FromByteArray" "_PyLong_AsByteArray" "_PyLong_AsScaledDouble" @@ -362,7 +365,7 @@ EXPORTS "PyLong_Type" ; From python23_s.lib(methodobject) - "PyCFunction_New" + "PyCFunction_NewEx" "PyCFunction_GetFunction" "PyCFunction_GetSelf" "PyCFunction_GetFlags" @@ -370,6 +373,7 @@ EXPORTS "Py_FindMethodInChain" "Py_FindMethod" "PyCFunction_Fini" + "PyCFunction_New" "PyCFunction_Type" ; From python23_s.lib(moduleobject) @@ -387,9 +391,9 @@ EXPORTS "_PyObject_New" "_PyObject_NewVar" "_PyObject_Del" - "PyObject_Print" "PyObject_Str" "PyObject_Repr" + "PyObject_Print" "_PyObject_Dump" "PyObject_Unicode" "PyObject_GetAttr" @@ -666,6 +670,7 @@ EXPORTS "_PyExc_Fini" ; From python23_s.lib(ceval) + "PyEval_GetCallStats" "PyEval_InitThreads" "PyEval_AcquireLock" "PyEval_ReleaseLock"