| 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 | # shared library for 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 '*shared*' >Setup.in | ||||
| 12 | echo xx xxmodule.c >>Setup.in | ||||
| 13 | |||||
| 14 | make -f Makefile.pre.in boot | ||||
| 15 | make Makefile | ||||
| 16 | make | ||||