summaryrefslogtreecommitdiff
path: root/config/swig_php.mpb
blob: b1a7e17409cd77a594dc40231b120f951a7f5eb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// -*- 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)/.
}