ObjFW  Check-in [2fa4b3a692]

Overview
Comment:Add --objc to objfw-config.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 2fa4b3a692fdd21f51dfed85024e1b47c40945146223587a18194291560c077f
User & Date: js on 2010-04-17 17:03:40
Other Links: manifest | tags
Context
2010-04-17
17:37
Add --compile to objfw-config. check-in: 702c33d74b user: js tags: trunk
17:03
Add --objc to objfw-config. check-in: 2fa4b3a692 user: js tags: trunk
16:55
More consistency in names of file operations. check-in: 2eb2172a96 user: js tags: trunk
Changes

Modified objfw-config.in from [6c5e0d875b] to [b580d9b32d].

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)