added shared library glue
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 @@
 	"{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 @@
 	"{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 @@
 	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 @@
 		-o PythonLib ¶
 		-xm s ¶
 		-model cfmseg ¶
+		-init __SINIT ¶
 		-export {Exports} ¶
 		"{CLibraries}"NuStdCLib.slb ¶
 		"{Libraries}"NuInterfaceLib.slb ¶
@@ -303,6 +305,9 @@
 "{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 @@
 
 "{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}