make.conf revision 57542
11541Srgrimes# $FreeBSD: head/share/examples/etc/make.conf 57542 2000-02-27 22:56:27Z kris $ 21541Srgrimes# 31541Srgrimes# This file, if present, will be read by make (see /usr/share/mk/sys.mk). 41541Srgrimes# It allows you to override macro definitions to make without changing 551138Salfred# your source tree, or anything the source tree installs. 6175165Sjhb# 71541Srgrimes# This file must be in valid Makefile syntax. 81541Srgrimes# 9106149Sdwmalone# You have to find the things you can put here in the Makefiles and 101541Srgrimes# documentation of the source tree. 1164002Speter# 121541Srgrimes# One, and probably the most common, use could be: 131541Srgrimes# 141541Srgrimes#CFLAGS= -O -pipe 151541Srgrimes# 161541Srgrimes# 171541Srgrimes# Avoid compiling profiled libraries 18171210Speter#NOPROFILE= true 191541Srgrimes# 201541Srgrimes# Compare before install 211541Srgrimes#INSTALL=install -C 221541Srgrimes# 231541Srgrimes# To avoid building perl 241541Srgrimes#NOPERL= true 251541Srgrimes# 261541Srgrimes# To avoid building the suid perl 271541Srgrimes#NOSUIDPERL= true 28171210Speter# 29171210Speter# To build perl with thread support 301541Srgrimes#PERL_THREADED= true 311541Srgrimes# 321541Srgrimes# To avoid building various parts of the base system: 331541Srgrimes#NO_CVS= true # do not build CVS 341541Srgrimes#NO_FORTRAN= true # do not build g77 and related libraries 351541Srgrimes#NO_OPENSSH= true # do not build OpenSSH 361541Srgrimes#NO_OPENSSL= true # do not build OpenSSL (implies NO_OPENSSH) 371541Srgrimes#NO_SENDMAIL= true # do not build sendmail and related programs 381541Srgrimes#NOCRYPT= true # do not build libcrypt 391541Srgrimes#NOGAMES= true # do not build games (games/ subdir) 401541Srgrimes#NOINFO= true # do not make or install info files 411541Srgrimes#NOLIBC_R= true # do not build libc_r (re-entrant version of libc) 421541Srgrimes#NOSECURE= true # do not build crypto code (secure/ subdir) 431541Srgrimes#NOSHARE= true # do not go into the share subdir 441541Srgrimes# 451541Srgrimes# To tell the base system that you are using RSAREF (from ports). 461541Srgrimes# (This needs revisiting) - it is very likely that this is too 471541Srgrimes# heavily tied to USA_RESIDENT==YES. 48171210Speter#RSAREF= YES 491541Srgrimes# 50171210Speter# To avoid running MAKEDEV all on /dev during install: 511541Srgrimes#NO_MAKEDEV= true 521541Srgrimes# 531541Srgrimes# To compile just the kernel with special optimisations, you should use 541541Srgrimes# this instead of CFLAGS (which is not applicable to kernel builds anyway): 551541Srgrimes# 56171210Speter#COPTFLAGS= -O -pipe 571541Srgrimes# 58171210Speter# To compile and install the 4.4 lite libm instead of the default use: 591541Srgrimes# 601541Srgrimes#WANT_CSRG_LIBM= yes 611541Srgrimes# 62171210Speter# If you do not want unformatted manual pages to be compressed 631541Srgrimes# when they are installed: 641541Srgrimes# 651541Srgrimes#NOMANCOMPRESS= true 661541Srgrimes# 671541Srgrimes# 681541Srgrimes# If you want the "compat" shared libraries installed as part of your normal 691541Srgrimes# builds, uncomment these: 701541Srgrimes# 711541Srgrimes#COMPAT1X= yes 72171210Speter#COMPAT20= yes 73171210Speter#COMPAT21= yes 74171210Speter#COMPAT22= yes 751541Srgrimes#COMPAT3X= yes 761541Srgrimes# 771541Srgrimes# 781541Srgrimes# If you do not want additional documentation (some of which are 791541Srgrimes# a few hundred KB's) for ports to be installed: 801541Srgrimes# 81171210Speter#NOPORTDOCS= true 821541Srgrimes# 831541Srgrimes# 841541Srgrimes# Default format for system documentation, depends on your printer. 851541Srgrimes# Set this to "ascii" for simple printers or screen 861541Srgrimes# 871541Srgrimes#PRINTERDEVICE= ps 881541Srgrimes# 891541Srgrimes# 901541Srgrimes# How long to wait for a console keypress before booting the default kernel. 911541Srgrimes# This value is approximately in milliseconds. Keypresses are accepted by the 921541Srgrimes# BIOS before booting from disk, making it possible to give custom boot 931541Srgrimes# parameters even when this is set to 0. 94171210Speter# 951541Srgrimes#BOOTWAIT=0 961541Srgrimes#BOOTWAIT=30000 97171210Speter# 98171210Speter# By default, the system will always use the keyboard/video card as system 991541Srgrimes# console. However, the boot blocks may be dynamically configured to use a 1001541Srgrimes# serial port in addition to or instead of the keyboard/video console. 1011541Srgrimes# 1021541Srgrimes# By default we use COM1 as our serial console port *if* we're going to use 1031541Srgrimes# a serial port as our console at all. Alter as necessary. 1041541Srgrimes# 1051541Srgrimes# COM1: = 0x3F8, COM2: = 0x2F8, COM3: = 0x3E8, COM4: = 0x2E8 1061541Srgrimes# 1071541Srgrimes#BOOT_COMCONSOLE_PORT= 0x3F8 1081541Srgrimes# 109171210Speter# The default serial console speed is 9600. Set the speed to a larger value 1101541Srgrimes# for better interactive response. 111171210Speter# 112171210Speter#BOOT_COMCONSOLE_SPEED= 115200 113171210Speter# 1141541Srgrimes# 1151541Srgrimes# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier. 1161541Srgrimes# If you have a XFree86 from before 3.0 that has the X distribution in 1171541Srgrimes# /usr/X386, you want to uncomment this. 118171210Speter# 119171210Speter#X11BASE= /usr/X386 120171210Speter# 121171210Speter# 122171210Speter# If you have Motif on your system, uncomment this. 123171210Speter# 124171210Speter#HAVE_MOTIF= yes 1251541Srgrimes#MOTIF_STATIC= yes 1261541Srgrimes# 1271541Srgrimes# If the default location of the Motif library (specified below) is NOT 1281541Srgrimes# appropriate for you, uncomment this and change it to the correct value. 12914220Speter# If your motif is in ${X11BASE}/lib, you don't need to touch this line. 1301541Srgrimes# 1311541Srgrimes#MOTIFLIB= -L${X11BASE}/lib -lXm 1321541Srgrimes# 1331541Srgrimes# 1341541Srgrimes# If you're resident in the USA, this will help various ports to determine 135171210Speter# whether or not they should attempt to comply with the various U.S. 1368019Sache# export regulations on certain types of software which do not apply to 1378019Sache# anyone else in the world. 1381541Srgrimes# 139171210Speter#USA_RESIDENT= YES 140171210Speter# 1411541Srgrimes# Next one will help ports developers to debug 1421541Srgrimes# 1431541Srgrimes#FORCE_PKG_REGISTER= YES 1441541Srgrimes# 1451541Srgrimes# 1461541Srgrimes# Port master sites. 1471541Srgrimes# 1481541Srgrimes# If you want your port fetches to go somewhere else than the default 1491541Srgrimes# (specified below) in case the distfile/patchfile was not found, 1501541Srgrimes# uncomment this and change it to a location nearest you. (Don't 151171210Speter# remove the "/${DIST_SUBDIR}/" part.) 152171210Speter# 153171210Speter#MASTER_SITE_BACKUP?= \ 154171210Speter# ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ 155171210Speter# 156171210Speter# If you want your port fetches to check the above site first (before 1571541Srgrimes# the MASTER_SITES specified in the port Makefiles), uncomment the 1581541Srgrimes# line below. You can also change the right side to point to wherever 159171210Speter# you want. 160171210Speter# 16114220Speter#MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP} 16214220Speter# 16314220Speter# Some ports use a special variable to point to a collection of 1641541Srgrimes# mirrors of well-known software archives. If you have a mirror close 1651541Srgrimes# to you, uncomment any of the following lines and change it to that 166171210Speter# address. (Don't remove the "/%SUBDIR%/" part.) 167171210Speter# 168171210Speter# Note: the right hand sides of the following lines are only for your 1691541Srgrimes# information. For a full list of default sites, take a look at 170127891Sdfr# bsd.port.mk. 1711541Srgrimes# 1721549Srgrimes#MASTER_SITE_XCONTRIB= ftp://ftp.x.org/contrib/%SUBDIR%/ 1731549Srgrimes#MASTER_SITE_GNU= ftp://prep.ai.mit.edu/pub/gnu/%SUBDIR%/ 1741549Srgrimes#MASTER_SITE_PERL_CPAN= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/ 1751549Srgrimes#MASTER_SITE_TEX_CTAN= ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/ 1762442Sdg#MASTER_SITE_SUNSITE= ftp://metalab.unc.edu/pub/Linux/%SUBDIR%/ 1771541Srgrimes#MASTER_SITE_KDE= ftp://ftp.kde.org/pub/kde/%SUBDIR%/ 1781541Srgrimes#MASTER_SITE_COMP_SOURCES= ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/ 1792729Sdfr#MASTER_SITE_GNOME= ftp://ftp.gnome.org/pub/GNOME/sources/%SUBDIR%/ 1802729Sdfr#MASTER_SITE_AFTERSTEP= ftp://ftp.afterstep.org/%SUBDIR%/ 1811541Srgrimes#MASTER_SITE_WINDOWMAKER= ftp://ftp.windowmaker.org/pub/%SUBDIR%/ 1821541Srgrimes# 183171210Speter# 184171210Speter# Kerberos IV 1852858Swollman# If you want KerberosIV (KTH eBones), define this: 1862297Swollman# 18714220Speter#MAKE_KERBEROS4= yes 18814220Speter# 18914220Speter# 1901541Srgrimes# Kerberos 5 1911541Srgrimes# If you want KerberosIV (KTH Heimdal), define this: 1921541Srgrimes# ** WARNING ** 1931541Srgrimes# ** WARNING ** This is very experimental at this stage. If you 19432889Sphk# ** WARNING ** need stable Kerberos5, rather use the port(s). 19532889Sphk# ** WARNING ** 19632889Sphk# 19732889Sphk#MAKE_KERBEROS5= yes 1981541Srgrimes# 1991541Srgrimes# 2001541Srgrimes# Kerberos5 2011541Srgrimes# If you want to install MIT Kerberos5 port somewhere other than /usr/local, 2021541Srgrimes# define this (this is also used to tell ssh1 that kerberos is needed): 2031541Srgrimes# 2041541Srgrimes#KRB5_HOME= /usr/local 2051541Srgrimes# 2061541Srgrimes# 207171210Speter# CVSup update flags. Edit SUPFILE settings to reflect whichever distribution 2081541Srgrimes# file(s) you use on your site (see /usr/share/examples/cvsup/README for more 209171210Speter# information on CVSup and these files). To use, do "make update" in /usr/src. 210171210Speter# 211171210Speter#SUP_UPDATE= yes 2121541Srgrimes# 2131541Srgrimes#SUP= /usr/local/bin/cvsup 2141541Srgrimes#SUPFLAGS= -g -L 2 21535938Sdyson#SUPFILE= /usr/share/examples/cvsup/standard-supfile 21635938Sdyson#SUPFILE1= /usr/share/examples/cvsup/secure-supfile 21728400Speter#PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile 21825582Speter#DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile 21929349Speter# 2202124Sdg# top(1) uses a hash table for the user names. The size of this hash 2212124Sdg# can be tuned to match the number of local users. The table size should 2222124Sdg# be a prime number approximately twice as large as the number of lines in 2232124Sdg# /etc/passwd. The default number is 20011. 2242124Sdg# 2252124Sdg#TOP_TABLE_SIZE= 101 2262124Sdg