make.conf revision 25424
125424Sandreas# $Id: make.conf,v 1.47 1997/04/15 08:16:44 asami Exp $
21664Sphk#
33023Srgrimes# This file, if present, will be read by make (see /usr/share/mk/sys.mk).
43023Srgrimes# It allows you to override macro definitions to make without changing
53023Srgrimes# your source tree, or anything the source tree installs.
61664Sphk#
73023Srgrimes# This file must be in valid Makefile syntax.
83023Srgrimes#
91664Sphk# You have to find the things you can put here in the Makefiles and 
101664Sphk# documentation of the source tree.
111664Sphk#
121664Sphk# One, and probably the most common, use could be:
131664Sphk#
1413261Sache#CFLAGS= -O2 -m486 -pipe
151664Sphk#
163023Srgrimes# Another useful entry is
171664Sphk#
189509Srgrimes#NOPROFILE=	true
191664Sphk#	Avoid compiling profiled libraries
201664Sphk#
2116668Snate# To have 'obj' symlinks created in your source directory
2216668Snate#       (they aren't needed/necessary)
2316668Snate#OBJLINK=	yes
2416668Snate#
258024Sjkh# To compile the kernel with special optimisations, you can use this:
261684Scsgr#
278024Sjkh#COPTFLAGS= -O -pipe
288024Sjkh#
297210Sphk# To compile and install the 4.4 lite libm instead of the default use:
301684Scsgr#
317210Sphk#WANT_CSRG_LIBM=	yes
321684Scsgr#
331684Scsgr# If you do not want unformatted manual pages to be compressed
341684Scsgr# when they are installed:
351684Scsgr#
369509Srgrimes#NOMANCOMPRESS=	true
371697Sache#
381697Sache#
3920847Speter# If you want the "compat" shared libraries installed as part of your normal
4020847Speter# builds, uncomment these:
4120847Speter#
4220847Speter#COMPAT1X=	yes
4320847Speter#COMPAT20=	yes
4420847Speter#COMPAT21=	yes
4520847Speter#
4620847Speter#
4714403Sasami# If you do not want additional documentation (some of which are
4814403Sasami# a few hundred KB's) for ports to be installed:
4914403Sasami#
5014403Sasami#NOPORTDOCS=	true
5114403Sasami#
5214403Sasami#
531697Sache# Default format for system documentation, depends on your printer.
541697Sache# Set this to "ascii" for simple printers or screen
551697Sache#
5625424Sandreas#PRINTERDEVICE=	ps
571733Sadam#
581733Sadam#
5914102Sadam# How long to wait for a console keypress before booting the default kernel.
6014102Sadam# This value is approximately in milliseconds. Keypresses are accepted by the
6114102Sadam# BIOS before booting from disk, making it possible to give custom boot
6214102Sadam# parameters even when this is set to 0.
631733Sadam#
641740Sadam#BOOTWAIT=0
653023Srgrimes#BOOTWAIT=30000
661733Sadam#
6718927Spst# By default, the system will always use the keyboard/video card as system
6818927Spst# console.  However, the boot blocks may be configured to use a serial port
6918927Spst# or probe the hardware to determine if the serial port or kbd/video should
7018927Spst# be used.
711733Sadam#
7218927Spst# By default we use COM1 as our serial console port *if* we're going to use
7318927Spst# a serial port as our console at all.  (0x3E8 = COM2)
7418927Spst#
7518928Spst#BOOT_COMCONSOLE_PORT=	0x3F8
7618927Spst#
7718927Spst# Uncomment the following line to test if a keyboard is present.  If the
7818927Spst# keyboard isn't there, use the serial port as console.
7918927Spst#
8018927Spst#BOOT_PROBE_KEYBOARD=	true
8118927Spst#
8218927Spst# Uncomment the following line to read the keyboard lock switch.  If the
8318927Spst# keyboard is locked, use the serial port as console.
8418927Spst#
8518927Spst#BOOT_PROBE_KEYBOARD_LOCK= true
8618927Spst#
8718928Spst# Uncomment the following line to always force the use of a serial console.
8818928Spst#
8918928Spst#BOOT_FORCE_COMCONSOLE=	true
9018928Spst#
914224Sphk# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier.
9215334Sasami# If you have a XFree86 from before 3.0 that has the X distribution in
9315334Sasami# /usr/X386, you want to uncomment this.
943023Srgrimes#
954224Sphk#X11BASE=	/usr/X386
963023Srgrimes#
973023Srgrimes#
9815212Sasami# If you have Motif on your system, uncomment this.
9915212Sasami#
10015212Sasami#HAVE_MOTIF=	yes
10115212Sasami#
10215334Sasami# If the default location of the Motif library (specified below) is NOT
10315334Sasami# appropriate for you, uncomment this and change it to the correct value.
10415334Sasami# If your motif is in ${X11BASE}/lib, you don't need to touch this line.
10515212Sasami#
10615334Sasami#MOTIFLIB=	-L${X11BASE}/lib -lXm
10715212Sasami#
10815212Sasami#
10922638Sjkh# If you are running behind a firewall, uncomment the following to leave a
11022638Sjkh# hint for various make-spawned utilities that they should use passive FTP.
11122638Sjkh#
11222638Sjkh#FTP_PASSIVE_MODE=	YES
11322638Sjkh#
11422638Sjkh#
11524951Sasami# Port master sites.
11624951Sasami#
11724951Sasami# If you want your port fetches to go somewhere else than the default
11824951Sasami# (specified below) in case the distfile/patchfile was not found,
11924951Sasami# uncomment this and change it to a location nearest you.  (Don't
12024951Sasami# remove the "/${DIST_SUBDIR}/" part.)
12124951Sasami#
12224951Sasami#MASTER_SITE_BACKUP?=	\
12324951Sasami#	ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/
12424951Sasami#
12524951Sasami# If you want your port fetches to check the above site first (before
12624951Sasami# the MASTER_SITES specified in the port Makefiles), uncomment the
12724951Sasami# line below.  You can also change the right side to point to wherever 
12824951Sasami# you want.
12924951Sasami#
13024951Sasami#MASTER_SITE_OVERRIDE?=	${MASTER_SITE_BACKUP}
13124951Sasami#
13224951Sasami# Some ports use a special variable to point to a collection of
13324951Sasami# mirrors of well-known software archives.  If you have a mirror close
13424951Sasami# to you, uncomment any of the following lines and change it to that
13524951Sasami# address.  (Don't remove the "/${MASTER_SITE_SUBDIR}/" part.)
13624951Sasami#
13724951Sasami# Note: the right hand sides of the following lines are only for your
13824951Sasami# information.  For a full list of default sites, take a look at
13924951Sasami# bsd.port.mk.
14024951Sasami#
14124951Sasami#MASTER_SITE_XCONTRIB=	ftp://ftp.x.org/contrib/${MASTER_SITE_SUBDIR}/
14224951Sasami#MASTER_SITE_GNU=	ftp://prep.ai.mit.edu/pub/gnu/${MASTER_SITE_SUBDIR}/
14324951Sasami#MASTER_SITE_PERL_CPAN=	ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/${MASTER_SITE_SUBDIR}/
14424951Sasami#MASTER_SITE_TEX_CTAN=	ftp://ftp.tex.ac.uk/public/ctan/tex-archive/${MASTER_SITE_SUBDIR}/
14524951Sasami#MASTER_SITE_SUNSITE=	ftp://sunsite.unc.edu/pub/Linux/${MASTER_SITE_SUBDIR}/
14624951Sasami#
14724951Sasami#
1483241Scsgr# Kerberos IV
1497198Sjkh# If you want the eBones-based Kerberos, define this:
1503241Scsgr#
1513241Scsgr#MAKE_EBONES=	yes
15210758Sache#
15310758Sache#
15418716Sache# SUP/CVSup updates
15510758Sache#
15610758Sache#SUP_UPDATE=     yes
15718716Sache#
15818716Sache# SUP block
15918716Sache#
16018716Sache#SUP=            sup
16118716Sache#SUPFLAGS=       -v
16211095Sache#SUPFILE=        /usr/share/examples/sup/standard-supfile
16311095Sache#SUPFILE1=       /usr/share/examples/sup/secure-supfile
16411095Sache#SUPFILE2=       /usr/share/examples/sup/ports-supfile
16518716Sache#
16618716Sache# CVSup block
16718716Sache#
16820545Sache#SUP=            /usr/local/bin/cvsup
16919316Sache#SUPFLAGS=       -g -L 2 -z
17018716Sache#SUPFILE=        /usr/share/examples/cvsup/standard-supfile
17118716Sache#SUPFILE1=       /usr/share/examples/cvsup/secure-supfile
17218716Sache#SUPFILE2=       /usr/share/examples/cvsup/ports-supfile
17324225Sjoerg
17424225Sjoerg#
17524225Sjoerg# top(1) uses a hash table for the user names.  The size of this hash
17624225Sjoerg# can be tuned to match the number of local users.  The table size should
17724225Sjoerg# be a prime number approximately twice as large as the number of lines in
17824225Sjoerg# /etc/passwd.  The default number is 20011.
17924225Sjoerg#
18024225Sjoerg#TOP_TABLE_SIZE= 101
181