]> git.sesse.net Git - rdpsrv/blob - Xserver/config/util/xmkmf.man
Import X server from vnc-3.3.7.
[rdpsrv] / Xserver / config / util / xmkmf.man
1 .\" $XConsortium: xmkmf.man /main/8 1996/09/28 16:17:10 rws $
2 .\" Copyright (c) 1993, 1994  X Consortium
3 .\" 
4 .\" Permission is hereby granted, free of charge, to any person obtaining a
5 .\" copy of this software and associated documentation files (the "Software"), 
6 .\" to deal in the Software without restriction, including without limitation 
7 .\" the rights to use, copy, modify, merge, publish, distribute, sublicense, 
8 .\" and/or sell copies of the Software, and to permit persons to whom the 
9 .\" Software furnished to do so, subject to the following conditions:
10 .\" 
11 .\" The above copyright notice and this permission notice shall be included in
12 .\" all copies or substantial portions of the Software.
13 .\" 
14 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 .\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 .\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL 
17 .\" THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 
18 .\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF 
19 .\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
20 .\" SOFTWARE.
21 .\" 
22 .\" Except as contained in this notice, the name of the X Consortium shall not 
23 .\" be used in advertising or otherwise to promote the sale, use or other 
24 .\" dealing in this Software without prior written authorization from the 
25 .\" X Consortium.
26 .TH XMKMF 1 "Release 6.1" "X Version 11"
27 .SH NAME
28 xmkmf \- create a Makefile from an Imakefile
29 .SH SYNOPSIS
30 .B xmkmf
31 [ -a ] [
32 .I topdir
33 [
34 .I curdir
35 ] ]
36 .SH DESCRIPTION
37 The
38 .I xmkmf
39 command is the normal way to create a
40 .I Makefile 
41 from an
42 .I Imakefile
43 shipped with third-party software.
44 .PP
45 When invoked with no arguments in a directory containing an
46 .I Imakefile,
47 the
48 .I imake
49 program is run with arguments appropriate for your system
50 (configured into
51 .I xmkmf
52 when X was built) and generates a
53 .I Makefile.
54 .PP
55 When invoked with the
56 .I \-a
57 option,
58 .I xmkmf
59 builds the
60 .I Makefile
61 in the current directory, and then automatically executes
62 ``make Makefiles'' (in case there are subdirectories),
63 ``make includes'',
64 and ``make depend'' for you.
65 This is the normal way to configure software that is outside
66 the X Consortium build tree.
67 .PP
68 If working inside the X Consortium build tree (unlikely unless you 
69 are an X developer, and even then this option is never really used), the
70 .I topdir
71 argument should be specified as the relative pathname from the
72 current directory to the top of the build tree.  Optionally,
73 .I curdir
74 may be specified as a relative pathname from the top of the build
75 tree to the current directory.  It is necessary to supply
76 .I curdir
77 if the current directory has subdirectories, or the
78 .I Makefile
79 will not be able to build the subdirectories.
80 If a
81 .I topdir
82 is given,
83 .I xmkmf
84 assumes nothing is installed on your system and looks for files in
85 the build tree instead of using the installed versions.
86 .SH "SEE ALSO"
87 imake(1)