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