macros are used to assign values to the ENVDEF=
Makefile directive in the
Makefiles for the various programs in the source
tree. The ENVDEF= directive is primarily used to specify code that
should be specially included or excluded when compiling. The
following example shows support for identd(8)
being excluded from the compiled binary of sendmail:
is often given values in the devtools/OS file
for your architecture. To avoid clobbering those values, use
APPENDDEF to define
To use the
macro, simply replace the
the name of any of the programs or library directories in the
sendmail source tree. For example,
conf_vacation_ENVDEF is used with the
vacation program, and
conf_mail_local_ENVDEF is used with the mail.local program.
When a single macro is needed to affect all programs, you can use the
Here we enable use of Sun's NIS+ services (NISPLUS) for any program that will look up password,
group, or similar information.
In Table 3-7, the third column indicates if it is
appropriate to redefine a particular macro in your
Makefile. Where appropriate, most will be
defined with a confENVDEF macro.