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