summaryrefslogtreecommitdiffstats
path: root/Mac/MPW/buildall
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-08-29 08:58:39 (GMT)
committerGuido van Rossum <guido@python.org>1994-08-29 08:58:39 (GMT)
commit8ce65b4cde000e8648fdccf5371509c5953551d1 (patch)
treebfd665f065bbc88fc35e47ce0a409680f36fd516 /Mac/MPW/buildall
parent739267b7c34c0bdf934059804fde3f027e84bd0b (diff)
downloadcpython-8ce65b4cde000e8648fdccf5371509c5953551d1.zip
cpython-8ce65b4cde000e8648fdccf5371509c5953551d1.tar.gz
cpython-8ce65b4cde000e8648fdccf5371509c5953551d1.tar.bz2
README, Makfiles and `buildall' script to build Python under MPW 3.2.
Diffstat (limited to 'Mac/MPW/buildall')
-rw-r--r--Mac/MPW/buildall29
1 files changed, 29 insertions, 0 deletions
diff --git a/Mac/MPW/buildall b/Mac/MPW/buildall
new file mode 100644
index 0000000..5b1794a
--- /dev/null
+++ b/Mac/MPW/buildall
@@ -0,0 +1,29 @@
+Set Defines "-d MPW -d HAVE_CONFIG_H"
+Set Includes "-i :: -i ::Include -i ::Mac"
+Set SymOptions "-sym off"
+Set ModelOptions "-model far"
+Set OtherOptions "-warnings off"
+Set LinkOptions "{SymOptions} {ModelOptions}"
+Set COptions "{OtherOptions} {SymOptions} {ModelOptions} {Defines} {Includes}"
+# For compiling code resources; Restrictions apply
+Set ResCOptions "{SymOptions} -model near -b {Defines} {Includes} "
+
+Export ResCOptions
+Export COptions
+Export LinkOptions
+
+# modules with the source in a single sub directory
+Date
+Directory {Python}
+for MODULE in Parser Mac Modules Objects Python
+ Directory :{MODULE}:
+ Echo "### `Directory`: make {1}"
+ make {1} > makefile.out
+ makefile.out
+ Directory ::
+end
+
+Echo "### `Directory`: make {1}"
+make {1} > makefile.out
+makefile.out
+