]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | .\" |
1a18c85c | 2 | .\" "$Id: cups-config.man 11817 2014-04-15 16:31:11Z msweet $" |
ef416fc2 | 3 | .\" |
1a18c85c | 4 | .\" cups-config man page for CUPS. |
ef416fc2 | 5 | .\" |
1a18c85c MS |
6 | .\" Copyright 2007-2014 by Apple Inc. |
7 | .\" Copyright 1997-2006 by Easy Software Products. | |
ef416fc2 | 8 | .\" |
1a18c85c MS |
9 | .\" These coded instructions, statements, and computer programs are the |
10 | .\" property of Apple Inc. and are protected by Federal copyright | |
11 | .\" law. Distribution and use rights are outlined in the file "LICENSE.txt" | |
12 | .\" which should have been included with this file. If this file is | |
13 | .\" file is missing or damaged, see the license at "http://www.cups.org/". | |
ef416fc2 | 14 | .\" |
1a18c85c | 15 | .TH cups-config 1 "CUPS" "15 April 2014" "Apple Inc." |
ef416fc2 | 16 | .SH NAME |
1a18c85c | 17 | cups\-config \- get cups api, compiler, directory, and link information. |
ef416fc2 | 18 | .SH SYNOPSIS |
1a18c85c MS |
19 | .B cups\-config |
20 | .I \-\-api\-version | |
ef416fc2 | 21 | .br |
1a18c85c MS |
22 | .B cups\-config |
23 | .I \-\-build | |
e4572d57 | 24 | .br |
1a18c85c MS |
25 | .B cups\-config |
26 | .I \-\-cflags | |
ef416fc2 | 27 | .br |
1a18c85c MS |
28 | .B cups\-config |
29 | .I \-\-datadir | |
ef416fc2 | 30 | .br |
1a18c85c MS |
31 | .B cups\-config |
32 | .I \-\-help | |
ef416fc2 | 33 | .br |
1a18c85c MS |
34 | .B cups\-config |
35 | .I \-\-ldflags | |
ef416fc2 | 36 | .br |
1a18c85c | 37 | .B cups\-config |
ef416fc2 | 38 | [ |
1a18c85c | 39 | .I \-\-image |
ef416fc2 | 40 | ] [ |
1a18c85c MS |
41 | .I \-\-static |
42 | ] | |
43 | .I \-\-libs | |
ef416fc2 | 44 | .br |
1a18c85c MS |
45 | .B cups\-config |
46 | .I \-\-serverbin | |
ef416fc2 | 47 | .br |
1a18c85c MS |
48 | .B cups\-config |
49 | .I \-\-serverroot | |
ef416fc2 | 50 | .br |
51 | .B cups-config | |
1a18c85c | 52 | .I \-\-version |
ef416fc2 | 53 | .br |
54 | .SH DESCRIPTION | |
1a18c85c MS |
55 | The \fBcups-config\fR command allows application developers to determine the necessary command-line options for the compiler and linker, as well as the installation directories for filters, configuration files, and drivers. |
56 | All values are reported to the standard output. | |
bd7854cb | 57 | .SH OPTIONS |
1a18c85c | 58 | The \fBcups-config\fR command accepts the following command-line options: |
bd7854cb | 59 | .TP 5 |
1a18c85c MS |
60 | .B \-\-api-version |
61 | Reports the current API version (major.minor). | |
bd7854cb | 62 | .TP 5 |
1a18c85c MS |
63 | .B \-\-build |
64 | Reports a system-specific build number. | |
e4572d57 | 65 | .TP 5 |
1a18c85c MS |
66 | .B \-\-cflags |
67 | Reports the necessary compiler options. | |
bd7854cb | 68 | .TP 5 |
1a18c85c MS |
69 | .B \-\-datadir |
70 | Reports the default CUPS data directory. | |
bd7854cb | 71 | .TP 5 |
1a18c85c MS |
72 | .B \-\-help |
73 | Reports the program usage message. | |
bd7854cb | 74 | .TP 5 |
1a18c85c MS |
75 | .B \-\-image |
76 | When used with \fI\-\-libs\fR, adds the CUPS imaging library to the | |
77 | list of libraries. | |
bd7854cb | 78 | .TP 5 |
1a18c85c MS |
79 | .B \-\-ldflags |
80 | Reports the necessary linker options. | |
bd7854cb | 81 | .TP 5 |
1a18c85c MS |
82 | .B \-\-libs |
83 | Reports the necessary libraries to link to. | |
bd7854cb | 84 | .TP 5 |
1a18c85c MS |
85 | .B \-\-serverbin |
86 | Reports the default CUPS binary directory, where filters and backends are stored. | |
bd7854cb | 87 | .TP 5 |
1a18c85c MS |
88 | .B \-\-serverroot |
89 | Reports the default CUPS configuration file directory. | |
bd7854cb | 90 | .TP 5 |
1a18c85c MS |
91 | .B \-\-static |
92 | When used with \fI\-\-libs\fR, reports the static libraries instead of the default (shared) libraries. | |
bd7854cb | 93 | .TP 5 |
1a18c85c MS |
94 | .B \-\-version |
95 | Reports the full version number of the CUPS installation (major.minor.patch). | |
96 | .SH EXAMPLES | |
97 | Show the currently installed version of CUPS: | |
98 | .nf | |
99 | ||
100 | cups-config \-\-version | |
101 | ||
102 | .fi | |
103 | Compile a simple one-file CUPS filter: | |
104 | .nf | |
105 | ||
106 | cc `cups\-config \-\-cflags \-\-ldflags` \-o filter filter.c \\ | |
107 | `cups\-config \-\-libs` | |
108 | .fi | |
ef416fc2 | 109 | .SH SEE ALSO |
1a18c85c MS |
110 | .BR cups (1), |
111 | CUPS Online Help (http://localhost:631/help) | |
ef416fc2 | 112 | .SH COPYRIGHT |
1a18c85c | 113 | Copyright \[co] 2007-2014 by Apple Inc. |
ef416fc2 | 114 | .\" |
1a18c85c | 115 | .\" End of "$Id: cups-config.man 11817 2014-04-15 16:31:11Z msweet $". |
ef416fc2 | 116 | .\" |