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