summaryrefslogtreecommitdiff
path: root/ACE/MPC/config/swig_perl.mpb
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/MPC/config/swig_perl.mpb')
-rw-r--r--ACE/MPC/config/swig_perl.mpb19
1 files changed, 19 insertions, 0 deletions
diff --git a/ACE/MPC/config/swig_perl.mpb b/ACE/MPC/config/swig_perl.mpb
new file mode 100644
index 00000000000..e3d655b6bd2
--- /dev/null
+++ b/ACE/MPC/config/swig_perl.mpb
@@ -0,0 +1,19 @@
+// -*- MPC -*-
+// $Id$
+
+project {
+ Define_Custom(SWIG) {
+ automatic = 1
+ command = swig
+ commandflags = -perl -c++
+ inputext = .swg, .swig, .i
+ source_outputext = _wrap.cxx
+ generic_outputext = .pm
+ }
+ requires += swig_perl
+ includes += $(PERL5_INCLUDE)/.
+ libpaths += $(PERL5_INCLUDE)/.
+ specific(prop:windows) {
+ lit_libs += $(PERL5_LIB)
+ }
+}