summaryrefslogtreecommitdiffstats
path: root/Mac/MPW/Makefile
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-20 23:42:10 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-20 23:42:10 (GMT)
commit156380e382daf03aeec37a3736da24b8e7473ae9 (patch)
tree5fcdb9154c4f71691fb296462e9733938330fbdf /Mac/MPW/Makefile
parentbcf3b56ea7c1c3ec3577d9f473d2a94a1e8db91b (diff)
downloadcpython-156380e382daf03aeec37a3736da24b8e7473ae9.zip
cpython-156380e382daf03aeec37a3736da24b8e7473ae9.tar.gz
cpython-156380e382daf03aeec37a3736da24b8e7473ae9.tar.bz2
added shared library glue
Diffstat (limited to 'Mac/MPW/Makefile')
-rw-r--r--Mac/MPW/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Mac/MPW/Makefile b/Mac/MPW/Makefile
index 29d6b22..76da601 100644
--- a/Mac/MPW/Makefile
+++ b/Mac/MPW/Makefile
@@ -11,7 +11,7 @@
Top = :::
CC = SC
CFlagsNoInclude = -woff -e -model cfmseg -b ¶
- -d HAVE_CONFIG_H=1 -d MPW=1
+ -d HAVE_CONFIG_H=1 -d MPW=1 -d USE_MAC_SHARED_LIBRARY=1
PythonIncludes = -i "{Top}"Mac: -i "{Top}"Include:
MacIncludes = -i "{CIncludes}"
CFlagsMac = {CFlagsNoInclude} {MacIncludes} {PythonIncludes}
@@ -39,6 +39,7 @@ ALL = ¶
"{Objs}"errors.c.o ¶
"{Objs}"fileobject.c.o ¶
"{Objs}"floatobject.c.o ¶
+# "{Objs}"fmod.c.o ¶
"{Objs}"frameobject.c.o ¶
"{Objs}"funcobject.c.o ¶
"{Objs}"gestaltmodule.c.o ¶
@@ -63,6 +64,7 @@ ALL = ¶
"{Objs}"macmodule.c.o ¶
"{Objs}"macosmodule.c.o ¶
"{Objs}"macsetfiletype.c.o ¶
+ "{Objs}"macshlglue.c.o ¶
"{Objs}"macstat.c.o ¶
"{Objs}"mappingobject.c.o ¶
"{Objs}"marshal.c.o ¶
@@ -137,7 +139,6 @@ clean Ä
Delete -i "{Objs}"Å.o
Delete -i PythonLib PythonApplet xxmodule
Delete -i stdout stderr
- Delete -i @Å
Delete -i Å.pyc
# Delete everything that can be reconstructed
@@ -179,6 +180,7 @@ PythonLib.slb Ä {ALL}
-o PythonLib ¶
-xm s ¶
-model cfmseg ¶
+ -init __SINIT ¶
-export {Exports} ¶
"{CLibraries}"NuStdCLib.slb ¶
"{Libraries}"NuInterfaceLib.slb ¶
@@ -303,6 +305,9 @@ xxmodule.slb Ä PythonLib.slb "{Objs}"xxmodule.c.o
"{Objs}"macstat.c.o Ä "{Top}"Mac:macstat.c
{CC} "{Top}"Mac:macstat.c -o "{Objs}"macstat.c.o -s macstat.c {CFlags}
+"{Objs}"macshlglue.c.o Ä "{Top}"Mac:macshlglue.c
+ {CC} "{Top}"Mac:macshlglue.c -o "{Objs}"macshlglue.c.o -s macshlglue.c {CFlags}
+
"{Objs}"marshal.c.o Ä "{Top}"Python:marshal.c
{CC} "{Top}"Python:marshal.c -o "{Objs}"marshal.c.o -s marshal.c {CFlags}
@@ -503,3 +508,6 @@ xxmodule.slb Ä PythonLib.slb "{Objs}"xxmodule.c.o
"{Objs}"strtod.c.o Ä "{Top}"Python:strtod.c
{CC} "{Top}"Python:strtod.c -o "{Objs}"strtod.c.o -s strtod.c {CFlags}
+
+"{Objs}"fmod.c.o Ä "{Top}"Python:fmod.c
+ {CC} "{Top}"Python:fmod.c -o "{Objs}"fmod.c.o -s fmod.c {CFlags}