-
Notifications
You must be signed in to change notification settings - Fork 0
/
chipcard-config.in.in
61 lines (59 loc) · 2.06 KB
/
chipcard-config.in.in
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# $Id: chipcard-client-config.in.in 217 2006-09-08 02:37:16Z martin $
# Author of this file: Martin Preuss<[email protected]>
result=""
for d in $*; do
case $d in
--includes)
result="$result `@PKG_CONFIG@ --cflags libchipcard-client`"
;;
--client-libs)
result="$result `@PKG_CONFIG@ --libs libchipcard-client`"
;;
--vmajor)
result="$result `@PKG_CONFIG@ --variable=vmajor libchipcard-client`"
;;
--vminor)
result="$result `@PKG_CONFIG@ --variable=vminor libchipcard-client`"
;;
--vpatchlevel)
result="$result `@PKG_CONFIG@ --variable=vpatchlevel libchipcard-client`"
;;
--vbuild)
result="$result `@PKG_CONFIG@ --variable=vbuild libchipcard-client`"
;;
--vtag)
result="$result `@PKG_CONFIG@ --variable=vtag libchipcard-client`"
;;
--vstring)
result="$result `@PKG_CONFIG@ --variable=vstring libchipcard-client`"
;;
--client-datadir)
result="$result `@PKG_CONFIG@ --variable=pkgdatadir libchipcard-client`"
;;
--server-datadir)
result="$result `@PKG_CONFIG@ --variable=pkgdatadir libchipcard-server`"
;;
--driverdir)
result="$result `@PKG_CONFIG@ --variable=driverdir libchipcard-server`"
;;
--servicedir)
result="$result `@PKG_CONFIG@ --variable=servicedir libchipcard-server`"
;;
*)
echo "Usage:"
echo "$0 --includes gives you the include flags"
echo "$0 --client-libs gives the client library flags"
echo "$0 --vmajor gives the major version of LibChipcard"
echo "$0 --vminor gives the minor version of LibChipcard"
echo "$0 --vpatchlevel gives the patchlevel of LibChipcard"
echo "$0 --vbuild gives the build number of LibChipcard"
echo "$0 --vtag gives the tag of LibChipcard (cvs, beta or stable)"
echo "$0 --vstring returns a version string"
echo "$0 --client-datadir returns the data folder of the client"
echo "$0 --server-datadir returns the data folder of the server"
echo "$0 --driverdir returns the folder which contains drivers"
exit 1
;;
esac
done
echo $result