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