PageRenderTime 24ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/rel-1-3-25/SWIG/Examples/php4/Makefile.php

#
PHP | 30 lines | 23 code | 5 blank | 2 comment | 3 complexity | 121da8d55f24304b6d1a0539a26480d6 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. CRUD=acinclude.m4 aclocal.m4 config.cache config.h config.h.in config.log \
  2. config.m4 config.nice config.status config.sub configure configure.in \
  3. config_vars.mk config.guess CREDITS dynlib.m4 *.so *.lo *.o *.slo \
  4. install-sh libs.mk libtool ltmain.sh Makefile Makefile.in missing \
  5. mkinstalldirs php_example.h php_example.la *_wrap.c* example.php \
  6. build modules .deps .libs conftest conftest.c
  7. all: check
  8. check: BUILD.sh
  9. ./BUILD.sh
  10. # SWIG=$(SWIG) ./BUILD.sh
  11. # This one is fun! How do we know what shouldn't be there?
  12. clean:
  13. rm -fr $(CRUD)
  14. BUILD.sh:
  15. echo "-------------------------------------------------"
  16. echo `pwd`"/BUILD.sh missing!"
  17. echo "I need BUILD.sh file to show me how to invoke swig"
  18. echo "It usually looks like this:"
  19. echo
  20. echo "swig -php -phpfull -c++ <extra options> example.i"
  21. echo "# and then the rest is always the same..."
  22. echo "phpize && ./configure && make && make install"
  23. echo
  24. echo
  25. exit 1