#!/bin/sh

prefix="/usr"
exec_prefix=$prefix

SCFLAGS="-I$prefix/include   -I/usr/X11R6/include   -DDRIVER_ESD  -I/usr/include"
SLFLAGS="-L$exec_prefix/lib   -L/usr/lib64 -L/X11R6/lib -L/usr/lib64"
SLIBS="-lwsound -lWUtil -lX11   -lesd -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


