xref: /freebsd/share/examples/etc/make.conf (revision 2ad872c5794e4c26fdf6ed219ad3f09ca0d5304a)
1# $Id: make.conf,v 1.70 1998/10/16 03:26:54 peter Exp $
2#
3# This file, if present, will be read by make (see /usr/share/mk/sys.mk).
4# It allows you to override macro definitions to make without changing
5# your source tree, or anything the source tree installs.
6#
7# This file must be in valid Makefile syntax.
8#
9# You have to find the things you can put here in the Makefiles and
10# documentation of the source tree.
11#
12# One, and probably the most common, use could be:
13#
14#CFLAGS= -O -pipe
15#
16#
17# Avoid compiling profiled libraries
18#NOPROFILE=	true
19#
20# Compare before install
21#INSTALL=install -C
22#
23# To avoid building the default system perl
24#NOPERL=	true
25# To avoid building the suid perl
26#NOSUIDPERL=	true
27#
28# To avoid building sendmail
29#NO_SENDMAIL=	true
30#
31# To have 'obj' symlinks created in your source directory
32#       (they aren't needed/necessary)
33#OBJLINK=	yes
34#
35# To compile just the kernel with special optimisations, you should use
36# this instead of CFLAGS (which is not applicable to kernel builds anyway):
37#
38#COPTFLAGS= -O -pipe
39#
40# To use an ELF kernel, you can set this flag.  MAKE SURE that you have a
41# working /boot/loader installed.  /boot.config should specify "/boot/loader"
42# as the kernel.  The bootblocks load the third stage loader, then it loads
43# the kernel proper and any other modules you want.  Its startup script
44# file is /boot/loader.conf:
45#
46#KERNFORMAT=	elf
47#
48# To compile and install the 4.4 lite libm instead of the default use:
49#
50#WANT_CSRG_LIBM=	yes
51#
52# If you do not want unformatted manual pages to be compressed
53# when they are installed:
54#
55#NOMANCOMPRESS=	true
56#
57#
58# If you want the "compat" shared libraries installed as part of your normal
59# builds, uncomment these:
60#
61#COMPAT1X=	yes
62#COMPAT20=	yes
63#COMPAT21=	yes
64#
65#
66# If you do not want additional documentation (some of which are
67# a few hundred KB's) for ports to be installed:
68#
69#NOPORTDOCS=	true
70#
71#
72# Default format for system documentation, depends on your printer.
73# Set this to "ascii" for simple printers or screen
74#
75#PRINTERDEVICE=	ps
76#
77#
78# How long to wait for a console keypress before booting the default kernel.
79# This value is approximately in milliseconds. Keypresses are accepted by the
80# BIOS before booting from disk, making it possible to give custom boot
81# parameters even when this is set to 0.
82#
83#BOOTWAIT=0
84#BOOTWAIT=30000
85#
86# By default, the system will always use the keyboard/video card as system
87# console.  However, the boot blocks may be dynamically configured to use a
88# serial port in addition to or instead of the keyboard/video console.
89#
90# By default we use COM1 as our serial console port *if* we're going to use
91# a serial port as our console at all.  (0x3E8 = COM2)
92#
93#BOOT_COMCONSOLE_PORT=	0x3F8
94#
95# The default serial console speed is 9600.  Set the speed to a larger value
96# for better interactive response.
97#
98#BOOT_COMCONSOLE_SPEED=	115200
99#
100#
101# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier.
102# If you have a XFree86 from before 3.0 that has the X distribution in
103# /usr/X386, you want to uncomment this.
104#
105#X11BASE=	/usr/X386
106#
107#
108# If you have Motif on your system, uncomment this.
109#
110#HAVE_MOTIF=	yes
111#MOTIF_STATIC=  yes
112#
113# If the default location of the Motif library (specified below) is NOT
114# appropriate for you, uncomment this and change it to the correct value.
115# If your motif is in ${X11BASE}/lib, you don't need to touch this line.
116#
117#MOTIFLIB=	-L${X11BASE}/lib -lXm
118#
119#
120# If you are running behind a firewall, uncomment the following to leave a
121# hint for various make-spawned utilities that they should use passive FTP.
122#
123#FTP_PASSIVE_MODE=	YES
124#
125# If you're resident in the USA, this will help various ports to determine
126# whether or not they should attempt to comply with the various U.S.
127# export regulations on certain types of software which do not apply to
128# anyone else in the world.
129#
130#USA_RESIDENT=		YES
131#
132# Next one will help ports developers to debug
133#
134#FORCE_PKG_REGISTER=    YES
135#
136#
137# Port master sites.
138#
139# If you want your port fetches to go somewhere else than the default
140# (specified below) in case the distfile/patchfile was not found,
141# uncomment this and change it to a location nearest you.  (Don't
142# remove the "/${DIST_SUBDIR}/" part.)
143#
144#MASTER_SITE_BACKUP?=	\
145#	ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/
146#
147# If you want your port fetches to check the above site first (before
148# the MASTER_SITES specified in the port Makefiles), uncomment the
149# line below.  You can also change the right side to point to wherever
150# you want.
151#
152#MASTER_SITE_OVERRIDE?=	${MASTER_SITE_BACKUP}
153#
154# Some ports use a special variable to point to a collection of
155# mirrors of well-known software archives.  If you have a mirror close
156# to you, uncomment any of the following lines and change it to that
157# address.  (Don't remove the "/%SUBDIR%/" part.)
158#
159# Note: the right hand sides of the following lines are only for your
160# information.  For a full list of default sites, take a look at
161# bsd.port.mk.
162#
163#MASTER_SITE_XCONTRIB=	ftp://ftp.x.org/contrib/%SUBDIR%/
164#MASTER_SITE_GNU=	ftp://prep.ai.mit.edu/pub/gnu/%SUBDIR%/
165#MASTER_SITE_PERL_CPAN=	ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/
166#MASTER_SITE_TEX_CTAN=	ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/
167#MASTER_SITE_SUNSITE=	ftp://sunsite.unc.edu/pub/Linux/%SUBDIR%/
168#
169#
170# Kerberos IV
171# If you want KerberosIV (KTH eBones), define this:
172#
173#MAKE_KERBEROS4=	yes
174#
175#
176# Kerberos5
177# If you want to install Kerberos5 somewhere other than /usr/local,
178# define this:
179#
180#KRB5_HOME=		/usr/local/krb5
181#
182#
183# CVSup update flags.  Edit SUPFILE settings to reflect whichever distribution
184# file(s) you use on your site (see /usr/share/examples/cvsup/README for more
185# information on CVSup and these files).  To use, do "make update" in /usr/src.
186#
187#SUP_UPDATE=     yes
188#
189#SUP=            /usr/local/bin/cvsup
190#SUPFLAGS=       -g -L 2 -z
191#SUPFILE=        /usr/share/examples/cvsup/standard-supfile
192#SUPFILE1=       /usr/share/examples/cvsup/secure-supfile
193#SUPFILE2=       /usr/share/examples/cvsup/ports-supfile
194#
195# top(1) uses a hash table for the user names.  The size of this hash
196# can be tuned to match the number of local users.  The table size should
197# be a prime number approximately twice as large as the number of lines in
198# /etc/passwd.  The default number is 20011.
199#
200#TOP_TABLE_SIZE= 101
201