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
|
#!/bin/sh
prefix="@prefix@"
exec_prefix="@exec_prefix@"
libdir="@libdir@"
CFLAGS=""
CPPFLAGS="-I@includedir@"
CXXFLAGS=""
OBJCFLAGS="@GNU_RUNTIME@ -fexceptions -fobjc-exceptions"
OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstString"
OBJCFLAGS="$OBJCFLAGS @NO_CONST_CFSTRINGS@ @NO_WARN_UNUSED@ @ATOMIC_OBJCFLAGS@"
LDFLAGS=""
LDFLAGS_RPATH="@LDFLAGS_RPATH@"
LIBS="-L${libdir} -lobjfw @LIBS@"
VERSION="0.3-dev"
show_help() {
echo "$0: Available arguments are:"
echo
echo " --all Outputs all flags + libs"
echo " --cflags Outputs the required CFLAGS"
echo " --cppflags Outputs the required CPPFLAGS"
echo " --cxxflags Outputs the required CXXFLAGS"
echo " --objcflags Outputs the required OBJCFLAGS"
echo " --ldflags Outputs the required LDFLAGS"
echo " --rpath Outputs LDFLAGS for using rpath"
echo " --libs Outputs the required LIBS"
echo " --version Outputs the installed version"
echo
exit 0
|
>
>
|
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
|
#!/bin/sh
prefix="@prefix@"
exec_prefix="@exec_prefix@"
libdir="@libdir@"
CFLAGS=""
CPPFLAGS="-I@includedir@"
CXXFLAGS=""
OBJC="@OBJC@"
OBJCFLAGS="@GNU_RUNTIME@ -fexceptions -fobjc-exceptions"
OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstString"
OBJCFLAGS="$OBJCFLAGS @NO_CONST_CFSTRINGS@ @NO_WARN_UNUSED@ @ATOMIC_OBJCFLAGS@"
LDFLAGS=""
LDFLAGS_RPATH="@LDFLAGS_RPATH@"
LIBS="-L${libdir} -lobjfw @LIBS@"
VERSION="0.3-dev"
show_help() {
echo "$0: Available arguments are:"
echo
echo " --all Outputs all flags + libs"
echo " --cflags Outputs the required CFLAGS"
echo " --cppflags Outputs the required CPPFLAGS"
echo " --cxxflags Outputs the required CXXFLAGS"
echo " --objc Outputs the OBJC used to compile ObjFW"
echo " --objcflags Outputs the required OBJCFLAGS"
echo " --ldflags Outputs the required LDFLAGS"
echo " --rpath Outputs LDFLAGS for using rpath"
echo " --libs Outputs the required LIBS"
echo " --version Outputs the installed version"
echo
exit 0
|
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
;;
--cppflags)
echo "$CPPFLAGS"
;;
--cxxflags)
echo "$CXXFLAGS"
;;
--objcflags)
echo "$OBJCFLAGS"
;;
--libs)
echo "$LIBS"
;;
--ldflags)
|
>
>
>
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
;;
--cppflags)
echo "$CPPFLAGS"
;;
--cxxflags)
echo "$CXXFLAGS"
;;
--objc)
echo "$OBJC"
;;
--objcflags)
echo "$OBJCFLAGS"
;;
--libs)
echo "$LIBS"
;;
--ldflags)
|