utils: Added a few missing attributes to local variables
[wmaker-crm.git] / WINGs / get-wings-flags.in
bloba32569ee542bc50992b0b1d5f4c6a6b68d26949c
1 #!/bin/sh
3 WCFLAGS="${inc_search_path}"
4 WLFLAGS="${lib_search_path}"
5 WLIBS="-lWINGs -lWUtil -lwraster ${GFXLIBS} ${XFTLIBS} ${XLIBS} -lm ${INTLIBS}"
7 usage="Usage: get-wings-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