#!/bin/sh

prefix="/usr/local"
exec_prefix=$prefix

SCFLAGS="-I$prefix/include   -I/usr/X11R6/include -I/usr/local/include  -I/usr/local/include -DDRIVER_VOXWARE" 
SLFLAGS="-L$exec_prefix/lib   -L/usr/X11R6/lib -L/usr/local/lib"
SLIBS="-lwsound -lX11  -lPropList -L/usr/local/lib -laudiofile -lm "

usage="Usage: get-wsound-flags [--cflags] [--ldflags] [--libs]"

if test $# -eq 0; then
      echo "${usage}" 1>&2
      exit 1
fi

while test $# -gt 0; do
  case $1 in
    --cflags)
	echo $SCFLAGS
        ;;
    --ldflags|--lflags)
	echo $SLFLAGS
        ;;
    --libs)
	echo $SLIBS
        ;;
    *)
    	echo "${usage}" 1>&2
    	exit 1
      	;;
  esac
  shift
done


