HP-UX Reference (11i v1 05/09) - 1 User Commands A-M (vol 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 11i Version 1: September 2005 − 4 − Hewlett-Packard Company Section 1−−555