ObjFW  Check-in [12f95ec46a]

Overview
Comment:Add manpage for objfw-config
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 12f95ec46a1362a833a946e2c79712c31cbc4d90906f79030f162c40597eee4e
User & Date: js on 2024-08-31 09:28:32
Other Links: manifest | tags
Context
2024-08-31
20:34
Add manpage for objfw-compile check-in: d0db1d8814 user: js tags: trunk
09:28
Add manpage for objfw-config check-in: 12f95ec46a user: js tags: trunk
00:11
objfw-config: Don't reproduce flags from configure check-in: 538ceacc2f user: js tags: trunk
Changes

Modified utils/Makefile from [ba4530b9f8] to [d61df48258].

1
2
3
4
5
6
7


8
9
10
11
12
13
14
include ../extra.mk

SUBDIRS += ${OBJFW_NEW}		\
	   ${OFARC}		\
	   ${OFDNS}		\
	   ${OFHASH}		\
	   ${OFHTTP}



include ../buildsys.mk

DISTCLEAN = objfw-config

install-extra: objfw-config objfw-compile objfw-embed
	for i in objfw-config objfw-compile objfw-embed; do \







>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include ../extra.mk

SUBDIRS += ${OBJFW_NEW}		\
	   ${OFARC}		\
	   ${OFDNS}		\
	   ${OFHASH}		\
	   ${OFHTTP}

MAN = objfw-config.1

include ../buildsys.mk

DISTCLEAN = objfw-config

install-extra: objfw-config objfw-compile objfw-embed
	for i in objfw-config objfw-compile objfw-embed; do \

Added utils/objfw-config.1 version [05eb6b5cd7].

































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
.TH OBJFW-CONFIG 1
.SH NAME
objfw-config - print flags required for compiling with ObjFW
.SH SYNOPSIS
.B objfw-config
[\fBoptions\fR]
.SH DESCRIPTION
.B objfw-config
is a program which outputs various flags needed to compile software using ObjFW.
.SH OPTIONS
.TP
.BR \-\-all
Outputs all flags + libs.
.TP
.BR \-\-arc
Outputs the required \fIOBJCFLAGS\fR to use ARC.
.TP
.BR \-\-cflags
Outputs the required \fICFLAGS\fR.
.TP
.BR \-\-cppflags
Outputs the required \fICPPFLAGS\fR.
.TP
.BR \-\-cxxflags
Outputs the required \fICXXFLAGS\fR.
.TP
.BR \-\-framework-libs
Outputs the required \fILIBS\fR, preferring frameworks.
.TP
.BR \-\-help
Prints the help.
.TP
.BR \-\-ldflags
Outputs the required \fILDFLAGS\fR.
.TP
.BR \-\-libs
Outputs the required \fILIBS\fR.
.TP
.BR \-\-lib-cflags
Outputs \fICFLAGS\fR for building a library.
.TP
.BR \-\-lib-ldflags
Outputs \fILDFLAGS\fR for building a library.
.TP
.BR \-\-lib-prefix
Outputs the prefix for libraries.
.TP
.BR \-\-lib-suffix
Outputs the suffix for libraries.
.TP
.BR \-\-objc
Outputs the \fIOBJC\fR used to compile ObjFW. It is required to use the same
\fIOBJC\fR that was used to compile ObjFW.
.TP
.BR \-\-objcflags
Outputs the required \fIOBJCFLAGS\fR.
.TP
.BR \-\-package \fINAME\fR
Additionally outputs the flags for the specified package.
.TP
.BR \-\-packages-dir
Outputs the directory where flags for packages are stored.
.TP
.BR \-\-plugin-cflags
Outputs \fICFLAGS\fR for building a plugin.
.TP
.BR \-\-plugin-ldflags
Outputs \fILDFLAGS\fR for building a plugin.
.TP
.BR \-\-plugin-suffix
Outputs the suffix for plugins.
.TP
.BR \-\-prog-suffix
Outputs the suffix for binaries.
.TP
.BR \-\-reexport
Outputs \fILDFLAGS\fR to reexport ObjFW.
.TP
.BR \-\-rpath
Outputs \fILDFLAGS\fR for using rpath.
.TP
.BR \-\-static-libs
Outputs the required \fILIBS\fR to link ObjFW statically.
.TP
.BR \-\-version
Outputs the installed ObjFW version.
.SH EXAMPLES
Print \fIOBJCFLAGS\fR and \fICPPFLAGS\fR:
.PP
	objfw-config \-\-objcflags \-\-cppflags
