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=utf-8"> 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>, AUXLIBS_SDBM, 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>pcre2-config</b> or <b>pcre-config</b> util- 108 ity are installed. 109 110 <b>-DNO_POSIX_GETPW_R</b> 111 Disable support for POSIX getpwnam_r/getpwuid_r. 112 113 <b>-DNO_RES_NCALLS</b> 114 Do not build with the threadsafe resolver(5) API 115 (res_ninit() etc.). 116 117 <b>-DNO_SIGSETJMP</b> 118 Use setjmp()/longjmp() instead of sigsetjmp()/sig- 119 longjmp(). By default, Postfix uses sigsetjmp()/sig- 120 longjmp() when they appear to work. 121 122 <b>-DNO_SNPRINTF</b> 123 Use sprintf() instead of snprintf(). By default, Postfix 124 uses snprintf() except on ancient systems. 125 126 <b>DEBUG=</b><i>debug</i><b>_</b><i>level</i> 127 Specifies a non-default debugging level. The default is <b>-g</b>. 128 Specify <b>DEBUG=</b> to turn off debugging. 129 130 <b>OPT=</b><i>optimization</i><b>_</b><i>level</i> 131 Specifies a non-default optimization level. The default is <b>-O</b>. 132 Specify <b>OPT=</b> to turn off optimization. 133 134 <b>POSTFIX_INSTALL_OPTS=</b><i>-option...</i> 135 Specifies options for the postfix-install command, separated by 136 whitespace. Currently, the only supported option is 137 <b>-keep-build-mtime</b>. 138 139 <b>SHLIB_CFLAGS=</b><i>flags</i> 140 Override the compiler flags (typically, "-fPIC") for Postfix 141 dynamically-linked libraries and database plugins. 142 143 This feature was introduced with Postfix 3.0. 144 145 <b>SHLIB_RPATH=</b><i>rpath</i> 146 Override the runpath (typically, "'-Wl,-rpath,${SHLIB_DIR}'") 147 for Postfix dynamically-linked libraries. 148 149 This feature was introduced with Postfix 3.0. 150 151 <b>SHLIB_SUFFIX=</b><i>suffix</i> 152 Override the filename suffix (typically, ".so") for Postfix 153 dynamically-linked libraries and database plugins. 154 155 This feature was introduced with Postfix 3.0. 156 157 <b>shared=yes</b> 158 159 <b>shared=no</b> 160 Enable (disable) Postfix builds with dynamically-linked 161 libraries typically named $<a href="postconf.5.html#shlib_directory">shlib_directory</a>/libpostfix-*.so.*. 162 163 This feature was introduced with Postfix 3.0. 164 165 <b>dynamicmaps=yes</b> 166 167 <b>dynamicmaps=no</b> 168 Enable (disable) Postfix builds with the configuration file 169 $<a href="postconf.5.html#meta_directory">meta_directory</a>/dynamicmaps.cf and dynamically-loadable database 170 plugins typically named postfix-*.so.*. The setting "dynam- 171 icmaps=yes" implicitly enables Postfix dynamically-linked 172 libraries. 173 174 This feature was introduced with Postfix 3.0. 175 176 <b>pie=yes</b> 177 178 <b>pie=no</b> Enable (disable) Postfix builds with position-independent exe- 179 cutables, on platforms where this is supported. 180 181 This feature was introduced with Postfix 3.0. 182 183 <i>installation</i><b>_</b><i>parameter</i><b>=</b><i>value</i>... 184 Override the compiled-in default value of the specified instal- 185 lation parameter(s). The following parameters are supported in 186 this context: 187 188 <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>- 189 <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> 190 <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> 191 <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> 192 <a href="postconf.5.html#openssl_path">openssl_path</a> 193 194 See the <a href="postconf.5.html">postconf(5)</a> manpage for a description of these parame- 195 ters. 196 197 This feature was introduced with Postfix 3.0. 198 199 <b>WARN=</b><i>warning</i><b>_</b><i>flags</i> 200 Specifies non-default gcc compiler warning options for use when 201 "make" is invoked in a source subdirectory only. 202 203<b>LICENSE</b> 204 The Secure Mailer license must be distributed with this software. 205 206<b>AUTHOR(S)</b> 207 Wietse Venema 208 IBM T.J. Watson Research 209 P.O. Box 704 210 Yorktown Heights, NY 10598, USA 211 212 Wietse Venema 213 Google, Inc. 214 111 8th Avenue 215 New York, NY 10011, USA 216 217 MAKEDEFS(1) 218</pre> </body> </html> 219