ALWAYS_CHECK_MAKE |
| (Vt bool) Instructs the top-level makefile in the source tree (normally /usr/src) to always check if make(1) is up-to-date. Normally this is only done for the world and buildworld targets to handle upgrades from older versions of .Fx . |
CFLAGS |
| (Vt str) Controls the compiler setting when compiling C code. Optimization levels other than -O and -O2 are not supported. BDECFLAGS is provided as a set of gcc(1) settings suggested by .An "Bruce Evans" Aq bde@FreeBSD.org for developing and testing changes. They can be used, if set, by:
CFLAGS+=${BDECFLAGS}
|
CPUTYPE |
| (Vt str) Controls which processor should be targeted for generated code. This controls processor-specific optimizations in certain code (currently only OpenSSL) as well as modifying the value of CFLAGS and COPTFLAGS to contain the appropriate optimization directive to gcc(1). The automatic setting of CFLAGS and COPTFLAGS may be overridden using the NO_CPU_CFLAGS and NO_CPU_COPTFLAGS variables, respectively. Refer to /usr/share/examples/etc/make.conf for a list of recognized CPUTYPE options. |
NO_CPU_CFLAGS |
| (Vt str) Setting this variable will prevent CPU specific compiler flags from being automatically added to CFLAGS during compile time. |
NO_CPU_COPTFLAGS |
| (Vt str) Setting this variable will prevent CPU specific compiler flags from being automatically added to COPTFLAGS during compile time. |
CVS_UPDATE |
| (Vt bool) Set this to use cvs(1) to update your ports with ""make update"". |
CXXFLAGS |
| (Vt str) Controls the compiler settings when compiling C++ code. CXXFLAGS is initially set to the value of CFLAGS. If you want to add to the CXXFLAGS value, use "+=" instead of "=". |
INSTALL |
| (Vt str) the default install command. To install only files for which the target differs or does not exist, use
INSTALL="install -C"
Note that some makefiles (including those in /usr/share/mk) may hardcode options for the supplied install command. |
LOCAL_DIRS |
| (Vt str) List any directories that should be entered when doing makes in /usr/src in this variable. |
MAKE_SHELL |
| (Vt str) Controls the shell used internally by make(1) to process the command scripts in makefiles. sh(1), ksh(1), and csh(1) all currently supported. "MAKE_SHELL?=sh" |
MTREE_FOLLOWS_SYMLINKS |
| (Vt str) Set this to "-L" to cause mtree(8) to follow symlinks. |
NO_DOCUPDATE |
| (Vt bool) Set this to not update the doc tree during ""make update"". |
NO_PORTSUPDATE |
| (Vt bool) Set this to not update the ports tree during ""make update"". |
SUP_UPDATE |
| (Vt bool) Set this to use cvsup(1) to update your ports with ""make update"". |
SUP | (Vt str) The location of the cvsup(1) command for ""make update"". |
SUPFLAGS |
| (Vt str) The flag for the sup(1) command when doing ""make update"". This defaults to [-g-L 2]. |
SUPHOST |
| (Vt str) The hostname of the sup server to use when doing ""make update"". |
SUPFILE |
| (Vt str) The first supfile to use when doing a ""make update"". This defaults to /usr/share/examples/cvsup/standard-supfile. |
SUPFILE1 |
| (Vt str) The second supfile to use when doing a ""make update"". This defaults to /usr/share/examples/cvsup/secure-supfile. |
SUPFILE2 |
| (Vt str) The third supfile to use when doing a ""make update"". This defaults to /usr/share/examples/cvsup/secure-supfile. |
PORTSSUPFILE |
| (Vt str) The ports supfile to use when doing a ""make update"". This defaults to /usr/share/examples/cvsup/ports-supfile. |
DOCSUPFILE |
| (Vt str) The documentation supfile to use when doing a ""make update"". This defaults to /usr/share/examples/cvsup/doc-supfile. |
|
The following list provides a name and short description for variables that are only used doing a kernel build:
BOOT_COMCONSOLE_PORT |
| (Vt str) The port address to use for the console if the boot blocks have been configured to use a serial console instead of the keyboard/video card. |
BOOT_COMCONSOLE_SPEED |
| (Vt int) The baud rate to use for the console if the boot blocks have been configured to use a serial console instead of the keyboard/video card. |
BOOTWAIT |
| (Vt int) Controls the amount of time the kernel waits for a console keypress before booting the default kernel. The value is approximately milliseconds. Keypresses are accepted by the BIOS before booting from disk, making it possible to give custom boot parameters even when this is set to 0. |
COPTFLAGS |
| (Vt str) Controls the compiler settings when building the kernel. Optimization levels above [-O-( -O2 -, ...)] are not guaranteed to work. |
KERNCONF |
| (Vt str) Controls which kernel configurations will be built by ""${MAKE} buildkernel"" and installed by ""${MAKE} installkernel"". For example,
KERNCONF=MINE DEBUG GENERIC OTHERMACHINE
will build the kernels specified by the config files MINE, DEBUG, GENERIC, and OTHERMACHINE, and install the kernel specified by the config file MINE. It defaults to GENERIC. |
LOADER_TFTP_SUPPORT |
| (Vt bool) While not a buildkernel-affected option, there is no better place for this. By default the pxeboot(8) loader retrieves the kernel via NFS. Defining this and recompiling /usr/src/sys/boot will cause it to retrieve the kernel via TFTP. This allows pxeboot(8) to load a custom BOOTP diskless kernel yet still mount the servers / rather than load the servers kernel. |
MODULES_OVERRIDE |
| (Vt str) Set to a list of modules to build instead of all of them. |
WITHOUT_MODULES |
| (Vt str) Set to a list of modules to exclude from the build. This provides a somewhat easier way to exclude modules you are certain you will never need than specifying MODULES_OVERRIDE. This is applied after MODULES_OVERRIDE. |
PORTS_MODULES |
| Set this to the list of ports you wish to rebuild every time the kernel is built. |
NO_KERNELCONFIG |
| (Vt bool) Set this to skip running config(8) during ""${MAKE} buildkernel"". |
NO_KERNELDEPEND |
| (Vt bool) Set this to skip running ""${MAKE} depend"" during ""${MAKE} buildkernel"". |
NO_MODULES |
| (Vt bool) Set to not build modules with the kernel. |
|
The following list provides a name and short description for variables that are used during the world build:
MAKE_IDEA |
| (Vt bool) Set to build the IDEA encryption code. This code is patented in the USA and many European countries. It is "YOUR RESPONSIBILITY" to determine if you can legally use IDEA. |
NO_DYNAMICROOT |
| (Vt bool) Set this if you do not want to link /bin and /sbin dynamically. |
NO_KERBEROS |
| (Vt bool) Set this if you do not want to build Kerberos 5 (KTH Heimdal). |
ENABLE_SUID_K5SU |
| (Vt bool) Set this if you wish to use the ksu utility. Otherwise, it will be installed without the set-user-ID bit set. |
ENABLE_SUID_NEWGRP |
| (Vt bool) Set this to install newgrp(1) with the set-user-ID bit set. Otherwise, newgrp(1) will not be able to change users groups. |
ENABLE_SUID_SSH |
| (Vt bool) Set this to install ssh(1) with the set-user-ID bit turned on. |
MODULES_WITH_WORLD |
| (Vt bool) Set to build modules with the system instead of the kernel. |
NO_BLUETOOTH |
| (Vt bool) Set to not build Bluetooth related kernel modules, programs and libraries. |
NO_BOOT |
| (Vt bool) Set to not build the boot blocks and loader. |
NO_CVS |
| (Vt bool) Set to not build CVS. |
NO_CXX |
| (Vt bool) Set to not build g++(1) and related libraries. |
NO_DICT |
| (Vt bool) Set to not build the Webster dictionary files. |
NO_FORTRAN |
| (Vt bool) Set to not build g77(1) and related libraries. |
NO_GDB |
| (Vt bool) Set to not build gdb(1). |
NO_GPIB |
| (Vt bool) Set to not build GPIB bus support. |
NO_I4B |
| (Vt bool) Set to not build isdn4bsd package. |
NO_IPFILTER |
| (Vt bool) Set to not build IP Filter package. |
NO_PF | (Vt bool) Set to not build PF firewall package. |
NO_AUTHPF |
| (Vt bool) Set to not build authpf(8). |
NO_TOOLCHAIN |
| (Vt bool) Set to not build programs used for program development, compilers, debuggers etc. |
NO_INET6 |
| (Vt bool) Set to not build programs and libraries related to IPv6 networking. |
NO_ATM |
| (Vt bool) Set to not build programs and libraries related to ATM networking. |
NO_USB |
| (Vt bool) Set to not build usbd(8) and related programs. |
NO_LPR |
| (Vt bool) Set to not build lpr(1) and related programs. |
NO_ACPI |
| (Vt bool) Set to not build acpiconf(8), acpidump(8) and related programs. |
NO_MAILWRAPPER |
| (Vt bool) Set to not build the mailwrapper(8) MTA selector. |
NO_MAN |
| (Vt bool) Set to not build manual pages. |
NO_NETCAT |
| (Vt bool) Set to not build nc(1) utility. |
NO_NIS |
| (Vt bool) Set to not build NIS(8) support and related programs. |
NO_OBJC |
| (Vt bool) Set to not build Objective C support. |
NO_OPENSSH |
| (Vt bool) Set to not build OpenSSH. |
NO_OPENSSL |
| (Vt bool) Set to not build OpenSSL (implies NO_KERBEROS and NO_OPENSSH). |
NO_SENDMAIL |
| (Vt bool) Set to not build sendmail(8) and related programs. |
NO_SHAREDOCS |
| (Vt bool) Set to not build the BSD 4.4 legacy docs. |
NO_TCSH |
| (Vt bool) Set to not build and install /bin/csh (which is tcsh(1)). |
NO_CLEAN |
| (Vt bool) Set this to disable cleaning during ""make buildworld"". This should not be set unless you know what you are doing. |
NO_CLEANDIR |
| (Vt bool) Set this to run ""${MAKE} clean"" instead of ""${MAKE} cleandir"". |
NO_CRYPT |
| (Vt bool) Set to not build any crypto code. |
NO_GAMES |
| (Vt bool) Set to not build games. |
NO_INFO |
| (Vt bool) Set to not make or install info(5) files. |
NO_LIBC_R |
| (Vt bool) Set to not build libc_r (reentrant version of libc). |
NO_LIBPTHREAD |
| (Vt bool) Set to not build the libpthread (M:N threading) library. |
NO_LIBTHR |
| (Vt bool) Set to not build the libthr (1:1 threading) library. |
NO_MANCOMPRESS |
| (Vt bool) Set to install manual pages uncompressed. |
NO_PROFILE |
| (Vt bool) Set to avoid compiling profiled libraries. |
NO_SHARE |
| (Vt bool) Set to not build in the share subdir. |
NO_SHARED |
| (Vt bool) Set to not build /bin and /sbin dynamically linked, this can be bad. |
NO_BIND |
| (Vt bool) Setting this variable will prevent any part of BIND from being built, regardless of the presence of any of the other *_BIND_* variables below. |
NO_BIND_DNSSEC |
| (Vt bool) Set to avoid building or installing the DNSSEC related binaries, dnssec-keygen(8) and dnssec-signzone(8). |
NO_BIND_ETC |
| (Vt bool) Set to avoid installing the default files to /var/named/etc/namedb. |
NO_BIND_LIBS_LWRES |
| (Vt bool) Set to avoid installing the lightweight resolver library in /usr/lib. The library that is private to the build system may still be built as needed. |
NO_BIND_MTREE |
| (Vt bool) Set to avoid running mtree(8) to create the chroot directory structure under /var/named, and avoid creating an /etc/namedb symlink to the chroot directory. This option should typically be used together with .Vt NO_BIND_ETC . |
NO_BIND_NAMED |
| (Vt bool) Set to avoid building or installing named(8), named.reload(8), named-checkconf(8), named-checkzone(8), rndc(8), and rndc-confgen(8). |
NO_BIND_UTILS |
| (Vt bool) Set to avoid building or installing the BIND userland utilities, dig(1), host(1), nslookup(1), and nsupdate(8). |
WITH_BIND_LIBS |
| (Vt bool) Set to install BIND libraries and include files. |
PPP_NO_NAT |
| (Vt bool) Build ppp(8) without support for network address translation (NAT). |
PPP_NO_NETGRAPH |
| (Vt bool) Set to build ppp(8) without support for Netgraph. |
PPP_NO_RADIUS |
| (Vt bool) Set to build ppp(8) without support for RADIUS. |
PPP_NO_SUID |
| (Vt bool) Set to disable the installation of ppp(8) as a set-user-ID root program. |
NO_RCMDS |
| (Vt bool) Disable building of the BSD r-commands. This includes rlogin(1), rsh(1), etc. |
SENDMAIL_MC |
| (Vt str) The default m4(1) configuration file to use at install time. The value should include the full path to the .mc file, e.g., /etc/mail/myconfig.mc. Use with caution as a make install will overwrite any existing /etc/mail/sendmail.cf. Note that SENDMAIL_CF is now deprecated. |
SENDMAIL_SUBMIT_MC |
| (Vt str) The default m4(1) configuration file for mail submission to use at install time. The value should include the full path to the .mc file, e.g., /etc/mail/mysubmit.mc. Use with caution as a make install will overwrite any existing /etc/mail/submit.cf. |
SENDMAIL_ADDITIONAL_MC |
| (Vt str) Additional .mc files which should be built into .cf files at build time. The value should include the full path to the .mc file(s), e.g., /etc/mail/foo.mc /etc/mail/bar.mc. |
SENDMAIL_CF_DIR |
| (Vt str) Override the default location for the m4(1) configuration files used to build a .cf file from a .mc file. |
SENDMAIL_M4_FLAGS |
| (Vt str) Flags passed to m4(1) when building a .cf file from a .mc file. |
SENDMAIL_CFLAGS |
| (Vt str) Flags to pass to the compile command when building sendmail(8). The SENDMAIL_* flags can be used to provide SASL support with setting such as:
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl
|
SENDMAIL_LDFLAGS |
| (Vt str) Flags to pass to the ld(1) command when building sendmail(8). |
SENDMAIL_LDADD |
| (Vt str) Flags to add to the end of the ld(1) command when building sendmail(8). |
SENDMAIL_DPADD |
| (Vt str) Extra dependencies to add when building sendmail(8). |
SENDMAIL_SET_USER_ID |
| (Vt bool) If set, install sendmail(8) as a set-user-ID root binary instead of a set-group-ID binary and do not install /etc/mail/submit.{cf,mc}. Use of this flag is not recommended and the alternative advice in /etc/mail/README should be followed instead if at all possible. |
SENDMAIL_MAP_PERMS |
| (Vt str) Mode to use when generating alias and map database files using /etc/mail/Makefile. The default value is 0640. |
TOP_TABLE_SIZE |
| (Vt int) top(1) uses a hash table for the user names. The size of this hash can be tuned to match the number of local users. The table size should be a prime number approximately twice as large as the number of lines in /etc/passwd. The default number is 20011. |
WANT_FORCE_OPTIMIZATION_DOWNGRADE |
| (Vt int) Causes the system compiler to be built such that it forces high optimization levels to a lower one. gcc(1) -O2 and above is known to trigger known optimizer bugs at various times this is worse on the Alpha platform. The value assigned is the highest optimization value used. |
|
The following list provides a name and short description for variables that are used when building documentation.