summaryrefslogtreecommitdiff
path: root/ACE/MPC/config/swig_php.mpb
blob: f97e700dbdd509eb102fa4451fc0138827aa639b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// -*- MPC -*-
// $Id$

project {
  Define_Custom(SWIG) {
    automatic           = 1
    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)/.
}