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