mkmf(1)

mkmf(1)

-Ftemplate Specify an alternative make®le template path name. The path name can be relative or absolute.

-Mlanguage Specify an alternative language-speci®c make®le template. The default language is C and the corresponding program and library make®le 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 make®le is included as a macro de®nition within the make®le and must be changed if the make®le is renamed.

Since executable ®les are dependent on libraries, standard library abbreviations must be expanded to full path names within the LIBS macro de®nition in the make®le.

Generated dependency information appears after a line in the make®le beginning with ###. This line must not be removed, nor must any other information be inserted in the make®le below this line.

The name of a program or library must not con¯ict with any prede®ned target names in a make®le. It is especially important to avoid the the name update to prevent make from recursively executing itself an in®nite number of times.

AUTHOR

mkmf was developed by the University of California, Berkeley.

FILES

Standard program make®le template

/usr/ccs/lib/mf/C.p

/usr/ccs/lib/mf/C.l

Standard library make®le template

$PROJECT/lib/mf/C.p

User-de®ned program make®le template

$PROJECT/lib/mf/C.l

User-de®ned library make®le 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.

m

HP-UX Release 11i: December 2000

− 4 −

Section 1535