NAME

Mpp::Subs - Functions and statements for makefiles

DESCRIPTION

This package contains subroutines which can be called from a makefile. Subroutines in this package are called in two ways:

1)

Any line which isn't a rule or an assignment and has at the left margin a word is interpreted as a subroutine call to a subroutine in the makefile package, or if not in the makefile package, in this package. "s_" is prefixed to the name before the Perl function is looked up.

2)

Any function that is in a make expression (e.g., $(xyz abc)) attempts to call a Perl function in the make package, and failing that, in this package. "f_" is prefixed to the name first.

All official subroutine names in this package are automatically exported to each makefile package by Mpp::Makefile::load. See the regexps in import, for which ones are official.