make.conf revision 73043
1# $FreeBSD: head/share/examples/etc/make.conf 73043 2001-02-25 21:42:12Z kris $ 2# 3# NOTE: Please would any committer updating this file also update the 4# make.conf(5) manual page, if necessary, which is located in 5# src/share/man/man5/make.conf.5. 6# 7# This file, if present, will be read by make (see /usr/share/mk/sys.mk). 8# It allows you to override macro definitions to make without changing 9# your source tree, or anything the source tree installs. 10# 11# This file must be in valid Makefile syntax. 12# 13# You have to find the things you can put here in the Makefiles and 14# documentation of the source tree. 15# 16# 17# The CPUTYPE variable controls which processor should be targetted for 18# generated code. This controls processor-specific optimizations in 19# certain code (currently only OpenSSL) as well as modifying the value 20# of CFLAGS to contain the appropriate optimization directive to gcc. 21# The automatic setting of CFLAGS may be overridden using the 22# NO_CPU_CFLAGS variable below. 23# Currently the following CPU types are recognised: 24# Intel x86 architecture: k7 k6 k5 i686 i586 i486 i386 25# Alpha/AXP architecture: ev6 pca56 ev56 ev5 ev45 ev4 26# Intel ia64 architecture: itanium 27# 28#CPUTYPE=i686 29#NO_CPU_CFLAGS= true # Don't add -march=<cpu> to CFLAGS automatically 30# 31# CFLAGS controls the compiler settings used when compiling C code. 32# Note that optimization settings above -O (-O2, ...) are not recommended 33# or supported for compiling the world or the kernel - please revert any 34# nonstandard optimization settings to "-O" before submitting bug reports 35# to the developers. 36# Note also that at this time the -O2 setting is known to produce BROKEN 37# CODE on the Alpha platform. 38# 39#CFLAGS= -O -pipe 40# 41# CXXFLAGS controls the compiler settings used when compiling C++ code. 42# Note that CXXFLAGS is initially set to the value of CFLAGS. If you wish 43# to add to CXXFLAGS value, "+=" must be used rather than "=". Using "=" 44# alone will remove the often needed contents of CFLAGS from CXXFLAGS. 45# 46#CXXFLAGS+= -fmemoize-lookups -fsave-memoized 47# 48# BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggested 49# for use in developing FreeBSD and testing changes. They can be used by 50# putting "CFLAGS+=${BDECFLAGS}" in /etc/make.conf. 51# 52BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ 53 -Wcast-qual -Wchar-subscripts -Wconversion -Winline \ 54 -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ 55 -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings 56# 57# To compile just the kernel with special optimizations, you should use 58# this instead of CFLAGS (which is not applicable to kernel builds anyway). 59# There is very little to gain by using higher optimization levels, and doing 60# so can cause problems. 61# 62#COPTFLAGS= -O -pipe 63# 64# Compare before install 65#INSTALL=install -C 66# 67# Mtree will follow symlinks 68#MTREE_FOLLOWS_SYMLINKS= -L 69# 70# To enable installing suidperl with the setuid bit turned on 71#ENABLE_SUIDPERL= true 72# 73# To build perl with thread support 74#PERL_THREADED= true 75# 76# To build ppp with normal permissions 77#PPP_NOSUID= true 78# 79# To enable installing ssh(1) with the setuid bit turned on 80#ENABLE_SUID_SSH= true 81# 82# To avoid building various parts of the base system: 83#NO_CVS= true # do not build CVS 84#NO_BIND= true # do not build BIND 85#NO_FORTRAN= true # do not build g77 and related libraries 86#NO_LPR= true # do not build lpr and related programs 87#NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector 88#NO_MODULES= true # do not build modules with the kernel 89#NO_OBJC= true # do not build Objective C support 90#NO_OPENSSH= true # do not build OpenSSH 91#NO_OPENSSL= true # do not build OpenSSL (implies NO_OPENSSH) 92#NO_SENDMAIL= true # do not build sendmail and related programs 93#NO_SHAREDOCS= true # do not build the 4.4BSD legacy docs 94#NO_TCSH= true # do not build and install /bin/csh (which is tcsh) 95#NO_X= true # do not compile in XWindows support (e.g. doscmd) 96#NOCRYPT= true # do not build any crypto code 97#NOGAMES= true # do not build games (games/ subdir) 98#NOINFO= true # do not make or install info files 99#NOLIBC_R= true # do not build libc_r (re-entrant version of libc) 100#NOPERL= true # do not build perl. Disables OpenSSL optimizations 101#NOPROFILE= true # Avoid compiling profiled libraries 102#NOSECURE= true # do not build crypto code in secure/ subdir 103#NOSHARE= true # do not go into the share subdir 104#NOUUCP= true # do not build uucp related programs 105# 106# To build the OpenSSL manpages, uncomment the following. These are not 107# built by default because they clobber a number of system manpages with 108# manpages describing parts of the OpenSSL toolkit, including passwd(1), 109# err(3), md5(3), and others. 110# 111#WANT_OPENSSL_MANPAGES= true 112# 113# To build sys/modules when building the world (our old way of doing things) 114#MODULES_WITH_WORLD=true # do not build modules when building kernel 115# 116# 117# Controls for building various OPTIONAL parts of the crypto system. 118# Patents are involved - you must not use these unless you either have 119# a license or would be within patent 'fair use' provisions. 120# Generally 'educational use' is OK, but personal (even non-commercial) 121# use is not. 122# *** It is YOUR RESPONSIBILITY to determine if you can use these! *** 123# 124# Patented in the USA and many european countries - thought to be OK to 125# use for any non-commercial use. This is optional. 126#MAKE_IDEA= YES # IDEA (128 bit symmetric encryption) 127# 128# To avoid running MAKEDEV all on /dev during install: 129#NO_MAKEDEV= true 130# 131# If you do not want unformatted manual pages to be compressed 132# when they are installed: 133# 134#NOMANCOMPRESS= true 135# 136# 137# If you want the "compat" shared libraries installed as part of your normal 138# builds, uncomment these: 139# 140#COMPAT1X= yes 141#COMPAT20= yes 142#COMPAT21= yes 143#COMPAT22= yes 144#COMPAT3X= yes 145# 146# 147# If you do not want additional documentation (some of which are 148# a few hundred KB's) for ports to be installed: 149# 150#NOPORTDOCS= true 151# 152# 153# Default format for system documentation, depends on your printer. 154# Set this to "ascii" for simple printers or screen 155# 156#PRINTERDEVICE= ps 157# 158# 159# How long to wait for a console keypress before booting the default kernel. 160# This value is approximately in milliseconds. Keypresses are accepted by the 161# BIOS before booting from disk, making it possible to give custom boot 162# parameters even when this is set to 0. 163# 164#BOOTWAIT=0 165#BOOTWAIT=30000 166# 167# By default, the system will always use the keyboard/video card as system 168# console. However, the boot blocks may be dynamically configured to use a 169# serial port in addition to or instead of the keyboard/video console. 170# 171# By default we use COM1 as our serial console port *if* we're going to use 172# a serial port as our console at all. Alter as necessary. 173# 174# COM1: = 0x3F8, COM2: = 0x2F8, COM3: = 0x3E8, COM4: = 0x2E8 175# 176#BOOT_COMCONSOLE_PORT= 0x3F8 177# 178# The default serial console speed is 9600. Set the speed to a larger value 179# for better interactive response. 180# 181#BOOT_COMCONSOLE_SPEED= 115200 182# 183# By default the 'pxeboot' loader retrieves the kernel via NFS. Defining 184# this and recompiling /usr/src/sys/boot will cause it to retrieve the kernel 185# via TFTP. This allows pxeboot to load a custom BOOTP diskless kernel yet 186# still mount the server's '/' (i.e. rather then load the server's kernel). 187# 188#LOADER_TFTP_SUPPORT= YES 189# 190# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier. 191# If you have a XFree86 from before 3.0 that has the X distribution in 192# /usr/X386, you want to uncomment this. 193# 194#X11BASE= /usr/X386 195# 196# 197# If you have Motif on your system, uncomment this. 198# 199#HAVE_MOTIF= yes 200#MOTIF_STATIC= yes 201# 202# If the default location of the Motif library (specified below) is NOT 203# appropriate for you, uncomment this and change it to the correct value. 204# If your motif is in ${X11BASE}/lib, you don't need to touch this line. 205# 206#MOTIFLIB= -L${X11BASE}/lib -lXm 207# 208# 209# If you're resident in the USA, this will help various ports to determine 210# whether or not they should attempt to comply with the various U.S. 211# export regulations on certain types of software which do not apply to 212# anyone else in the world. 213# 214#USA_RESIDENT= YES 215# 216# 217# Override "don't install a port that's already installed" behavior. 218# One might wish to do this for ports debugging or to unconditionally 219# reinstall a set of suspect/broken ports. 220# 221#FORCE_PKG_REGISTER= YES 222# 223# 224# If you're behind a firewall and need FTP or HTTP proxy services for 225# ports collection fetching to work, the following examples give the 226# necessary syntax. See the fetch(3) man page for details. 227# 228#FTP_PROXY= 10.0.0.1:21 229#HTTP_PROXY= 10.0.0.1:80 230# 231# 232# Port master sites. 233# 234# If you want your port fetches to go somewhere else than the default 235# (specified below) in case the distfile/patchfile was not found, 236# uncomment this and change it to a location nearest you. (Don't 237# remove the "/${DIST_SUBDIR}/" part.) 238# 239#MASTER_SITE_BACKUP?= \ 240# ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ 241# 242# If you want your port fetches to check the above site first (before 243# the MASTER_SITES specified in the port Makefiles), uncomment the 244# line below. You can also change the right side to point to wherever 245# you want. 246# 247#MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP} 248# 249# Some ports use a special variable to point to a collection of 250# mirrors of well-known software archives. If you have a mirror close 251# to you, uncomment any of the following lines and change it to that 252# address. (Don't remove the "/%SUBDIR%/" part.) 253# 254# Note: the right hand sides of the following lines are only for your 255# information. For a full list of default sites, take a look at 256# bsd.sites.mk. 257# 258#MASTER_SITE_XCONTRIB= ftp://ftp.x.org/contrib/%SUBDIR%/ 259#MASTER_SITE_XFREE= ftp://ftp.freesoftware.com/pub/XFree86/%SUBDIR%/source/ 260#MASTER_SITE_GNU= ftp://ftp.gnu.org/gnu/%SUBDIR%/ 261#MASTER_SITE_PERL_CPAN= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/ 262#MASTER_SITE_TEX_CTAN= ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/ 263#MASTER_SITE_SUNSITE= ftp://metalab.unc.edu/pub/Linux/%SUBDIR%/ 264#MASTER_SITE_RINGSERVER= ftp://ring.ocn.ad.jp/pub/%SUBDIR%/ 265#MASTER_SITE_KDE= ftp://ftp.kde.org/pub/kde/%SUBDIR%/ 266#MASTER_SITE_COMP_SOURCES= ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/ 267#MASTER_SITE_GNOME= ftp://ftp.gnome.org/pub/GNOME/sources/%SUBDIR%/ 268#MASTER_SITE_AFTERSTEP= ftp://ftp.afterstep.org/%SUBDIR%/ 269#MASTER_SITE_WINDOWMAKER= ftp://ftp.windowmaker.org/pub/%SUBDIR%/ 270#MASTER_SITE_MOZILLA= ftp://ftp.yggdrasil.com/mirrors/site/ftp.mozilla.org/pub/%SUBDIR%/ 271#MASTER_SITE_XEMACS= ftp://ftp.sunsite.utk.edu/pub/xemacs/%SUBDIR%/ 272#MASTER_SITE_TCLTK= ftp://ftp.uu.net/languages/tcl/%SUBDIR%/ 273#MASTER_SITE_RUBY= ftp://ftp.fu-berlin.de/unix/languages/ruby/%SUBDIR%/ 274# 275# Also it is highly recommended that you configure MASTER_SORT_REGEX 276# to choose better mirror sites for you. List awk(1)-style regular 277# expressions separated by space so MASTER_SITES will be sorted in 278# that order. The following example is for Japanese users; change 279# "jp" part to your ccTLD ("de", "ru", "uk", etc.) or the domain names 280# of your nearest/upstream networks to meet your needs. 281# 282#MASTER_SORT_REGEX?= ^file: ^ftp://ftp\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/ ://[^/]*\.jp/ ://[^/]*\.jp\. 283# 284# Kerberos IV 285# If you want KerberosIV (KTH eBones), define this: 286# 287#MAKE_KERBEROS4= yes 288# 289# 290# Kerberos 5 291# If you want KerberosIV (KTH Heimdal), define this: 292# ** WARNING ** 293# ** WARNING ** This is very experimental at this stage. If you 294# ** WARNING ** need stable Kerberos5, rather use the port(s). 295# ** WARNING ** 296# 297#MAKE_KERBEROS5= yes 298# 299# 300# Kerberos5 301# If you want to install MIT Kerberos5 port somewhere other than /usr/local, 302# define this (this is also used to tell ssh1 that kerberos is needed): 303# 304#KRB5_HOME= /usr/local 305# 306# 307# CVSup update flags. Edit SUPFILE settings to reflect whichever distribution 308# file(s) you use on your site (see /usr/share/examples/cvsup/README for more 309# information on CVSup and these files). To use, do "make update" in /usr/src. 310# 311#SUP_UPDATE= yes 312# 313#SUP= /usr/local/bin/cvsup 314#SUPFLAGS= -g -L 2 315#SUPHOST= cvsup.uk.FreeBSD.org 316#SUPFILE= /usr/share/examples/cvsup/standard-supfile 317#SUPFILE1= /usr/share/examples/cvsup/secure-supfile 318#PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile 319#DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile 320# 321# top(1) uses a hash table for the user names. The size of this hash 322# can be tuned to match the number of local users. The table size should 323# be a prime number approximately twice as large as the number of lines in 324# /etc/passwd. The default number is 20011. 325# 326#TOP_TABLE_SIZE= 101 327# 328# Documentation 329# 330# The list of languages and encodings to build and install 331# 332#DOC_LANG= en_US.ISO_8859-1 ru_RU.KOI8-R 333# 334# 335# sendmail 336# 337# The following sets the default m4 configuration file to use at 338# install time. Use with caution as a make install will overwrite 339# any existing /etc/mail/sendmail.cf. Note that SENDMAIL_CF is now 340# deprecated. The value should be a fully qualified path name. 341# 342#SENDMAIL_MC=/etc/sendmail/freebsd.mc 343# 344# If you need to build additional .cf files during a make buildworld, 345# include the full paths to the .mc files in SENDMAIL_ADDITIONAL_MC. 346# 347#SENDMAIL_ADDITIONAL_MC=/etc/mail/foo.mc /etc/mail/bar.mc 348# 349# Setting the following variables modifes the build environment for 350# sendmail and its related utilities. For example, SASL support can be 351# added with settings such as: 352# 353# SENDMAIL_CFLAGS=-I/usr/local/include -DSASL 354# SENDMAIL_LDFLAGS=-L/usr/local/lib 355# SENDMAIL_LDADD=-lsasl 356# 357# Note: If you are using Cyrus SASL with other applications which require 358# access to the sasldb file, you should add '-D_FFR_UNSAFE_SASL' to 359# SENDMAIL_CFLAGS. Also, add the following to your sendmail.mc file: 360# 361# define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLFile') 362# 363#SENDMAIL_CFLAGS= 364#SENDMAIL_LDFLAGS= 365#SENDMAIL_LDADD= 366#SENDMAIL_DPADD= 367