// -*- MPC -*-
// $Id: swig_perl.mpb 1127 2007-01-18 14:27:03Z elliott_c $

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(bds4, bmake, nmake, vc6, vc7, vc71, vc8) {
    lit_libs += $(PERL5_LIB)
  }
}
