make.conf revision 57458
150472Speter# $FreeBSD: head/share/examples/etc/make.conf 57458 2000-02-24 23:08:19Z markm $
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#
1429281Sjkh#CFLAGS= -O -pipe
151664Sphk#
161664Sphk#
1742325Sobrien# Avoid compiling profiled libraries
189509Srgrimes#NOPROFILE=	true
191664Sphk#
2042325Sobrien# Compare before install
2135222Sache#INSTALL=install -C
2235222Sache#
2334890Sdima# To avoid building the suid perl
2434890Sdima#NOSUIDPERL=	true
2534651Sjkh#
2650883Smarkm# To build perl with thread support
2750883Smarkm#PERL_THREADED=	true
2850883Smarkm#
2951299Speter# To avoid building various parts of the base system:
3035849Sphk#NO_SENDMAIL=	true
3151299Speter#NO_CVS=	true
3257458Smarkm#NO_OPENSSH=	true
3357458Smarkm#NO_OPENSSL=	true
3435206Sphk#
3557458Smarkm# To tell the base system that you are using RSAREF (from ports).
3657458Smarkm# (This needs revisiting) - it is very likely that this is too
3757458Smarkm# heavily tied to USA_RESIDENT==YES.
3857458Smarkm#RSAREF=	YES
3957458Smarkm#
4057071Srwatson# To avoid running MAKEDEV all on /dev during install:
4157071Srwatson#NO_MAKEDEV=	true
4257071Srwatson#
4329281Sjkh# To compile just the kernel with special optimisations, you should use
4429281Sjkh# this instead of CFLAGS (which is not applicable to kernel builds anyway):
451684Scsgr#
468024Sjkh#COPTFLAGS= -O -pipe
478024Sjkh#
487210Sphk# To compile and install the 4.4 lite libm instead of the default use:
491684Scsgr#
507210Sphk#WANT_CSRG_LIBM=	yes
511684Scsgr#
521684Scsgr# If you do not want unformatted manual pages to be compressed
531684Scsgr# when they are installed:
541684Scsgr#
559509Srgrimes#NOMANCOMPRESS=	true
561697Sache#
571697Sache#
5820847Speter# If you want the "compat" shared libraries installed as part of your normal
5920847Speter# builds, uncomment these:
6020847Speter#
6120847Speter#COMPAT1X=	yes
6220847Speter#COMPAT20=	yes
6320847Speter#COMPAT21=	yes
6447318Sobrien#COMPAT22=	yes
6547430Sobrien#COMPAT3X=	yes
6620847Speter#
6720847Speter#
6814403Sasami# If you do not want additional documentation (some of which are
6914403Sasami# a few hundred KB's) for ports to be installed:
7014403Sasami#
7114403Sasami#NOPORTDOCS=	true
7214403Sasami#
7314403Sasami#
741697Sache# Default format for system documentation, depends on your printer.
751697Sache# Set this to "ascii" for simple printers or screen
761697Sache#
7725424Sandreas#PRINTERDEVICE=	ps
781733Sadam#
791733Sadam#
8014102Sadam# How long to wait for a console keypress before booting the default kernel.
8114102Sadam# This value is approximately in milliseconds. Keypresses are accepted by the
8214102Sadam# BIOS before booting from disk, making it possible to give custom boot
8314102Sadam# parameters even when this is set to 0.
841733Sadam#
851740Sadam#BOOTWAIT=0
863023Srgrimes#BOOTWAIT=30000
871733Sadam#
8818927Spst# By default, the system will always use the keyboard/video card as system
8926522Sbde# console.  However, the boot blocks may be dynamically configured to use a
9026522Sbde# serial port in addition to or instead of the keyboard/video console.
911733Sadam#
9218927Spst# By default we use COM1 as our serial console port *if* we're going to use
9349190Snik# a serial port as our console at all.  Alter as necessary.
9418927Spst#
9549190Snik#   COM1: = 0x3F8, COM2: = 0x2F8, COM3: = 0x3E8, COM4: = 0x2E8
9649190Snik#
9718928Spst#BOOT_COMCONSOLE_PORT=	0x3F8
9818927Spst#
9926522Sbde# The default serial console speed is 9600.  Set the speed to a larger value
10026522Sbde# for better interactive response.
10118927Spst#
10226522Sbde#BOOT_COMCONSOLE_SPEED=	115200
10318927Spst#
10418927Spst#
1054224Sphk# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier.
10615334Sasami# If you have a XFree86 from before 3.0 that has the X distribution in
10715334Sasami# /usr/X386, you want to uncomment this.
1083023Srgrimes#
1094224Sphk#X11BASE=	/usr/X386
1103023Srgrimes#
1113023Srgrimes#
11215212Sasami# If you have Motif on your system, uncomment this.
11315212Sasami#
11415212Sasami#HAVE_MOTIF=	yes
11535221Sache#MOTIF_STATIC=  yes
11615212Sasami#
11715334Sasami# If the default location of the Motif library (specified below) is NOT
11815334Sasami# appropriate for you, uncomment this and change it to the correct value.
11915334Sasami# If your motif is in ${X11BASE}/lib, you don't need to touch this line.
12015212Sasami#
12115334Sasami#MOTIFLIB=	-L${X11BASE}/lib -lXm
12215212Sasami#
12315212Sasami#
12429949Sjkh# If you're resident in the USA, this will help various ports to determine
12529949Sjkh# whether or not they should attempt to comply with the various U.S.
12629949Sjkh# export regulations on certain types of software which do not apply to
12729949Sjkh# anyone else in the world.
12822638Sjkh#
12929949Sjkh#USA_RESIDENT=		YES
13029949Sjkh#
13135222Sache# Next one will help ports developers to debug
13229949Sjkh#
13335222Sache#FORCE_PKG_REGISTER=    YES
13435222Sache#
13535222Sache#
13636263Sjkh# Port master sites.
13724951Sasami#
13824951Sasami# If you want your port fetches to go somewhere else than the default
13924951Sasami# (specified below) in case the distfile/patchfile was not found,
14024951Sasami# uncomment this and change it to a location nearest you.  (Don't
14124951Sasami# remove the "/${DIST_SUBDIR}/" part.)
14224951Sasami#
14324951Sasami#MASTER_SITE_BACKUP?=	\
14442876Sasami#	ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
14524951Sasami#
14624951Sasami# If you want your port fetches to check the above site first (before
14724951Sasami# the MASTER_SITES specified in the port Makefiles), uncomment the
14824951Sasami# line below.  You can also change the right side to point to wherever 
14924951Sasami# you want.
15024951Sasami#
15124951Sasami#MASTER_SITE_OVERRIDE?=	${MASTER_SITE_BACKUP}
15224951Sasami#
15324951Sasami# Some ports use a special variable to point to a collection of
15424951Sasami# mirrors of well-known software archives.  If you have a mirror close
15524951Sasami# to you, uncomment any of the following lines and change it to that
15633880Sfenner# address.  (Don't remove the "/%SUBDIR%/" part.)
15724951Sasami#
15824951Sasami# Note: the right hand sides of the following lines are only for your
15924951Sasami# information.  For a full list of default sites, take a look at
16024951Sasami# bsd.port.mk.
16124951Sasami#
16233880Sfenner#MASTER_SITE_XCONTRIB=	ftp://ftp.x.org/contrib/%SUBDIR%/
16333880Sfenner#MASTER_SITE_GNU=	ftp://prep.ai.mit.edu/pub/gnu/%SUBDIR%/
16433880Sfenner#MASTER_SITE_PERL_CPAN=	ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/
16533880Sfenner#MASTER_SITE_TEX_CTAN=	ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/
16647726Sbillf#MASTER_SITE_SUNSITE=	ftp://metalab.unc.edu/pub/Linux/%SUBDIR%/
16742876Sasami#MASTER_SITE_KDE=	ftp://ftp.kde.org/pub/kde/%SUBDIR%/
16842876Sasami#MASTER_SITE_COMP_SOURCES=	ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/
16942876Sasami#MASTER_SITE_GNOME=	ftp://ftp.gnome.org/pub/GNOME/sources/%SUBDIR%/
17044748Sbillf#MASTER_SITE_AFTERSTEP=	ftp://ftp.afterstep.org/%SUBDIR%/
17144748Sbillf#MASTER_SITE_WINDOWMAKER=	ftp://ftp.windowmaker.org/pub/%SUBDIR%/
17224951Sasami#
17324951Sasami#
1743241Scsgr# Kerberos IV
17529931Smarkm# If you want KerberosIV (KTH eBones), define this:
1763241Scsgr#
17729931Smarkm#MAKE_KERBEROS4=	yes
17810758Sache#
17910758Sache#
18056553Smarkm# Kerberos 5
18156553Smarkm# If you want KerberosIV (KTH Heimdal), define this:
18256553Smarkm# ** WARNING **
18356553Smarkm# ** WARNING ** This is very experimental at this stage. If you
18456553Smarkm# ** WARNING ** need stable Kerberos5, rather use the port(s).
18556553Smarkm# ** WARNING **
18656553Smarkm#
18756553Smarkm#MAKE_KERBEROS5=	yes
18856553Smarkm#
18956553Smarkm#
19038003Sdima# Kerberos5
19156553Smarkm# If you want to install MIT Kerberos5 port somewhere other than /usr/local,
19256553Smarkm# define this (this is also used to tell ssh1 that kerberos is needed):
19338003Sdima#
19456553Smarkm#KRB5_HOME=		/usr/local
19538003Sdima#
19638003Sdima#
19737162Sjkh# CVSup update flags.  Edit SUPFILE settings to reflect whichever distribution
19837162Sjkh# file(s) you use on your site (see /usr/share/examples/cvsup/README for more
19937162Sjkh# information on CVSup and these files).  To use, do "make update" in /usr/src.
20010758Sache#
20110758Sache#SUP_UPDATE=     yes
20218716Sache#
20320545Sache#SUP=            /usr/local/bin/cvsup
20449777Ssheldonh#SUPFLAGS=       -g -L 2
20518716Sache#SUPFILE=        /usr/share/examples/cvsup/standard-supfile
20618716Sache#SUPFILE1=       /usr/share/examples/cvsup/secure-supfile
20747651Sbillf#PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
20854670Sbillf#DOCSUPFILE=     /usr/share/examples/cvsup/doc-supfile
20924225Sjoerg#
21024225Sjoerg# top(1) uses a hash table for the user names.  The size of this hash
21124225Sjoerg# can be tuned to match the number of local users.  The table size should
21224225Sjoerg# be a prime number approximately twice as large as the number of lines in
21324225Sjoerg# /etc/passwd.  The default number is 20011.
21424225Sjoerg#
21524225Sjoerg#TOP_TABLE_SIZE= 101
216