Tue Oct 29 10:41:11 UTC 2013 Johnny Willemsen <jwillemsen@remedy.nl>
[MPC.git] / config / swig_php.mpb
blobbb727d2714e03d5ff4ee8b156a8f1712ba56f236
1 // -*- MPC -*-
2 // $Id$
4 project {
5   Define_Custom(SWIG) {
6     command             = swig
7     commandflags        = -php -c++
8     inputext            = .swg, .swig, .i
9     source_outputext    = _wrap.cpp
10     header_pre_filename = php_
11     header_outputext    = .h
12     generic_outputext   = .php
13   }
14   requires += swig_php
15   includes += $(PHP_INCLUDE)/. $(PHP_INCLUDE)/main $(PHP_INCLUDE)/Zend \
16               $(PHP_INCLUDE)/TSRM
17   libpaths += $(PHP_LIBPATH)/.