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