make.conf revision 62482
184865Sobrien# $FreeBSD: head/share/examples/etc/make.conf 62482 2000-07-03 20:52:01Z peter $ 2218822Sdim# 384865Sobrien# This file, if present, will be read by make (see /usr/share/mk/sys.mk). 484865Sobrien# It allows you to override macro definitions to make without changing 584865Sobrien# your source tree, or anything the source tree installs. 6218822Sdim# 784865Sobrien# This file must be in valid Makefile syntax. 8218822Sdim# 9218822Sdim# You have to find the things you can put here in the Makefiles and 10218822Sdim# documentation of the source tree. 11218822Sdim# 1284865Sobrien# CFLAGS controls the compiler settings used when compiling C code. 13218822Sdim# Note that optimisation settings above -O (-O2, ...) are not recommended 14218822Sdim# or supported for compiling the world or the kernel - please revert any 15218822Sdim# nonstandard optimisation settings to "-O" before submitting bug reports 16218822Sdim# to the developers. 1784865Sobrien# Note also that at this time the -O2 setting is known to produce BROKEN 18218822Sdim# CODE on the Alpha platform. 19218822Sdim# 20218822Sdim#CFLAGS= -O -pipe 2184865Sobrien# 2284865Sobrien# CXXFLAGS controls the compiler settings used when compiling C++ code. 2384865Sobrien# Note that CXXFLAGS is initially set to the value of CFLAGS. If you wish 2484865Sobrien# to add to CXXFLAGS value, "+=" must be used rather than "=". Using "=" 2584865Sobrien# alone will remove the often needed contents of CFLAGS from CXXFLAGS. 2684865Sobrien# 2784865Sobrien#CXXFLAGS+= -fmemoize-lookups -fsave-memoized 2884865Sobrien# 2984865Sobrien# BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggested 3084865Sobrien# for use in developing FreeBSD and testing changes. They can be used by 3184865Sobrien# putting "CFLAGS+=${BDECFLAGS}" in /etc/make.conf. 3284865Sobrien# 3384865SobrienBDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ 3484865Sobrien -Wcast-qual -Wchar-subscripts -Wconversion -Winline \ 35218822Sdim -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ 3684865Sobrien -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings 3784865Sobrien# 3884865Sobrien# Avoid compiling profiled libraries 3984865Sobrien#NOPROFILE= true 4084865Sobrien# 4184865Sobrien# Compare before install 4284865Sobrien#INSTALL=install -C 43218822Sdim# 44218822Sdim# To avoid building perl 45218822Sdim#NOPERL= true 46218822Sdim# 47218822Sdim# To avoid building the suid perl 48218822Sdim#NOSUIDPERL= true 49218822Sdim# 50218822Sdim# To build perl with thread support 51218822Sdim#PERL_THREADED= true 52218822Sdim# 53218822Sdim# To avoid building various parts of the base system: 54218822Sdim#NO_CVS= true # do not build CVS 55218822Sdim#NO_BIND= true # do not build BIND 56218822Sdim#NO_FORTRAN= true # do not build g77 and related libraries 57218822Sdim#NO_LPR= true # do not build lpr and related programs 58218822Sdim#NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector 5984865Sobrien#NO_MODULES= true # do not build modules with the kernel 6084865Sobrien#NO_OBJC= true # do not build Objective C support 6184865Sobrien#NO_OPENSSH= true # do not build OpenSSH 62218822Sdim#NO_OPENSSL= true # do not build OpenSSL (implies NO_OPENSSH) 6384865Sobrien#NO_SENDMAIL= true # do not build sendmail and related programs 64218822Sdim#NO_SHAREDOCS= true # do not build the 4.4BSD legacy docs 6584865Sobrien#NO_TCSH= true # do not build and install /bin/csh (which is tcsh) 66218822Sdim#NO_X= true # do not compile in XWindows support (e.g. doscmd) 67218822Sdim#NOCRYPT= true # do not build any crypto code 6884865Sobrien#NODESCRYPTLINKS=true # do not replace libcrypt -> libscrypt links 6984865Sobrien#NOGAMES= true # do not build games (games/ subdir) 7084865Sobrien#NOINFO= true # do not make or install info files 7184865Sobrien#NOLIBC_R= true # do not build libc_r (re-entrant version of libc) 7284865Sobrien#NOSECURE= true # do not build crypto code in secure/ subdir 73218822Sdim#NOSHARE= true # do not go into the share subdir 74218822Sdim#NOUUCP= true # do not build uucp related programs 7584865Sobrien# 7684865Sobrien# To build sys/modules when building the world (our old way of doing things) 77218822Sdim#MODULES_WITH_WORLD=true # do not build modules when building kernel 78218822Sdim# 7984865Sobrien# 8084865Sobrien# Controls for building various OPTIONAL parts of the crypto system. 8184865Sobrien# Patents are involved - you must not use these unless you either have 8284865Sobrien# a license or would be within patent 'fair use' provisions. 8384865Sobrien# Generally 'educational use' is OK, but personal (even non-commercial) 84218822Sdim# use is not. 8584865Sobrien# *** It is YOUR RESPONSIBILITY to determine if you can use these! *** 86218822Sdim# 8784865Sobrien# Patented in the USA and many european countries - thought to be OK to 88218822Sdim# use for any non-commercial use. This is optional. 8984865Sobrien#WITH_IDEA= YES # IDEA (128 bit symmetric encryption) 9084865Sobrien# 9184865Sobrien# Patented in the USA only (due to expire in September 2000). RSA is 92218822Sdim# required for OpenSSH. Either use this or ports/security/rsaref. 93218822Sdim#WITH_RSAINTL= YES # RSA (public key exchange) 9484865Sobrien# 9584865Sobrien# 96218822Sdim# To avoid running MAKEDEV all on /dev during install: 97218822Sdim#NO_MAKEDEV= true 9884865Sobrien# 9984865Sobrien# To compile just the kernel with special optimisations, you should use 10084865Sobrien# this instead of CFLAGS (which is not applicable to kernel builds anyway): 10184865Sobrien# 10284865Sobrien#COPTFLAGS= -O -pipe 10384865Sobrien# 10484865Sobrien# If you do not want unformatted manual pages to be compressed 10584865Sobrien# when they are installed: 10684865Sobrien# 107218822Sdim#NOMANCOMPRESS= true 10884865Sobrien# 10984865Sobrien# 11084865Sobrien# If you want the "compat" shared libraries installed as part of your normal 11184865Sobrien# builds, uncomment these: 11284865Sobrien# 11384865Sobrien#COMPAT1X= yes 11484865Sobrien#COMPAT20= yes 11584865Sobrien#COMPAT21= yes 11684865Sobrien#COMPAT22= yes 11784865Sobrien#COMPAT3X= yes 118218822Sdim# 119218822Sdim# 120218822Sdim# If you do not want additional documentation (some of which are 121218822Sdim# a few hundred KB's) for ports to be installed: 122218822Sdim# 123218822Sdim#NOPORTDOCS= true 124218822Sdim# 125218822Sdim# 126218822Sdim# Default format for system documentation, depends on your printer. 127218822Sdim# Set this to "ascii" for simple printers or screen 128218822Sdim# 129218822Sdim#PRINTERDEVICE= ps 130218822Sdim# 131218822Sdim# 132218822Sdim# How long to wait for a console keypress before booting the default kernel. 133218822Sdim# This value is approximately in milliseconds. Keypresses are accepted by the 134218822Sdim# BIOS before booting from disk, making it possible to give custom boot 13584865Sobrien# parameters even when this is set to 0. 13684865Sobrien# 137218822Sdim#BOOTWAIT=0 13884865Sobrien#BOOTWAIT=30000 139218822Sdim# 14084865Sobrien# By default, the system will always use the keyboard/video card as system 14184865Sobrien# console. However, the boot blocks may be dynamically configured to use a 14284865Sobrien# serial port in addition to or instead of the keyboard/video console. 14384865Sobrien# 14484865Sobrien# By default we use COM1 as our serial console port *if* we're going to use 14584865Sobrien# a serial port as our console at all. Alter as necessary. 14684865Sobrien# 14784865Sobrien# COM1: = 0x3F8, COM2: = 0x2F8, COM3: = 0x3E8, COM4: = 0x2E8 14884865Sobrien# 14984865Sobrien#BOOT_COMCONSOLE_PORT= 0x3F8 15084865Sobrien# 151218822Sdim# The default serial console speed is 9600. Set the speed to a larger value 152218822Sdim# for better interactive response. 15384865Sobrien# 154218822Sdim#BOOT_COMCONSOLE_SPEED= 115200 15584865Sobrien# 15684865Sobrien# 15784865Sobrien# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier. 158218822Sdim# If you have a XFree86 from before 3.0 that has the X distribution in 159218822Sdim# /usr/X386, you want to uncomment this. 160218822Sdim# 161218822Sdim#X11BASE= /usr/X386 16284865Sobrien# 16384865Sobrien# 16484865Sobrien# If you have Motif on your system, uncomment this. 165218822Sdim# 16684865Sobrien#HAVE_MOTIF= yes 16784865Sobrien#MOTIF_STATIC= yes 168218822Sdim# 16984865Sobrien# If the default location of the Motif library (specified below) is NOT 170218822Sdim# appropriate for you, uncomment this and change it to the correct value. 17184865Sobrien# If your motif is in ${X11BASE}/lib, you don't need to touch this line. 172218822Sdim# 17384865Sobrien#MOTIFLIB= -L${X11BASE}/lib -lXm 174218822Sdim# 17584865Sobrien# 17684865Sobrien# If you're resident in the USA, this will help various ports to determine 17784865Sobrien# whether or not they should attempt to comply with the various U.S. 17884865Sobrien# export regulations on certain types of software which do not apply to 17984865Sobrien# anyone else in the world. 18084865Sobrien# 18184865Sobrien#USA_RESIDENT= YES 18284865Sobrien# 18384865Sobrien# Next one will help ports developers to debug 18484865Sobrien# 18584865Sobrien#FORCE_PKG_REGISTER= YES 18684865Sobrien# 18784865Sobrien# 18884865Sobrien# Port master sites. 18984865Sobrien# 19084865Sobrien# If you want your port fetches to go somewhere else than the default 191# (specified below) in case the distfile/patchfile was not found, 192# uncomment this and change it to a location nearest you. (Don't 193# remove the "/${DIST_SUBDIR}/" part.) 194# 195#MASTER_SITE_BACKUP?= \ 196# ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ 197# 198# If you want your port fetches to check the above site first (before 199# the MASTER_SITES specified in the port Makefiles), uncomment the 200# line below. You can also change the right side to point to wherever 201# you want. 202# 203#MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP} 204# 205# Some ports use a special variable to point to a collection of 206# mirrors of well-known software archives. If you have a mirror close 207# to you, uncomment any of the following lines and change it to that 208# address. (Don't remove the "/%SUBDIR%/" part.) 209# 210# Note: the right hand sides of the following lines are only for your 211# information. For a full list of default sites, take a look at 212# bsd.port.mk. 213# 214#MASTER_SITE_XCONTRIB= ftp://ftp.x.org/contrib/%SUBDIR%/ 215#MASTER_SITE_GNU= ftp://prep.ai.mit.edu/pub/gnu/%SUBDIR%/ 216#MASTER_SITE_PERL_CPAN= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/ 217#MASTER_SITE_TEX_CTAN= ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/ 218#MASTER_SITE_SUNSITE= ftp://metalab.unc.edu/pub/Linux/%SUBDIR%/ 219#MASTER_SITE_KDE= ftp://ftp.kde.org/pub/kde/%SUBDIR%/ 220#MASTER_SITE_COMP_SOURCES= ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/ 221#MASTER_SITE_GNOME= ftp://ftp.gnome.org/pub/GNOME/sources/%SUBDIR%/ 222#MASTER_SITE_AFTERSTEP= ftp://ftp.afterstep.org/%SUBDIR%/ 223#MASTER_SITE_WINDOWMAKER= ftp://ftp.windowmaker.org/pub/%SUBDIR%/ 224# 225# 226# Kerberos IV 227# If you want KerberosIV (KTH eBones), define this: 228# 229#MAKE_KERBEROS4= yes 230# 231# 232# Kerberos 5 233# If you want KerberosIV (KTH Heimdal), define this: 234# ** WARNING ** 235# ** WARNING ** This is very experimental at this stage. If you 236# ** WARNING ** need stable Kerberos5, rather use the port(s). 237# ** WARNING ** 238# 239#MAKE_KERBEROS5= yes 240# 241# 242# Kerberos5 243# If you want to install MIT Kerberos5 port somewhere other than /usr/local, 244# define this (this is also used to tell ssh1 that kerberos is needed): 245# 246#KRB5_HOME= /usr/local 247# 248# 249# CVSup update flags. Edit SUPFILE settings to reflect whichever distribution 250# file(s) you use on your site (see /usr/share/examples/cvsup/README for more 251# information on CVSup and these files). To use, do "make update" in /usr/src. 252# 253#SUP_UPDATE= yes 254# 255#SUP= /usr/local/bin/cvsup 256#SUPFLAGS= -g -L 2 257#SUPFILE= /usr/share/examples/cvsup/standard-supfile 258#SUPFILE1= /usr/share/examples/cvsup/secure-supfile 259#PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile 260#DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile 261# 262# top(1) uses a hash table for the user names. The size of this hash 263# can be tuned to match the number of local users. The table size should 264# be a prime number approximately twice as large as the number of lines in 265# /etc/passwd. The default number is 20011. 266# 267#TOP_TABLE_SIZE= 101 268# 269# Documentation 270# 271# The list of languages and encodings to build and install 272# 273#DOC_LANG= en_US.ISO_8859-1 ru_RU.KOI8-R 274