Guido van Rossum | 661aebc | 1997-07-19 23:14:13 +0000 | [diff] [blame] | 1 | #! /bin/sh |
2 | |||||
3 | # This script tests and demonstrates the mechanism for building a | ||||
4 | # static Python binary with an additional extension module using the | ||||
5 | # generic Makefile.pre.in from the Misc directory. | ||||
6 | |||||
7 | ./make_clean | ||||
8 | |||||
9 | cp ../../Misc/Makefile.pre.in . | ||||
10 | cp ../../Modules/xxmodule.c . | ||||
11 | echo xx xxmodule.c >Setup.in | ||||
12 | |||||
13 | make -f Makefile.pre.in boot | ||||
14 | make Makefile | ||||
15 | make static |