1<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN" 2 "http://www.w3.org/TR/html4/loose.dtd"> 3<html> <head> 4<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> 5<title> Postfix manual - makedefs(1) </title> 6</head> <body> <pre> 7MAKEDEFS(1) MAKEDEFS(1) 8 9<b>NAME</b> 10 makedefs - Postfix makefile configuration utility 11 12<b>SYNOPSIS</b> 13 <b>make makefiles</b> <i>name=value...</i> 14 15<b>DESCRIPTION</b> 16 The <b>makedefs</b> command identifies the compilation environment, and emits 17 macro definitions on the standard output stream that can be prepended 18 to template Makefiles. These macros implement an internal interface 19 and are subject to change without notice. 20 21<b>NAME=VALUE OVERRIDES</b> 22 Default settings can be overruled by specifying them as environment 23 variables (or as name=value pairs on the "make" command line). Use 24 quotes if variables contain whitespace or shell meta characters. 25 26 The command "<b>make makefiles name=value...</b>" will replace the string 27 <b>MAIL_VERSION</b> at the end of a value with the Postfix version 28 (<i>major.minor.patchlevel</i> for a stable release, <i>major.minor-date</i> for a 29 development release). Do not try to specify something like <b>$<a href="postconf.5.html#mail_version">mail_ver</a>-</b> 30 <b><a href="postconf.5.html#mail_version">sion</a></b>: that produces inconsistent results with different implementations 31 of the make(1) command. 32 33 <b>AUXLIBS=</b><i>object</i><b>_</b><i>library...</i> 34 Specifies one or more non-default object libraries. Postfix 3.0 35 and later specify some of their database library dependencies 36 with <a href="CDB_README.html">AUXLIBS_CDB</a>, <a href="LDAP_README.html">AUXLIBS_LDAP</a>, <a href="LMDB_README.html">AUXLIBS_LMDB</a>, <a href="MYSQL_README.html">AUXLIBS_MYSQL</a>, 37 <a href="PCRE_README.html">AUXLIBS_PCRE</a>, <a href="PGSQL_README.html">AUXLIBS_PGSQL</a>, <a href="SDBM_README.html">AUXLIBS_SDBM</a>, and <a href="SQLITE_README.html">AUXLIBS_SQLITE</a>, 38 respectively. 39 40 <b>CC=</b><i>compiler</i><b>_</b><i>command</i> 41 Specifies a non-default compiler. On many systems, the default 42 is <b>gcc</b>. 43 44 <b>CCARGS=</b><i>compiler</i><b>_</b><i>arguments</i> 45 Specifies non-default compiler arguments, for example, a 46 non-default <i>include</i> directory. The following directives are 47 special: 48 49 <b>-DNO_DB</b> 50 Do not build with Berkeley DB support. 51 52 <b>-DNO_DEVPOLL</b> 53 Do not build with Solaris /dev/poll support. By default, 54 /dev/poll support is compiled in on platforms that are 55 known to support it. 56 57 <b>-DNO_DNSSEC</b> 58 Do not build with DNSSEC support, even if the resolver 59 library appears to support it. 60 61 <b>-DNO_EPOLL</b> 62 Do not build with Linux EPOLL support. By default, EPOLL 63 support is compiled in on platforms that are known to 64 support it. 65 66 <b>-DNO_EAI</b> 67 Do not build with EAI (SMTPUTF8) support. By default, EAI 68 support is compiled in when the "pkg-config" command is 69 found, or the deprecated "icu-config" command. 70 71 <b>-DNO_INLINE</b> 72 Do not require support for C99 "inline" functions. 73 Instead, implement argument typechecks for 74 non-(printf/scanf)-like functions with ternary operators 75 and unreachable code. 76 77 <b>-DNO_IPV6</b> 78 Do not build with IPv6 support. By default, IPv6 support 79 is compiled in on platforms that are known to have IPv6 80 support. 81 82 Note: this directive is for debugging and testing only. 83 It is not guaranteed to work on all platforms. If you 84 don't want IPv6 support, set "<a href="postconf.5.html#inet_protocols">inet_protocols</a> = ipv4" in 85 <a href="postconf.5.html">main.cf</a>. 86 87 <b>-DNO_IP_CYRUS_SASL_AUTH</b> 88 Don't pass remote SMTP client and Postfix SMTP server IP 89 address and port information to the Cyrus SASL library. 90 This is compatible with Postfix < 3.2. 91 92 <b>-DNO_KQUEUE</b> 93 Do not build with FreeBSD/NetBSD/OpenBSD/MacOSX KQUEUE 94 support. By default, KQUEUE support is compiled in on 95 platforms that are known to support it. 96 97 <b>-DNO_NIS</b> 98 Do not build with NIS or NISPLUS support. Support for NIS 99 is unavailable on some recent Linux distributions. 100 101 <b>-DNO_NISPLUS</b> 102 Do not build with NISPLUS support. Support for NISPLUS is 103 unavailable on some recent Solaris distributions. 104 105 <b>-DNO_PCRE</b> 106 Do not build with PCRE support. By default, PCRE support 107 is compiled in when the <b>pcre-config</b> utility is installed. 108 109 <b>-DNO_POSIX_GETPW_R</b> 110 Disable support for POSIX getpwnam_r/getpwuid_r. 111 112 <b>-DNO_SIGSETJMP</b> 113 Use setjmp()/longjmp() instead of sigsetjmp()/sig- 114 longjmp(). By default, Postfix uses sigsetjmp()/sig- 115 longjmp() when they appear to work. 116 117 <b>-DNO_SNPRINTF</b> 118 Use sprintf() instead of snprintf(). By default, Postfix 119 uses snprintf() except on ancient systems. 120 121 <b>DEBUG=</b><i>debug</i><b>_</b><i>level</i> 122 Specifies a non-default debugging level. The default is <b>-g</b>. 123 Specify <b>DEBUG=</b> to turn off debugging. 124 125 <b>OPT=</b><i>optimization</i><b>_</b><i>level</i> 126 Specifies a non-default optimization level. The default is <b>-O</b>. 127 Specify <b>OPT=</b> to turn off optimization. 128 129 <b>POSTFIX_INSTALL_OPTS=</b><i>-option...</i> 130 Specifies options for the postfix-install command, separated by 131 whitespace. Currently, the only supported option is 132 <b>-keep-build-mtime</b>. 133 134 <b>SHLIB_CFLAGS=</b><i>flags</i> 135 Override the compiler flags (typically, "-fPIC") for Postfix 136 dynamically-linked libraries and database plugins. 137 138 This feature was introduced with Postfix 3.0. 139 140 <b>SHLIB_RPATH=</b><i>rpath</i> 141 Override the runpath (typically, "'-Wl,-rpath,${SHLIB_DIR}'") 142 for Postfix dynamically-linked libraries. 143 144 This feature was introduced with Postfix 3.0. 145 146 <b>SHLIB_SUFFIX=</b><i>suffix</i> 147 Override the filename suffix (typically, ".so") for Postfix 148 dynamically-linked libraries and database plugins. 149 150 This feature was introduced with Postfix 3.0. 151 152 <b>shared=yes</b> 153 154 <b>shared=no</b> 155 Enable (disable) Postfix builds with dynamically-linked 156 libraries typically named $<a href="postconf.5.html#shlib_directory">shlib_directory</a>/libpostfix-*.so.*. 157 158 This feature was introduced with Postfix 3.0. 159 160 <b>dynamicmaps=yes</b> 161 162 <b>dynamicmaps=no</b> 163 Enable (disable) Postfix builds with the configuration file 164 $<a href="postconf.5.html#meta_directory">meta_directory</a>/dynamicmaps.cf and dynamically-loadable database 165 plugins typically named postfix-*.so.*. The setting "dynam- 166 icmaps=yes" implicitly enables Postfix dynamically-linked 167 libraries. 168 169 This feature was introduced with Postfix 3.0. 170 171 <b>pie=yes</b> 172 173 <b>pie=no</b> Enable (disable) Postfix builds with position-independent exe- 174 cutables, on platforms where this is supported. 175 176 This feature was introduced with Postfix 3.0. 177 178 <i>installation</i><b>_</b><i>parameter</i><b>=</b><i>value</i>... 179 Override the compiled-in default value of the specified instal- 180 lation parameter(s). The following parameters are supported in 181 this context: 182 183 <a href="postconf.5.html#command_directory">command_directory</a> <a href="postconf.5.html#config_directory">config_directory</a> <a href="postconf.5.html#daemon_directory">daemon_directory</a> <a href="postconf.5.html#data_directory">data_direc</a>- 184 <a href="postconf.5.html#data_directory">tory</a> <a href="postconf.5.html#default_database_type">default_database_type</a> <a href="postconf.5.html#html_directory">html_directory</a> <a href="postconf.5.html#mail_spool_directory">mail_spool_directory</a> 185 <a href="postconf.5.html#mailq_path">mailq_path</a> <a href="postconf.5.html#manpage_directory">manpage_directory</a> <a href="postconf.5.html#meta_directory">meta_directory</a> <a href="postconf.5.html#newaliases_path">newaliases_path</a> 186 <a href="postconf.5.html#queue_directory">queue_directory</a> <a href="postconf.5.html#readme_directory">readme_directory</a> <a href="postconf.5.html#sendmail_path">sendmail_path</a> <a href="postconf.5.html#shlib_directory">shlib_directory</a> 187 <a href="postconf.5.html#openssl_path">openssl_path</a> 188 189 See the <a href="postconf.5.html">postconf(5)</a> manpage for a description of these parame- 190 ters. 191 192 This feature was introduced with Postfix 3.0. 193 194 <b>WARN=</b><i>warning</i><b>_</b><i>flags</i> 195 Specifies non-default gcc compiler warning options for use when 196 "make" is invoked in a source subdirectory only. 197 198<b>LICENSE</b> 199 The Secure Mailer license must be distributed with this software. 200 201<b>AUTHOR(S)</b> 202 Wietse Venema 203 IBM T.J. Watson Research 204 P.O. Box 704 205 Yorktown Heights, NY 10598, USA 206 207 Wietse Venema 208 Google, Inc. 209 111 8th Avenue 210 New York, NY 10011, USA 211 212 MAKEDEFS(1) 213</pre> </body> </html> 214