OS/2 EMX build updates for recent CVS changes
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>
Wed, 19 Feb 2003 12:42:36 +0000 (12:42 +0000)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>
Wed, 19 Feb 2003 12:42:36 +0000 (12:42 +0000)
PC/os2emx/Makefile
PC/os2emx/python23.def

index 3bf4fc27921c0d6ff64cdbf626f9f857959e2e7e..10dc9bd629ed376cbd9ec3360d318d6ed8677510 100644 (file)
@@ -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)
 
index 0acaea08cdecdc9327842a2cd67c556ef4a3bebe..f6c507a3313f97127dd2c5477413e045c4a18e0a 100644 (file)
@@ -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"