# This script will install VinGraph onto QNX 6.5
# cd to this directory and run install
#
# to view documentation type
# firefox DOC/vingraph/index.html
# or put it into your shelf (unfortunately, this can only be made
# manually)

path=`pwd`

# make new compile (needed for QNX other than 6.5)
#cd SRC
#. ./makevg
#. ./makelib
#cd ..
#cc -o rundemo rundemo.cpp

ln -sf $path/vg /bin/vg
ln -sf $path/libvg.a $QNX_TARGET/x86/lib
ln -sf $path/SRC/vingraph.h $QNX_TARGET/usr/include
ln -sf $path/rundemo /bin/rundemo

# re-compile demos
#cd DOC/vingraph/demos
#cc -O -o exenlarge.demo exenlarge.cpp -l vg
#cc -O -o exinput.demo exinput.cpp -l vg
#cc -O -o exmove.demo exmove.cpp -l vg
#cd $path


echo to view documentation type
echo firefox $path/DOC/vingraph/index.html
