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 source code, which is usually located 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 regardless of their setting;
123 even if they would be set to
127 Just the existence of an option will cause
131 The following list provides a name and short description for variables
132 that can be used for source builds.
133 .Bl -tag -width indent
135 show settings |sort >_config
138 if [ -f ${opt} ]; then
142 sed -e's/\$\(FreeBSD: .*\) \$/from \1/' ${opt}
144 echo "no description found for ${opt}, skipping" >/dev/stderr
147 show settings -D${opt} |sort >_config2
148 comm -13 _config _config2 |grep -v "^${opt}$" >_deps
149 if [ -s _deps ]; then
151 When set, it also enforces the following options:
155 cat _deps |while read opt2; do
171 .It Pa /usr/share/mk/bsd.own.mk
184 This manual page was autogenerated.