-
Notifications
You must be signed in to change notification settings - Fork 0
/
membox-config
executable file
·44 lines (36 loc) · 982 Bytes
/
membox-config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh
usage()
{
echo "usage: $0 [--cflags] [--libs] [--version]"
exit 0
}
cflags=no
libs=no
version=no
test "$1" || usage
while test "$1"; do
case "$1" in
--cflags )
cflags=yes
;;
--libs )
libs=yes
;;
--version )
version=yes
;;
* )
usage
;;
esac
shift
done
test "$cflags" = yes && cat << FOO
-I/home/emanus/testing/membox/build/include/kannel -I/home/emanus/testing/membox/build/include/membox -g -O0 -I/home/emanus/project/kannel/include/kannel -g -O0 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -I/home/emanus/project/amgx/include
FOO
test "$libs" = yes && cat << FOO
-L/home/emanus/testing/membox/build/lib/kannel -lgw -lwap -lgwlib -L/home/emanus/project/kannel/lib/kannel -lgw -lwap -lgwlib -lssl -lrt -lresolv -lnsl -lm -lpthread -lxml2 -L/usr/lib64 -lcrypto -lssl -L/home/emanus/project/amgx/lib -lamgxlib -lwritestatus -lboost_system
FOO
test "$version" = yes && cat << FOO
cvs-
FOO