make.conf revision 36263
1109864Sjeff# $Id: make.conf,v 1.63 1998/05/08 20:15:39 phk Exp $
2113357Sjeff#
3109864Sjeff# This file, if present, will be read by make (see /usr/share/mk/sys.mk).
4109864Sjeff# It allows you to override macro definitions to make without changing
5109864Sjeff# your source tree, or anything the source tree installs.
6109864Sjeff#
7109864Sjeff# This file must be in valid Makefile syntax.
8109864Sjeff#
9109864Sjeff# You have to find the things you can put here in the Makefiles and 
10109864Sjeff# documentation of the source tree.
11109864Sjeff#
12109864Sjeff# One, and probably the most common, use could be:
13109864Sjeff#
14109864Sjeff#CFLAGS= -O -pipe
15109864Sjeff#
16109864Sjeff# Another useful entry is
17109864Sjeff#
18109864Sjeff#NOPROFILE=	true
19109864Sjeff#	Avoid compiling profiled libraries
20109864Sjeff#
21109864Sjeff#INSTALL=install -C
22109864Sjeff#       Compare before install
23109864Sjeff#
24109864Sjeff# To avoid building the default system perl
25109864Sjeff#NOPERL=	true
26109864Sjeff# To avoid building the suid perl
27109864Sjeff#NOSUIDPERL=	true
28109864Sjeff#
29109864Sjeff# To avoid building sendmail
30109864Sjeff#NO_SENDMAIL=	true
31109864Sjeff#
32109864Sjeff# To have 'obj' symlinks created in your source directory
33109864Sjeff#       (they aren't needed/necessary)
34109864Sjeff#OBJLINK=	yes
35109864Sjeff#
36112966Sjeff# To compile just the kernel with special optimisations, you should use
37109864Sjeff# this instead of CFLAGS (which is not applicable to kernel builds anyway):
38109864Sjeff#
39109864Sjeff#COPTFLAGS= -O -pipe
40109864Sjeff#
41109864Sjeff# To compile and install the 4.4 lite libm instead of the default use:
42109864Sjeff#
43109864Sjeff#WANT_CSRG_LIBM=	yes
44109864Sjeff#
45109864Sjeff# If you do not want unformatted manual pages to be compressed
46109864Sjeff# when they are installed:
47109864Sjeff#
48109864Sjeff#NOMANCOMPRESS=	true
49109864Sjeff#
50109864Sjeff#
51109864Sjeff# If you want the "compat" shared libraries installed as part of your normal
52109864Sjeff# builds, uncomment these:
53113357Sjeff#
54113357Sjeff#COMPAT1X=	yes
55109864Sjeff#COMPAT20=	yes
56109864Sjeff#COMPAT21=	yes
57109864Sjeff#
58109864Sjeff#
59109864Sjeff# If you do not want additional documentation (some of which are
60109864Sjeff# a few hundred KB's) for ports to be installed:
61109864Sjeff#
62109864Sjeff#NOPORTDOCS=	true
63113357Sjeff#
64113357Sjeff#
65113357Sjeff# Default format for system documentation, depends on your printer.
66113357Sjeff# Set this to "ascii" for simple printers or screen
67113357Sjeff#
68113357Sjeff#PRINTERDEVICE=	ps
69113357Sjeff#
70113357Sjeff#
71113357Sjeff# How long to wait for a console keypress before booting the default kernel.
72113357Sjeff# This value is approximately in milliseconds. Keypresses are accepted by the
73113357Sjeff# BIOS before booting from disk, making it possible to give custom boot
74111857Sjeff# parameters even when this is set to 0.
75113357Sjeff#
76111857Sjeff#BOOTWAIT=0
77109864Sjeff#BOOTWAIT=30000
78109864Sjeff#
79109864Sjeff# By default, the system will always use the keyboard/video card as system
80109864Sjeff# console.  However, the boot blocks may be dynamically configured to use a
81109864Sjeff# serial port in addition to or instead of the keyboard/video console.
82109864Sjeff#
83109864Sjeff# By default we use COM1 as our serial console port *if* we're going to use
84109864Sjeff# a serial port as our console at all.  (0x3E8 = COM2)
85109864Sjeff#
86109864Sjeff#BOOT_COMCONSOLE_PORT=	0x3F8
87109864Sjeff#
88109864Sjeff# The default serial console speed is 9600.  Set the speed to a larger value
89113357Sjeff# for better interactive response.
90110260Sjeff#
91109864Sjeff#BOOT_COMCONSOLE_SPEED=	115200
92109864Sjeff#
93109864Sjeff#
94109864Sjeff# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier.
95109864Sjeff# If you have a XFree86 from before 3.0 that has the X distribution in
96109864Sjeff# /usr/X386, you want to uncomment this.
97110260Sjeff#
98109864Sjeff#X11BASE=	/usr/X386
99109864Sjeff#
100110645Sjeff#
101110645Sjeff# If you have Motif on your system, uncomment this.
102109864Sjeff#
103109864Sjeff#HAVE_MOTIF=	yes
104110645Sjeff#MOTIF_STATIC=  yes
105109864Sjeff#
106109864Sjeff# If the default location of the Motif library (specified below) is NOT
107109864Sjeff# appropriate for you, uncomment this and change it to the correct value.
108109864Sjeff# If your motif is in ${X11BASE}/lib, you don't need to touch this line.
109109864Sjeff#
110109864Sjeff#MOTIFLIB=	-L${X11BASE}/lib -lXm
111110267Sjeff#
112109864Sjeff#
113109864Sjeff# If you are running behind a firewall, uncomment the following to leave a
114109864Sjeff# hint for various make-spawned utilities that they should use passive FTP.
115109864Sjeff#
116109864Sjeff#FTP_PASSIVE_MODE=	YES
117109864Sjeff#
118109864Sjeff# If you're resident in the USA, this will help various ports to determine
119109864Sjeff# whether or not they should attempt to comply with the various U.S.
120109864Sjeff# export regulations on certain types of software which do not apply to
121109864Sjeff# anyone else in the world.
122109864Sjeff#
123111857Sjeff#USA_RESIDENT=		YES
124111857Sjeff#
125111857Sjeff# Next one will help ports developers to debug
126111857Sjeff#
127111857Sjeff#FORCE_PKG_REGISTER=    YES
128111857Sjeff#
129109864Sjeff#
130111857Sjeff# Port master sites.
131112966Sjeff#
132112970Sjeff# If you want your port fetches to go somewhere else than the default
133113357Sjeff# (specified below) in case the distfile/patchfile was not found,
134111857Sjeff# uncomment this and change it to a location nearest you.  (Don't
135111857Sjeff# remove the "/${DIST_SUBDIR}/" part.)
136113357Sjeff#
137113357Sjeff#MASTER_SITE_BACKUP?=	\
138109864Sjeff#	ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/
139109864Sjeff#
140111857Sjeff# If you want your port fetches to check the above site first (before
141109864Sjeff# the MASTER_SITES specified in the port Makefiles), uncomment the
142110645Sjeff# line below.  You can also change the right side to point to wherever 
143110645Sjeff# you want.
144111857Sjeff#
145111857Sjeff#MASTER_SITE_OVERRIDE?=	${MASTER_SITE_BACKUP}
146111857Sjeff#
147111857Sjeff# Some ports use a special variable to point to a collection of
148109864Sjeff# mirrors of well-known software archives.  If you have a mirror close
149113357Sjeff# to you, uncomment any of the following lines and change it to that
150110645Sjeff# address.  (Don't remove the "/%SUBDIR%/" part.)
151111857Sjeff#
152111857Sjeff# Note: the right hand sides of the following lines are only for your
153111857Sjeff# information.  For a full list of default sites, take a look at
154111857Sjeff# bsd.port.mk.
155109864Sjeff#
156109864Sjeff#MASTER_SITE_XCONTRIB=	ftp://ftp.x.org/contrib/%SUBDIR%/
157109864Sjeff#MASTER_SITE_GNU=	ftp://prep.ai.mit.edu/pub/gnu/%SUBDIR%/
158109864Sjeff#MASTER_SITE_PERL_CPAN=	ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/
159109864Sjeff#MASTER_SITE_TEX_CTAN=	ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/
160109864Sjeff#MASTER_SITE_SUNSITE=	ftp://sunsite.unc.edu/pub/Linux/%SUBDIR%/
161109864Sjeff#
162112966Sjeff#
163112966Sjeff# Kerberos IV
164109864Sjeff# If you want KerberosIV (KTH eBones), define this:
165113357Sjeff#
166113357Sjeff#MAKE_KERBEROS4=	yes
167111857Sjeff#
168109864Sjeff#
169112966Sjeff# SUP/CVSup updates
170113357Sjeff#
171109864Sjeff#SUP_UPDATE=     yes
172109864Sjeff#
173109864Sjeff# SUP block
174109864Sjeff#
175110645Sjeff#SUP=            sup
176110645Sjeff#SUPFLAGS=       -v
177109864Sjeff#SUPFILE=        /usr/share/examples/sup/standard-supfile
178113357Sjeff#SUPFILE1=       /usr/share/examples/sup/secure-supfile
179113357Sjeff#SUPFILE2=       /usr/share/examples/sup/ports-supfile
180113357Sjeff#
181113357Sjeff# CVSup block
182113357Sjeff#
183113357Sjeff#SUP=            /usr/local/bin/cvsup
184109864Sjeff#SUPFLAGS=       -g -L 2 -z
185109864Sjeff#SUPFILE=        /usr/share/examples/cvsup/standard-supfile
186109864Sjeff#SUPFILE1=       /usr/share/examples/cvsup/secure-supfile
187109864Sjeff#SUPFILE2=       /usr/share/examples/cvsup/ports-supfile
188109864Sjeff
189109864Sjeff#
190109864Sjeff# top(1) uses a hash table for the user names.  The size of this hash
191109864Sjeff# can be tuned to match the number of local users.  The table size should
192112971Sjeff# be a prime number approximately twice as large as the number of lines in
193109864Sjeff# /etc/passwd.  The default number is 20011.
194109864Sjeff#
195109864Sjeff#TOP_TABLE_SIZE= 101
196113357Sjeff