Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xmkmf(1) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

imake(1)

XMKMF(1)  —  USER COMMANDS

NAME

xmkmf, mmkmf, nmkmf − create a Makefile from an Imakefile

SYNOPSIS

xmkmf, mmkmf, nmkmf [ -a ] [ topdir [ curdir ] ]

DESCRIPTION

The xmkmf, mmkmf, or nmkmf command is the normal way to create a Makefile from an Imakefile shipped with third-party software.  When executed by the name xmkmf the Makefile contains flags to compile applications that use the X library, the X Toolkit Intrinsics, and the Athena widget library.  Similarly, mmkmf generates a Makefile for OSF/Motif applications, and nmkmf generates a Makefile for NCD applications. 

When invoked with no arguments in a directory containing an Imakefile, the imake program is run with arguments appropriate for your system (configured into xmkmf, mmkmf, and nmkmf when X was built) and generates a Makefile.  When no arguments are given, the Makefile that is created uses the installed versions of the X (or OSF/Motif) include files, libraries and commands rather than the ones in the X source tree. 

When invoked with the −a option, xmkmf, mmkmf, and nmkmf build the Makefile in the current directory, and then automatically execute “make Makefiles” (in case there are subdirectories), “make includes”, and “make depend” for you.  This is the normal way to configure software that is outside the MIT X build tree. 

If working inside the MIT X build tree the topdir argument should be specified as the relative pathname from the current directory to the top of the build tree.  Optionally, curdir may be specified as a relative pathname from the top of the build tree to the current directory.  It is necessary to supply curdir if the current directory has subdirectories, or the Makefile will not be able to build the subdirectories.  If a topdir is given, xmkmf, mmkmf, and nmkmf assume nothing is installed on your system and look for files in the build tree instead of using the installed versions. 

SEE ALSO

imake(1)

X Version 11  —  Release 5

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026