3 # This file is in the public domain.
8 # show settings | options
24 echo "internal error" >/dev/stderr
28 make "$@" -f ../../../share/mk/bsd.own.mk SRCCONF=/dev/null -V_ -dg1 |
30 while read var _ val; do
34 echo ${yes_prefix}_${opt}
37 echo ${no_prefix}_${opt}
40 echo "make showconfig broken" >/dev/stderr
50 trap 'rm -f _config _config2 _deps' exit
55 .\" DO NOT EDIT-- this file is automatically generated.
58 .Dd $(LC_TIME=C date +'%B %e, %Y')
63 .Nd source build options
67 file contains settings that will apply to every build involving the
74 file uses the standard makefile syntax.
77 should not specify any dependencies to
83 variables that control the aspects of how the system builds.
85 The default location of
89 though an alternative location can be specified in the
93 Overriding the location of
95 maybe necessary if the system-wide settings are not suitable
96 for a particular build.
101 effectively resets all build controls to their defaults.
105 is to control the compilation of the
107 sources, which are usually found in
109 As a rule, the system administrator creates
111 when the values of certain control variables need to be changed
114 In addition, control variables can be specified
115 for a particular build via the
119 or in environment; see
122 The values of variables are ignored; the variable being
127 causes it to be treated as if it was set with no value.
129 The following list provides a name and short description for variables
130 that can be used for source builds.
131 .Bl -tag -width indent
133 show settings |sort >_config
136 if [ -f ${opt} ]; then
140 sed -e's/\$\(FreeBSD: .*\) \$/from \1/' ${opt}
142 echo "no description found for ${opt}, skipping" >/dev/stderr
144 show settings -D${opt} |sort >_config2
145 comm -13 _config _config2 |grep -v "^${opt}$" >_deps
146 if [ -s _deps ]; then
148 When set, it also enforces the following options:
152 cat _deps |while read opt2; do
168 .It Pa /usr/share/mk/bsd.own.mk
181 This manual page was autogenerated.