1XMKMF(1) General Commands Manual XMKMF(1)
2
3
4
6 xmkmf - create a Makefile from an Imakefile
7
9 xmkmf [ -a ] [ topdir [ curdir ] ]
10
12 The xmkmf command is the normal way to create a Makefile from an Imake‐
13 file shipped with third-party software.
14
15 When invoked with no arguments in a directory containing an Imakefile,
16 the imake program is run with arguments appropriate for your system
17 (configured into xmkmf when X was built) and generates a Makefile.
18
19 When invoked with the -a option, xmkmf builds the Makefile in the cur‐
20 rent directory, and then automatically executes ``make Makefiles'' (in
21 case there are subdirectories), ``make includes'', and ``make depend''
22 for you. This is the normal way to configure software that is outside
23 the X Consortium build tree.
24
25 If working inside the X Consortium build tree (unlikely unless you are
26 an X developer, and even then this option is never really used), the
27 topdir argument should be specified as the relative pathname from the
28 current directory to the top of the build tree. Optionally, curdir may
29 be specified as a relative pathname from the top of the build tree to
30 the current directory. It is necessary to supply curdir if the current
31 directory has subdirectories, or the Makefile will not be able to build
32 the subdirectories. If a topdir is given, xmkmf assumes nothing is
33 installed on your system and looks for files in the build tree instead
34 of using the installed versions.
35
37 imake(1)
38
39
40
41X Version 11 imake 1.0.2 XMKMF(1)