.PP
Print \fILIBS\fR and \fILDFLAGS\fR for ObjFW and ObjFWTLS:
.PP
	objfw-config \-\-libs \-\-ldflags --package ObjFWTLS
.SH SEE ALSO
\fIobjfw-compile\fR(1)

Modified utils/objfw-config.in from [77e2685d56] to [cc0536b4a1].

50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82

    --all             Outputs all flags + libs
    --arc             Outputs the required OBJCFLAGS to use ARC
    --cflags          Outputs the required CFLAGS
    --cppflags        Outputs the required CPPFLAGS
    --cxxflags        Outputs the required CXXFLAGS
    --framework-libs  Outputs the required LIBS, preferring frameworks
    --help            Print this help
    --ldflags         Outputs the required LDFLAGS
    --libs            Outputs the required LIBS
    --lib-cflags      Outputs CFLAGS for building a library
    --lib-ldflags     Outputs LDFLAGS for building a library
    --lib-prefix      Outputs the prefix for libraries
    --lib-suffix      Outputs the suffix for libraries
    --objc            Outputs the OBJC used to compile ObjFW
    --objcflags       Outputs the required OBJCFLAGS
    --package         Additionally outputs the flags for the specified package
    --packages-dir    Outputs the directory where flags for packages are stored
    --plugin-cflags   Outputs CFLAGS for building a plugin
    --plugin-ldflags  Outputs LDFLAGS for building a plugin
    --plugin-suffix   Outputs the suffix for plugins
    --prog-suffix     Outputs the suffix for binaries
    --reexport        Outputs LDFLAGS to reexport ObjFW
    --rpath           Outputs LDFLAGS for using rpath
    --static-libs     Outputs the required LIBS to link ObjFW statically
    --version         Outputs the installed version
__EOF__
	exit $1
}

test -z "$1" && show_help 1

package_format() {







|

















|







50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82

    --all             Outputs all flags + libs
    --arc             Outputs the required OBJCFLAGS to use ARC
    --cflags          Outputs the required CFLAGS
    --cppflags        Outputs the required CPPFLAGS
    --cxxflags        Outputs the required CXXFLAGS
    --framework-libs  Outputs the required LIBS, preferring frameworks
    --help            Prints the help
    --ldflags         Outputs the required LDFLAGS
    --libs            Outputs the required LIBS
    --lib-cflags      Outputs CFLAGS for building a library
    --lib-ldflags     Outputs LDFLAGS for building a library
    --lib-prefix      Outputs the prefix for libraries
    --lib-suffix      Outputs the suffix for libraries
    --objc            Outputs the OBJC used to compile ObjFW
    --objcflags       Outputs the required OBJCFLAGS
    --package         Additionally outputs the flags for the specified package
    --packages-dir    Outputs the directory where flags for packages are stored
    --plugin-cflags   Outputs CFLAGS for building a plugin
    --plugin-ldflags  Outputs LDFLAGS for building a plugin
    --plugin-suffix   Outputs the suffix for plugins
    --prog-suffix     Outputs the suffix for binaries
    --reexport        Outputs LDFLAGS to reexport ObjFW
    --rpath           Outputs LDFLAGS for using rpath
    --static-libs     Outputs the required LIBS to link ObjFW statically
    --version         Outputs the installed ObjFW version
__EOF__
	exit $1
}

test -z "$1" && show_help 1

package_format() {