Prev | Current Page 144 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

The methods supported are located in the
devtools/M4/depend directory. We show them in Table 2-6.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
74 | Chapter 2: Download, Build, and Install
Note that the correct Solaris method is usually chosen for you in an appropriate devtools/OS
file. But in the rare case that the method is wrong or broken, you can use this confDEPEND_
TYPE to select another method. For example, consider this broken implementation of an
mkdep script:
mkdep -a -f Makefile -I. -DNEWDB *.c
cc: Warning: Option -f passed to ld
cc: Warning: File with unknown suffix (Makefile) passed to ld
In this example, we know we are running X11, and so we chose to replace the defective
mkdep with the makedepend(1) program:
define(`confDEPEND_TYPE??, `X11??)
The new method is specified as the filename (with the .m4 suffix removed) in the devtools/
M4/depend directory. Rerunning the Build with -c and this new definition will produce
error-free output:
Making dependencies in obj.SunOS.4.1.3.sun4
makedepend -- -I. -I/usr/local/include/db -DNEWDB -DNEWDB -DMATCHGECOS=0 -- *.c
Making in obj.SunOS.4.1.3.sun4
2.7.11 confDEPLIBS
Shared object dependencies Build macro
Ordinarily, sendmail and its companion programs, suchas vacation, are linked statically.
You might prefer to link some of your programs dynamically so that you can take advantage
of shared libraries.


Pages:
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
katalog stron żetony do pokera śmieszne dowcipy bajka Connie Talbot