#!/bin/csh
swig -c++ -perl mpfc.i
./cn mpfc_wrap.cxx
mv mpfc.pm x;cat x | sed 's/mpfc/mpfc_perl/' > mpfc.pm
/bin/rm -f x
mv mpfc_wrap.cxx mpfc_wrap.cpp1

swig -DMSW -c++ -perl mpfc.i
./cn mpfc_wrap.cxx
mv mpfc.pm x;cat x | sed 's/mpfc/mpfc_perl/' > mpfc.pm
/bin/rm -f x
mv mpfc_wrap.cxx mpfc_wrap.cpp2

echo Please copy mpfc_wrap.cpp1 to ../mpfc_wrap.cpp1
echo Please copy mpfc_wrap.cpp2 to ../mpfc_wrap.cpp2
echo Please copy mpfc.pm to ../mpfc.pm
