#!/bin/sh

WCFLAGS="-I/usr/local/include  -I/usr/X11R6/include"
WLFLAGS="-L/usr/local/lib  -L/usr/X11R6/lib"
WLIBS="-lWINGs -lwraster -ltiff  -lpng -lz -ljpeg -lungif -L/usr/X11R6/lib -lXft -lXrender -lX11 -lXau -lXdmcp -lfontconfig -lexpat -lfreetype -lz -lX11  -lm  -lintl -liconv"

usage="Usage: get-wings-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 $WCFLAGS
        ;;
    --ldflags|--lflags)
	echo $WLFLAGS
        ;;
    --libs)
	echo $WLIBS
        ;;
    *)
    	echo "${usage}" 1>&2
    	exit 1
      	;;
  esac
  shift
done


