make.conf revision 58648
150472Speter# $FreeBSD: head/share/examples/etc/make.conf 58648 2000-03-27 02:48:12Z kris $
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#
1258648Skris# CFLAGS controls the compiler settings used when compiling C code.
1358648Skris# Note that optimisation settings above -O (-O2, ...) are not recommended
1458648Skris# or supported for compiling the world or the kernel - please revert any
1558648Skris# nonstandard optimisation settings to "-O" before submitting bug reports
1658648Skris# to the developers.
1758648Skris# Note also that at this time the -O2 setting is known to produce BROKEN
1858648Skris# CODE on the Alpha platform.
191664Sphk#
2029281Sjkh#CFLAGS= -O -pipe
211664Sphk#
221664Sphk#
2342325Sobrien# Avoid compiling profiled libraries
249509Srgrimes#NOPROFILE=	true
251664Sphk#
2642325Sobrien# Compare before install
2735222Sache#INSTALL=install -C
2835222Sache#
2957541Skris# To avoid building perl
3057541Skris#NOPERL=	true
3157541Skris#
3234890Sdima# To avoid building the suid perl
3334890Sdima#NOSUIDPERL=	true
3434651Sjkh#
3550883Smarkm# To build perl with thread support
3650883Smarkm#PERL_THREADED=	true
3750883Smarkm#
3851299Speter# To avoid building various parts of the base system:
3957542Skris#NO_CVS=	true	# do not build CVS
4057542Skris#NO_FORTRAN=	true	# do not build g77 and related libraries
4157764Skris#NO_OBJC=	true	# do not build Objective C support
4257542Skris#NO_OPENSSH=	true	# do not build OpenSSH
4357542Skris#NO_OPENSSL=	true	# do not build OpenSSL (implies NO_OPENSSH)
4457542Skris#NO_SENDMAIL=	true	# do not build sendmail and related programs
4558418Sobrien#NO_SHAREDOCS=	true	# do not build the 4.4BSD legacy docs
4658280Skris#NO_X=		true	# do not compile in XWindows support (e.g. doscmd)
4757553Skris#NOCRYPT=	true	# do not build any crypto code
4857603Skris#NODESCRYPTLINKS=true	# do not replace libcrypt -> libscrypt links
4957542Skris#NOGAMES=	true	# do not build games (games/ subdir)
5057542Skris#NOINFO=	true	# do not make or install info files
5157542Skris#NOLIBC_R=	true	# do not build libc_r (re-entrant version of libc)
5257553Skris#NOSECURE=	true	# do not build crypto code in secure/ subdir
5357542Skris#NOSHARE=	true	# do not go into the share subdir
5458390Sdan#NOUUCP=	true	# do not build uucp related programs
5535206Sphk#
5657458Smarkm# To tell the base system that you are using RSAREF (from ports).
5757458Smarkm# (This needs revisiting) - it is very likely that this is too
5857458Smarkm# heavily tied to USA_RESIDENT==YES.
5957458Smarkm#RSAREF=	YES
6057458Smarkm#
6157071Srwatson# To avoid running MAKEDEV all on /dev during install:
6257071Srwatson#NO_MAKEDEV=	true
6357071Srwatson#
6429281Sjkh# To compile just the kernel with special optimisations, you should use
6529281Sjkh# this instead of CFLAGS (which is not applicable to kernel builds anyway):
661684Scsgr#
678024Sjkh#COPTFLAGS= -O -pipe
688024Sjkh#
697210Sphk# To compile and install the 4.4 lite libm instead of the default use:
701684Scsgr#
717210Sphk#WANT_CSRG_LIBM=	yes
721684Scsgr#
731684Scsgr# If you do not want unformatted manual pages to be compressed
741684Scsgr# when they are installed:
751684Scsgr#
769509Srgrimes#NOMANCOMPRESS=	true
771697Sache#
781697Sache#
7920847Speter# If you want the "compat" shared libraries installed as part of your normal
8020847Speter# builds, uncomment these:
8120847Speter#
8220847Speter#COMPAT1X=	yes
8320847Speter#COMPAT20=	yes
8420847Speter#COMPAT21=	yes
8547318Sobrien#COMPAT22=	yes
8647430Sobrien#COMPAT3X=	yes
8720847Speter#
8820847Speter#
8914403Sasami# If you do not want additional documentation (some of which are
9014403Sasami# a few hundred KB's) for ports to be installed:
9114403Sasami#
9214403Sasami#NOPORTDOCS=	true
9314403Sasami#
9414403Sasami#
951697Sache# Default format for system documentation, depends on your printer.
961697Sache# Set this to "ascii" for simple printers or screen
971697Sache#
9825424Sandreas#PRINTERDEVICE=	ps
991733Sadam#
1001733Sadam#
10114102Sadam# How long to wait for a console keypress before booting the default kernel.
10214102Sadam# This value is approximately in milliseconds. Keypresses are accepted by the
10314102Sadam# BIOS before booting from disk, making it possible to give custom boot
10414102Sadam# parameters even when this is set to 0.
1051733Sadam#
1061740Sadam#BOOTWAIT=0
1073023Srgrimes#BOOTWAIT=30000
1081733Sadam#
10918927Spst# By default, the system will always use the keyboard/video card as system
11026522Sbde# console.  However, the boot blocks may be dynamically configured to use a
11126522Sbde# serial port in addition to or instead of the keyboard/video console.
1121733Sadam#
11318927Spst# By default we use COM1 as our serial console port *if* we're going to use
11449190Snik# a serial port as our console at all.  Alter as necessary.
11518927Spst#
11649190Snik#   COM1: = 0x3F8, COM2: = 0x2F8, COM3: = 0x3E8, COM4: = 0x2E8
11749190Snik#
11818928Spst#BOOT_COMCONSOLE_PORT=	0x3F8
11918927Spst#
12026522Sbde# The default serial console speed is 9600.  Set the speed to a larger value
12126522Sbde# for better interactive response.
12218927Spst#
12326522Sbde#BOOT_COMCONSOLE_SPEED=	115200
12418927Spst#
12518927Spst#
1264224Sphk# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier.
12715334Sasami# If you have a XFree86 from before 3.0 that has the X distribution in
12815334Sasami# /usr/X386, you want to uncomment this.
1293023Srgrimes#
1304224Sphk#X11BASE=	/usr/X386
1313023Srgrimes#
1323023Srgrimes#
13315212Sasami# If you have Motif on your system, uncomment this.
13415212Sasami#
13515212Sasami#HAVE_MOTIF=	yes
13635221Sache#MOTIF_STATIC=  yes
13715212Sasami#
13815334Sasami# If the default location of the Motif library (specified below) is NOT
13915334Sasami# appropriate for you, uncomment this and change it to the correct value.
14015334Sasami# If your motif is in ${X11BASE}/lib, you don't need to touch this line.
14115212Sasami#
14215334Sasami#MOTIFLIB=	-L${X11BASE}/lib -lXm
14315212Sasami#
14415212Sasami#
14529949Sjkh# If you're resident in the USA, this will help various ports to determine
14629949Sjkh# whether or not they should attempt to comply with the various U.S.
14729949Sjkh# export regulations on certain types of software which do not apply to
14829949Sjkh# anyone else in the world.
14922638Sjkh#
15029949Sjkh#USA_RESIDENT=		YES
15129949Sjkh#
15235222Sache# Next one will help ports developers to debug
15329949Sjkh#
15435222Sache#FORCE_PKG_REGISTER=    YES
15535222Sache#
15635222Sache#
15736263Sjkh# Port master sites.
15824951Sasami#
15924951Sasami# If you want your port fetches to go somewhere else than the default
16024951Sasami# (specified below) in case the distfile/patchfile was not found,
16124951Sasami# uncomment this and change it to a location nearest you.  (Don't
16224951Sasami# remove the "/${DIST_SUBDIR}/" part.)
16324951Sasami#
16424951Sasami#MASTER_SITE_BACKUP?=	\
16542876Sasami#	ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
16624951Sasami#
16724951Sasami# If you want your port fetches to check the above site first (before
16824951Sasami# the MASTER_SITES specified in the port Makefiles), uncomment the
16924951Sasami# line below.  You can also change the right side to point to wherever 
17024951Sasami# you want.
17124951Sasami#
17224951Sasami#MASTER_SITE_OVERRIDE?=	${MASTER_SITE_BACKUP}
17324951Sasami#
17424951Sasami# Some ports use a special variable to point to a collection of
17524951Sasami# mirrors of well-known software archives.  If you have a mirror close
17624951Sasami# to you, uncomment any of the following lines and change it to that
17733880Sfenner# address.  (Don't remove the "/%SUBDIR%/" part.)
17824951Sasami#
17924951Sasami# Note: the right hand sides of the following lines are only for your
18024951Sasami# information.  For a full list of default sites, take a look at
18124951Sasami# bsd.port.mk.
18224951Sasami#
18333880Sfenner#MASTER_SITE_XCONTRIB=	ftp://ftp.x.org/contrib/%SUBDIR%/
18433880Sfenner#MASTER_SITE_GNU=	ftp://prep.ai.mit.edu/pub/gnu/%SUBDIR%/
18533880Sfenner#MASTER_SITE_PERL_CPAN=	ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/
18633880Sfenner#MASTER_SITE_TEX_CTAN=	ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/
18747726Sbillf#MASTER_SITE_SUNSITE=	ftp://metalab.unc.edu/pub/Linux/%SUBDIR%/
18842876Sasami#MASTER_SITE_KDE=	ftp://ftp.kde.org/pub/kde/%SUBDIR%/
18942876Sasami#MASTER_SITE_COMP_SOURCES=	ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/
19042876Sasami#MASTER_SITE_GNOME=	ftp://ftp.gnome.org/pub/GNOME/sources/%SUBDIR%/
19144748Sbillf#MASTER_SITE_AFTERSTEP=	ftp://ftp.afterstep.org/%SUBDIR%/
19244748Sbillf#MASTER_SITE_WINDOWMAKER=	ftp://ftp.windowmaker.org/pub/%SUBDIR%/
19324951Sasami#
19424951Sasami#
1953241Scsgr# Kerberos IV
19629931Smarkm# If you want KerberosIV (KTH eBones), define this:
1973241Scsgr#
19829931Smarkm#MAKE_KERBEROS4=	yes
19910758Sache#
20010758Sache#
20156553Smarkm# Kerberos 5
20256553Smarkm# If you want KerberosIV (KTH Heimdal), define this:
20356553Smarkm# ** WARNING **
20456553Smarkm# ** WARNING ** This is very experimental at this stage. If you
20556553Smarkm# ** WARNING ** need stable Kerberos5, rather use the port(s).
20656553Smarkm# ** WARNING **
20756553Smarkm#
20856553Smarkm#MAKE_KERBEROS5=	yes
20956553Smarkm#
21056553Smarkm#
21138003Sdima# Kerberos5
21256553Smarkm# If you want to install MIT Kerberos5 port somewhere other than /usr/local,
21356553Smarkm# define this (this is also used to tell ssh1 that kerberos is needed):
21438003Sdima#
21556553Smarkm#KRB5_HOME=		/usr/local
21638003Sdima#
21738003Sdima#
21837162Sjkh# CVSup update flags.  Edit SUPFILE settings to reflect whichever distribution
21937162Sjkh# file(s) you use on your site (see /usr/share/examples/cvsup/README for more
22037162Sjkh# information on CVSup and these files).  To use, do "make update" in /usr/src.
22110758Sache#
22210758Sache#SUP_UPDATE=     yes
22318716Sache#
22420545Sache#SUP=            /usr/local/bin/cvsup
22549777Ssheldonh#SUPFLAGS=       -g -L 2
22618716Sache#SUPFILE=        /usr/share/examples/cvsup/standard-supfile
22718716Sache#SUPFILE1=       /usr/share/examples/cvsup/secure-supfile
22847651Sbillf#PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
22954670Sbillf#DOCSUPFILE=     /usr/share/examples/cvsup/doc-supfile
23024225Sjoerg#
23124225Sjoerg# top(1) uses a hash table for the user names.  The size of this hash
23224225Sjoerg# can be tuned to match the number of local users.  The table size should
23324225Sjoerg# be a prime number approximately twice as large as the number of lines in
23424225Sjoerg# /etc/passwd.  The default number is 20011.
23524225Sjoerg#
23624225Sjoerg#TOP_TABLE_SIZE= 101
23758449Snik#
23858449Snik# Documentation
23958449Snik#
24058449Snik# The list of languages and encodings to build and install
24158449Snik#
24258449Snik#DOC_LANG=	en_US.ISO_8859-1 ru_RU.KOI8-R
243