repo.or.cz
/
wmaker-crm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed compiler warnings in dock.c
[wmaker-crm.git]
/
WINGs
/
get-wings-flags.in
blob
a32569ee542bc50992b0b1d5f4c6a6b68d26949c
1
#!/bin/sh
2
3
WCFLAGS
=
"
${inc_search_path}
"
4
WLFLAGS
=
"
${lib_search_path}
"
5
WLIBS
=
"-lWINGs -lWUtil -lwraster
${GFXLIBS} ${XFTLIBS} ${XLIBS} -lm ${INTLIBS}
"
6
7
usage
=
"Usage: get-wings-flags [--cflags] [--ldflags] [--libs]"
8
9
if
test
$#
-eq
0
;
then
10
echo
"
${usage}
"
1
>&
2
11
exit
1
12
fi
13
14
while
test
$#
-gt
0
;
do
15
case
$1
in
16
--cflags
)
17
echo
$WCFLAGS
18
;;
19
--ldflags
|
--lflags
)
20
echo
$WLFLAGS
21
;;
22
--libs
)
23
echo
$WLIBS
24
;;
25
*)
26
echo
"
${usage}
"
1
>&
2
27
exit
1
28
;;
29
esac
30
shift
31
done