Updated examples to function correctly with new php4 module. Added

some supplemental examples for cpointer, overloading and references using
proxies.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Kevin Ruland 2005-08-24 16:32:41 +00:00
commit 501bd53c4b
44 changed files with 506 additions and 131 deletions

View file

@ -1,30 +1,12 @@
CRUD=acinclude.m4 aclocal.m4 config.cache config.h config.h.in config.log \
config.m4 config.nice config.status config.sub configure configure.in \
config_vars.mk config.guess CREDITS dynlib.m4 *.so *.lo *.o *.slo \
install-sh libs.mk libtool ltmain.sh Makefile Makefile.in missing \
mkinstalldirs php_example.h php_example.la *_wrap.c* example.php \
build modules .deps .libs conftest conftest.c
CRUD=*.so *.o php_example.h *_wrap.c* example.php
all: check
check: BUILD.sh
check:
./BUILD.sh
# SWIG=$(SWIG) ./BUILD.sh
# This one is fun! How do we know what shouldn't be there?
clean:
rm -fr $(CRUD)
rm -f $(CRUD)
BUILD.sh:
echo "-------------------------------------------------"
echo `pwd`"/BUILD.sh missing!"
echo "I need BUILD.sh file to show me how to invoke swig"
echo "It usually looks like this:"
echo
echo "swig -php -phpfull -c++ <extra options> example.i"
echo "# and then the rest is always the same..."
echo "phpize && ./configure && make && make install"
echo
echo
exit 1