summaryrefslogtreecommitdiffstats
path: root/Demo/extend/make_static
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-19 23:14:13 (GMT)
committerGuido van Rossum <guido@python.org>1997-07-19 23:14:13 (GMT)
commit661aebcbde12a6138e6b0d0ef63fa3645dcb5ee4 (patch)
treedf8003cdd6867632cdec3f2d585e576bdd3a19b5 /Demo/extend/make_static
parenta955967a5b7cefef5ee0d633b267c1ec1359992d (diff)
downloadcpython-661aebcbde12a6138e6b0d0ef63fa3645dcb5ee4.zip
cpython-661aebcbde12a6138e6b0d0ef63fa3645dcb5ee4.tar.gz
cpython-661aebcbde12a6138e6b0d0ef63fa3645dcb5ee4.tar.bz2
New test for generic Makefile.pre.in
Diffstat (limited to 'Demo/extend/make_static')
-rwxr-xr-xDemo/extend/make_static15
1 files changed, 15 insertions, 0 deletions
diff --git a/Demo/extend/make_static b/Demo/extend/make_static
new file mode 100755
index 0000000..cfa48fe
--- /dev/null
+++ b/Demo/extend/make_static
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+# This script tests and demonstrates the mechanism for building a
+# static Python binary with an additional extension module using the
+# generic Makefile.pre.in from the Misc directory.
+
+./make_clean
+
+cp ../../Misc/Makefile.pre.in .
+cp ../../Modules/xxmodule.c .
+echo xx xxmodule.c >Setup.in
+
+make -f Makefile.pre.in boot
+make Makefile
+make static