make.conf revision 78035
1309577Sglebius# $FreeBSD: head/share/examples/etc/make.conf 78035 2001-06-11 01:26:52Z ache $ 2309577Sglebius# 3309577Sglebius# NOTE: Please would any committer updating this file also update the 4309577Sglebius# make.conf(5) manual page, if necessary, which is located in 5309577Sglebius# src/share/man/man5/make.conf.5. 6309577Sglebius# 7309577Sglebius# This file, if present, will be read by make (see /usr/share/mk/sys.mk). 8309577Sglebius# It allows you to override macro definitions to make without changing 9309577Sglebius# your source tree, or anything the source tree installs. 10309577Sglebius# 11309577Sglebius# This file must be in valid Makefile syntax. 12309577Sglebius# 13309577Sglebius# You have to find the things you can put here in the Makefiles and 14309577Sglebius# documentation of the source tree. 15309577Sglebius# 16309577Sglebius# 17309577Sglebius# The CPUTYPE variable controls which processor should be targetted for 18309577Sglebius# generated code. This controls processor-specific optimizations in 19309577Sglebius# certain code (currently only OpenSSL) as well as modifying the value 20309577Sglebius# of CFLAGS to contain the appropriate optimization directive to gcc. 21309577Sglebius# The automatic setting of CFLAGS may be overridden using the 22309577Sglebius# NO_CPU_CFLAGS variable below. 23309577Sglebius# Currently the following CPU types are recognised: 24309577Sglebius# Intel x86 architecture: 25309577Sglebius# (AMD CPUs) k7 k6-2 k6 k5 26309577Sglebius# (Intel CPUs) p4 p3 p2 i686 i586/mmx i586 i486 i386 27309577Sglebius# Alpha/AXP architecture: ev6 pca56 ev56 ev5 ev45 ev4 28309577Sglebius# Intel ia64 architecture: itanium 29309577Sglebius# 30309577Sglebius#CPUTYPE=i686 31309577Sglebius#NO_CPU_CFLAGS= true # Don't add -march=<cpu> to CFLAGS automatically 32309577Sglebius#NO_CPU_COPTFLAGS=true # Don't add -march=<cpu> to COPTFLAGS automatically 33309577Sglebius# 34309577Sglebius# CFLAGS controls the compiler settings used when compiling C code. 35309577Sglebius# Note that optimization settings above -O (-O2, ...) are not recommended 36309577Sglebius# or supported for compiling the world or the kernel - please revert any 37309577Sglebius# nonstandard optimization settings to "-O" before submitting bug reports 38309577Sglebius# to the developers. 39309577Sglebius# Note also that at this time the -O2 setting is known to produce BROKEN 40309577Sglebius# CODE on the Alpha platform. 41309577Sglebius# 42309577Sglebius#CFLAGS= -O -pipe 43309577Sglebius# 44309577Sglebius# CXXFLAGS controls the compiler settings used when compiling C++ code. 45309577Sglebius# Note that CXXFLAGS is initially set to the value of CFLAGS. If you wish 46309577Sglebius# to add to CXXFLAGS value, "+=" must be used rather than "=". Using "=" 47309577Sglebius# alone will remove the often needed contents of CFLAGS from CXXFLAGS. 48309577Sglebius# 49309577Sglebius#CXXFLAGS+= -fmemoize-lookups -fsave-memoized 50309577Sglebius# 51309577Sglebius# BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggested 52309577Sglebius# for use in developing FreeBSD and testing changes. They can be used by 53309577Sglebius# putting "CFLAGS+=${BDECFLAGS}" in /etc/make.conf. 54309577Sglebius# 55309577SglebiusBDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ 56309577Sglebius -Wcast-qual -Wchar-subscripts -Wconversion -Winline \ 57309577Sglebius -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ 58309577Sglebius -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings 59309577Sglebius# 60309577Sglebius# To compile just the kernel with special optimizations, you should use 61309577Sglebius# this instead of CFLAGS (which is not applicable to kernel builds anyway). 62309577Sglebius# There is very little to gain by using higher optimization levels, and doing 63309577Sglebius# so can cause problems. 64309577Sglebius# 65309577Sglebius#COPTFLAGS= -O -pipe 66309577Sglebius# 67309577Sglebius# Compare before install 68309577Sglebius#INSTALL=install -C 69309577Sglebius# 70309577Sglebius# Mtree will follow symlinks 71309577Sglebius#MTREE_FOLLOWS_SYMLINKS= -L 72309577Sglebius# 73309577Sglebius# To enable installing suidperl with the setuid bit turned on 74309577Sglebius#ENABLE_SUIDPERL= true 75309577Sglebius# 76309577Sglebius# To build ppp with normal permissions 77309577Sglebius#PPP_NOSUID= true 78309577Sglebius# 79309577Sglebius# To enable installing ssh(1) with the setuid bit turned on 80309577Sglebius#ENABLE_SUID_SSH= true 81309577Sglebius# 82309577Sglebius# To avoid building various parts of the base system: 83309577Sglebius#NO_CVS= true # do not build CVS 84309577Sglebius#NO_BIND= true # do not build BIND 85309577Sglebius#NO_FORTRAN= true # do not build g77 and related libraries 86309577Sglebius#NO_I4B= true # do not build isdn4bsd package 87309577Sglebius#NO_LPR= true # do not build lpr and related programs 88309577Sglebius#NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector 89309577Sglebius#NO_MODULES= true # do not build modules with the kernel 90309577Sglebius#NO_OBJC= true # do not build Objective C support 91309577Sglebius#NO_OPENSSH= true # do not build OpenSSH 92309577Sglebius#NO_OPENSSL= true # do not build OpenSSL (implies NO_OPENSSH) 93309577Sglebius#NO_SENDMAIL= true # do not build sendmail and related programs 94309577Sglebius#NO_SHAREDOCS= true # do not build the 4.4BSD legacy docs 95309577Sglebius#NO_TCSH= true # do not build and install /bin/csh (which is tcsh) 96309577Sglebius#NO_X= true # do not compile in XWindows support (e.g. doscmd) 97309577Sglebius#NOCRYPT= true # do not build any crypto code 98309577Sglebius#NOGAMES= true # do not build games (games/ subdir) 99309577Sglebius#NOINFO= true # do not make or install info files 100309577Sglebius#NOLIBC_R= true # do not build libc_r (re-entrant version of libc) 101309577Sglebius#NOPERL= true # do not build perl. Disables OpenSSL optimizations 102309577Sglebius#NOPROFILE= true # Avoid compiling profiled libraries 103309577Sglebius#NOSECURE= true # do not build crypto code in secure/ subdir 104309577Sglebius#NOSHARE= true # do not go into the share subdir 105309577Sglebius#NOUUCP= true # do not build uucp related programs 106309577Sglebius# 107309577Sglebius# To build the OpenSSL manpages, uncomment the following. These are not 108309577Sglebius# built by default because they clobber a number of system manpages with 109309577Sglebius# manpages describing parts of the OpenSSL toolkit, including passwd(1), 110309577Sglebius# err(3), md5(3), and others. 111309577Sglebius# 112309577Sglebius#WANT_OPENSSL_MANPAGES= true 113309577Sglebius# 114309577Sglebius# To build sys/modules when building the world (our old way of doing things) 115309577Sglebius#MODULES_WITH_WORLD=true # do not build modules when building kernel 116309577Sglebius# 117309577Sglebius# 118309577Sglebius# The following controls building optional IDEA code in libcrypto and 119309577Sglebius# certain ports. Patents are involved - you must not use this unless 120309577Sglebius# you either have a license or fall within patent 'fair use' 121309577Sglebius# provisions. 122309577Sglebius# 123309577Sglebius# *** It is YOUR RESPONSIBILITY to determine if you can use this! *** 124309577Sglebius# 125309577Sglebius# IDEA is patented in the USA and many european countries - thought to 126309577Sglebius# be OK to use for any non-commercial use. This is optional. 127309577Sglebius#MAKE_IDEA= YES # IDEA (128 bit symmetric encryption) 128309577Sglebius# 129331986Sgordon# To avoid running MAKEDEV all on /dev during install set NO_MAKEDEV_RUN. 130309577Sglebius# If you don't want to install MAKEDEV set NO_MAKEDEV_INSTALL, this implies 131309577Sglebius# NO_MAKEDEV_RUN. 132309577Sglebius#NO_MAKEDEV_INSTALL= true 133309577Sglebius#NO_MAKEDEV_RUN= true 134309577Sglebius# 135309577Sglebius# If you do not want unformatted manual pages to be compressed 136309577Sglebius# when they are installed: 137309577Sglebius# 138309577Sglebius#NOMANCOMPRESS= true 139309577Sglebius# 140331986Sgordon# 141309577Sglebius# If you want the "compat" shared libraries installed as part of your normal 142309577Sglebius# builds, uncomment these: 143331986Sgordon# 144309577Sglebius#COMPAT1X= yes 145309577Sglebius#COMPAT20= yes 146309577Sglebius#COMPAT21= yes 147309577Sglebius#COMPAT22= yes 148309577Sglebius#COMPAT3X= yes 149309577Sglebius#COMPAT4X= yes 150309577Sglebius# 151309577Sglebius# 152309577Sglebius# If you do not want additional documentation (some of which are 153309577Sglebius# a few hundred KB's) for ports to be installed: 154309577Sglebius# 155309577Sglebius#NOPORTDOCS= true 156309577Sglebius# 157309577Sglebius# 158309577Sglebius# Default format for system documentation, depends on your printer. 159309577Sglebius# Set this to "ascii" for simple printers or screen 160309577Sglebius# 161309577Sglebius#PRINTERDEVICE= ps 162331986Sgordon# 163331986Sgordon# 164331986Sgordon# How long to wait for a console keypress before booting the default kernel. 165331986Sgordon# This value is approximately in milliseconds. Keypresses are accepted by the 166331986Sgordon# BIOS before booting from disk, making it possible to give custom boot 167331986Sgordon# parameters even when this is set to 0. 168309577Sglebius# 169309577Sglebius#BOOTWAIT=0 170309577Sglebius#BOOTWAIT=30000 171309577Sglebius# 172309577Sglebius# By default, the system will always use the keyboard/video card as system 173309577Sglebius# console. However, the boot blocks may be dynamically configured to use a 174309577Sglebius# serial port in addition to or instead of the keyboard/video console. 175309577Sglebius# 176309577Sglebius# By default we use COM1 as our serial console port *if* we're going to use 177309577Sglebius# a serial port as our console at all. Alter as necessary. 178309577Sglebius# 179309577Sglebius# COM1: = 0x3F8, COM2: = 0x2F8, COM3: = 0x3E8, COM4: = 0x2E8 180309577Sglebius# 181309577Sglebius#BOOT_COMCONSOLE_PORT= 0x3F8 182309577Sglebius# 183309577Sglebius# The default serial console speed is 9600. Set the speed to a larger value 184309577Sglebius# for better interactive response. 185309577Sglebius# 186309577Sglebius#BOOT_COMCONSOLE_SPEED= 115200 187# 188# By default the 'pxeboot' loader retrieves the kernel via NFS. Defining 189# this and recompiling /usr/src/sys/boot will cause it to retrieve the kernel 190# via TFTP. This allows pxeboot to load a custom BOOTP diskless kernel yet 191# still mount the server's '/' (i.e. rather then load the server's kernel). 192# 193#LOADER_TFTP_SUPPORT= YES 194# 195# By default, the ports collection attempts to use XFree86 3.3.X. If 196# you are running XFree86 4.X, uncomment this line. 197# 198#XFREE86_VERSION= 4 199# 200# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier. 201# If you have a XFree86 from before 3.0 that has the X distribution in 202# /usr/X386, you want to uncomment this. 203# 204#X11BASE= /usr/X386 205# 206# 207# If you have Motif on your system, uncomment this. 208# 209#HAVE_MOTIF= yes 210#MOTIF_STATIC= yes 211# 212# If the default location of the Motif library (specified below) is NOT 213# appropriate for you, uncomment this and change it to the correct value. 214# If your motif is in ${X11BASE}/lib, you don't need to touch this line. 215# 216#MOTIFLIB= -L${X11BASE}/lib -lXm 217# 218# 219# If you're resident in the USA, this will help various ports to determine 220# whether or not they should attempt to comply with the various U.S. 221# export regulations on certain types of software which do not apply to 222# anyone else in the world. 223# 224#USA_RESIDENT= YES 225# 226# 227# Override "don't install a port that's already installed" behavior. 228# One might wish to do this for ports debugging or to unconditionally 229# reinstall a set of suspect/broken ports. 230# 231#FORCE_PKG_REGISTER= YES 232# 233# 234# If you're behind a firewall and need FTP or HTTP proxy services for 235# ports collection fetching to work, the following examples give the 236# necessary syntax. See the fetch(3) man page for details. 237# 238#FTP_PROXY= 10.0.0.1:21 239#HTTP_PROXY= 10.0.0.1:80 240# 241# 242# Port master sites. 243# 244# If you want your port fetches to go somewhere else than the default 245# (specified below) in case the distfile/patchfile was not found, 246# uncomment this and change it to a location nearest you. (Don't 247# remove the "/${DIST_SUBDIR}/" part.) 248# 249#MASTER_SITE_BACKUP?= \ 250# ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ 251# 252# If you want your port fetches to check the above site first (before 253# the MASTER_SITES specified in the port Makefiles), uncomment the 254# line below. You can also change the right side to point to wherever 255# you want. 256# 257#MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP} 258# 259# Some ports use a special variable to point to a collection of 260# mirrors of well-known software archives. If you have a mirror close 261# to you, uncomment any of the following lines and change it to that 262# address. (Don't remove the "/%SUBDIR%/" part.) 263# 264# Note: the right hand sides of the following lines are only for your 265# information. For a full list of default sites, take a look at 266# bsd.sites.mk. 267# 268#MASTER_SITE_AFTERSTEP= ftp://ftp.afterstep.org/%SUBDIR%/ 269#MASTER_SITE_COMP_SOURCES= ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/ 270#MASTER_SITE_GNOME= ftp://ftp.gnome.org/pub/GNOME/sources/%SUBDIR%/ 271#MASTER_SITE_GNU= ftp://ftp.gnu.org/gnu/%SUBDIR%/ 272#MASTER_SITE_KDE= ftp://ftp.kde.org/pub/kde/%SUBDIR%/ 273#MASTER_SITE_LOCAL= ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ 274#MASTER_SITE_MOZILLA= ftp://ftp.mozilla.org/pub/%SUBDIR%/ 275#MASTER_SITE_NETBSD= ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/%SUBDIR%/ 276#MASTER_SITE_PERL_CPAN= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/ 277#MASTER_SITE_PORTS_JP= ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/%SUBDIR%/ 278#MASTER_SITE_RINGSERVER= ftp://ftp.dnsbalance.ring.gr.jp/pub/%SUBDIR%/ 279#MASTER_SITE_RUBY= ftp://ftp.netlab.co.jp/pub/lang/ruby/%SUBDIR%/ 280#MASTER_SITE_SOURCEFORGE= ftp://ftp2.sourceforge.net/pub/sourceforge/%SUBDIR%/ 281#MASTER_SITE_SOURCEWARE= ftp://ftp.freesoftware.com/pub/sourceware/%SUBDIR%/ 282#MASTER_SITE_SUNSITE= ftp://metalab.unc.edu/pub/Linux/%SUBDIR%/ 283#MASTER_SITE_TCLTK= ftp://ftp.scriptics.com/pub/tcl/%SUBDIR%/ 284#MASTER_SITE_TEX_CTAN= ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/ 285#MASTER_SITE_THEMES= ftp://ftp.themes.org/pub/themes/%SUBDIR%/ 286#MASTER_SITE_WINDOWMAKER= ftp://ftp.windowmaker.org/pub/%SUBDIR%/ 287#MASTER_SITE_XCONTRIB= ftp://ftp.x.org/contrib/%SUBDIR%/ 288#MASTER_SITE_XEMACS= ftp://ftp.xemacs.org/pub/xemacs/%SUBDIR%/ 289#MASTER_SITE_XFREE= ftp://ftp.xfree86.org/pub/XFree86/%SUBDIR%/source/ 290# 291# Also it is highly recommended that you configure MASTER_SORT_REGEX 292# to choose better mirror sites for you. List awk(1)-style regular 293# expressions separated by space so MASTER_SITES will be sorted in 294# that order. The following example is for Japanese users; change 295# "jp" part to your ccTLD ("de", "ru", "uk", etc.) or the domain names 296# of your nearest/upstream networks to meet your needs. 297# 298#MASTER_SORT_REGEX?= ^file: ^ftp://ftp\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/ ://[^/]*\.jp/ ://[^/]*\.jp\. 299# 300# Kerberos IV 301# If you want KerberosIV (KTH eBones), define this: 302# 303#MAKE_KERBEROS4= yes 304# 305# 306# Kerberos 5 307# If you want Kerberos 5 (KTH Heimdal), define this: 308# 309#MAKE_KERBEROS5= yes 310# 311# 312# Kerberos5 313# If you want to install MIT Kerberos5 port somewhere other than /usr/local, 314# define this (this is also used to tell ssh1 that kerberos is needed): 315# 316#KRB5_HOME= /usr/local 317# 318# 319# CVSup update flags. Edit SUPFILE settings to reflect whichever distribution 320# file(s) you use on your site (see /usr/share/examples/cvsup/README for more 321# information on CVSup and these files). To use, do "make update" in /usr/src. 322# 323#SUP_UPDATE= yes 324# 325#SUP= /usr/local/bin/cvsup 326#SUPFLAGS= -g -L 2 327#SUPHOST= cvsup.uk.FreeBSD.org 328#SUPFILE= /usr/share/examples/cvsup/standard-supfile 329#PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile 330#DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile 331# 332# top(1) uses a hash table for the user names. The size of this hash 333# can be tuned to match the number of local users. The table size should 334# be a prime number approximately twice as large as the number of lines in 335# /etc/passwd. The default number is 20011. 336# 337#TOP_TABLE_SIZE= 101 338# 339# Documentation 340# 341# The list of languages and encodings to build and install 342# 343#DOC_LANG= en_US.ISO8859-1 ru_RU.KOI8-R 344# 345# 346# sendmail 347# 348# The following sets the default m4 configuration file to use at 349# install time. Use with caution as a make install will overwrite 350# any existing /etc/mail/sendmail.cf. Note that SENDMAIL_CF is now 351# deprecated. The value should be a fully qualified path name. 352# 353#SENDMAIL_MC=/etc/mail/myconfig.mc 354# 355# If you need to build additional .cf files during a make buildworld, 356# include the full paths to the .mc files in SENDMAIL_ADDITIONAL_MC. 357# 358#SENDMAIL_ADDITIONAL_MC=/etc/mail/foo.mc /etc/mail/bar.mc 359# 360# Setting the following variables modifes the build environment for 361# sendmail and its related utilities. For example, SASL support can be 362# added with settings such as: 363# 364# SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL 365# SENDMAIL_LDFLAGS=-L/usr/local/lib 366# SENDMAIL_LDADD=-lsasl 367# 368# Note: If you are using Cyrus SASL with other applications which require 369# access to the sasldb file, you should add '-D_FFR_UNSAFE_SASL' to 370# SENDMAIL_CFLAGS. Also, add the following to your sendmail.mc file: 371# 372# define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLFile') 373# 374#SENDMAIL_CFLAGS= 375#SENDMAIL_LDFLAGS= 376#SENDMAIL_LDADD= 377#SENDMAIL_DPADD= 378