diff options
Diffstat (limited to 'devtools')
| -rw-r--r-- | devtools/M4/switch.m4 | 4 | ||||
| -rw-r--r-- | devtools/OS/Linux | 3 | ||||
| -rw-r--r-- | devtools/OS/OpenBSD | 29 | ||||
| -rw-r--r-- | devtools/OS/SunOS.5.11 | 4 | ||||
| -rw-r--r-- | devtools/README | 6 |
5 files changed, 36 insertions, 10 deletions
diff --git a/devtools/M4/switch.m4 b/devtools/M4/switch.m4 index e95afdf43bb0..e63cb17a9f61 100644 --- a/devtools/M4/switch.m4 +++ b/devtools/M4/switch.m4 @@ -10,7 +10,7 @@ divert(-1) # # Definitions for Makefile construction for sendmail # -# $Id: switch.m4,v 8.16 2000/04/06 18:45:22 peterh Exp $ +# $Id: switch.m4,v 8.17 2008/08/06 22:41:33 guenther Exp $ # divert(0)dnl include(confBUILDTOOLSDIR`/M4/string.m4')dnl @@ -46,7 +46,7 @@ define(`bldPUSH_STRIP_TARGET', define(`bldPRODUCT_START', `define(`bldCURRENT_PRODUCT', `$2')dnl -define(`bldCURRENT_PRD', translit(`$2', `.', `_'))dnl +define(`bldCURRENT_PRD', translit(`$2', `-.', `__'))dnl define(`bldPRODUCT_TYPE', `$1')dnl' )dnl diff --git a/devtools/OS/Linux b/devtools/OS/Linux index 52418c8473aa..119b6f9f830f 100644 --- a/devtools/OS/Linux +++ b/devtools/OS/Linux @@ -1,9 +1,10 @@ -# $Id: Linux,v 8.30 2002/03/21 23:59:25 gshapiro Exp $ +# $Id: Linux,v 8.31 2009/01/22 02:15:42 guenther Exp $ dnl DO NOT EDIT THIS FILE. dnl Place personal settings in devtools/Site/site.config.m4 define(`confDEPEND_TYPE', `CC-M') +define(`confCCOPTS_SO', `-fPIC') define(`confSM_OS_HEADER', `sm_os_linux') define(`confMANROOT', `/usr/man/man') define(`confLIBS', `-ldl') diff --git a/devtools/OS/OpenBSD b/devtools/OS/OpenBSD index 07bec0fd2f52..5b28c017c950 100644 --- a/devtools/OS/OpenBSD +++ b/devtools/OS/OpenBSD @@ -1,4 +1,4 @@ -# $Id: OpenBSD,v 8.20 2002/03/21 23:59:25 gshapiro Exp $ +# $Id: OpenBSD,v 8.21 2008/08/06 23:41:44 guenther Exp $ dnl DO NOT EDIT THIS FILE. dnl Place personal settings in devtools/Site/site.config.m4 @@ -8,7 +8,32 @@ define(`confLDOPTS_SO', `-shared') define(`confCCOPTS_SO', `-fPIC') define(`confMAPDEF', `-DNEWDB -DNIS -DMAP_REGEX') -define(`confENVDEF', ` -DNETISO -DFAST_PID_RECYCLE') +define(`confENVDEF', ` -DFAST_PID_RECYCLE') define(`confSM_OS_HEADER', `sm_os_openbsd') define(`confMTCCOPTS', `-pthread') define(`confMTLDOPTS', `-pthread') + +ifelse(confBLDVARIANT, `DEBUG', +dnl Debug build +` + define(`confOPTIMIZE',`-g') +', +dnl Optimized build +confBLDVARIANT, `OPTIMIZED', +` + define(`confOPTIMIZE',`-O') +', +dnl Purify build +confBLDVARIANT, `PURIFY', +` + define(`confOPTIMIZE',`-g') +', +dnl default +` + define(`confOPTIMIZE',`-O') +') +define(`USE_ICONV',` + APPENDDEF(`confLIBS',`-liconv ')dnl + APPENDDEF(`confLIBDIRS',`-L/usr/local/lib ')dnl + APPENDDEF(`confINCDIRS',`-I/usr/local/include ')dnl +')dnl diff --git a/devtools/OS/SunOS.5.11 b/devtools/OS/SunOS.5.11 index 0001caab178c..d383aeaa1916 100644 --- a/devtools/OS/SunOS.5.11 +++ b/devtools/OS/SunOS.5.11 @@ -1,4 +1,4 @@ -# $Id: SunOS.5.11,v 1.1 2005/06/20 23:52:31 ca Exp $ +# $Id: SunOS.5.11,v 1.2 2009/10/13 21:46:01 ca Exp $ dnl DO NOT EDIT THIS FILE. dnl Place personal settings in devtools/Site/site.config.m4 @@ -6,7 +6,7 @@ dnl Place personal settings in devtools/Site/site.config.m4 define(`confCC', `gcc') define(`confLDOPTS_SO', `-G') define(`confBEFORE', `sysexits.h') -define(`confMAPDEF', `-DNDBM -DNIS -DNISPLUS -DMAP_REGEX') +define(`confMAPDEF', `-DNDBM -DNIS -DMAP_REGEX') define(`confENVDEF', `-DSOLARIS=21100 -DNETINET6') define(`confSM_OS_HEADER', `sm_os_sunos') define(`confLIBS', `-lsocket -lnsl') diff --git a/devtools/README b/devtools/README index 69be72b6a335..b7a0a83a179f 100644 --- a/devtools/README +++ b/devtools/README @@ -86,7 +86,7 @@ confBUILDBIN ../../devtools/bin The location of the build support directory. confCC cc The C compiler to use. confCCOPTS [empty] Additional options to pass to confCC. -*confCCOPTS_SO -fPIC Additional options for compiling +*confCCOPTS_SO [empty] Additional options for compiling shared object libraries. confCCLINK confCC Linker to use (for executables). confCOPY cp A program that copies files. @@ -129,7 +129,7 @@ confINSTALL install The BSD-compatible install program. confINSTALL_RAWMAN [undefined] Install the unformatted manual pages. *confLD confCC Linker to use (for libraries). confLDOPTS [empty] Linker options. -*confLDOPTS_SO -shared -Wl Additional linker options for +*confLDOPTS_SO [empty] Additional linker options for linking shared object libraries. confLIBDIR /usr/lib Where to install library files. confLIBDIRS [empty] -L flags passed to ld. @@ -395,4 +395,4 @@ files that make up the library. bldINSTALLABLE - This should be set if the library should be installed in confLIBDIR. -$Revision: 8.102 $, Last updated $Date: 2008/02/12 16:40:05 $ +$Revision: 8.103 $, Last updated $Date: 2009/01/22 02:15:07 $ |
