diff options
-rw-r--r-- | Demo/extend/README | 16 | ||||
-rwxr-xr-x | Demo/extend/make_clean | 5 | ||||
-rwxr-xr-x | Demo/extend/make_shared | 16 | ||||
-rwxr-xr-x | Demo/extend/make_static | 15 |
4 files changed, 0 insertions, 52 deletions
diff --git a/Demo/extend/README b/Demo/extend/README deleted file mode 100644 index 26daf14..0000000 --- a/Demo/extend/README +++ /dev/null @@ -1,16 +0,0 @@ -This directory contains a test and demonstration of the power of the -generic Makefile.pre.in from the Misc directory. There are three -shell scripts. Study the source of the scripts to find out how they -work (it's really easy). - -./make_static Make a static python binary with the xx module - linked in. To test this, run ./python and try to - import xx. - -./make_shared Make a shared module xx. To test this, run the - standard python interpreter in this directory and try - to import xx. - -./make_clean Clean up after either of the above. Note that each - scripts starts by calling this script, to begin with a - clean slate. diff --git a/Demo/extend/make_clean b/Demo/extend/make_clean deleted file mode 100755 index 13203cd..0000000 --- a/Demo/extend/make_clean +++ /dev/null @@ -1,5 +0,0 @@ -#! /bin/sh - -# Reset the directory contents. - -rm -f Setup* Makefile* *.c *.o *.a *.so *~ python sedscript diff --git a/Demo/extend/make_shared b/Demo/extend/make_shared deleted file mode 100755 index b5fbe24..0000000 --- a/Demo/extend/make_shared +++ /dev/null @@ -1,16 +0,0 @@ -#! /bin/sh - -# This script tests and demonstrates the mechanism for building a -# shared library for 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 '*shared*' >Setup.in -echo xx xxmodule.c >>Setup.in - -make -f Makefile.pre.in boot -make Makefile -make diff --git a/Demo/extend/make_static b/Demo/extend/make_static deleted file mode 100755 index cfa48fe..0000000 --- a/Demo/extend/make_static +++ /dev/null @@ -1,15 +0,0 @@ -#! /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 |