Merge pull request #178 from DOCGroup/elliottc/more_databases
[MPC.git] / config / swig_php.mpb
blobb1a7e17409cd77a594dc40231b120f951a7f5eb0
1 // -*- MPC -*-
2 project {
3   Define_Custom(SWIG) {
4     command             = swig
5     commandflags        = -php -c++
6     inputext            = .swg, .swig, .i
7     source_outputext    = _wrap.cpp
8     header_pre_filename = php_
9     header_outputext    = .h
10     generic_outputext   = .php
11   }
12   requires += swig_php
13   includes += $(PHP_INCLUDE)/. $(PHP_INCLUDE)/main $(PHP_INCLUDE)/Zend \
14               $(PHP_INCLUDE)/TSRM
15   libpaths += $(PHP_LIBPATH)/.