summaryrefslogtreecommitdiff
path: root/ACE/MPC/config/swig_php.mpb
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2010-02-24 20:20:21 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2010-02-24 20:20:21 +0000
commit035b47c1a6985e2b884182ab0f3bb1afa714a48f (patch)
tree48d75721f242b7a0eb4398a65b672a152bdaa37f /ACE/MPC/config/swig_php.mpb
parenta3894e5127aa8cf1892e717ab30f02e053cdb482 (diff)
downloadATCD-ACE+TAO+CIAO-5_7_6_NGC_Patches.tar.gz
Diffstat (limited to 'ACE/MPC/config/swig_php.mpb')
-rw-r--r--ACE/MPC/config/swig_php.mpb19
1 files changed, 19 insertions, 0 deletions
diff --git a/ACE/MPC/config/swig_php.mpb b/ACE/MPC/config/swig_php.mpb
new file mode 100644
index 00000000000..f97e700dbdd
--- /dev/null
+++ b/ACE/MPC/config/swig_php.mpb
@@ -0,0 +1,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)/.
+}