19 swig
-c++ -const -outdir lib
/WWW
-perl5 \
20 -I/usr
/include
$quvi_CFLAGS Quvi.i
26 quvi_CFLAGS
=`pkg-config --cflags libquvi`
27 quvi_LDFLAGS
=`pkg-config --libs libquvi`
29 perl_CFLAGS
=`perl -MExtUtils::Embed -e ccopts`
30 perl_LDFLAGS
=`perl -MExtUtils::Embed -e ldopts`
32 g
++ -g Quvi_wrap.cxx \
38 -fpic -shared -o Quvi.so \
39 $quvi_CFLAGS $quvi_LDFLAGS \
40 $perl_CFLAGS $perl_LDFLAGS
51 if [ x
"$swigity_flag" = "xon" ]; then
55 if [ x
"$build_flag" = "xon" ]; then
59 if [ x
"$clean_flag" = "xon" ]; then
64 usage: $0 [-s | -b | -c]
66 -s .. run swig against Quvi.i
67 -b .. build, compile a shared library from swig wrapper code
68 -c .. cleanup, remove the shared library created with -b
70 Most users will want to use the Makefile.PL instead.
71 This script was written to aid the development work."