xref: /freebsd/share/examples/etc/make.conf (revision 23f282aa31e9b6fceacd449020e936e98d6f2298)
1# $FreeBSD$
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# Avoid compiling profiled libraries
30#NOPROFILE=	true
31#
32# Compare before install
33#INSTALL=install -C
34#
35# To avoid building perl
36#NOPERL=	true
37#
38# To avoid building the suid perl
39#NOSUIDPERL=	true
40#
41# To build perl with thread support
42#PERL_THREADED=	true
43#
44# To avoid building various parts of the base system:
45#NO_CVS=	true	# do not build CVS
46#NO_BIND=	true	# do not build BIND
47#NO_FORTRAN=	true	# do not build g77 and related libraries
48#NO_MAILWRAPPER=true	# do not build the mailwrapper(8) MTA selector
49#NO_OBJC=	true	# do not build Objective C support
50#NO_OPENSSH=	true	# do not build OpenSSH
51#NO_OPENSSL=	true	# do not build OpenSSL (implies NO_OPENSSH)
52#NO_SENDMAIL=	true	# do not build sendmail and related programs
53#NO_SHAREDOCS=	true	# do not build the 4.4BSD legacy docs
54#NO_TCSH=	true	# do not build and install /bin/csh (which is tcsh)
55#NO_X=		true	# do not compile in XWindows support (e.g. doscmd)
56#NOCRYPT=	true	# do not build any crypto code
57#NODESCRYPTLINKS=true	# do not replace libcrypt -> libscrypt links
58#NOGAMES=	true	# do not build games (games/ subdir)
59#NOINFO=	true	# do not make or install info files
60#NOLIBC_R=	true	# do not build libc_r (re-entrant version of libc)
61#NOSECURE=	true	# do not build crypto code in secure/ subdir
62#NOSHARE=	true	# do not go into the share subdir
63#NOUUCP=	true	# do not build uucp related programs
64#
65# To tell the base system that you are using RSAREF (from ports).
66# (This needs revisiting) - it is very likely that this is too
67# heavily tied to USA_RESIDENT==YES.
68#RSAREF=	YES
69#
70# To avoid running MAKEDEV all on /dev during install:
71#NO_MAKEDEV=	true
72#
73# To compile just the kernel with special optimisations, you should use
74# this instead of CFLAGS (which is not applicable to kernel builds anyway):
75#
76#COPTFLAGS= -O -pipe
77#
78# To compile and install the 4.4 lite libm instead of the default use:
79#
80#WANT_CSRG_LIBM=	yes
81#
82# If you do not want unformatted manual pages to be compressed
83# when they are installed:
84#
85#NOMANCOMPRESS=	true
86#
87#
88# If you want the "compat" shared libraries installed as part of your normal
89# builds, uncomment these:
90#
91#COMPAT1X=	yes
92#COMPAT20=	yes
93#COMPAT21=	yes
94#COMPAT22=	yes
95#COMPAT3X=	yes
96#
97#
98# If you do not want additional documentation (some of which are
99# a few hundred KB's) for ports to be installed:
100#
101#NOPORTDOCS=	true
102#
103#
104# Default format for system documentation, depends on your printer.
105# Set this to "ascii" for simple printers or screen
106#
107#PRINTERDEVICE=	ps
108#
109#
110# How long to wait for a console keypress before booting the default kernel.
111# This value is approximately in milliseconds. Keypresses are accepted by the
112# BIOS before booting from disk, making it possible to give custom boot
113# parameters even when this is set to 0.
114#
115#BOOTWAIT=0
116#BOOTWAIT=30000
117#
118# By default, the system will always use the keyboard/video card as system
119# console.  However, the boot blocks may be dynamically configured to use a
120# serial port in addition to or instead of the keyboard/video console.
121#
122# By default we use COM1 as our serial console port *if* we're going to use
123# a serial port as our console at all.  Alter as necessary.
124#
125#   COM1: = 0x3F8, COM2: = 0x2F8, COM3: = 0x3E8, COM4: = 0x2E8
126#
127#BOOT_COMCONSOLE_PORT=	0x3F8
128#
129# The default serial console speed is 9600.  Set the speed to a larger value
130# for better interactive response.
131#
132#BOOT_COMCONSOLE_SPEED=	115200
133#
134#
135# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier.
136# If you have a XFree86 from before 3.0 that has the X distribution in
137# /usr/X386, you want to uncomment this.
138#
139#X11BASE=	/usr/X386
140#
141#
142# If you have Motif on your system, uncomment this.
143#
144#HAVE_MOTIF=	yes
145#MOTIF_STATIC=  yes
146#
147# If the default location of the Motif library (specified below) is NOT
148# appropriate for you, uncomment this and change it to the correct value.
149# If your motif is in ${X11BASE}/lib, you don't need to touch this line.
150#
151#MOTIFLIB=	-L${X11BASE}/lib -lXm
152#
153#
154# If you're resident in the USA, this will help various ports to determine
155# whether or not they should attempt to comply with the various U.S.
156# export regulations on certain types of software which do not apply to
157# anyone else in the world.
158#
159#USA_RESIDENT=		YES
160#
161# Next one will help ports developers to debug
162#
163#FORCE_PKG_REGISTER=    YES
164#
165#
166# Port master sites.
167#
168# If you want your port fetches to go somewhere else than the default
169# (specified below) in case the distfile/patchfile was not found,
170# uncomment this and change it to a location nearest you.  (Don't
171# remove the "/${DIST_SUBDIR}/" part.)
172#
173#MASTER_SITE_BACKUP?=	\
174#	ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
175#
176# If you want your port fetches to check the above site first (before
177# the MASTER_SITES specified in the port Makefiles), uncomment the
178# line below.  You can also change the right side to point to wherever
179# you want.
180#
181#MASTER_SITE_OVERRIDE?=	${MASTER_SITE_BACKUP}
182#
183# Some ports use a special variable to point to a collection of
184# mirrors of well-known software archives.  If you have a mirror close
185# to you, uncomment any of the following lines and change it to that
186# address.  (Don't remove the "/%SUBDIR%/" part.)
187#
188# Note: the right hand sides of the following lines are only for your
189# information.  For a full list of default sites, take a look at
190# bsd.port.mk.
191#
192#MASTER_SITE_XCONTRIB=	ftp://ftp.x.org/contrib/%SUBDIR%/
193#MASTER_SITE_GNU=	ftp://prep.ai.mit.edu/pub/gnu/%SUBDIR%/
194#MASTER_SITE_PERL_CPAN=	ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/
195#MASTER_SITE_TEX_CTAN=	ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/
196#MASTER_SITE_SUNSITE=	ftp://metalab.unc.edu/pub/Linux/%SUBDIR%/
197#MASTER_SITE_KDE=	ftp://ftp.kde.org/pub/kde/%SUBDIR%/
198#MASTER_SITE_COMP_SOURCES=	ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/
199#MASTER_SITE_GNOME=	ftp://ftp.gnome.org/pub/GNOME/sources/%SUBDIR%/
200#MASTER_SITE_AFTERSTEP=	ftp://ftp.afterstep.org/%SUBDIR%/
201#MASTER_SITE_WINDOWMAKER=	ftp://ftp.windowmaker.org/pub/%SUBDIR%/
202#
203#
204# Kerberos IV
205# If you want KerberosIV (KTH eBones), define this:
206#
207#MAKE_KERBEROS4=	yes
208#
209#
210# Kerberos 5
211# If you want KerberosIV (KTH Heimdal), define this:
212# ** WARNING **
213# ** WARNING ** This is very experimental at this stage. If you
214# ** WARNING ** need stable Kerberos5, rather use the port(s).
215# ** WARNING **
216#
217#MAKE_KERBEROS5=	yes
218#
219#
220# Kerberos5
221# If you want to install MIT Kerberos5 port somewhere other than /usr/local,
222# define this (this is also used to tell ssh1 that kerberos is needed):
223#
224#KRB5_HOME=		/usr/local
225#
226#
227# CVSup update flags.  Edit SUPFILE settings to reflect whichever distribution
228# file(s) you use on your site (see /usr/share/examples/cvsup/README for more
229# information on CVSup and these files).  To use, do "make update" in /usr/src.
230#
231#SUP_UPDATE=     yes
232#
233#SUP=            /usr/local/bin/cvsup
234#SUPFLAGS=       -g -L 2
235#SUPFILE=        /usr/share/examples/cvsup/standard-supfile
236#SUPFILE1=       /usr/share/examples/cvsup/secure-supfile
237#PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
238#DOCSUPFILE=     /usr/share/examples/cvsup/doc-supfile
239#
240# top(1) uses a hash table for the user names.  The size of this hash
241# can be tuned to match the number of local users.  The table size should
242# be a prime number approximately twice as large as the number of lines in
243# /etc/passwd.  The default number is 20011.
244#
245#TOP_TABLE_SIZE= 101
246#
247# Documentation
248#
249# The list of languages and encodings to build and install
250#
251#DOC_LANG=	en_US.ISO_8859-1 ru_RU.KOI8-R
252