make.conf revision 56687
1233294Sstas# $FreeBSD: head/share/examples/etc/make.conf 56687 2000-01-27 19:17:33Z sumikawa $
2102644Snectar#
355682Smarkm# This file, if present, will be read by make (see /usr/share/mk/sys.mk).
4142403Snectar# It allows you to override macro definitions to make without changing
5233294Sstas# your source tree, or anything the source tree installs.
6233294Sstas#
755682Smarkm# This file must be in valid Makefile syntax.
855682Smarkm#
955682Smarkm# You have to find the things you can put here in the Makefiles and 
1055682Smarkm# documentation of the source tree.
1155682Smarkm#
1255682Smarkm# One, and probably the most common, use could be:
1355682Smarkm#
1455682Smarkm#CFLAGS= -O -pipe
1555682Smarkm#
1690926Snectar#
1790926Snectar# Avoid compiling profiled libraries
18233294Sstas#NOPROFILE=	true
1990926Snectar#
20233294Sstas# Compare before install
2190926Snectar#INSTALL=install -C
22233294Sstas#
2355682Smarkm# To avoid building the suid perl
2455682Smarkm#NOSUIDPERL=	true
2555682Smarkm#
26233294Sstas# To build perl with thread support
2755682Smarkm#PERL_THREADED=	true
28233294Sstas#
29102644Snectar# To avoid building various parts of the base system:
30102644Snectar#NO_SENDMAIL=	true
31102644Snectar#NO_CVS=	true
32127808Snectar#
3390926Snectar# To compile just the kernel with special optimisations, you should use
34127808Snectar# this instead of CFLAGS (which is not applicable to kernel builds anyway):
3555682Smarkm#
3655682Smarkm#COPTFLAGS= -O -pipe
3755682Smarkm#
3855682Smarkm# To compile and install the 4.4 lite libm instead of the default use:
3955682Smarkm#
4055682Smarkm#WANT_CSRG_LIBM=	yes
41178825Sdfr#
4255682Smarkm# If you do not want unformatted manual pages to be compressed
43142403Snectar# when they are installed:
44142403Snectar#
45142403Snectar#NOMANCOMPRESS=	true
46142403Snectar#
47142403Snectar#
48142403Snectar# If you want the "compat" shared libraries installed as part of your normal
49142403Snectar# builds, uncomment these:
50233294Sstas#
51142403Snectar#COMPAT1X=	yes
52142403Snectar#COMPAT20=	yes
53142403Snectar#COMPAT21=	yes
54142403Snectar#COMPAT22=	yes
55142403Snectar#COMPAT3X=	yes
56142403Snectar#
57142403Snectar#
58142403Snectar# If you do not want additional documentation (some of which are
59142403Snectar# a few hundred KB's) for ports to be installed:
60142403Snectar#
61142403Snectar#NOPORTDOCS=	true
62142403Snectar#
63142403Snectar#
64142403Snectar# Default format for system documentation, depends on your printer.
65233294Sstas# Set this to "ascii" for simple printers or screen
66142403Snectar#
67142403Snectar#PRINTERDEVICE=	ps
68142403Snectar#
69142403Snectar#
70178825Sdfr# How long to wait for a console keypress before booting the default kernel.
71142403Snectar# This value is approximately in milliseconds. Keypresses are accepted by the
72142403Snectar# BIOS before booting from disk, making it possible to give custom boot
73142403Snectar# parameters even when this is set to 0.
74142403Snectar#
75142403Snectar#BOOTWAIT=0
76142403Snectar#BOOTWAIT=30000
77142403Snectar#
78142403Snectar# By default, the system will always use the keyboard/video card as system
79233294Sstas# console.  However, the boot blocks may be dynamically configured to use a
80233294Sstas# serial port in addition to or instead of the keyboard/video console.
81233294Sstas#
82233294Sstas# By default we use COM1 as our serial console port *if* we're going to use
83233294Sstas# a serial port as our console at all.  Alter as necessary.
84233294Sstas#
85178825Sdfr#   COM1: = 0x3F8, COM2: = 0x2F8, COM3: = 0x3E8, COM4: = 0x2E8
86178825Sdfr#
87178825Sdfr#BOOT_COMCONSOLE_PORT=	0x3F8
88178825Sdfr#
89178825Sdfr# The default serial console speed is 9600.  Set the speed to a larger value
90178825Sdfr# for better interactive response.
91178825Sdfr#
92233294Sstas#BOOT_COMCONSOLE_SPEED=	115200
93142403Snectar#
94142403Snectar#
95178825Sdfr# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier.
96142403Snectar# If you have a XFree86 from before 3.0 that has the X distribution in
97142403Snectar# /usr/X386, you want to uncomment this.
98233294Sstas#
99178825Sdfr#X11BASE=	/usr/X386
100142403Snectar#
101142403Snectar#
102142403Snectar# If you have Motif on your system, uncomment this.
103142403Snectar#
104142403Snectar#HAVE_MOTIF=	yes
105142403Snectar#MOTIF_STATIC=  yes
106142403Snectar#
107142403Snectar# If the default location of the Motif library (specified below) is NOT
108142403Snectar# appropriate for you, uncomment this and change it to the correct value.
109233294Sstas# If your motif is in ${X11BASE}/lib, you don't need to touch this line.
110233294Sstas#
111233294Sstas#MOTIFLIB=	-L${X11BASE}/lib -lXm
112233294Sstas#
113142403Snectar#
114142403Snectar# If you're resident in the USA, this will help various ports to determine
115178825Sdfr# whether or not they should attempt to comply with the various U.S.
116178825Sdfr# export regulations on certain types of software which do not apply to
117178825Sdfr# anyone else in the world.
118142403Snectar#
119178825Sdfr#USA_RESIDENT=		YES
120178825Sdfr#
121178825Sdfr# Next one will help ports developers to debug
122142403Snectar#
123142403Snectar#FORCE_PKG_REGISTER=    YES
124233294Sstas#
125233294Sstas#
126233294Sstas# Port master sites.
127233294Sstas#
128233294Sstas# If you want your port fetches to go somewhere else than the default
129233294Sstas# (specified below) in case the distfile/patchfile was not found,
130233294Sstas# uncomment this and change it to a location nearest you.  (Don't
131233294Sstas# remove the "/${DIST_SUBDIR}/" part.)
132233294Sstas#
133233294Sstas#MASTER_SITE_BACKUP?=	\
134233294Sstas#	ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
135233294Sstas#
136233294Sstas# If you want your port fetches to check the above site first (before
137233294Sstas# the MASTER_SITES specified in the port Makefiles), uncomment the
138233294Sstas# line below.  You can also change the right side to point to wherever 
139233294Sstas# you want.
140233294Sstas#
141233294Sstas#MASTER_SITE_OVERRIDE?=	${MASTER_SITE_BACKUP}
142233294Sstas#
143233294Sstas# Some ports use a special variable to point to a collection of
144233294Sstas# mirrors of well-known software archives.  If you have a mirror close
145178825Sdfr# to you, uncomment any of the following lines and change it to that
146178825Sdfr# address.  (Don't remove the "/%SUBDIR%/" part.)
147142403Snectar#
148142403Snectar# Note: the right hand sides of the following lines are only for your
149142403Snectar# information.  For a full list of default sites, take a look at
150127808Snectar# bsd.port.mk.
15155682Smarkm#
15272445Sassar#MASTER_SITE_XCONTRIB=	ftp://ftp.x.org/contrib/%SUBDIR%/
153127808Snectar#MASTER_SITE_GNU=	ftp://prep.ai.mit.edu/pub/gnu/%SUBDIR%/
154233294Sstas#MASTER_SITE_PERL_CPAN=	ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/
155233294Sstas#MASTER_SITE_TEX_CTAN=	ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/
156127808Snectar#MASTER_SITE_SUNSITE=	ftp://metalab.unc.edu/pub/Linux/%SUBDIR%/
157127808Snectar#MASTER_SITE_KDE=	ftp://ftp.kde.org/pub/kde/%SUBDIR%/
158127808Snectar#MASTER_SITE_COMP_SOURCES=	ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/
15955682Smarkm#MASTER_SITE_GNOME=	ftp://ftp.gnome.org/pub/GNOME/sources/%SUBDIR%/
16055682Smarkm#MASTER_SITE_AFTERSTEP=	ftp://ftp.afterstep.org/%SUBDIR%/
161233294Sstas#MASTER_SITE_WINDOWMAKER=	ftp://ftp.windowmaker.org/pub/%SUBDIR%/
162233294Sstas#
16355682Smarkm#
16455682Smarkm# Kerberos IV
16555682Smarkm# If you want KerberosIV (KTH eBones), define this:
166233294Sstas#
167127808Snectar#MAKE_KERBEROS4=	yes
16890926Snectar#
16972445Sassar#
170127808Snectar# Kerberos 5
171127808Snectar# If you want KerberosIV (KTH Heimdal), define this:
172233294Sstas# ** WARNING **
17355682Smarkm# ** WARNING ** This is very experimental at this stage. If you
174127808Snectar# ** WARNING ** need stable Kerberos5, rather use the port(s).
175233294Sstas# ** WARNING **
17690926Snectar#
177178825Sdfr#MAKE_KERBEROS5=	yes
178178825Sdfr#
17972445Sassar#
180233294Sstas# Kerberos5
181233294Sstas# If you want to install MIT Kerberos5 port somewhere other than /usr/local,
182233294Sstas# define this (this is also used to tell ssh1 that kerberos is needed):
183127808Snectar#
184127808Snectar#KRB5_HOME=		/usr/local
185127808Snectar#
186127808Snectar#
187127808Snectar# CVSup update flags.  Edit SUPFILE settings to reflect whichever distribution
188233294Sstas# file(s) you use on your site (see /usr/share/examples/cvsup/README for more
189178825Sdfr# information on CVSup and these files).  To use, do "make update" in /usr/src.
19055682Smarkm#
19172445Sassar#SUP_UPDATE=     yes
192178825Sdfr#
193127808Snectar#SUP=            /usr/local/bin/cvsup
194127808Snectar#SUPFLAGS=       -g -L 2
195233294Sstas#SUPFILE=        /usr/share/examples/cvsup/standard-supfile
196233294Sstas#SUPFILE1=       /usr/share/examples/cvsup/secure-supfile
197127808Snectar#PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
198127808Snectar#DOCSUPFILE=     /usr/share/examples/cvsup/doc-supfile
199233294Sstas#
200178825Sdfr# top(1) uses a hash table for the user names.  The size of this hash
201127808Snectar# can be tuned to match the number of local users.  The table size should
202127808Snectar# be a prime number approximately twice as large as the number of lines in
203127808Snectar# /etc/passwd.  The default number is 20011.
20490926Snectar#
205233294Sstas#TOP_TABLE_SIZE= 101
206127808Snectar