Debian Codegraph @

imake/xmkmf.man

raw
1 .\" Copyright (c) 1993, 1994, 1998 The Open Group
2 .\"
3 .\" Permission to use, copy, modify, distribute, and sell this software and its
4 .\" documentation for any purpose is hereby granted without fee, provided that
5 .\" the above copyright notice appear in all copies and that both that
6 .\" copyright notice and this permission notice appear in supporting
7 .\" documentation.
8 .\"
9 .\" The above copyright notice and this permission notice shall be included in
10 .\" all copies or substantial portions of the Software.
11 .\"
12 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13 .\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14 .\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
15 .\" THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
16 .\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
17 .\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18 .\" SOFTWARE.
19 .\"
20 .\" Except as contained in this notice, the name of The Open Group shall not
21 .\" be used in advertising or otherwise to promote the sale, use or other
22 .\" dealing in this Software without prior written authorization from The
23 .\" Open Group.
24 .\"
25 .TH XMKMF 1 __xorgversion__
26 .SH NAME
27 xmkmf \- create a Makefile from an Imakefile
28 .SH SYNOPSIS
29 .B xmkmf
30 [ -a ] [
31 .I topdir
32 [
33 .I curdir
34 ] ]
35 .SH DESCRIPTION
36 The
37 .I xmkmf
38 command is the normal way to create a
39 .I Makefile
40 from an
41 .I Imakefile
42 shipped with third-party software.
43 .PP
44 When invoked with no arguments in a directory containing an
45 .I Imakefile,
46 the
47 .I imake
48 program is run with arguments appropriate for your system
49 (configured into
50 .I imake
51 when it was built) and generates a
52 .I Makefile.
53 .PP
54 When invoked with the
55 .I \-a
56 option,
57 .I xmkmf
58 builds the
59 .I Makefile
60 in the current directory, and then automatically executes
61 ``make Makefiles'' (in case there are subdirectories),
62 ``make includes'',
63 and ``make depend'' for you.
64 .PP
65 If a
66 .I topdir
67 is given,
68 .I xmkmf
69 assumes nothing is installed on your system and looks for files in
70 the build tree instead of using the installed versions. Optionally,
71 .I curdir
72 may be specified as a relative pathname from the top of the build
73 tree to the current directory. It is necessary to supply
74 .I curdir
75 if the current directory has subdirectories, or the
76 .I Makefile
77 will not be able to build the subdirectories.
78 .SH "SEE ALSO"
79 imake(1)