Be prepared to experiment with wrapper
scripts, for example, to tweak command-line switches to get your linker to work.
2.7.7 confCCOPTS
Command-line switches to pass to the compiler Build macro
When compiling sendmail or its companion programs, you might need to add special
command-line flags to the compiler??™s invocation. One example might be the need to add a
-nostdinc switchfor gcc. Th econfCCOPTS macro allows you to do this. The following
instructs the gcc compiler to allow traditional K&R instructions:
define(`confCCOPTS??, `-traditional??)
2.7.8 confCCOPTS_SO
Command-line switches for shared-library objects Build macro
Use of this macro is not supported in the open source version of sendmail.
2.7.9 confCOPY
The copy command to use Build macro
The process of building sendmail includes initializing the contents of some associated files.
One example is the statistics file. That file should begin as an empty file. The build process
creates it with a command line such as this:
cp /dev/null statistics
For safety??™s sake, especially if you changed the name of the statistics file with the
confSTFILE macro (?§2.7.67 on page 99), you might change the copy command??™s invocation
to:
define(`confCOPY??, `cp -i??)
The -i causes cp(1) to prompt for your OK if the target file already exists.
2.7.10 confDEPEND_TYPE
How to build Makefile dependencies Build macro
The confDEPEND_TYPE macro defines the method that should be included in your Makefile
for use in creating make(1) dependencies.
Pages:
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155