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