Merge from vendor branch GCC:
[dragonfly.git] / etc / defaults / make.conf
1 # $FreeBSD: src/etc/defaults/make.conf,v 1.97.2.80 2003/02/15 16:34:56 trhodes Exp $
2 # $DragonFly: src/etc/defaults/make.conf,v 1.12 2005/03/01 18:45:37 asmodai Exp $
3 #
4 # NOTE:  Please would any committer updating this file also update the
5 # make.conf(5) manual page, if necessary, which is located in
6 # src/share/man/man5/make.conf.5.
7 #
8 # This file, if present, will be read by make (see /usr/share/mk/sys.mk).
9 # It allows you to override macro definitions to make without changing
10 # your source tree, or anything the source tree installs.
11 #
12 # This file must be in valid Makefile syntax.
13 #
14 # You have to find the things you can put here in the Makefiles and 
15 # documentation of the source tree.
16 #
17 #
18 # The CPUTYPE variable controls which processor should be targeted for
19 # generated code.  This controls processor-specific optimizations in
20 # certain code (currently only OpenSSL) as well as modifying the value
21 # of CFLAGS to contain the appropriate optimization directive to gcc.
22 # The automatic setting of CFLAGS may be overridden using the
23 # NO_CPU_CFLAGS variable below.
24 # Currently the following CPU types are recognized:
25 #   Intel x86 architecture:
26 #       (AMD CPUs)      k7 k6-2 k6 k5
27 #       (Intel CPUs)    p4 p3 p2 i686 i586/mmx i586 i486 i386
28 #
29 # If you experience any problems after setting this flag, please unset
30 # it again before submitting a bug report or attempting to modify code.
31 # It may be that certain types of software will become unstable after being
32 # compiled with processor-specific (or higher - see below) optimization flags.
33 # If in doubt, do not set CPUTYPE or CFLAGS to non-default values.
34 #
35 #CPUTYPE=i686
36 #NO_CPU_CFLAGS= true    # Don't add -march=<cpu> to CFLAGS automatically
37 #NO_CPU_COPTFLAGS=true  # Don't add -march=<cpu> to COPTFLAGS automatically
38 #
39 # The CCVER variable controls which GCC-version to use by default.  It
40 # should be set using ?= so as not to interfere with CCVER overrides from
41 # userland or the buildworld.  We currently recommend that an override NOT
42 # be set in /etc/make.conf and that gcc 3.4 not yet be used to build the boot
43 # blocks, boot loader, or the kernel.
44 #
45 # CCVER?=gcc2   # (use GCC 2.95.x, default)
46 # CCVER?=gcc34  # (use GCC 3.4, experimental)
47
48 #
49 # CFLAGS controls the compiler settings used when compiling C code.
50 # Note that optimization settings above -O (-O2, ...) are not recommended
51 # or supported for compiling the world or the kernel - please revert any
52 # nonstandard optimization settings to "-O" before submitting bug reports
53 # to the developers.
54 #
55 #CFLAGS= -O -pipe
56 #
57 # CXXFLAGS controls the compiler settings used when compiling C++ code.
58 # Note that CXXFLAGS is initially set to the value of CFLAGS.  If you wish
59 # to add to CXXFLAGS value, "+=" must be used rather than "=".  Using "="
60 # alone will remove the often needed contents of CFLAGS from CXXFLAGS.
61 #
62 #CXXFLAGS+= -fmemoize-lookups -fsave-memoized
63 #
64 # BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggested
65 # for use in developing FreeBSD and testing changes.  They can be used by
66 # putting "CFLAGS+=${BDECFLAGS}" in /etc/make.conf.  -Wconversion is not
67 # included here due to compiler bugs, e.g., mkdir()'s mode_t argument.
68 #
69 BDECFLAGS=      -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
70                 -Wcast-qual -Wchar-subscripts -Winline \
71                 -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
72                 -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
73 #
74 # WARNS_WERROR causes -Werror to be added when WARNS is in effect.
75 #
76 #WARNS_WERROR=  yes
77 #
78 # To compile just the kernel with special optimizations, you should use
79 # this instead of CFLAGS (which is not applicable to kernel builds anyway).
80 # There is very little to gain by using higher optimization levels, and doing
81 # so can cause problems.
82 #
83 #COPTFLAGS= -O -pipe
84 #
85 # Strip the file before installing.  Setting this to nothing will keep
86 # the debugging symbols in the installed files.
87 #STRIP= -s
88 #
89 # Compare before install
90 #INSTALL=install -C
91 #
92 # To enable installing suidperl with the setuid bit turned on
93 #ENABLE_SUIDPERL=       true
94 #
95 # To build ppp with normal permissions
96 #PPP_NOSUID=    true
97 #
98 # To enable installing ssh(1) with the setuid bit turned on
99 #ENABLE_SUID_SSH=       true
100 #
101 # To avoid building various parts of the base system:
102 #NO_CVS=        true    # do not build CVS
103 #NO_BIND=       true    # do not build BIND
104 #NO_FORTRAN=    true    # do not build g77 and related libraries
105 #NO_I4B=        true    # do not build isdn4bsd package
106 #NO_IPFILTER=   true    # do not build IP Filter package
107 #NO_LPR=        true    # do not build lpr and related programs
108 #NO_MAILWRAPPER=true    # do not build the mailwrapper(8) MTA selector
109 #NO_MODULES=    true    # do not build modules with the kernel
110 #NO_OBJC=       true    # do not build Objective C support
111 #NO_OPENSSH=    true    # do not build OpenSSH
112 #NO_OPENSSL=    true    # do not build OpenSSL (implies NO_OPENSSH)
113 #NO_SENDMAIL=   true    # do not build sendmail and related programs
114 #NO_SHAREDOCS=  true    # do not build the 4.4BSD legacy docs
115 #NO_X=          true    # do not compile in XWindows support (e.g. doscmd)
116 #NOCRYPT=       true    # do not build any crypto code
117 #NOGAMES=       true    # do not build games (games/ subdir)
118 #NOINFO=        true    # do not make or install info files
119 #NOLIBC_R=      true    # do not build libc_r (re-entrant version of libc)
120 #NOMAN=         true    # do not build manual pages
121 #NOPROFILE=     true    # Avoid compiling profiled libraries
122 #NOSHARE=       true    # do not go into the share subdir
123 #
124 # To build sys/modules when building the world (our old way of doing things)
125 #MODULES_WITH_WORLD=true        # do not build modules when building kernel
126 #
127 # The list of modules to build instead of all of them.
128 #MODULES_OVERRIDE=      emulation/linux net/ipfw
129 #
130 # The following controls building optional IDEA code in libcrypto and
131 # certain ports.  Patents are involved - you must not use this unless
132 # you either have a license or fall within patent 'fair use'
133 # provisions.
134 #
135 # *** It is YOUR RESPONSIBILITY to determine if you can use this! ***
136 #
137 # IDEA is patented in the USA and many European countries - thought to
138 # be OK to use for any non-commercial use.  This is optional.
139 #MAKE_IDEA=     YES     # IDEA (128 bit symmetric encryption)
140 #
141 # To avoid running MAKEDEV all on /dev during install:
142 #NO_MAKEDEV=    true
143 #
144 # If you do not want unformatted manual pages to be compressed
145 # when they are installed:
146 #
147 #NOMANCOMPRESS= true
148 #
149 #
150 # If you want the "compat" shared libraries installed as part of your normal
151 # builds, uncomment these:
152 #
153 #COMPAT1X=      yes
154 #COMPAT20=      yes
155 #COMPAT21=      yes
156 #COMPAT22=      yes
157 #COMPAT3X=      yes
158 #COMPAT4X=      yes
159 #
160 #
161 # If you do not want additional documentation (some of which are
162 # a few hundred KB's) for ports to be installed:
163 #
164 #NOPORTDOCS=    true
165 #
166 #
167 # Default format for system documentation, depends on your printer.
168 # Set this to "ascii" for simple printers or screen
169 #
170 #PRINTERDEVICE= ps
171 #
172 #
173 # How long to wait for a console keypress before booting the default kernel.
174 # This value is approximately in milliseconds. Keypresses are accepted by the
175 # BIOS before booting from disk, making it possible to give custom boot
176 # parameters even when this is set to 0.
177 #
178 #BOOTWAIT=0
179 #BOOTWAIT=30000
180 #
181 # By default, the system will always use the keyboard/video card as system
182 # console.  However, the boot blocks may be dynamically configured to use a
183 # serial port in addition to or instead of the keyboard/video console.
184 #
185 # By default we use COM1 as our serial console port *if* we're going to use
186 # a serial port as our console at all.  Alter as necessary.
187 #
188 #   COM1: = 0x3F8, COM2: = 0x2F8, COM3: = 0x3E8, COM4: = 0x2E8
189 #
190 #BOOT_COMCONSOLE_PORT=  0x3F8
191 #
192 # The default serial console speed is 9600.  Set the speed to a larger value
193 # for better interactive response.
194 #
195 #BOOT_COMCONSOLE_SPEED= 115200
196 #
197 # By default the 'pxeboot' loader retrieves the kernel via NFS.  Defining
198 # this and recompiling /usr/src/sys/boot will cause it to retrieve the kernel
199 # via TFTP.  This allows pxeboot to load a custom BOOTP diskless kernel yet
200 # still mount the server's '/' (i.e. rather than load the server's kernel).
201 #
202 #LOADER_TFTP_SUPPORT= YES
203 #
204 # By default, the ports collection attempts to use XFree86 4.X.  If
205 # you are running XFree86 3.3.X, uncomment this line.
206 #
207 #XFREE86_VERSION=       3
208 #
209 # By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier.
210 # If you have a XFree86 from before 3.0 that has the X distribution in
211 # /usr/X386, you want to uncomment this.
212 #
213 #X11BASE=       /usr/X386
214 #
215 #
216 # If you have Motif on your system, uncomment this.
217 #
218 #HAVE_MOTIF=    yes
219 #MOTIF_STATIC=  yes
220 #
221 # If the default location of the Motif library (specified below) is NOT
222 # appropriate for you, uncomment this and change it to the correct value.
223 # If your motif is in ${X11BASE}/lib, you don't need to touch this line.
224 #
225 #MOTIFLIB=      -L${X11BASE}/lib -lXm
226 #
227 #
228 # If you're resident in the USA, this will help various ports to determine
229 # whether or not they should attempt to comply with the various U.S.
230 # export regulations on certain types of software which do not apply to
231 # anyone else in the world.
232 #
233 #USA_RESIDENT=          YES
234 #
235 #
236 # Override "don't install a port that's already installed" behavior.
237 # One might wish to do this for ports debugging or to unconditionally
238 # reinstall a set of suspect/broken ports.
239 #
240 #FORCE_PKG_REGISTER=    YES
241 #
242 #
243 # If you're behind a firewall and need FTP or HTTP proxy services for
244 # ports collection fetching to work, the following examples give the
245 # necessary syntax.  See the fetch(3) man page for details.
246 #
247 #FETCH_ENV=     FTP_PROXY=ftp://10.0.0.1:21
248 #FETCH_ENV=     HTTP_PROXY=http://10.0.0.1:80
249 #
250 #
251 # Port master sites.
252 #
253 # If you want your port fetches to go somewhere else than the default
254 # (specified below) in case the distfile/patchfile was not found,
255 # uncomment this and change it to a location nearest you.  (Don't
256 # remove the "/${DIST_SUBDIR}/" part.)
257 #
258 #MASTER_SITE_BACKUP?=   \
259 #       ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
260 #
261 # If you want your port fetches to check the above site first (before
262 # the MASTER_SITES specified in the port Makefiles), uncomment the
263 # line below.  You can also change the right side to point to wherever 
264 # you want.
265 #
266 #MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}
267 #
268 # Some ports use a special variable to point to a collection of
269 # mirrors of well-known software archives.  If you have a mirror close
270 # to you, uncomment any of the following lines and change it to that
271 # address.  (Don't remove the "/%SUBDIR%/" part.)
272 #
273 # Note: the right hand sides of the following lines are only for your
274 # information.  For a full list of default sites, take a look at
275 # bsd.sites.mk.
276 #
277 #MASTER_SITE_AFTERSTEP= ftp://ftp.afterstep.org/%SUBDIR%/
278 #MASTER_SITE_COMP_SOURCES=      ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/
279 #MASTER_SITE_FREEBSD_ORG=      ftp://ftp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/
280 #MASTER_SITE_GNOME=     ftp://ftp.gnome.org/pub/GNOME/%SUBDIR%/
281 #MASTER_SITE_GNU=       ftp://ftp.gnu.org/gnu/%SUBDIR%/
282 #MASTER_SITE_KDE=       ftp://ftp.kde.org/pub/kde/%SUBDIR%/
283 #MASTER_SITE_LOCAL=     ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/
284 #MASTER_SITE_MOZILLA=   ftp://ftp.mozilla.org/pub/%SUBDIR%/
285 #MASTER_SITE_NETBSD=    ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/%SUBDIR%/
286 #MASTER_SITE_PERL_CPAN= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/
287 #MASTER_SITE_PORTS_JP=  ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/%SUBDIR%/
288 #MASTER_SITE_RINGSERVER=        ftp://ftp.dnsbalance.ring.gr.jp/pub/%SUBDIR%/
289 #MASTER_SITE_RUBY=     ftp://ftp.ruby-lang.org/pub/ruby/%SUBDIR%/
290 #MASTER_SITE_SOURCEFORGE=       ftp://ftp2.sourceforge.net/pub/sourceforge/%SUBDIR%/
291 #MASTER_SITE_SOURCEWARE=        ftp://ftp.freesoftware.com/pub/sourceware/%SUBDIR%/
292 #MASTER_SITE_SUNSITE=   ftp://metalab.unc.edu/pub/Linux/%SUBDIR%/
293 #MASTER_SITE_TCLTK=     ftp://ftp.scriptics.com/pub/tcl/%SUBDIR%/
294 #MASTER_SITE_TEX_CTAN=  ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/
295 #MASTER_SITE_THEMES=    ftp://ftp.themes.org/pub/themes/%SUBDIR%/
296 #MASTER_SITE_WINDOWMAKER=       ftp://ftp.windowmaker.org/pub/%SUBDIR%/
297 #MASTER_SITE_XCONTRIB=  ftp://ftp.x.org/contrib/%SUBDIR%/
298 #MASTER_SITE_XEMACS=    ftp://ftp.xemacs.org/pub/xemacs/%SUBDIR%/
299 #MASTER_SITE_XFREE=     ftp://ftp.xfree86.org/pub/XFree86/%SUBDIR%/source/
300 #
301 # Also it is highly recommended that you configure MASTER_SORT_REGEX
302 # to choose better mirror sites for you.  List awk(1)-style regular
303 # expressions separated by space so MASTER_SITES will be sorted in
304 # that order.  The following example is for Japanese users; change
305 # "jp" part to your ccTLD ("de", "ru", "uk", etc.) or the domain names
306 # of your nearest/upstream networks to meet your needs.
307 #
308 #MASTER_SORT_REGEX?=    ://[^/]*\.jp[/.]
309 #
310 # Ports can place their working directories somewhere other than under 
311 # /usr/ports.  
312 #WRKDIRPREFIX=  /var/tmp
313 #
314 # Kerberos 5
315 # If you want Kerberos 5 (KTH Heimdal), define this:
316 #
317 #MAKE_KERBEROS5=        yes
318 #
319 # Kerberos 5 su (k5su)
320 # If you want to use the k5su utility, define this to have it installed
321 # set-user-ID.
322 #ENABLE_SUID_K5SU=      yes
323 #
324 #
325 # Kerberos5
326 # If you want to install MIT Kerberos5 port somewhere other than /usr/local,
327 # define this (this is also used to tell ssh1 that kerberos is needed):
328 #
329 #KRB5_HOME=             /usr/local
330 #
331 #
332 # CVSup update flags.  Edit SUPFILE settings to reflect whichever distribution
333 # file(s) you use on your site (see /usr/share/examples/cvsup/README for more
334 # information on CVSup and these files).  To use, do "make update" in /usr/src.
335 #
336 #SUP_UPDATE=     yes
337 #
338 #SUP=            /usr/local/bin/cvsup
339 #SUPFLAGS=       -g -L 2
340 #SUPHOST=        cvsup.uk.FreeBSD.org
341 #SUPFILE=        /usr/share/examples/cvsup/stable-supfile
342 #PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
343 #DOCSUPFILE=     /usr/share/examples/cvsup/doc-supfile
344 #
345 # top(1) uses a hash table for the user names.  The size of this hash
346 # can be tuned to match the number of local users.  The table size should
347 # be a prime number approximately twice as large as the number of lines in
348 # /etc/passwd.  The default number is 20011.
349 #
350 #TOP_TABLE_SIZE= 101
351 #
352 # Documentation
353 #
354 # The list of languages and encodings to build and install
355 #
356 #DOC_LANG=      en_US.ISO8859-1 ru_RU.KOI8-R
357 #
358 #
359 # sendmail
360 #
361 # The following sets the default m4 configuration file to use at
362 # install time.  Use with caution as a make install will overwrite
363 # any existing /etc/mail/sendmail.cf.  Note that SENDMAIL_CF is now
364 # deprecated.  The value should be a fully qualified path name.
365 # Avoid using a value of /etc/mail/sendmail.mc as a buildworld will
366 # create /etc/mail/sendmail.cf before installworld installs an
367 # updated sendmail binary.
368 #
369 #SENDMAIL_MC=/etc/mail/myconfig.mc
370 #
371 # The following sets the default m4 configuration file for mail
372 # submission to use at install time.  Use with caution as a make
373 # install will overwrite any existing /etc/mail/submit.cf.  The
374 # value should be a fully qualified path name.
375 # Avoid using a value of /etc/mail/submit.mc as a buildworld will
376 # create /etc/mail/submit.cf before installworld installs an
377 # updated sendmail binary.
378 #
379 #SENDMAIL_SUBMIT_MC=/etc/mail/mysubmit.mc
380 #
381 # If you need to build additional .cf files during a make buildworld,
382 # include the full paths to the .mc files in SENDMAIL_ADDITIONAL_MC.
383 # Avoid using a value of /etc/mail/sendmail.mc as a buildworld will
384 # create /etc/mail/sendmail.cf before installworld installs an
385 # updated sendmail binary.
386 #
387 #SENDMAIL_ADDITIONAL_MC=/etc/mail/foo.mc /etc/mail/bar.mc
388 #
389 # Setting the following variable modifies the flags passed to m4 when
390 # building a .cf file from a .mc file.  It can be used to enable
391 # features disabled by default.
392 #
393 #SENDMAIL_M4_FLAGS=
394 #
395 # Setting the following variables modifies the build environment for
396 # sendmail and its related utilities. For example, SASL support can be
397 # added with settings such as:
398 #
399 #    with SASLv1:
400 #       SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL
401 #       SENDMAIL_LDFLAGS=-L/usr/local/lib
402 #       SENDMAIL_LDADD=-lsasl
403 #
404 #    with SASLv2:
405 #       SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
406 #       SENDMAIL_LDFLAGS=-L/usr/local/lib
407 #       SENDMAIL_LDADD=-lsasl2
408 #
409 # Note: If you are using Cyrus SASL with other applications which require
410 #       access to the sasldb file, you should add the following to your
411 #       sendmail.mc file:
412 #
413 #       define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLDBFile')
414 #
415 #SENDMAIL_CFLAGS=
416 #SENDMAIL_LDFLAGS=
417 #SENDMAIL_LDADD=
418 #SENDMAIL_DPADD=
419 #
420 # Setting SENDMAIL_SET_USER_ID will install the sendmail binary as a
421 # set-user-ID root binary instead of a set-group-ID smmsp binary and will
422 # prevent the installation of /etc/mail/submit.cf.
423 # This is a deprecated mode of operation.  See etc/mail/README for more
424 # information.
425 #
426 #SENDMAIL_SET_USER_ID=
427 #
428 # The permissions to use on alias and map databases generated using
429 # /etc/mail/Makefile.  Defaults to 0640.
430 #
431 #SENDMAIL_MAP_PERMS=