MAMNEW(1)

NAME
mamnew - convert make abstract machine input to an nmake makefile

SYNOPSIS
mamnew [ old-make-options ]

DESCRIPTION
mamnew converts an old make(1) makefile to nmake(1) compatible format on the standard output. mamnew accepts make arguments and options and should be run in the same directory as make would have been run. Only active targets are listed in the output makefile.

The conversion process is divided into two passes. The first pass is a modified version of make. The second pass constructs the nmake makefile on the standard output based on information supplied by the first pass.

Symbolic information is preserved where possible in the output makefile. Comments, however, are lost in the conversion. Header file dependencies are not listed in the output makefile since these are automatically generated by nmake.

mamnew is only an aid to be used as the first phase in the makefile conversion process. In almost all cases the output makefiles should be edited for fine tuning.

FILES
makefile, Makefile

DIAGNOSTICS
Messages from mamnew are preceded by mamnew: ; all other messages are output by make .

SEE ALSO
nmake(1), mamold(1), make(1)

CAVEATS
The output makefile should be edited and tested at least once using nmake -n for verification.

Recursive makefiles are not converted; each makefile level must be converted separately.

Some targets are omitted in the output makefiles. Most of these are provided as predefined targets in nmake .

State variables with quoted values may have the quotes dropped in the translation. Be sure to check for these.

Common command sequences are placed in the .USE rules named .COMMAND.nn. Local -I dependencies are placed in the state variables named (.INCLUDE.nn).