// -*- MPC -*- project { Define_Custom(SWIG) { command = swig commandflags = -php -c++ inputext = .swg, .swig, .i source_outputext = _wrap.cpp header_pre_filename = php_ header_outputext = .h generic_outputext = .php } requires += swig_php includes += $(PHP_INCLUDE)/. $(PHP_INCLUDE)/main $(PHP_INCLUDE)/Zend \ $(PHP_INCLUDE)/TSRM libpaths += $(PHP_LIBPATH)/. }