Fixed out of source dir build
[wmaker-crm.git] / wrlib / get-wraster-flags.in
bloba8cdd1aedf6f7844adb20288290f4c58d144180a
1 #!/bin/sh
3 WCFLAGS="${inc_search_path}"
4 WLFLAGS="${lib_search_path}"
5 WLIBS="-lwraster ${GFXLIBS} ${XLIBS} -lm"
7 usage="Usage: get-wraster-flags [--cflags] [--ldflags] [--libs]"
9 if test $# -eq 0; then
10 echo "${usage}" 1>&2
11 exit 1
14 while test $# -gt 0; do
15 case $1 in
16 --cflags)
17 echo $WCFLAGS
19 --ldflags|--lflags)
20 echo $WLFLAGS
22 --libs)
23 echo $WLIBS
26 echo "${usage}" 1>&2
27 exit 1
29 esac
30 shift
31 done