// -*- MPC -*-
// $Id: swig_php.mpb 1754 2010-04-24 23:41:07Z elliott_c $

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)/.
}
