Command Reference Guide

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
m
mkmf(1) mkmf(1)
-F template Specify an alternative makefile template path name. The path name can be relative
or absolute.
-M language Specify an alternative language-specific makefile template. The default language is C
and the corresponding program and library makefile templates are C.p and C.l,
respectively. mkmf looks for these templates in /usr/ccs/lib/mf or
$PROJECT/lib/mf.
DIAGNOSTICS
Exit status 0 is normal. Exit status 1 indicates an error.
WARNINGS
The name of the makefile is included as a macro definition within the makefile and must be changed if the
makefile is renamed.
Since executable files are dependent on libraries, standard library abbreviations must be expanded to full
path names within the LIBS macro definition in the makefile.
Generated dependency information appears after a line in the makefile beginning with ###. This line must
not be removed, nor must any other information be inserted in the makefile below this line.
The name of a program or library must not conflict with any predefined target names in a makefile. It is
especially important to avoid the the name update to prevent make from recursively executing itself an
infinite number of times.
AUTHOR
mkmf was developed by the University of California, Berkeley.
FILES
/usr/ccs/lib/mf/C.p
Standard program makefile template
/usr/ccs/lib/mf/C.l
Standard library makefile template
$PROJECT/lib/mf/C.p
User-defined program makefile template
$PROJECT/lib/mf/C.l
User-defined library makefile template
SEE ALSO
ar(1), ctags(1), ld(1), make(1).
"Automatic Generation of Make Dependencies", Software-Practice and Experience, Walden, K., vol. 14, no.
6, pp. 575-585,June 1984.
HP-UX Release 11i: December 2000 − 4 − Section 1−−535
___
___