summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2003-02-19 12:42:36 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2003-02-19 12:42:36 (GMT)
commit4f28c4da36968ee006b46949f96ac48eeec91273 (patch)
tree94737d162baafc9a0f00acbc7a94d4fab44230d3 /PC
parentcef2f7cd186c43ca3eca8cfc3abd6a6931999740 (diff)
downloadcpython-4f28c4da36968ee006b46949f96ac48eeec91273.zip
cpython-4f28c4da36968ee006b46949f96ac48eeec91273.tar.gz
cpython-4f28c4da36968ee006b46949f96ac48eeec91273.tar.bz2
OS/2 EMX build updates for recent CVS changes
Diffstat (limited to 'PC')
-rw-r--r--PC/os2emx/Makefile8
-rw-r--r--PC/os2emx/python23.def9
2 files changed, 15 insertions, 2 deletions
diff --git a/PC/os2emx/Makefile b/PC/os2emx/Makefile
index 3bf4fc2..10dc9bd 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 0acaea0..f6c507a 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"