head 1.108; access; symbols netbsd-8-3-RELEASE:1.76 netbsd-9-4-RELEASE:1.78.2.1 netbsd-10-0-RELEASE:1.97.2.1 netbsd-10-0-RC6:1.97.2.1 netbsd-10-0-RC5:1.97.2.1 netbsd-10-0-RC4:1.97.2.1 netbsd-10-0-RC3:1.97.2.1 netbsd-10-0-RC2:1.97.2.1 netbsd-10-0-RC1:1.97.2.1 netbsd-10:1.97.0.2 netbsd-10-base:1.97 netbsd-9-3-RELEASE:1.78.2.1 cjep_sun2x-base1:1.84 cjep_sun2x:1.84.0.4 cjep_sun2x-base:1.84 cjep_staticlib_x-base1:1.84 netbsd-9-2-RELEASE:1.78.2.1 cjep_staticlib_x:1.84.0.2 cjep_staticlib_x-base:1.84 netbsd-9-1-RELEASE:1.78.2.1 phil-wifi-20200421:1.79 phil-wifi-20200411:1.79 is-mlppp:1.79.0.2 is-mlppp-base:1.79 phil-wifi-20200406:1.79 netbsd-8-2-RELEASE:1.76 netbsd-9-0-RELEASE:1.78.2.1 netbsd-9-0-RC2:1.78.2.1 netbsd-9-0-RC1:1.78.2.1 phil-wifi-20191119:1.79 netbsd-9:1.78.0.2 netbsd-9-base:1.78 phil-wifi-20190609:1.78 netbsd-8-1-RELEASE:1.76 netbsd-8-1-RC1:1.76 pgoyette-compat-merge-20190127:1.76 pgoyette-compat-20190127:1.76 pgoyette-compat-20190118:1.76 pgoyette-compat-1226:1.76 pgoyette-compat-1126:1.76 pgoyette-compat-1020:1.76 pgoyette-compat-0930:1.76 pgoyette-compat-0906:1.76 netbsd-7-2-RELEASE:1.69 pgoyette-compat-0728:1.76 netbsd-8-0-RELEASE:1.76 phil-wifi:1.76.0.10 phil-wifi-base:1.76 pgoyette-compat-0625:1.76 netbsd-8-0-RC2:1.76 pgoyette-compat-0521:1.76 pgoyette-compat-0502:1.76 pgoyette-compat-0422:1.76 netbsd-8-0-RC1:1.76 pgoyette-compat-0415:1.76 pgoyette-compat-0407:1.76 pgoyette-compat-0330:1.76 pgoyette-compat-0322:1.76 pgoyette-compat-0315:1.76 netbsd-7-1-2-RELEASE:1.69 pgoyette-compat:1.76.0.8 pgoyette-compat-base:1.76 netbsd-7-1-1-RELEASE:1.69 matt-nb8-mediatek:1.76.0.6 matt-nb8-mediatek-base:1.76 perseant-stdc-iso10646:1.76.0.4 perseant-stdc-iso10646-base:1.76 netbsd-8:1.76.0.2 netbsd-8-base:1.76 prg-localcount2-base3:1.74 prg-localcount2-base2:1.74 prg-localcount2-base1:1.74 prg-localcount2:1.74.0.2 prg-localcount2-base:1.74 pgoyette-localcount-20170426:1.74 bouyer-socketcan-base1:1.74 pgoyette-localcount-20170320:1.72 netbsd-7-1:1.69.0.10 netbsd-7-1-RELEASE:1.69 netbsd-7-1-RC2:1.69 netbsd-7-nhusb-base-20170116:1.69 bouyer-socketcan:1.71.0.4 bouyer-socketcan-base:1.71 pgoyette-localcount-20170107:1.71 netbsd-7-1-RC1:1.69 pgoyette-localcount-20161104:1.71 netbsd-7-0-2-RELEASE:1.69 localcount-20160914:1.71 netbsd-7-nhusb:1.69.0.8 netbsd-7-nhusb-base:1.69 pgoyette-localcount-20160806:1.71 pgoyette-localcount-20160726:1.71 pgoyette-localcount:1.71.0.2 pgoyette-localcount-base:1.71 netbsd-7-0-1-RELEASE:1.69 netbsd-7-0:1.69.0.6 netbsd-7-0-RELEASE:1.69 netbsd-7-0-RC3:1.69 netbsd-7-0-RC2:1.69 netbsd-7-0-RC1:1.69 netbsd-5-2-3-RELEASE:1.41.2.3 netbsd-5-1-5-RELEASE:1.41.2.3 netbsd-6-0-6-RELEASE:1.58.2.1 netbsd-6-1-5-RELEASE:1.58.2.1 netbsd-7:1.69.0.4 netbsd-7-base:1.69 yamt-pagecache-base9:1.69 yamt-pagecache-tag8:1.57.2.3 netbsd-6-1-4-RELEASE:1.58.2.1 netbsd-6-0-5-RELEASE:1.58.2.1 tls-earlyentropy:1.69.0.2 tls-earlyentropy-base:1.69 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.69 riastradh-drm2-base3:1.67 netbsd-6-1-3-RELEASE:1.58.2.1 netbsd-6-0-4-RELEASE:1.58.2.1 netbsd-5-2-2-RELEASE:1.41.2.3 netbsd-5-1-4-RELEASE:1.41.2.3 netbsd-6-1-2-RELEASE:1.58.2.1 netbsd-6-0-3-RELEASE:1.58.2.1 netbsd-5-2-1-RELEASE:1.41.2.3 netbsd-5-1-3-RELEASE:1.41.2.3 netbsd-6-1-1-RELEASE:1.58.2.1 riastradh-drm2-base2:1.67 riastradh-drm2-base1:1.67 riastradh-drm2:1.67.0.2 riastradh-drm2-base:1.67 netbsd-6-1:1.58.2.1.0.4 netbsd-6-0-2-RELEASE:1.58.2.1 netbsd-6-1-RELEASE:1.58.2.1 netbsd-6-1-RC4:1.58.2.1 netbsd-6-1-RC3:1.58.2.1 agc-symver:1.66.0.4 agc-symver-base:1.66 netbsd-6-1-RC2:1.58.2.1 netbsd-6-1-RC1:1.58.2.1 yamt-pagecache-base8:1.64 netbsd-5-2:1.41.2.3.0.10 netbsd-6-0-1-RELEASE:1.58.2.1 yamt-pagecache-base7:1.64 netbsd-5-2-RELEASE:1.41.2.3 netbsd-5-2-RC1:1.41.2.3 matt-nb6-plus-nbase:1.58.2.1 yamt-pagecache-base6:1.64 netbsd-6-0:1.58.2.1.0.2 netbsd-6-0-RELEASE:1.58.2.1 netbsd-6-0-RC2:1.58.2.1 tls-maxphys:1.61.0.2 tls-maxphys-base:1.69 matt-nb6-plus:1.58.0.4 matt-nb6-plus-base:1.58.2.1 netbsd-6-0-RC1:1.58 yamt-pagecache-base5:1.59 yamt-pagecache-base4:1.59 netbsd-6:1.58.0.2 netbsd-6-base:1.58 netbsd-5-1-2-RELEASE:1.41.2.3 netbsd-5-1-1-RELEASE:1.41.2.3 yamt-pagecache-base3:1.58 yamt-pagecache-base2:1.58 yamt-pagecache:1.57.0.2 yamt-pagecache-base:1.57 cherry-xenmp:1.53.0.2 cherry-xenmp-base:1.53 bouyer-quota2-nbase:1.52 bouyer-quota2:1.51.0.2 bouyer-quota2-base:1.51 matt-mips64-premerge-20101231:1.51 matt-nb5-mips64-premerge-20101231:1.41.2.3 matt-nb5-pq3:1.41.2.3.0.8 matt-nb5-pq3-base:1.41.2.3 netbsd-5-1:1.41.2.3.0.6 netbsd-5-1-RELEASE:1.41.2.3 netbsd-5-1-RC4:1.41.2.3 matt-nb5-mips64-k15:1.41.2.3 netbsd-5-1-RC3:1.41.2.3 netbsd-5-1-RC2:1.41.2.3 netbsd-5-1-RC1:1.41.2.3 netbsd-5-0-2-RELEASE:1.41.2.3 matt-nb5-mips64-premerge-20091211:1.41.2.3 matt-premerge-20091211:1.50 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.41.2.3 matt-nb4-mips64-k7-u2a-k9b:1.41.2.3 matt-nb5-mips64-u1-k1-k5:1.41.2.3 matt-nb5-mips64:1.41.2.3.0.4 netbsd-5-0-1-RELEASE:1.41.2.3 jym-xensuspend-nbase:1.46 netbsd-5-0:1.41.2.3.0.2 netbsd-5-0-RELEASE:1.41.2.3 netbsd-5-0-RC4:1.41.2.3 netbsd-5-0-RC3:1.41.2.3 netbsd-5-0-RC2:1.41.2.3 jym-xensuspend:1.46.0.2 jym-xensuspend-base:1.46 netbsd-5-0-RC1:1.41.2.3 netbsd-5:1.41.0.2 netbsd-5-base:1.41 matt-mips64-base2:1.41 matt-mips64:1.34.0.6 netbsd-4-0-1-RELEASE:1.33.2.1 wrstuden-revivesa-base-3:1.41 wrstuden-revivesa-base-2:1.40 wrstuden-fixsa-newbase:1.33.2.1 wrstuden-revivesa-base-1:1.38 yamt-pf42-base4:1.38 yamt-pf42-base3:1.38 hpcarm-cleanup-nbase:1.38 yamt-pf42-baseX:1.37 yamt-pf42-base2:1.38 wrstuden-revivesa:1.38.0.2 wrstuden-revivesa-base:1.38 yamt-pf42:1.37.0.4 yamt-pf42-base:1.37 mjf-devfs2:1.37.0.2 mjf-devfs2-base:1.41 keiichi-mipv6-nbase:1.36 keiichi-mipv6:1.36.0.2 keiichi-mipv6-base:1.36 matt-armv6-nbase:1.36 matt-armv6-prevmlocking:1.34.4.1 wrstuden-fixsa-base-1:1.33.2.1 netbsd-4-0:1.33.2.1.0.2 netbsd-4-0-RELEASE:1.33.2.1 cube-autoconf:1.35.0.2 cube-autoconf-base:1.35 netbsd-4-0-RC5:1.33.2.1 netbsd-4-0-RC4:1.33.2.1 netbsd-4-0-RC3:1.33 netbsd-4-0-RC2:1.33 netbsd-4-0-RC1:1.33 matt-armv6:1.34.0.4 matt-armv6-base:1.36 matt-mips64-base:1.34 hpcarm-cleanup:1.34.0.2 hpcarm-cleanup-base:1.36 netbsd-3-1-1-RELEASE:1.24.2.1 netbsd-3-0-3-RELEASE:1.24.2.1 wrstuden-fixsa:1.33.0.4 wrstuden-fixsa-base:1.33.2.1 abandoned-netbsd-4-base:1.32 abandoned-netbsd-4:1.32.0.2 netbsd-3-1:1.24.2.1.0.4 netbsd-3-1-RELEASE:1.24.2.1 netbsd-3-0-2-RELEASE:1.24.2.1 netbsd-3-1-RC4:1.24.2.1 netbsd-3-1-RC3:1.24.2.1 netbsd-3-1-RC2:1.24.2.1 netbsd-3-1-RC1:1.24.2.1 netbsd-4:1.33.0.2 netbsd-4-base:1.33 chap-midi-nbase:1.31 netbsd-3-0-1-RELEASE:1.24.2.1 chap-midi:1.31.0.2 chap-midi-base:1.31 netbsd-3-0:1.24.2.1.0.2 netbsd-3-0-RELEASE:1.24.2.1 netbsd-3-0-RC6:1.24.2.1 netbsd-3-0-RC5:1.24.2.1 netbsd-3-0-RC4:1.24.2.1 netbsd-3-0-RC3:1.24.2.1 netbsd-3-0-RC2:1.24.2.1 netbsd-3-0-RC1:1.24.2.1 netbsd-2-0-3-RELEASE:1.18.2.2 netbsd-2-1:1.18.2.2.0.4 netbsd-2-1-RELEASE:1.18.2.2 netbsd-2-1-RC6:1.18.2.2 netbsd-2-1-RC5:1.18.2.2 netbsd-2-1-RC4:1.18.2.2 netbsd-2-1-RC3:1.18.2.2 netbsd-2-1-RC2:1.18.2.2 netbsd-2-1-RC1:1.18.2.2 netbsd-2-0-2-RELEASE:1.18.2.2 netbsd-3:1.24.0.2 netbsd-3-base:1.24 netbsd-2-0-1-RELEASE:1.18.2.2 netbsd-2:1.18.2.2.0.2 netbsd-2-base:1.18.2.2 netbsd-2-0-RELEASE:1.18.2.2 netbsd-2-0-RC5:1.18.2.2 netbsd-2-0-RC4:1.18.2.2 netbsd-2-0-RC3:1.18.2.2 netbsd-2-0-RC2:1.18.2.2 netbsd-2-0-RC1:1.18.2.2 netbsd-2-0:1.18.0.2 netbsd-2-0-base:1.18 netbsd-1-6-PATCH002-RELEASE:1.13 netbsd-1-6-PATCH002:1.13 netbsd-1-6-PATCH002-RC4:1.13 netbsd-1-6-PATCH002-RC3:1.13 netbsd-1-6-PATCH002-RC2:1.13 netbsd-1-6-PATCH002-RC1:1.13 netbsd-1-6-PATCH001:1.13 netbsd-1-6-PATCH001-RELEASE:1.13 netbsd-1-6-PATCH001-RC3:1.13 netbsd-1-6-PATCH001-RC2:1.13 netbsd-1-6-PATCH001-RC1:1.13 fvdl_fs64_base:1.15 netbsd-1-6-RELEASE:1.13 netbsd-1-6-RC3:1.13 netbsd-1-6-RC2:1.13 netbsd-1-6-RC1:1.13 netbsd-1-6:1.13.0.2 netbsd-1-6-base:1.13 netbsd-1-5-PATCH003:1.7.4.1 netbsd-1-5-PATCH002:1.7 netbsd-1-5-PATCH001:1.7 netbsd-1-5-RELEASE:1.7 netbsd-1-5-BETA2:1.7 netbsd-1-5-BETA:1.7 netbsd-1-4-PATCH003:1.6 netbsd-1-5-ALPHA2:1.7 netbsd-1-5:1.7.0.4 netbsd-1-5-base:1.7 minoura-xpg4dl:1.7.0.2 minoura-xpg4dl-base:1.7 netbsd-1-4-PATCH002:1.6 wrstuden-devbsize-19991221:1.6 wrstuden-devbsize:1.6.0.6 wrstuden-devbsize-base:1.6 comdex-fall-1999:1.6.0.4 comdex-fall-1999-base:1.6 netbsd-1-4-PATCH001:1.6 netbsd-1-4-RELEASE:1.6 netbsd-1-4:1.6.0.2 netbsd-1-4-base:1.6; locks; strict; comment @.\" @; 1.108 date 2023.07.23.16.52.37; author lukem; state Exp; branches; next 1.107; commitid bYK0fib5h10eQWxE; 1.107 date 2023.07.22.18.49.40; author lukem; state Exp; branches; next 1.106; commitid Mauf6pRTSnkqwPxE; 1.106 date 2023.07.05.16.40.34; author lukem; state Exp; branches; next 1.105; commitid Q0V9UY8bvsx0mDvE; 1.105 date 2023.06.14.02.28.41; author rin; state Exp; branches; next 1.104; commitid 4ZFRXk50YgfhjRsE; 1.104 date 2023.06.14.01.16.28; author rin; state Exp; branches; next 1.103; commitid hGvXQbj77NSIUQsE; 1.103 date 2023.06.11.20.33.46; author lukem; state Exp; branches; next 1.102; commitid 2duII0YSNGfQpzsE; 1.102 date 2023.06.11.10.44.33; author lukem; state Exp; branches; next 1.101; commitid NLCev4rVGfYH9wsE; 1.101 date 2023.06.05.22.35.20; author lukem; state Exp; branches; next 1.100; commitid x4dZUxDYwQcvhOrE; 1.100 date 2023.06.04.20.04.52; author lukem; state Exp; branches; next 1.99; commitid YkDO01c7iTGStFrE; 1.99 date 2023.06.03.11.13.40; author lukem; state Exp; branches; next 1.98; commitid gizUAyU9UC7CzurE; 1.98 date 2023.06.01.21.58.05; author lukem; state Exp; branches; next 1.97; commitid buE5EcFCDVDwcirE; 1.97 date 2022.07.09.08.27.35; author nia; state Exp; branches 1.97.2.1; next 1.96; commitid C7Q6D3i6bc8gecLD; 1.96 date 2022.06.06.10.56.28; author nia; state Exp; branches; next 1.95; commitid ROwwhwdBzXrG6YGD; 1.95 date 2022.05.29.15.23.20; author nia; state Exp; branches; next 1.94; commitid lxrE0Db1ELWvQXFD; 1.94 date 2022.05.29.08.15.47; author nia; state Exp; branches; next 1.93; commitid pjIhc8ox4MAXtVFD; 1.93 date 2022.05.28.14.31.12; author nia; state Exp; branches; next 1.92; commitid n49xx9MowLgiAPFD; 1.92 date 2022.05.28.11.17.35; author nia; state Exp; branches; next 1.91; commitid CY4aOUqgdUjhwOFD; 1.91 date 2022.05.27.09.25.08; author nia; state Exp; branches; next 1.90; commitid AYSvoFdtJl1LVFFD; 1.90 date 2022.05.26.14.24.42; author uwe; state Exp; branches; next 1.89; commitid ZslmWYbP4AjwCzFD; 1.89 date 2022.05.26.06.33.03; author nia; state Exp; branches; next 1.88; commitid rjbgPALyXJXG0xFD; 1.88 date 2022.05.25.21.25.47; author nia; state Exp; branches; next 1.87; commitid ggt7LwNyohnQYtFD; 1.87 date 2022.05.25.20.44.01; author nia; state Exp; branches; next 1.86; commitid 7fWMvQphk7mgKtFD; 1.86 date 2022.05.25.10.18.29; author nia; state Exp; branches; next 1.85; commitid 4bzcMhxQ7Q3NhqFD; 1.85 date 2021.12.20.20.33.20; author christos; state Exp; branches; next 1.84; commitid FLr3jqfJSh8nGqlD; 1.84 date 2021.01.14.23.32.12; author pgoyette; state Exp; branches; next 1.83; commitid v4borwXDnrSBCKDC; 1.83 date 2020.11.10.21.47.49; author kamil; state Exp; branches; next 1.82; commitid cOSRAAXLjROf8ovC; 1.82 date 2020.11.08.14.52.35; author kamil; state Exp; branches; next 1.81; commitid xCWymCS2aKmTP5vC; 1.81 date 2020.10.27.06.33.38; author rin; state Exp; branches; next 1.80; commitid PLxkaExtfKKMwvtC; 1.80 date 2020.07.15.17.46.06; author leot; state Exp; branches; next 1.79; commitid li8pkCQXVcnFAcgC; 1.79 date 2019.09.16.12.57.10; author gson; state Exp; branches; next 1.78; commitid rgClbEQeXrdPIeDB; 1.78 date 2019.02.20.17.48.31; author wiz; state Exp; branches 1.78.2.1; next 1.77; commitid hkcW527BLvxZ1xcB; 1.77 date 2019.02.19.21.08.21; author mrg; state Exp; branches; next 1.76; commitid aWtRraAGdTFmaqcB; 1.76 date 2017.05.21.15.28.42; author riastradh; state Exp; branches 1.76.10.1; next 1.75; commitid qFvwLLy2KgFGNgSz; 1.75 date 2017.05.21.14.20.45; author riastradh; state Exp; branches; next 1.74; commitid 0IWZaOcZduV7pgSz; 1.74 date 2017.04.20.09.48.55; author wiz; state Exp; branches; next 1.73; commitid MjpEs611656HWfOz; 1.73 date 2017.04.20.09.29.10; author ozaki-r; state Exp; branches; next 1.72; commitid I4z1bW76wU8VPfOz; 1.72 date 2017.02.16.17.15.26; author rin; state Exp; branches; next 1.71; commitid CpgrhEUF9Mx7rcGz; 1.71 date 2015.07.23.08.03.26; author mrg; state Exp; branches 1.71.2.1 1.71.4.1; next 1.70; commitid nfGa2DVpEPUUPnuy; 1.70 date 2015.04.08.05.47.00; author wiz; state Exp; branches; next 1.69; commitid lIrFV3CeQtWkuKgy; 1.69 date 2014.03.25.10.23.26; author wiz; state Exp; branches; next 1.68; commitid VBTF9UlBE7dzc4ux; 1.68 date 2014.03.25.09.52.55; author ozaki-r; state Exp; branches; next 1.67; commitid BC7cPubsAsmw04ux; 1.67 date 2013.06.02.11.02.40; author mbalmer; state Exp; branches; next 1.66; commitid N7r2HhPJBkbnV1Sw; 1.66 date 2013.02.15.21.03.17; author wiz; state Exp; branches; next 1.65; 1.65 date 2013.02.15.19.49.48; author jmmv; state Exp; branches; next 1.64; 1.64 date 2012.09.30.06.00.26; author jkoshy; state Exp; branches; next 1.63; 1.63 date 2012.09.30.03.48.16; author jkoshy; state Exp; branches; next 1.62; 1.62 date 2012.09.19.23.06.22; author abs; state Exp; branches; next 1.61; 1.61 date 2012.07.14.17.12.27; author wiz; state Exp; branches 1.61.2.1; next 1.60; 1.60 date 2012.07.14.16.04.05; author spz; state Exp; branches; next 1.59; 1.59 date 2012.03.11.23.42.06; author njoly; state Exp; branches; next 1.58; 1.58 date 2011.11.06.22.34.47; author tron; state Exp; branches 1.58.2.1 1.58.4.1; next 1.57; 1.57 date 2011.08.22.02.37.15; author dholland; state Exp; branches 1.57.2.1; next 1.56; 1.56 date 2011.08.06.08.49.04; author wiz; state Exp; branches; next 1.55; 1.55 date 2011.08.06.07.36.20; author mbalmer; state Exp; branches; next 1.54; 1.54 date 2011.06.02.08.58.34; author jruoho; state Exp; branches; next 1.53; 1.53 date 2011.05.20.16.02.23; author plunky; state Exp; branches 1.53.2.1; next 1.52; 1.52 date 2011.02.21.18.12.26; author njoly; state Exp; branches; next 1.51; 1.51 date 2010.03.02.07.26.47; author jruoho; state Exp; branches 1.51.2.1; next 1.50; 1.50 date 2009.09.29.23.56.34; author tsarna; state Exp; branches; next 1.49; 1.49 date 2009.09.08.07.54.49; author wiz; state Exp; branches; next 1.48; 1.48 date 2009.09.08.07.48.14; author skrll; state Exp; branches; next 1.47; 1.47 date 2009.09.08.07.08.03; author skrll; state Exp; branches; next 1.46; 1.46 date 2008.11.15.11.27.49; author mrg; state Exp; branches; next 1.45; 1.45 date 2008.11.13.20.40.11; author apb; state Exp; branches; next 1.44; 1.44 date 2008.11.12.13.17.27; author pooka; state Exp; branches; next 1.43; 1.43 date 2008.11.12.12.35.53; author ad; state Exp; branches; next 1.42; 1.42 date 2008.11.09.23.02.29; author mrg; state Exp; branches; next 1.41; 1.41 date 2008.09.10.11.16.41; author joerg; state Exp; branches 1.41.2.1; next 1.40; 1.40 date 2008.08.31.23.10.40; author lukem; state Exp; branches; next 1.39; 1.39 date 2008.08.31.02.09.43; author lukem; state Exp; branches; next 1.38; 1.38 date 2008.05.04.13.56.27; author martin; state Exp; branches 1.38.2.1; next 1.37; 1.37 date 2008.03.22.12.29.02; author jmmv; state Exp; branches 1.37.2.1 1.37.4.1; next 1.36; 1.36 date 2007.12.12.19.52.02; author apb; state Exp; branches; next 1.35; 1.35 date 2007.10.18.22.39.02; author minskim; state Exp; branches; next 1.34; 1.34 date 2007.03.02.11.38.24; author wiz; state Exp; branches 1.34.4.1; next 1.33; 1.33 date 2006.10.05.02.49.06; author jnemeth; state Exp; branches 1.33.2.1 1.33.4.1; next 1.32; 1.32 date 2006.07.23.12.01.56; author lukem; state Exp; branches; next 1.31; 1.31 date 2006.03.20.04.03.23; author christos; state Exp; branches; next 1.30; 1.30 date 2005.12.22.02.52.40; author hubertf; state Exp; branches; next 1.29; 1.29 date 2005.12.21.07.43.30; author uwe; state Exp; branches; next 1.28; 1.28 date 2005.12.21.04.25.54; author hubertf; state Exp; branches; next 1.27; 1.27 date 2005.06.27.20.32.40; author peter; state Exp; branches; next 1.26; 1.26 date 2005.04.21.14.50.16; author wiz; state Exp; branches; next 1.25; 1.25 date 2005.04.20.22.10.51; author hubertf; state Exp; branches; next 1.24; 1.24 date 2005.03.13.09.37.06; author wiz; state Exp; branches 1.24.2.1; next 1.23; 1.23 date 2005.03.12.16.13.38; author salo; state Exp; branches; next 1.22; 1.22 date 2005.02.22.14.40.01; author peter; state Exp; branches; next 1.21; 1.21 date 2004.11.05.12.40.06; author wiz; state Exp; branches; next 1.20; 1.20 date 2004.07.02.18.20.27; author junyoung; state Exp; branches; next 1.19; 1.19 date 2004.07.01.06.09.57; author junyoung; state Exp; branches; next 1.18; 1.18 date 2003.07.18.16.30.49; author lukem; state Exp; branches 1.18.2.1; next 1.17; 1.17 date 2003.07.18.15.44.50; author lukem; state Exp; branches; next 1.16; 1.16 date 2003.03.31.16.45.42; author perry; state Exp; branches; next 1.15; 1.15 date 2002.08.27.14.46.23; author lukem; state Exp; branches; next 1.14; 1.14 date 2002.06.17.20.22.48; author skrll; state Exp; branches; next 1.13; 1.13 date 2002.05.03.08.58.46; author lukem; state Exp; branches; next 1.12; 1.12 date 2002.04.26.16.24.06; author lukem; state Exp; branches; next 1.11; 1.11 date 2002.02.13.08.18.14; author ross; state Exp; branches; next 1.10; 1.10 date 2001.11.27.16.17.35; author wiz; state Exp; branches; next 1.9; 1.9 date 2001.11.19.16.15.00; author kleink; state Exp; branches; next 1.8; 1.8 date 2001.06.19.12.34.27; author wiz; state Exp; branches; next 1.7; 1.7 date 2000.03.28.01.21.36; author enami; state Exp; branches 1.7.4.1; next 1.6; 1.6 date 99.03.17.20.19.46; author garbled; state Exp; branches; next 1.5; 1.5 date 99.02.24.14.22.36; author hubertf; state Exp; branches; next 1.4; 1.4 date 99.02.22.00.30.39; author hubertf; state Exp; branches; next 1.3; 1.3 date 99.02.21.14.23.29; author hubertf; state Exp; branches; next 1.2; 1.2 date 99.02.17.00.54.53; author hubertf; state Exp; branches; next 1.1; 1.1 date 99.02.17.00.08.42; author lukem; state Exp; branches; next ; 1.97.2.1 date 2023.10.20.16.04.59; author martin; state Exp; branches; next ; commitid XT5SaLBDR3RyInJE; 1.78.2.1 date 2019.09.22.12.22.23; author martin; state Exp; branches; next ; commitid MBrGzjcOPkUCl0EB; 1.76.10.1 date 2019.06.10.22.05.41; author christos; state Exp; branches; next 1.76.10.2; commitid jtc8rnCzWiEEHGqB; 1.76.10.2 date 2020.04.13.08.03.25; author martin; state Exp; branches; next ; commitid X01YhRUPVUDaec4C; 1.71.2.1 date 2017.03.20.06.57.06; author pgoyette; state Exp; branches; next 1.71.2.2; commitid jjw7cAwgyKq7RfKz; 1.71.2.2 date 2017.04.26.02.52.58; author pgoyette; state Exp; branches; next ; commitid ojV02aOSdzvBqZOz; 1.71.4.1 date 2017.04.21.16.53.18; author bouyer; state Exp; branches; next ; commitid dUG7nkTKALCadqOz; 1.61.2.1 date 2012.11.20.03.00.51; author tls; state Exp; branches; next 1.61.2.2; 1.61.2.2 date 2013.02.25.00.28.14; author tls; state Exp; branches; next 1.61.2.3; 1.61.2.3 date 2013.06.23.06.28.54; author tls; state Exp; branches; next 1.61.2.4; commitid OnlO1cBgtQRcIHUw; 1.61.2.4 date 2014.08.20.00.02.36; author tls; state Exp; branches; next ; commitid jTnpym9Qu0o4R1Nx; 1.58.2.1 date 2012.09.17.19.00.26; author riz; state Exp; branches; next ; 1.58.4.1 date 2012.11.01.16.44.58; author matt; state Exp; branches; next ; 1.57.2.1 date 2011.11.10.14.31.37; author yamt; state Exp; branches; next 1.57.2.2; 1.57.2.2 date 2012.04.17.00.05.47; author yamt; state Exp; branches; next 1.57.2.3; 1.57.2.3 date 2012.10.30.18.59.41; author yamt; state Exp; branches; next 1.57.2.4; 1.57.2.4 date 2014.05.22.11.37.51; author yamt; state Exp; branches; next ; commitid P3Rlj4go6xHqKwBx; 1.53.2.1 date 2011.06.23.14.18.45; author cherry; state Exp; branches; next ; 1.51.2.1 date 2011.03.05.15.09.26; author bouyer; state Exp; branches; next ; 1.41.2.1 date 2008.11.15.22.05.12; author snj; state Exp; branches; next 1.41.2.2; 1.41.2.2 date 2008.11.15.22.10.33; author snj; state Exp; branches; next 1.41.2.3; 1.41.2.3 date 2009.01.16.21.41.10; author bouyer; state Exp; branches; next ; 1.38.2.1 date 2008.09.18.04.38.09; author wrstuden; state Exp; branches; next 1.38.2.2; 1.38.2.2 date 2008.09.24.16.41.22; author wrstuden; state Exp; branches; next ; 1.37.2.1 date 2008.03.22.12.29.02; author mjf; state dead; branches; next 1.37.2.2; 1.37.2.2 date 2008.06.02.13.21.40; author mjf; state Exp; branches; next 1.37.2.3; 1.37.2.3 date 2008.10.05.20.11.22; author mjf; state Exp; branches; next ; 1.37.4.1 date 2008.05.18.12.31.10; author yamt; state Exp; branches; next ; 1.34.4.1 date 2007.11.06.23.13.10; author matt; state Exp; branches; next 1.34.4.2; 1.34.4.2 date 2008.01.09.01.39.13; author matt; state Exp; branches; next ; 1.33.2.1 date 2007.10.30.15.33.03; author liamjfoy; state Exp; branches; next ; 1.33.4.1 date 2008.01.06.05.00.44; author wrstuden; state Exp; branches; next ; 1.24.2.1 date 2005.07.02.23.38.18; author tron; state Exp; branches; next ; 1.18.2.1 date 2004.07.10.13.11.37; author tron; state Exp; branches; next 1.18.2.2; 1.18.2.2 date 2004.07.10.13.22.37; author tron; state Exp; branches; next ; 1.7.4.1 date 2002.04.11.21.21.08; author he; state Exp; branches; next ; desc @@ 1.108 log @bsd.own.mk: force MKSTRIPSYM=no if MKDEBUG=yes Local symbols are desirable with MKDEBUG=yes, so don't strip them. Per request from mrg@@ @ text @.\" $NetBSD: mk.conf.5,v 1.107 2023/07/22 18:49:40 lukem Exp $ .\" .\" Copyright (c) 1999-2023 The NetBSD Foundation, Inc. .\" All rights reserved. .\" .\" This code is derived from software contributed to The NetBSD Foundation .\" by Luke Mewburn. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" .Dd July 23, 2023 .Dt MK.CONF 5 .Os .\" turn off hyphenation .hym 999 . .Sh NAME .Nm mk.conf .Nd make configuration file . .Sh DESCRIPTION The .Nm file overrides various parameters used during the build of the system. . .Sh NETBSD SYSTEM VARIABLES . Listed below are the .Nm variables that may be set that affect the .Nx system build, the values to which each may be set, a brief description of what each variable does, references to relevant manual pages, notes (including any interaction with .Sy build.sh ) , and the default value of each variable. . .de DFLT .Pp .Em Default : .. .de DFLTn .DFLT .Dq no . .. .de DFLTu .DFLT Unset. .. .de DFLTy .DFLT .Dq yes . .. .de NODEF .Pp Forced to .Dq no if .Sy \\$* is defined, usually in the Makefile before any .Xr make 1 .Cm \&.include directives. .. .de NOVAR .Pp Forced to .Dq no if .Sy \\$* . .. .de YorN Can be set to .Dq yes or .Dq no . .. . .Bl -tag -width 14n . .\" These entries are sorted alphabetically. . .It Sy BSDOBJDIR The real path to the object directory tree for the .Nx source tree. .DFLT .Dq Pa /usr/obj . . .It Sy BSDSRCDIR The real path to the .Nx source tree, if .Sy NETBSDSRCDIR isn't defined. .DFLT .Dq Pa /usr/src . . .It Sy BUILD If defined, .Sq "make install" checks that the .Xr make 1 targets in the source directories are up-to-date and re-makes them if they are out of date, instead of blindly trying to install out of date or non-existent .Xr make 1 targets. .DFLTu . .It Sy BUILDID Identifier for the build. If set, this should be a short string that is suitable for use as part of a file or directory name. The identifier will be appended to object directory names; if .Sy OBJMACHINE is also set, then .Pa \&. Ns Sy BUILDID is appended after .Pa \&. Ns Sy MACHINE . The identifier will also be used as part of the kernel version string, which can be shown by .Dq Li uname \-v . .DFLTu . .It Sy BUILDINFO Optional multi-line string containing information about the build. This will appear in .Sy DESTDIR Ns Pa /etc/release , and it will be stored in the .Va buildinfo variable in any kernels that are built. When such kernels are booted, the .Xr sysctl 7 .Va kern.buildinfo variable will report this value. The string may contain backslash escape sequences, such as .Dq "\e\e" (representing a backslash character) and .Dq "\en" (representing a newline). .DFLTu . .It Sy BUILDSEED .Xr g++ 1 uses random numbers when compiling C++ code. This variable seeds the .Xr g++ 1 random number generator using .Fl frandom-seed with this value. By default, it is set to .Do NetBSD-( Ns Em majorversion ) Dc . Using a fixed value causes C++ binaries to be the same when built from the same sources, resulting in identical (reproducible) builds. Additional information is available in the .Xr g++ 1 documentation of .Fl frandom-seed . .DFLTu . .It Sy CDEXTRA A space-separated list of files or directories that will be added to the CD-ROM image that may be create by the .Sy build.sh .Dq iso-image or .Dq iso-image-source operations. Files will be added to the root of the CD-ROM image, whereas directories will be copied recursively. If relative paths are specified, they will be converted to absolute paths before being used. .Em Note : If using .Sy build.sh , multiple paths may be specified via multiple .Fl C options, or via a single option whose argument contains multiple space-separated paths. .DFLTu . .It Sy CONFIGOPTS Additional options to .Xr config 1 when building kernels. .DFLTu . .It Sy COPTS Extra options for the C compiler. Should be appended to (e.g., .Sy COPTS+=-g ) , rather than explicitly set. .Pp .Em Note : .Sy CPUFLAGS , not .Sy COPTS , should be used for compiler options that select CPU-related options. .Pp .Em Note : .Sy CFLAGS should never be set in .Nm . . .It Sy CPUFLAGS Additional options passed to the compiler/assembler to select CPU instruction set options, CPU tuning options, etc. .Pp .Em Note : Such options should not be specified in .Sy COPTS , because some parts of the build process need to override CPU-related compiler options. .DFLTu . .It Sy DESTDIR Directory to contain the built .Nx system. If set, special options are passed to the compilation tools to prevent their default use of the host system's .Sy /usr/include , /usr/lib , and so forth. This pathname must be an absolute path, and should .Em not end with a slash .Pq / character. (For installation into the system's root directory, set .Sy DESTDIR to an empty string, not to .Dq / ) . The directory must reside on a file system which supports long file names and hard links. .Pp .Em Note : .Sy build.sh will provide a default of .Dq Pa destdir . Ns Sy MACHINE (in the top-level .Sy .OBJDIR ) unless run in .Sq expert mode with the .Fl E option. .DFLT Empty string if .Sy USETOOLS=yes ; otherwise unset. . .It Sy EXTERNAL_TOOLCHAIN If defined, this variable indicates the root directory of an external toolchain which will be used to build the tree. For example, if a platform is a .Sy TOOLCHAIN_MISSING platform, .Sy EXTERNAL_TOOLCHAIN can be used to re-enable the cross-compile framework. .Pp If .Sy EXTERNAL_TOOLCHAIN is defined, act as .Sy MKGCC=no , since the external version of the compiler may not be able to build the library components of the in-tree compiler. .Pp This variable should be used in conjunction with an appropriate .Sy HAVE_GCC or .Sy HAVE_LLVM setting to control the compiler options. .Pp .Em Note : This variable is not yet used in as many places as it should be. Expect the exact semantics of this variable to change in the short term as parts of the cross-compile framework continue to be cleaned up. .DFLTu . .It Sy INSTALLBOOT_BOARDS A list of .Sy evbarm boards to create bootable images for. If corresponding U-Boot packages are installed, bootable images are created as part of a release. See the .Bk -words .Fl o Sy board= Ns Ar name .Ek option of .Xr installboot 8 . .DFLTu . .It Sy INSTALLWORLDDIR Directory for the top-level .Xr make 1 .Dq installworld target to install to. If specified, must be an absolute path. .DFLT .Dq Pa / . . .It Sy KERNARCHDIR Directory under .Sy KERNSRCDIR containing the machine dependent kernel sources. .DFLT .Dq Pa arch/ Ns Sy MACHINE . . .It Sy KERNCONFDIR Directory containing the kernel configuration files. .DFLT .Dq Sy KERNSRCDIR Ns Pa / Ns Sy KERNARCHDIR Ns Pa /conf . . .It Sy KERNEL_DIR Pq No experimental .YorN Indicates if a top-level directory .Sy /netbsd/ is created. If .Dq yes , the directory will contain a kernel file .Pa /netbsd/kernel and a corresponding modules directory .Pa /netbsd/modules/ . System bootstrap procedures will be modified to search for the kernel and modules in the .Pa /netbsd/ directory. This is intended to simplify system upgrade and rollback procedures by keeping the kernel and its associated modules together in one place. .Pp If .Dq no , the kernel file will be stored in .Pa /netbsd and the modules will be stored within the .Pa /stand/${ARCH}/ directory hierarchy. .Pp The .Sy KERNEL_DIR option is a work-in-progress, and is highly experimental. It is also subject to change without notice. .DFLTn . .It Sy KERNOBJDIR Directory for kernel builds. For example, the kernel .Sy GENERIC will be compiled in .Sy KERNOBJDIR Ns Pa /GENERIC . .DFLT .Dq Sy MAKEOBJDIRPREFIX Ns Pa / Ns Sy KERNSRCDIR Ns Pa / Ns Sy KERNARCHDIR Ns Pa /compile if it exists or the .Xr make 1 .Dq obj target is being made; otherwise .Dq Sy KERNSRCDIR Ns Pa / Ns Sy KERNARCHDIR Ns Pa /compile . . .It Sy KERNSRCDIR Directory at the top of the kernel source. .DFLT .Dq Sy NETBSDSRCDIR Ns Pa /sys . . .It Sy LOCALTIME The name of the .Xr tzfile 5 timezone file in the directory .Pa /usr/share/zoneinfo to symbolically link .Sy DESTDIR Ns Pa /etc/localtime to. .DFLT .Dq UTC . . .It Sy MAKEVERBOSE Level of verbosity of status messages. Supported values: .Bl -tag -width 2n .It 0 No descriptive messages or commands executed by .Xr make 1 are shown. .It 1 Brief messages are shown describing what is being done, but the actual commands executed by .Xr make 1 are not shown. .It 2 Descriptive messages are shown as above (prefixed with a .Sq # ) , and ordinary commands performed by .Xr make 1 are shown. .It 3 In addition to the above, all commands performed by .Xr make 1 are shown, even if they would ordinarily have been hidden through use of the .Dq \&@@ prefix in the relevant makefile. .It 4 In addition to the above, commands executed by .Xr make 1 are traced through use of the .Xr sh 1 .Dq Fl x flag. .El .DFLT .Sy 2 . . .It Sy MKAMDGPUFIRMWARE .YorN Indicates whether to install the .Pa /libdata/firmware/amdgpu directory, which is necessary for the .Xr amdgpu 4 AMD RADEON GPU video driver. .DFLT .Dq yes on .Sy i386 and .Sy x86_64 ; .Dq no on other platforms. . .It Sy MKARGON2 .YorN Indicates whether the Argon2 hash is enabled in libcrypt. .DFLTy . .It Sy MKARZERO .YorN Indicates whether .Xr ar 1 should zero the timestamp, uid, and gid in the archive for reproducible builds. .DFLT The value of .Sy MKREPRO (if defined), otherwise .Dq no . . .It Sy MKATF .YorN Indicates whether the Automated Testing Framework (ATF) will be built and installed. This also controls whether the .Nx test suite will be built and installed, as the tests rely on ATF and cannot be built without it. .NOVAR MKCXX=no .DFLTy . .It Sy MKBINUTILS .YorN Indicates whether any of the binutils tools or libraries will be built and installed. That is, the libraries .Sy libbfd , .Sy libiberty , or any of the things that depend upon them, e.g. .Xr as 1 , .Xr ld 1 , .Xr dbsym 8 , or .Xr mdsetimage 8 . .NOVAR TOOLCHAIN_MISSING!=no .DFLTy . .It Sy MKBSDGREP .YorN Determines which implementation of .Xr grep 1 will be built and installed. If .Dq yes , use the BSD implementation. If .Dq no , use the GNU implementation. .DFLTn . .It Sy MKBSDTAR .YorN Determines which implementation of .Xr cpio 1 and .Xr tar 1 will be built and installed. If .Dq yes , use the .Sy libarchive Ns - Ns based implementations. If .Dq no , use the .Xr pax 1 based implementations. .DFLTy . .It Sy MKCATPAGES .YorN Indicates whether preformatted plaintext manual pages will be created and installed. .NOVAR MKMAN=no No or Sy MKSHARE=no .DFLTn . .It Sy MKCLEANSRC .YorN Indicates whether .Sq "make clean" and .Sq "make cleandir" will delete file names in .Sy CLEANFILES or .Sy CLEANDIRFILES from both the object directory, .Sy .OBJDIR , and the source directory, .Sy .SRCDIR . .Pp If .Dq yes , then these file names will be deleted relative to both .Sy .OBJDIR and .Sy .CURDIR . If .Dq no , then the deletion will be performed relative to .Sy .OBJDIR only. .DFLTy . .It Sy MKCLEANVERIFY .YorN Controls whether .Sq "make clean" and .Sq "make cleandir" will verify that files have been deleted. If .Dq yes , then file deletions will be verified using .Xr ls 1 . If .Dq no , then file deletions will not be verified. .DFLTy . .It Sy MKCOMPAT .YorN Indicates whether support for multiple ABIs is to be built and installed. .NODEF NOCOMPAT .DFLT .Dq yes on .Sy aarch64 (without gcc), .Sy mips64 , .Sy powerpc64 , .Sy riscv64 , .Sy sparc64 , and .Sy x86_64 ; .Dq no on other platforms. . .It Sy MKCOMPATMODULES .YorN Indicates whether the compat kernel modules will be built and installed. .NOVAR MKCOMPAT=no .DFLT .Dq yes on .Sy evbppc-powerpc and .Sy mips64 ; .Dq no on other platforms. . .It Sy MKCOMPATTESTS .YorN Indicates whether the .Nx test suite for .Pa src/compat will be built and installed. .NOVAR MKCOMPAT=no .DFLTn . .It Sy MKCOMPATX11 .YorN Indicates whether the X11 libraries will be built and installed. .NOVAR MKCOMPAT=no .DFLTn . .It Sy MKCOMPLEX .YorN Indicates whether the .Lb libm is compiled with support for .In complex.h . .DFLTy . .It Sy MKCROSSGDB .YorN Create a cross-gdb as a host tool. .DFLTn . .It Sy MKCTF .YorN Indicates whether CTF tools are to be built and installed. If .Dq yes , the tools will be used to generate and manipulate CTF data of ELF binaries during build. .NODEF NOCTF .Pp This is disabled internally for standalone programs in .Pa /usr/mdec . .DFLT .Dq yes on .Sy aarch64 , .Sy amd64 , and .Sy i386 ; .Dq no on other platforms. . .It Sy MKCVS .YorN Indicates whether .Xr cvs 1 will be built and installed. .DFLTy . .It Sy MKCXX .YorN Indicates whether C++ support is enabled. .Pp If .Dq no , C++ compilers and software will not be built, and acts as .Sy MKATF=no MKGCCCMDS=no MKGDB=no MKGROFF=no MKKYUA=no . .DFLTy . .It Sy MKDEBUG .YorN Indicates whether debug information should be generated for all userland binaries. The result is collected as an additional .Sy debug and .Sy xdebug set and installed in .Sy DESTDIR Ns Pa /usr/libdata/debug . .NODEF NODEBUG .Pp If .Dq yes , acts as .Sy MKSTRIPSYM=no . . .DFLTn . .It Sy MKDEBUGKERNEL .YorN Indicates whether debugging symbols will be built for kernels by default; pretend as if .Em makeoptions DEBUG="-g" is specified in kernel configuration files. This will also put the debug kernel .Pa netbsd.gdb in the kernel sets. See .Xr options 4 for details. This is useful if a cross-gdb is built as well (see .Sy MKCROSSGDB ) . .DFLTn . .It Sy MKDEBUGLIB .YorN Indicates whether debug libraries .Sy ( lib*_g.a ) will be built and installed. Debug libraries are compiled with .Dq Li -g -DDEBUG . .NODEF NODEBUGLIB .DFLTn . .It Sy MKDEBUGTOOLS .YorN Indicates whether debug information .Sy ( lib*_g.a ) will be included in the build toolchain. .DFLTn . .It Sy MKDEPINCLUDES .YorN Indicates whether to add .Cm \&.include statements in the .Pa .depend files instead of inlining the contents of the .Pa *.d files. This is useful when stale dependencies are present, to list the exact files that need refreshing, but it is possibly slower than inlining. .DFLTn . .It Sy MKDOC .YorN Indicates whether system documentation destined for .Sy DESTDIR Ns Pa /usr/share/doc will be installed. .NODEF NODOC .NOVAR MKSHARE=no .DFLTy . .It Sy MKDTB .YorN Indicates whether the devicetree blobs will be built and installed. .DFLT .Dq yes on .Sy aarch64 , .Sy armv6 , .Sy armv7 , .Sy riscv32 , and .Sy riscv64 ; .Dq no on other platforms. . .It Sy MKDTC .YorN Indicates whether the Device Tree Compiler (dtc) will be built and installed. .DFLTy . .It Sy MKDTRACE .YorN Indicates whether the kernel modules, utilities, and libraries for .Xr dtrace 1 support are to be built and installed. .DFLT .Dq yes on .Sy aarch64 , .Sy amd64 , and .Sy i386 ; .Dq no on other platforms. . .It Sy MKDYNAMICROOT .YorN Indicates whether all programs should be dynamically linked, and to install shared libraries required by .Pa /bin and .Pa /sbin and the shared linker .Xr ld.elf_so 1 into .Pa /lib . If .Dq no , link programs in .Pa /bin and .Pa /sbin statically. .DFLT .Dq no on .Sy ia64 ; .Dq yes on other platforms. . .It Sy MKFIRMWARE .YorN Indicates whether to install the .Pa /libdata/firmware directory, which is necessary for various drivers, including: .Xr athn 4 , .Xr bcm43xx 4 , .Xr bwfm 4 , .Xr ipw 4 , .Xr iwi 4 , .Xr iwm 4 , .Xr iwn 4 , .Xr otus 4 , .Xr ral 4 , .Xr rtwn 4 , .Xr rum 4 , .Xr run 4 , .Xr urtwn 4 , .Xr wpi 4 , .Xr zyd 4 , and the Tegra 124 SoC. .DFLT .Dq yes on .Sy amd64 , .Sy cobalt , .Sy evbarm , .Sy evbmips , .Sy evbppc , .Sy hpcarm , .Sy hppa , .Sy i386 , .Sy mac68k , .Sy macppc , .Sy sandpoint , and .Sy sparc64 ; .Dq no on other platforms. . .It Sy MKGCC .YorN Indicates whether .Xr gcc 1 or any related libraries .Pq Sy libg2c , libgcc , libobjc , libstdc++ will be built and installed. .NOVAR TOOLCHAIN_MISSING!=no No or Sy EXTERNAL_TOOLCHAIN No is defined .DFLTy . .It Sy MKGCCCMDS .YorN Indicates whether .Xr gcc 1 will be built and installed. If .Dq no , then .Sy MKGCC controls if the GCC libraries will be built and installed. .NOVAR MKCXX=no .DFLT .Dq no on .Sy m68000 ; .Dq yes on other platforms. . .It Sy MKGDB .YorN Indicates whether .Xr gdb 1 will be built and installed. .NOVAR MKCXX=no No or Sy TOOLCHAIN_MISSING!=no .DFLT .Dq no on .Sy ia64 and .Sy or1k ; .Dq yes on other platforms. . .It Sy MKGROFF .YorN Indicates whether .Xr groff 1 will be built, installed, and used to format some of the PostScript and PDF documentation. .NOVAR MKCXX=no .DFLTy . .It Sy MKGROFFHTMLDOC .YorN Indicates whether to use .Xr groff 1 to generate HTML for miscellaneous articles which sometimes requires software not in the base installation. Does not affect the generation of HTML man pages. .DFLTn . .It Sy MKHESIOD .YorN Indicates whether the Hesiod infrastructure (libraries and support programs) will be built and installed. .DFLTy . .It Sy MKHOSTOBJ .YorN If .Dq yes , then for programs intended to be run on the compile host, the name, release, and architecture of the host operating system will be suffixed to the name of the object directory created by .Dq make obj . (This allows multiple host systems to compile .Nx for a single target architecture.) If .Dq no , then programs built to be run on the compile host will use the same object directory names as programs built to be run on the target architecture. .DFLTn . .It Sy MKHTML .YorN Indicates whether the HTML manual pages are created and installed. .NODEF NOHTML .NOVAR MKMAN=no No or Sy MKSHARE=no .DFLTy . .It Sy MKIEEEFP .YorN Indicates whether code for IEEE754/IEC60559 conformance will be built and installed. Has no effect on most platforms. .DFLTy . .It Sy MKINET6 .YorN Indicates whether INET6 (IPv6) infrastructure (libraries and support programs) will be built and installed. .Pp .Em Note : .Sy MKINET6 must not be set to .Dq no if .Sy MKX11!=no . .DFLTy . .It Sy MKINFO .YorN Indicates whether GNU Info files, used for the documentation for most of the compilation tools, will be built and installed. .NODEF NOINFO .NOVAR MKSHARE=no .DFLTy . .It Sy MKIPFILTER .YorN Indicates whether the .Xr ipf 4 programs, headers, and other components will be built and installed. .DFLTy . .It Sy MKISCSI .YorN Indicates whether the iSCSI library and applications are built and installed. .DFLT .Dq no on .Sy m68000 ; .Dq yes on other platforms. . .It Sy MKKERBEROS .YorN Indicates whether the Kerberos v5 infrastructure (libraries and support programs) will be built and installed. Caution: the default .Xr pam 8 configuration requires that Kerberos be present even if not used. Do not install a userland without Kerberos without also either updating the .Xr pam.conf 5 files or disabling PAM via .Sy MKPAM . Otherwise all logins will fail. .DFLTy . .It Sy MKKMOD .YorN Indicates whether kernel modules will be built and installed. .DFLT .Dq no on .Sy or1k ; .Dq yes on other platforms. . .It Sy MKKYUA .YorN Indicates whether Kyua (the testing infrastructure used by .Nx ) will be built and installed. .NOVAR MKCXX=no .Pp .Em Note : This does not control the installation of the tests themselves. The tests rely on the ATF libraries and therefore their build is controlled by the .Sy MKATF variable. .DFLT .Dq no until the import of Kyua is done and validated. . .It Sy MKLDAP .YorN Indicates whether the Lightweight Directory Access Protocol (LDAP) infrastructure (libraries and support programs) will be built and installed. .DFLTy . .It Sy MKLIBCSANITIZER .YorN Indicates whether to use the sanitizer for libc, using the sanitizer defined by .Sy USE_LIBCSANITIZER . .NODEF NOLIBCSANITIZER .DFLTn . .It Sy MKLIBCXX .YorN Indicates if libc++ will be built and installed (usually for .Xr clang++ 1 ) . .DFLT .Dq yes if .Sy MKLLVM=yes ; otherwise .Dq no . . .It Sy MKLIBSTDCXX .YorN Indicates if libstdc++ will be built and installed (usually for .Xr g++ 1 ) . .DFLTy . .It Sy MKLINKLIB .YorN Indicates whether all of the shared library infrastructure will be built and installed. .Pp If .Dq no , prevents: .Bl -dash -compact .It installation of the .Sy *.a libraries .It installation of the .Sy *_pic.a libraries on PIC systems .It building of .Sy *.a libraries on PIC systems .It installation of .Sy .so symlinks on ELF systems .El .Pp I.e, only install the shared library (and the .Pa .so.major symlink on ELF). .NODEF NOLINKLIB .Pp If .Dq no , acts as .Sy MKLINT=no MKPICINSTALL=no MKPROFILE=no . .DFLTy . .It Sy MKLINT .YorN Indicates whether .Xr lint 1 will be run against portions of the .Nx source code during the build, and whether lint libraries will be installed into .Sy DESTDIR Ns Pa /usr/libdata/lint . .NODEF NOLINT .NOVAR MKLINKLIB=no .DFLTn . .It Sy MKLLVM .YorN Indicates whether .Xr clang 1 is installed as a host tool and target compiler. .Pp If .Dq yes , acts as .Sy MKLIBCXX=yes . .Pp .Em Note : Use of .Xr clang 1 as the system compiler is controlled by .Sy HAVE_LLVM . .DFLTn . .It Sy MKLLVMRT .YorN Indicates whether to build the LLVM PIC libraries necessary for the various Mesa backend and the native JIT of the target architecture, if supported. (Radeon R300 and newer, LLVMPIPE for most.) .DFLT If .Sy MKX11=yes and .Sy HAVE_MESA_VER>=19 , .Dq yes on .Sy aarch64 , .Sy amd64 , and .Sy i386 ; otherwise .Dq no . . .It Sy MKLVM .YorN If not .Dq no , build and install the logical volume manager. .DFLTy . .It Sy MKMAKEMANDB .YorN Indicates if the whatis tools .Xr ( apropos 1 , .Xr whatis 1 , .Xr getNAME 8 , .Xr makemandb 8 , and .Xr makewhatis 8 ) , should be built, installed, and used to create and install the .Pa whatis.db . .DFLTy . .It Sy MKMAN .YorN Indicates whether manual pages will be installed. .NODEF NOMAN .NOVAR MKSHARE=no .Pp If .Dq no , acts as .Sy MKCATPAGES=no MKHTML=no . .DFLTy . .It Sy MKMANDOC .YorN Indicates whether .Xr mandoc 1 will be built and installed, and used to create and install catman and HTML pages. .Pp If .Dq no , use .Xr groff 1 instead of .Xr mandoc 1 . .NODEF NOMANDOC No or Sy NOMANDOC . Ns Ar target No (for a given Xr make 1 target Ar target ) .Pp Only used if .Sy MKMAN=yes . .DFLTy . .It Sy MKMANZ .YorN Indicates whether manual pages should be compressed with .Xr gzip 1 at installation time. .Pp Only used if .Sy MKMAN=yes . .DFLTn . .It Sy MKMDNS .YorN Indicates whether the mDNS (Multicast DNS) infrastructure (libraries and support programs) will be built and installed. .DFLTy . .It Sy MKNLS .YorN Indicates whether Native Language System (NLS) locale zone files will be built and installed. .NODEF NONLS .NOVAR MKSHARE=no .DFLTy . .It Sy MKNOUVEAUFIRMWARE .YorN Indicates whether to install the .Pa /libdata/firmware/nouveau directory, which is necessary for the .Xr nouveau 4 NVIDIA video driver. .DFLT .Dq yes on .Sy aarch64 , .Sy i386 , and .Sy x86_64 , .Dq no on other platforms. . .It Sy MKNPF .YorN Indicates whether the NPF packet filter is to be built and installed. .DFLTy . .It Sy MKNSD .YorN Indicates whether the Name Server Daemon (NSD) is to be built and installed. .DFLTn . .It Sy MKOBJ .YorN Indicates whether object directories will be created when running .Dq make obj . If .Dq no , then all built files will be located inside the regular source tree. .NODEF NOOBJ .Pp If .Dq no , acts as .Sy MKOBJDIRS=no . .Pp .Em Note : Setting .Sy MKOBJ to .Dq no is not recommended and may cause problems when updating the tree with .Xr cvs 1 . .DFLTy . .It Sy MKOBJDIRS .YorN Indicates whether object directories will be created automatically (via a .Dq make obj pass) at the start of a build. .NOVAR MKOBJ=no .Pp .Em Note : If using .Sy build.sh , the default is .Dq yes . This may be set to .Dq no by giving .Sy build.sh the .Fl o option. .DFLTn . .It Sy MKPAM .YorN Indicates whether the .Xr pam 8 framework (libraries and support files) will be built and installed. The pre-PAM code is not supported and may be removed in the future. .DFLTy . .It Sy MKPCC .YorN Indicates whether .Xr pcc 1 or any related libraries .Pq Sy libpcc , libpccsoftfloat will be built and installed. .DFLTn . .It Sy MKPF .YorN Indicates whether the .Xr pf 4 programs, headers, and LKM will be built and installed. .DFLTy . .It Sy MKPIC .YorN Indicates whether shared objects and libraries will be created and installed. If .Dq no , the entire built system will be statically linked. .NODEF NOPIC .Pp If .Dq no , acts as .Sy MKPICLIB=no . .DFLT .Dq no on .Sy m68000 ; .Dq yes on other platforms. . .It Sy MKPICINSTALL .YorN Indicates whether the .Xr ar 1 format libraries .Sy ( lib*_pic.a ) , used to generate shared libraries, are installed. .NODEF NOPICINSTALL .NOVAR MKLINKLIB=no .DFLTn . .It Sy MKPICLIB .YorN Indicates whether the .Xr ar 1 format libraries .Sy ( lib*_pic.a ) , used to generate shared libraries. .NOVAR MKPIC=no .DFLT .Dq no on .Sy vax ; .Dq yes on other platforms. . .It Sy MKPIE .YorN Indicates whether Position Independent Executables (PIE) will be built and installed. .NODEF NOPIE .NOVAR COVERITY_TOP_CONFIG No is defined .Pp This is disabled internally for standalone programs in .Pa /usr/mdec . .DFLT .Dq yes on .Sy aarch64 , .Sy arm , .Sy i386 , .Sy m68k , .Sy mips , .Sy sh3 , .Sy sparc64 , and .Sy x86_64 ; .Dq no on other platforms. . .It Sy MKPIGZGZIP .YorN If .Dq no , the .Xr pigz 1 utility is not installed as .Xr gzip 1 . .DFLTn . .It Sy MKPOSTFIX .YorN Indicates whether Postfix will be built and installed. .DFLTy . .It Sy MKPROFILE .YorN Indicates whether profiled libraries .Sy ( lib*_p.a ) will be built and installed. .NODEF NOPROFILE .NOVAR MKLINKLIB=no .DFLT .Dq no on .Sy or1k , .Sy riscv32 , and .Sy riscv64 (due to toolchain problems with profiled code); .Dq yes on other platforms. . .It Sy MKRADEONFIRMWARE .YorN Indicates whether to install the .Pa /libdata/firmware/radeon directory, which is necessary for the .Xr radeon 4 AMD RADEON GPU video driver. .DFLT .Dq yes on .Sy aarch64 , .Sy i386 , and .Sy x86_64 , .Dq no on other platforms. . .It Sy MKRELRO Indicates whether to enable support for Relocation Read-Only (RELRO). Supported values: .Bl -tag -width partial .It partial Set the non-PLT GOT to read-only. .It full Set the non-PLT GOT to read-only and also force immediate symbol binding, unless .Sy NOFULLRELRO is defined and not .Dq no (usually in the Makefile before any .Xr make 1 .Cm \&.include directives). .It no Disable RELRO. .El .NODEF NORELRO .DFLT .Dq partial on .Sy aarch64 , .Sy i386 , and .Sy x86_64 ; .Dq no on other platforms. . .It Sy MKREPRO .YorN Indicates whether builds are to be reproducible. If .Dq yes , two builds from the same source tree will produce the same build results. .Pp Used as the default for .Sy MKARZERO . .Pp .Em Note : This may be set to .Dq yes by giving .Sy build.sh the .Fl P option. .DFLTn . .It Sy MKREPRO_TIMESTAMP Unix timestamp. When .Sy MKREPRO is set, the timestamp of all files in the sets will be set to this value. .Pp .Em Note : This may be set automatically to the latest source tree timestamp using .Xr cvslatest 1 by giving .Sy build.sh the .Fl P option. .DFLTu . .It Sy MKRUMP .YorN Indicates whether the .Xr rump 3 headers, libraries, and programs are to be installed. .NOVAR COVERITY_TOP_CONFIG No is defined .Pp See also variables that start with .Sy RUMPUSER_ or .Sy RUMP_ . .DFLTy . .It Sy MKSANITIZER .YorN Indicates whether to use the sanitizer to compile userland programs, using the sanitizer defined by .Sy USE_SANITIZER . .NODEF NOSANITIZER .DFLTn . .It Sy MKSHARE .YorN Indicates whether files destined to reside in .Sy DESTDIR Ns Pa /usr/share will be built and installed. .NODEF NOSHARE .Pp If .Dq no , acts as .Sy MKCATPAGES=no MKDOC=no MKINFO=no MKHTML=no MKMAN=no MKNLS=no . .DFLTy . .It Sy MKSKEY .YorN Indicates whether the S/key infrastructure (libraries and support programs) will be built and installed. .DFLTy . .It Sy MKSLJIT .YorN Indicates whether to enable support for sljit (stack-less platform-independent Just in Time (JIT) compiler) private library and tests. .DFLT .Dq yes on .Sy i386 , .Sy sparc , and .Sy x86_64 ; .Dq no on other platforms. . .It Sy MKSOFTFLOAT .YorN Indicates whether the compiler generates output containing library calls for floating point and possibly soft-float library support. .Pp Forced to .Dq yes on .Sy arm without .Sq hf , .Sy coldfire , .Sy emips , .Sy or1k , and .Sy sh3 . .DFLT .Dq yes on .Sy mips64 ; .Dq no on other platforms. . .It Sy MKSTATICLIB .YorN Indicates whether the normal static libraries .Sy ( lib*_g.a ) will be built and installed. .NODEF NOSTATICLIB .DFLTy . .It Sy MKSTATICPIE .YorN Indicates whether support for static PIE binaries will be built and installed. These binaries use a special support in crt0.o for resolving relative relocations and require linker support. .DFLT .Dq yes on .Sy i386 and .Sy x86_64 ; .Dq no on other platforms. . .It Sy MKSTRIPIDENT .YorN Indicates whether RCS IDs, for use with .Xr ident 1 , should be stripped from program binaries and shared libraries. .DFLTn . .It Sy MKSTRIPSYM .YorN Indicates whether all local symbols should be stripped from shared libraries. If .Dq yes , strip all local symbols from shared libraries; the effect is equivalent to the .Fl x option of .Xr ld 1 . If .Dq no , strip only temporary local symbols; the effect is equivalent to the .Fl X option of .Xr ld 1 . Keeping non-temporary local symbols such as static function names is useful on using DTrace for userland libraries and getting a backtrace from a .Xr rumpkernel 7 kernel loading shared libraries. .NOVAR MKDEBUG=yes .DFLTy . .It Sy MKTEGRAFIRMWARE .YorN Indicates whether to install the .Pa /libdata/firmware/nvidia directory, which is necessary for the NVIDIA Tegra XHCI driver. .DFLT .Dq yes on .Sy evbarm ; .Dq no on other platforms. . .It Sy MKTPM .YorN Indicates whether to install the Trusted Platform Module (TPM) infrastructure. .DFLTn . .It Sy MKUNBOUND .YorN Indicates whether the .Xr unbound 8 DNS resolver will be built and installed. .DFLTy . .It Sy MKUNPRIVED .YorN Indicates whether an unprivileged install will occur. The user, group, permissions, and file flags, will not be set on the installed items; instead the information will be appended to a file called .Pa METALOG in .Sy DESTDIR . The .Pa METALOG contents are used during the generation of the distribution tar files to ensure that the appropriate file ownership is stored. This allows a non-root .Sq "make install" . .DFLTn . .It Sy MKUPDATE .YorN Indicates whether all install operations intended to write to .Sy DESTDIR will compare file timestamps before installing, and skip the install phase if the destination files are up-to-date. .Pp For top-level builds this this implies the effects of .Sy NOCLEANDIR (i.e., .Dq make cleandir is avoided). .Pp .Em Note : This may be set to .Dq yes by giving .Sy build.sh the .Fl u option. .DFLTn . .It Sy MKX11 .YorN Indicates whether X11 will be built and installed from .Sy X11SRCDIR , and whether the X sets will be created. .Pp .Em Note : If .Dq yes , requires .Sy MKINET6=yes . .DFLTn . .It Sy MKX11FONTS .YorN If .Dq no , do not build and install the X fonts. The xfont set is still created but will be empty. .Pp Only used if .Sy MKX11=yes . .DFLTy . .It Sy MKX11MOTIF .YorN If .Dq yes , build the native Xorg libGLw with Motif stubs. Requires that Motif can be found via .Sy X11MOTIFPATH . .DFLTn . .It Sy MKXORG_SERVER .YorN Indicates whether the .Xr Xorg 7 X server and drivers will be built and installed. .DFLT .Dq yes on .Sy alpha , .Sy amd64 , .Sy amiga , .Sy bebox , .Sy cats , .Sy dreamcast , .Sy ews4800mips , .Sy evbarm , .Sy evbmips , .Sy evbppc , .Sy hp300 , .Sy hpcarm , .Sy hpcmips , .Sy hpcsh , .Sy hppa , .Sy i386 , .Sy ibmnws , .Sy iyonix , .Sy luna68k , .Sy mac68k , .Sy macppc , .Sy netwinder , .Sy newsmips , .Sy pmax , .Sy prep , .Sy ofppc , .Sy sgimips , .Sy shark , .Sy sparc , .Sy sparc64 , .Sy vax , and .Sy zaurus ; .Dq no on other platforms. . .It Sy MKYP .YorN Indicates whether the YP (NIS) infrastructure (libraries and support programs) will be built and installed. .DFLTy . .It Sy MKZFS .YorN Indicates whether the ZFS kernel module and the utilities and libraries used to manage the ZFS system are to be built and installed. .Pp .Em Note : ZFS requires 64-bit atomic operations. .DFLT .Dq yes on .Sy aarch64 , .Sy amd64 , and .Sy sparc64 ; .Dq no on other platforms. . .It Sy NETBSDSRCDIR The path to the top level of the .Nx sources. .DFLT Top level of the .Nx source tree (as determined by the presence of .Pa build.sh and .Pa tools/ ) if .Xr make 1 is run from within that tree; otherwise .Sy BSDSRCDIR will be used. . .It Sy NETBSD_OFFICIAL_RELEASE .YorN Indicates whether the build creates an official .Nx release which is going to be available from .Lk ftp.NetBSD.org and/or .Lk cdn.NetBSD.org locations. This variable modifies a few default paths in the installer and also creates different links in the install documentation. The auto-build cluster uses this variable to distinguish .Sq daily builds from real releases. .DFLTu .Pq I.e., Dq no . . .It Sy NOCLEANDIR If set, avoids the .Dq make cleandir phase of a full build. This has the effect of allowing only changed files in a source tree to be recompiled. This can speed up builds when updating only a few files in the tree. .Pp See also .Sy MKUPDATE . .DFLTu . .It Sy NODISTRIBDIRS If set, avoids the .Dq make distrib-dirs phase of a full build. This skips running .Xr mtree 8 on .Sy DESTDIR , useful on systems where building as an unprivileged user, or where it is known that the system-wide .Xr mtree 8 files have not changed. .DFLTu . .It Sy NOINCLUDES If set, avoids the .Dq make includes phase of a full build. This has the effect of preventing .Xr make 1 from thinking that some programs are out-of-date simply because the system include files have changed. However, this option should not be used when updating the entire .Nx source tree arbitrarily; it is suggested to use .Sy MKUPDATE=yes instead in that case. .DFLTu . .It Sy OBJMACHINE If defined, creates objdirs of the form .Pa obj . Ns Sy MACHINE , where .Sy MACHINE is the current architecture (as per .Sq "uname -m" ) . .DFLTu . .It Sy RELEASEDIR If set, specifies the directory to which a .Xr release 7 layout will be written at the end of a .Dq make release . If specified, must be an absolute path. .Pp .Em Note : .Sy build.sh will provide a default of .Dq Pa releasedir (in the top-level .Sy .OBJDIR ) unless run in .Sq expert mode with the .Fl E option. .DFLTu . .It Sy RUMPUSER_THREADS Defines the threading implementation used by the .Xr rumpuser 3 hypercall implementation. Supported values: .Bl -tag -width pthread .It fiber Use a fiber interface, with cooperatively scheduled contexts. .It none Do not support kernel threads. .It pthread Use .Xr pthread 3 to implement threads. .El .DFLT .Dq pthread . . .It Sy RUMP_CURLWP Defines how .Va curlwp is obtained in the .Xr rumpkernel 7 kernel. .Va curlwp is a very frequently accessed thread-local variable, and optimizing access has a significant performance impact. Note that all options are not available on hosts/machine architectures. Supported values: .Bl -tag -width hypercall .It hypercall Use a hypercall to fetch the value. .It register Use a dedicated register. (Implies compiling with .Fl ffixed- Ns Ar reg ) . .It __thread Use the __thread feature to fetch value via thread local storage (TLS). .El .DFLT .Dq hypercall . . .It Sy RUMP_DEBUG If defined, indicates whether .Xr rumpkernel 7 kernels are built with .Fl DDEBUG . .DFLTu . .It Sy RUMP_DIAGNOSTIC .YorN Indicates whether .Xr rumpkernel 7 kernels are built with .Fl DDIAGNOSTIC . .DFLTy . .It Sy RUMP_KTRACE .YorN Indicates whether .Xr rumpkernel 7 kernels are built with .Fl DKTRACE . .DFLTy . .It Sy RUMP_LOCKDEBUG If defined, indicates whether .Xr rumpkernel 7 kernels are built with .Fl DLOCKDEBUG . .DFLTu . .It Sy RUMP_LOCKS_UP .YorN Indicates whether .Xr rumpkernel 7 kernels are built with uniprocess-optimized locking or not. .Pp If .Dq yes , build with uniprocess-optimized locking, which requires .Ev RUMP_NCPU=1 in the environment at runtime. .Pp If .Dq no , build with multiprocessor-capable locking. .DFLTn . .It Sy RUMP_NBCOMPAT Selects which .Nx userland binary compatibility .Dv COMPAT_ Ns Ar ver kernel options are enabled in the .Xr rumpkernel 7 kernels. This option is useful only when building .Xr rumpkernel 7 kernels for .Nx userspace, and an empty value may be supplied elsewhere. Supported (one or more, comma-separated) values: .Bl -tag -width default .It all All supported release versions. Equivalent to .Dq 50,60,70,80,90 . .It default Default value. Equivalent to .Dq all , although this default may change in the future. .It none No compatibility options are enabled. .It 50 .Nx 5.x compatibility, via .Dv COMPAT_50 kernel option. .It 60 .Nx 6.x compatibility, via .Dv COMPAT_60 kernel option. .It 70 .Nx 7.x compatibility, via .Dv COMPAT_70 kernel option. .It 80 .Nx 8.x compatibility, via .Dv COMPAT_80 kernel option. .It 90 .Nx 9.x compatibility, via .Dv COMPAT_90 kernel option. .El .DFLT .Dq all . . .It Sy RUMP_VIRTIF .YorN Indicates whether .Xr rumpkernel 7 kernels are built with support for the .Xr virt 4 network interface. .Pp If .Dq no , don't build with .Xr virt 4 support, which may be necessary on systems that lack the necessary headers, such as musl libc based Linux. .DFLTy . .It Sy RUMP_VNODE_LOCKDEBUG If defined, indicates whether .Xr rumpkernel 7 kernels are built with .Fl DVNODE_LOCKDEBUG . .DFLTu . .It Sy TOOLCHAIN_MISSING .YorN If not .Dq no , this indicates that the platform .Dq Sy MACHINE_ARCH being built does not have a working in-tree toolchain. .Pp If not .Dq no , acts as .Sy MKBINUTILS=no MKGCC=no MKGDB=no . .\" See MKGCCCMDS for example text if a platform defaults to yes. .DFLTn . .It Sy TOOLDIR Directory to hold the host tools, once built. If specified, must be an absolute path. This directory should be unique to a given host system and .Nx source tree. (However, multiple target architectures may share the same .Sy TOOLDIR ; the target-architecture-dependent files have unique names.) If unset, a default based on the .Xr uname 1 information of the host platform will be created in the .Sy .OBJDIR of .Pa src . .DFLTu . .It Sy USETOOLS .YorN Indicates whether the tools specified by .Sy TOOLDIR should be used as part of a build in progress. Must be set to .Dq yes if cross-compiling. Supported values: .Bl -tag -width never .It yes Use the tools from .Sy TOOLDIR . .It no Do not use the tools from .Sy TOOLDIR , but refuse to build native compilation tool components that are version-specific for that tool. .It never Do not use the tools from .Sy TOOLDIR , even when building native tool components. This is similar to the traditional .Nx build method, but does .Em not verify that the compilation tools in use are up-to-date enough in order to build the tree successfully. This may cause build or runtime problems when building the whole .Nx source tree. .El .DFLT .Dq no when using .Aq bsd.*.mk outside the .Nx source tree (detected automatically) or if .Sy TOOLCHAIN_MISSING=yes ; otherwise .Dq yes . . .It Sy USE_FORT .YorN Indicates whether the so-called .Dq FORTIFY_SOURCE .Xr security 7 extensions are enabled; see .Xr ssp 3 for details. This imposes some performance penalty. .NODEF NOFORT .DFLTn . .It Sy USE_HESIOD .YorN Indicates whether Hesiod support is enabled in the various applications that support it. .NOVAR MKHESIOD=no .DFLTy . .It Sy USE_INET6 .YorN Indicates whether INET6 (IPv6) support is enabled in the various applications that support it. .NOVAR MKINET6=no .DFLTy . .It Sy USE_JEMALLOC .YorN Indicates whether the .Em jemalloc allocator .Pq which is designed for improved performance with threaded applications is used instead of the .Em phkmalloc allocator .Pq that was the default until Nx 5.0 . .DFLTy . .It Sy USE_KERBEROS .YorN Indicates whether Kerberos v5 support is enabled in the various applications that support it. .NOVAR MKKERBEROS=no .DFLTy . .It Sy USE_LDAP .YorN Indicates whether LDAP support is enabled in the various applications that support it. .NOVAR MKLDAP=no .DFLTy . .It Sy USE_LIBCSANITIZER Selects the sanitizer in libc to compile userland programs and libraries. Supported values: .Bl -tag -width undefined .It undefined Enables the micro-UBSan in the user mode (uUBSan) undefined behaviour sanitizer. The code is shared with the kernel mode variation (kUBSan). The runtime runtime differs from the UBSan available in .Sy MKSANITIZER . The runtime is stripped down from C++ features, and is invoked with .Li -fsanitize=no-vptr as that sanitizer is not supported. The runtime configuration is restricted to the .Ev LIBC_UBSAN environment variable, that is designed to be safe for hardening. .El .Pp The value of .Sy USE_LIBCSANITIZER is passed to the C and C++ compilers as the argument to .Li -fsanitize= . Additional sanitizer arguments can be passed through .Sy LIBCSANITIZERFLAGS . .Pp Disabled if .Sy MKLIBCSANITIZER=no . .DFLT .Dq undefined . . .It Sy USE_PAM .YorN Indicates whether .Xr pam 8 support is enabled in the various applications that support it. .NOVAR MKPAM=no .DFLTy . .It Sy USE_PIGZGZIP .YorN Indicates whether .Xr pigz 1 is used instead of .Xr gzip 1 for multi-threaded gzip compression of the distribution tar sets. .DFLTn . .It Sy USE_SANITIZER Selects the sanitizer to compile userland programs and libraries. Supported (one or more, comma-separated) values: .Bl -tag -width safe-stack .It address A memory error detector. .It cfi A control flow detector. .It dataflow A general data flow analysis. .It leak A memory leak detector. .It memory An uninitialized memory read detector. .It safe-stack Protect against stack-based corruption. .It scudo The Scudo Hardened Allocator. .It thread A data race detector. .It undefined An undefined behavior detector. .El .Pp The value of .Sy USE_SANITIZER is passed to the C and C++ compilers as the argument to .Li -fsanitize= . Additional sanitizer arguments can be passed through .Sy SANITIZERFLAGS . .Pp The list of supported features and their valid combinations depends on the compiler version and target CPU architecture. .Pp Disabled if .Sy MKSANITIZER=no . .DFLT .Dq address . . .It Sy USE_SKEY .YorN Indicates whether S/key support is enabled in the various applications that support it. .NOVAR MKSKEY=no .Pp .Em Note : This is mutually exclusive to .Sy USE_PAM!=no . .DFLTn . .It Sy USE_SSP .YorN Indicates whether GCC stack-smashing protection (SSP) support, which detects stack overflows and aborts the program, is enabled. This imposes some performance penalty (approximately 5%). .Pp This is disabled internally for standalone programs in .Pa /usr/mdec . .NODEF NOSSP .NOVAR COVERITY_TOP_CONFIG No is defined .DFLT .Dq no on .Sy alpha , .Sy hppa , .Sy ia64 , and .Sy mips ; .Dq yes on other platforms if .Sy USE_FORT=yes ; otherwise .Dq no . . .It Sy USE_XZ_SETS .YorN Indicates whether the distribution tar files are to be compressed with .Xr xz 1 instead of .Xr gzip 1 or .Xr pigz 1 . .NOVAR USE_PIGZGZIP=yes .DFLT .Dq yes on .Sy aarch64 , .Sy amd64 , and .Sy sparc64 , .Dq no on other platforms. . .It Sy USE_YP .YorN Indicates whether YP (NIS) support is enabled in the various applications that support it. .NOVAR MKYP=no .DFLTy . .It Sy X11MOTIFPATH Path of the Motif installation to use if .Sy MKX11MOTIF=yes . .DFLT .Dq Pa /usr/pkg . . .It Sy X11SRCDIR Directory containing the modular Xorg source. If specified, must be an absolute path. The main modular Xorg source is found in .Sy X11SRCDIR Ns Pa /external/mit . .DFLT .Sy NETBSDSRCDIR Ns Pa /../xsrc , if that exists; otherwise .Dq Pa /usr/xsrc . . .El . .Sh PKGSRC SYSTEM VARIABLES . Please see the pkgsrc guide at .Lk http://www.netbsd.org/Documentation/pkgsrc/ or .Pa pkgsrc/doc/pkgsrc.txt for more variables used internally by the package system and .Pa ${PKGSRCDIR}/mk/defaults/mk.conf for package-specific examples. . .Sh OBSOLETE VARIABLES . These variables are obsolete. . .Bl -tag -width 14n . .\" These entries are sorted alphabetically. . .It Sy EXTSRCSRCDIR Obsolete. . .It Sy MKBFD Use .Sy MKBINUTILS . . .It Sy MKCRYPTO Obsolete. . .It Sy MKEXTSRC Obsolete. . .It Sy MKKDEBUG Use .Sy MKDEBUGKERNEL . . .It Sy MKKERBEROS4 Obsolete. . .It Sy MKLLD Obsolete. . .It Sy MKLLDB Obsolete. . .It Sy MKMCLINKER Obsolete. . .It Sy MKPERFUSE Obsolete. . .It Sy MKTOOLSDEBUG Use .Sy MKDEBUGTOOLS . . .It Sy NBUILDJOBS Use the .Nm build.sh and .Xr make 1 option .Fl j instead. . .It Sy SHAREDSTRINGS Obsolete. . .It Sy USE_COMBINE Obsolete. . .It Sy USE_NEW_TOOLCHAIN The new toolchain is now the default. To disable, use .Sy TOOLCHAIN_MISSING=yes . . .El . .Sh FILES .Bl -tag -width /etc/mk.conf . .It Pa /etc/mk.conf The .Nm file resides in .Pa /etc . . .It Pa ${PKGSRCDIR}/mk/defaults/mk.conf Examples for settings regarding the pkgsrc collection. .El . .Sh SEE ALSO .Xr apropos 1 , .Xr ar 1 , .Xr as 1 , .Xr clang 1 , .Xr clang++ 1 , .Xr config 1 , .Xr cpio 1 , .Xr cvs 1 , .Xr cvslatest 1 , .Xr dtrace 1 , .Xr g++ 1 , .Xr gcc 1 , .Xr gdb 1 , .Xr groff 1 , .Xr gzip 1 , .Xr ident 1 , .Xr ld 1 , .Xr ld.elf_so 1 , .Xr lint 1 , .Xr ls 1 , .Xr make 1 , .Xr mandoc 1 , .Xr pax 1 , .Xr pcc 1 , .Xr pigz 1 , .Xr sh 1 , .Xr tar 1 , .Xr uname 1 , .Xr whatis 1 , .Xr xz 1 , .Xr rump 3 , .Xr rumpuser 3 , .Xr ssp 3 , .Xr amdgpu 4 , .Xr athn 4 , .Xr bcm43xx 4 , .Xr bwfm 4 , .Xr ipf 4 , .Xr ipw 4 , .Xr iwi 4 , .Xr iwm 4 , .Xr iwn 4 , .Xr nouveau 4 , .Xr options 4 , .Xr otus 4 , .Xr pf 4 , .Xr radeon 4 , .Xr ral 4 , .Xr rtwn 4 , .Xr rum 4 , .Xr run 4 , .Xr urtwn 4 , .Xr virt 4 , .Xr wpi 4 , .Xr zyd 4 , .Xr pam.conf 5 , .Xr release 7 , .Xr rumpkernel 7 , .Xr security 7 , .Xr Xorg 7 , .Xr dbsym 8 , .Xr getNAME 8 , .Xr installboot 8 , .Xr makemandb 8 , .Xr makewhatis 8 , .Xr mdsetimage 8 , .Xr mtree 8 , .Xr pam 8 , .Xr unbound 8 , .Pa /usr/share/mk/bsd.README , .Pa src/BUILDING , .Pa pkgsrc/doc/pkgsrc.txt , .Lk http://www.netbsd.org/Documentation/pkgsrc/ .Sh HISTORY The .Nm file appeared in .Nx 1.2 . @ 1.107 log @mk.conf(5): tweak BUILDID and option. sort MKKDEBUG Clarify BUILDID behaviour with OBJMACHINE, and remove unnecessary sentence. Use option not flag; option may include a flag with an argument. Sort MKKDEBUG before MKKERBEROS4. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.106 2023/07/05 16:40:34 lukem Exp $ d30 1 a30 1 .Dd July 22, 2023 d694 6 d1658 1 @ 1.106 log @mk.conf(5): document rump variables Update mk.conf(5) with the rump variables from - lib/librumpuser/README.compileopts - sys/rump/README.compileopts Add cross-references back to mk.conf(5) in those files. Ensure that the Default: is listed last in a description, for consistency with the convention in this file. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.105 2023/06/14 02:28:41 rin Exp $ d30 1 a30 1 .Dd July 5, 2023 d137 7 a143 6 The identifier will be appended to object directory names, and can be consulted in the .Xr make 1 configuration file in order to set additional build parameters, such as compiler flags. It will also be used as part of the kernel version string, d207 1 a207 1 Additional flags to d223 1 a223 1 compiler flags that select CPU-related options. d297 1 a297 1 setting to control the compiler flags. a2425 3 .It Sy MKKERBEROS4 Obsolete. . d2430 3 @ 1.105 log @Fix previous. Patch mistakenly applied somehow... @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.104 2023/06/14 01:16:28 rin Exp $ d30 1 a30 1 .Dd June 14, 2023 d50 1 a50 1 .Nx NetBSD d1524 6 a1530 6 .Pp .Em Note : see also .Pa src/sys/rump/README.compileopts for variables used during the build of the .Xr rump 3 . d1647 3 a1649 1 userland libraries and getting a backtrace from a rump kernel d1924 173 d2515 1 d2536 1 d2541 1 @ 1.104 log @Cite src/sys/rump/README.compileopts as a reference for MKRUMP. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.103 2023/06/11 20:33:46 lukem Exp $ a749 6 .Pp .Em Note : see also .Pa src/sys/rump/README.compileopts for variables used during the build of the .Xr rump 3 . a769 6 .Pp .Em Note : see also .Pa src/sys/rump/README.compileopts for variables used during the build of the .Xr rump 3 . d1525 6 @ 1.103 log @mk.conf(5): more variables from BUILDING and build.sh Add more variables from build.sh, BUILDING, and various Makefile's documentation: CDEXTRA CONFIGOPTS KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR LOCALTIME Default sentences now consistently end with ".". Consistency tweaks in "otherwise". Editorial tweaks. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.102 2023/06/11 10:44:33 lukem Exp $ d30 1 a30 1 .Dd June 11, 2023 d750 6 d776 6 @ 1.102 log @mk.conf(5): add remaining vars from BUILDING Add more variables from BUILDING: INSTALLBOOT_BOARDS INSTALLWORLDDIR NOCLEANDIR NODISTRIBDIRS NOINCLUDES. Add build.sh related notes (from BUILDING). Clarify "target" as "target architecture" where appropriate (versus a make target where that's obvious from context.) Move all obsolete and deprecated variables to new "OBSOLETE VARIABLES" section at the end. Add some per-variable editorial improvements from BUILDING. Change sub headings to headings; it's easier to read. (I don't know why mdoc doesn't allow blank lines around .Ss) @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.101 2023/06/05 22:35:20 lukem Exp $ d65 1 a65 1 .Dq no d73 1 a73 1 .Dq yes d110 1 a110 1 .Dq Pa /usr/obj d119 1 a119 1 .Dq Pa /usr/src d124 3 a126 1 checks that the targets in the source directories are up-to-date and d128 3 a130 1 out of date or non-existent targets. d184 27 d268 3 a270 1 mode. d274 1 a274 1 unset otherwise. d319 3 a321 2 Location for the top-level .Dq make installworld d325 13 a337 1 .Dq / d370 32 d437 1 a437 1 2 d446 2 a447 1 .DFLTy d587 2 a588 1 .DFLTy d605 2 a606 1 .DFLTy d654 2 a655 1 .DFLTy d687 1 a687 1 .Sy debug.tgz d689 1 a689 1 .Sy xdebug.tgz d754 2 a755 1 .DFLTy d776 2 a777 1 .DFLTy d804 2 a805 1 .DFLTn d832 2 a833 1 .DFLTy d873 2 a874 1 .DFLTn d886 2 a887 1 .DFLTn d984 2 a985 1 .DFLTn d1009 2 a1010 1 .DFLTn d1029 2 a1030 1 .DFLTn d1053 2 a1054 1 .DFLTy d1057 2 a1058 2 .Dq no otherwise. d1153 2 a1154 2 .Dq no otherwise. d1202 1 a1202 1 .NODEF NOMANDOC No or Sy NOMANDOC . Ns Ar target No (for a given target Ar target ) d1239 2 a1240 1 .DFLTy d1295 1 a1295 1 This may be set back to d1341 2 a1342 1 .DFLTn d1367 2 a1368 1 .DFLTn d1383 2 a1384 1 .DFLTy d1420 2 a1421 1 .DFLTn d1438 2 a1439 1 .DFLTy d1558 2 a1559 1 .DFLTy d1585 2 a1586 1 .DFLTy d1606 2 a1607 1 .DFLTy d1651 2 a1652 1 .DFLTy d1702 5 a1706 3 If using .Sy build.sh , this may be set by giving the d1749 2 a1750 1 .DFLTy d1800 3 a1802 2 ZFS requires 64-bit atomic operations . .DFLTy d1844 1 a1844 1 .Pq Dq no . d1894 1 d1911 3 a1913 1 mode. d1981 2 a1982 1 .DFLTn d1989 2 a1990 2 .Dq yes otherwise. d2154 2 a2155 1 .DFLTn d2165 2 a2166 2 .Dq no otherwise. d2178 2 a2179 1 .DFLTy d2199 1 a2199 1 .Dq Pa /usr/pkg d2209 1 a2209 1 .Pa /usr/xsrc . d2308 1 @ 1.101 log @mk.conf(5): editorial MKDTB and MKPIE are .YorN. MKX11=yes wants MKINET6=yes. MKLINKLIB deserves a dash list (like bsd.README). Expand per bsd.README: MKSTATICPIC, MKUNPRIVED, MKX11, MKZFS, USE_LIBCSANITIZER, USE_SSP Change the width of the variable lists to 14n (from 15n) so that when the lists are rendered and then left aligned, the column is 16 characters (aka 2 tabs) which makes copypasta to bsd.README easier. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.100 2023/06/04 20:04:52 lukem Exp $ d30 1 a30 1 .Dd June 5, 2023 d44 3 a46 1 .Pp d49 9 a57 5 variables that may be set, the values to which each may be set, a brief description of what each variable does, and a reference to relevant manual pages. . .Ss NetBSD System variables d199 1 a199 1 Additional flags passed to the compiler/assembler to select d201 2 d207 1 d217 1 a217 1 This pathname should d221 2 a222 1 character (for installation into the system's root directory, set d224 2 a225 1 to an empty string). d237 1 a237 1 mode d271 21 a291 2 .It Sy EXTSRCSRCDIR Obsolete. d336 1 a336 1 are not displayed. d342 1 a342 1 are displayed. d346 1 a346 1 are displayed, even if they would ordinarily have been hidden a403 4 .It Sy MKBFD Obsolete, use .Sy MKBINUTILS . . a561 3 .It Sy MKCRYPTO Obsolete. . a725 3 .It Sy MKEXTSRC Obsolete. . d842 1 a842 1 for a single target.) d846 2 a847 1 object directory names as programs built to be run on the target. a901 4 .It Sy MKKDEBUG Deprecated, use .Sy MKDEBUGKERNEL . . a916 3 .It Sy MKKERBEROS4 Obsolete. . a1025 6 .It Sy MKLLD Obsolete. . .It Sy MKLLDB Obsolete. . a1125 3 .It Sy MKMCLINKER Obsolete. . d1196 13 a1227 3 .It Sy MKPERFUSE Obsolete. . d1391 9 d1408 10 a1555 4 .It Sy MKTOOLSDEBUG Deprecated, use .Sy MKDEBUGTOOLS . . d1578 1 a1578 1 The contents of d1580 2 a1581 2 is used during the generation of the distribution tar files to ensure that the appropriate file ownership is stored. d1592 13 d1740 41 d1794 1 a1806 3 .It Sy SHAREDSTRINGS Obsolete. . d1824 1 d1828 1 a1828 1 (However, multiple targets may share the same d1830 1 a1830 1 the target-dependent files have unique names.) a1881 3 .It Sy USE_COMBINE Obsolete. . d2101 1 a2101 1 .Ss pkgsrc system variables d2111 66 d2181 4 a2184 1 This file. d2198 1 d2249 1 d2253 1 d2257 1 @ 1.100 log @mk.conf(5): add more from BUILDING and bsd.README Add from BUILDING or bsd.README: BUILDINFO, BUILDSEED, EXTERNAL_TOOLCHAIN, MKCROSSGDB, MKREPRO_TIMESTAMP, TOOLCHAIN_MISSING, X11SRCDIR Clarify BUILDID. Improve MKDEBUG, MKOBJ, MKX11, NETBSDSRCDIR, USETOOLS, Consistent Note: formatting. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.99 2023/06/03 11:13:40 lukem Exp $ d30 1 a30 1 .Dd June 4, 2023 d95 1 a95 1 .Bl -tag -width 15n d647 1 d847 7 d965 1 d969 2 d973 2 a974 1 libraries, d977 2 a978 1 libraries on PIC systems, d981 2 a982 2 libraries on PIC systems, or d985 6 a990 1 symlinks on ELF systems. d1265 1 d1470 2 d1552 2 d1567 8 a1574 1 .Sy X11SRCDIR . d1582 1 d1650 3 d1860 6 a1865 1 undefined behaviour sanitizer, with d1868 3 d1957 2 a1958 1 This imposes some performance penalty. d1972 4 a1975 1 on other platforms. @ 1.99 log @mk.conf: fix the year @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.98 2023/06/01 21:58:05 lukem Exp $ d30 1 a30 1 .Dd June 3, 2023 d97 1 a97 1 .\" These entries are sorted alphabetically d125 2 d132 40 d179 2 a180 1 Note that d186 2 a187 1 Also note that d232 28 d531 5 d579 7 a585 1 Indicates whether separate debugging symbols should be installed into d596 3 a598 1 This will also put the debug kernel in the kernel sets. d602 2 d1156 8 d1359 8 d1522 1 a1522 1 the installed item; instead the information will be appended to a1538 1 This also has implications on full builds (see next subsection). d1543 2 a1544 3 Indicates whether X11 will be built and installed (by descending into .Pa src/external/mit/xorg ) . d1632 2 a1633 3 If .Xr make 1 is run from within the d1635 1 a1635 2 source tree, the default is the top level of that tree (as determined by the presence of d1638 4 a1641 1 .Pa tools/ ) , d1691 15 d1724 1 d1755 7 a1761 1 .DFLT d1763 1 a1763 8 if building all or part of a whole .Nx source tree (detected automatically); .Dq no otherwise (to preserve traditional semantics of the .Aq bsd.*.mk .Xr make 1 include files). d1963 10 @ 1.98 log @mk.conf(5): update to reality - Document: MKAMDGPUFIRMWARE, MKARGON2, MKARZERO, MKBSDGREP, MKCOMPATMODULES, MKCOMPATTESTS, MKCOMPATX11, MKCXX, MKDEPINCLUDES, MKDTB, MKDTC, MKFIRMWARE, MKGROFF, MKGROFFHTMLDOC, MKLIBCSANITIZER, MKLIBCXX, MKLIBSTDCXX, MKLLVM, MKLLVMRT, MKMAKEMANDB, MKMANDOC, MKNSD, MKRADEONFIRMWARE, MKRELRO, MKSANITIZER, MKSLJIT, MKSTATICPIE, MKTEGRAFIRMWARE, MKTPM, MKUNBOUND, MKXORG_SERVER, NETBSD_OFFICIAL_RELEASE, USE_LIBCSANITIZER, USE_PIGZGZIP, USE_SANITIZER, USE_XZ_SETS, X11MOTIFPATH - Document obsolete/deprecated: EXTSRCSRCDIR, MKBFD, MKCRYPTO, MKEXTSRC, MKKDEBUG, MKKERBEROS4, MKLLD, MKLLDB, MKMCLINKER, MKPERFUSE, MKTOOLSDEBUG, SHAREDSTRINGS, USE_COMBINE - Fix defaults: MKLINT=no MKPICINSTALL=no USE_SKEY=no - Expand upon defaults that are platform specific. - Sort variable entries. - If a NOxxx variable disables a variable, describe it. - Layout of each variable: supported values, description, any other variables that change this variable, optional note, default value. - Consistent double quotes around default strings (even paths). - Consistent "will be" instead of "is" or "are". - Sort order of internal macro definitions. - Add NODEF and NOVAR macros. - Oxford comma and semi-colons where appropriate. - Fix mandoc -Tlint. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.97 2022/07/09 08:27:35 nia Exp $ d30 1 a30 1 .Dd June 1, 2022 @ 1.97 log @mk.conf(5): we default to USE_SSP=yes these days. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.96 2022/06/06 10:56:28 nia Exp $ d3 1 a3 1 .\" Copyright (c) 1999-2003 The NetBSD Foundation, Inc. d30 1 a30 1 .Dd July 9, 2022 a52 6 .de YorN Can be set to .Dq yes or .Dq no . .. d57 4 d69 15 a83 2 .de DFLTn .DFLT d85 8 a93 1 .Bl -tag -width MKDYNAMICROOT d95 3 a97 16 .It Sy NETBSDSRCDIR The path to the top level of the .Nx sources. If .Xr make 1 is run from within the .Nx source tree, the default is the top level of that tree (as determined by the presence of .Pa build.sh and .Pa tools/ ) , otherwise .Sy BSDSRCDIR will be used. d100 1 a100 3 The real path to the .Sq obj tree for the d104 1 a104 1 .Pa /usr/obj d109 3 a111 1 source tree. d113 1 a113 1 .Pa /usr/src a172 6 .DFLT Empty string if .Sy USETOOLS is .Dq yes ; unset otherwise. d177 1 a177 1 .Pa destdir. Ns Sy MACHINE d183 7 d191 1 a191 1 .It Sy KERNEL_DIR No Pq experimental d225 1 a225 1 .Bl -tag -width xxx d259 32 d293 2 a294 1 Indicates whether the Automated Testing Framework is built and installed. d297 1 a297 1 test suite is built and installed, d299 1 d302 4 d308 2 a309 1 Indicates whether any of the binutils tools or libraries should be built. d319 1 d322 1 a322 1 .It Sy MKBSDTAR d324 3 d329 9 a337 2 .Sy libarchive Ns - Ns based implementations of d341 6 a346 1 are built and installed. d349 1 d351 1 a351 1 based frontends are used. d358 1 d409 18 d428 4 a431 1 on amd64, mips64 and sparc64, d433 17 a449 1 on other architectures. d459 3 d465 3 a467 1 If yes, the tools will be used to generate and manipulate d469 12 a480 1 .DFLTn d486 12 a497 1 is built. d504 1 d526 1 d536 14 d555 20 d579 1 a579 1 Indicates whether the kernel modules, utilities and libraries for d582 8 a589 1 .DFLTn d603 1 a603 1 .Sq no , d609 47 a655 1 .DFLTy d663 2 a664 1 are built. d671 1 a671 1 is built. d677 7 a683 2 GCC libraries are built. .DFLTy d689 18 a706 1 is built. d709 9 d721 1 a721 1 (libraries and support programs) is built and installed. d726 1 a726 1 If set to d735 1 a735 1 If set to d744 2 d750 2 a751 1 Indicates whether code for IEEE754/IEC60559 conformance is built. d756 1 d758 1 a758 1 (libraries and support programs) is built and installed. d765 2 d773 1 a773 1 programs, headers and other components will be built and installed. d780 9 a788 1 .DFLTy d793 1 a793 1 (libraries and support programs) is built and installed. d805 3 d810 6 a815 2 Indicates whether kernel modules are built and installed. .DFLTy d821 5 a825 3 is built and installed. Note that .Em this does not control the installation of the tests themselves . d829 1 a829 1 knob. d837 27 a863 1 (libraries and support programs) is built and installed. d868 2 a869 1 Indicates whether all of the shared library infrastructure is built. d871 1 a871 1 .Sq no , d886 1 a886 1 .DFLTy d891 2 a892 1 .Sy MKPICINSTALL=no MKPROFILE=no . d903 47 a949 1 .DFLTy d958 14 d975 2 a976 1 .DFLTy d982 20 d1008 3 d1013 3 d1019 1 a1019 1 (libraries and support programs) is built and installed. d1026 2 d1034 11 a1044 3 directory, which is necessary for the nvidia DRM driver. .DFLT Platform dependent. d1051 5 d1060 1 a1060 1 If set to d1063 1 a1063 1 .DFLTy d1069 1 d1077 1 d1084 1 a1084 1 framework (libraries and support files) is built. d1094 1 a1094 1 are built. d1097 3 d1104 1 a1104 1 programs, headers and LKM will be built and installed. d1111 1 a1111 1 If set to d1114 1 a1114 6 .DFLT Platform dependent. As of this writing, all platforms except .Sy m68000 default to .Dq yes . d1120 5 d1133 3 a1135 1 .DFLTy d1144 6 a1149 1 .DFLTy d1153 19 a1171 3 are built and installed. .DFLT Platform dependent. d1185 1 a1185 1 Indicates whether Postfix is built. d1193 49 d1243 8 a1250 4 .Dq yes ; however, some platforms turn off .Sy MKPROFILE by default at times due to toolchain problems with profiled code. d1259 3 a1263 18 .It Sy MKRADEONFIRMWARE .YorN Indicates whether to install the .Pa /libdata/firmware/radeon directory, which is necessary for the radeon DRM driver. .DFLT Platform dependent. . .It Sy MKRELRO If .Dq partial , set the non-PLT GOT to read-only. If .Dq full , also force immediate symbol binding. .DFLT Platform dependent. . d1268 2 a1269 1 headers, libraries and programs are to be installed. d1272 8 d1285 1 a1285 1 .DFLTy d1291 1 d1296 1 a1296 1 (libraries and support programs) is built. d1299 14 d1318 17 a1334 1 .DFLTn d1341 1 d1344 12 d1369 1 a1369 1 the affect is equivalent to the d1375 1 a1375 1 strip only temporary local symbols; the affect is equivalent d1386 29 d1441 1 a1441 1 Indicates whether X11 is built and installed d1451 3 a1455 8 .It Sy X11MOTIFPATH Location of the Motif installation to use if setting .Sy MKX11MOTIF to .Dq yes . .DFLT .Pa /usr/pkg . d1465 43 d1511 1 a1511 1 (libraries and support programs) is built. d1517 1 a1517 1 libraries used to manage the ZFS system are to be built. d1519 5 a1523 1 on amd64, d1525 35 a1559 1 on other architectures. d1563 1 a1563 1 .Pa obj. Ns Sy MACHINE , a1573 1 .DFLTu d1578 1 a1578 1 .Pa releasedir d1583 5 a1587 1 mode d1606 45 d1652 1 d1660 1 d1667 1 a1667 5 If .Sy MKHESIOD=no , .Sy USE_HESIOD will also be forced to .Dq no . d1674 1 a1674 5 If .Sy MKINET6=no , .Sy USE_INET6 will also be forced to .Dq no . d1693 1 a1693 5 If .Sy MKKERBEROS=no , .Sy USE_KERBEROS will also be forced to .Dq no . d1700 1 a1700 5 If .Sy MKLDAP=no , .Sy USE_LDAP will also be forced to .Dq no . d1703 23 d1731 1 a1731 5 If .Sy MKPAM=no , .Sy USE_PAM will also be forced to .Dq no . d1734 48 d1786 1 a1786 6 If .Sy MKSKEY=no , .Sy USE_SKEY will also be forced to .Dq no . .DFLTy d1788 1 d1791 1 d1799 25 d1825 7 d1837 1 a1837 5 If .Sy MKYP=no , .Sy USE_YP will also be forced to .Dq no . d1840 3 a1842 30 .It Sy USETOOLS Indicates whether the tools specified by .Sy TOOLDIR should be used as part of a build in progress. Must be set to .Dq yes if cross-compiling. .Bl -tag -width "never" .It Sy yes Use the tools from .Sy TOOLDIR . .It Sy no Do not use the tools from .Sy TOOLDIR , but refuse to build native compilation tool components that are version-specific for that tool. .It Sy never Do not use the tools from .Sy TOOLDIR , even when building native tool components. This is similar to the traditional .Nx build method, but does .Em not verify that the compilation tools in use are up-to-date enough in order to build the tree successfully. This may cause build or runtime problems when building the whole .Nx source tree. .El d1844 1 a1844 9 .Dq yes if building all or part of a whole .Nx source tree (detected automatically); .Dq no otherwise (to preserve traditional semantics of the .Aq bsd.*.mk .Xr make 1 include files). d1869 18 d1888 43 @ 1.97.2.1 log @Pull up following revision(s) (requested by mrg in ticket #430): doc/CHANGES: revision 1.2984 share/mk/bsd.own.mk: revision 1.1345 share/man/man5/mk.conf.5: revision 1.108 bsd.own.mk: force MKSTRIPSYM=no if MKDEBUG=yes Local symbols are desirable with MKDEBUG=yes, so don't strip them. Per request from mrg@@ @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.97 2022/07/09 08:27:35 nia Exp $ d30 1 a30 1 .Dd October 20, 2023 a376 6 .Pp If .Dq yes , acts as .Sy MKSTRIPSYM=no . . a863 1 .NOVAR MKDEBUG=yes @ 1.96 log @build system: Revert all the recent additions of MK[...] knobs that allow conditionally disabling the building of certain user space programs in the 'base' set. There is not enough consensus that this is the right way and a few people had strong objections, see source-changes-d@@. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.85 2021/12/20 20:33:20 christos Exp $ d30 1 a30 1 .Dd December 20, 2021 d1076 1 a1076 1 .DFLTn @ 1.95 log @mk: Add MKTIMED and MKMOUSED flags for compiling NetBSD without timed and moused @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.94 2022/05/29 08:15:47 nia Exp $ d30 1 a30 1 .Dd May 29, 2022 a406 7 .It Sy MKDHCPD .YorN Indicates whether .Xr dhcpd 8 will be built and installed. .DFLTy . a440 9 .It Sy MKFINGER .YorN Indicates whether .Xr finger 1 and .Xr fingerd 8 are to be built and installed. .DFLTy . a568 11 .It Sy MKLFS .YorN Indicates whether the log-structured file system (LFS) programs are built and installed, i.e. .Xr newfs_lfs 8 , .Xr mount_lfs 8 , .Xr dumplfs 8 , etc. .DFLTy . . a635 21 .It Sy MKMOUSED .YorN Indicates whether .Xr moused 8 , the serial mouse support daemon is built and installed. .DFLTy . .It Sy MKMROUITNG .YorN Indicates whether multicast routing applications will be built and installed, i.e. .Xr map-mbone 8 , .Xr mrinfo 8 , .Xr mrouted 8 , and .Xr mtrace 8 . These require the .Dv MROUTING kernel option to be enabled. .DFLTy . a654 9 .It Sy MKNTP .YorN Indicates whether .Xr ntpd 8 and .Xr ntpdate 8 are to be built and installed. .DFLTy . a758 14 .It Sy MKPPP .YorN Indicates whether the Point-to-Point Protocol daemon .Xr pppd 8 , as well as related utilities .Xr chat 8 , .Xr pppdump 8 , and .Xr pppstats 8 will be built and installed. This option has no effect on PPPoE (Point-to-Point over Ethernet) support, but rather only affects serial links. .DFLTy . a865 25 .It Sy MKTALK .YorN Indicates whether .Xr talk 1 and .Xr ntalkd 8 are to be built and installed. .DFLTy . .It Sy MKTCPDUMP .YorN Indicates whether .Xr tcpdump 8 is to be built and installed. .DFLTy . .It Sy MKTIMED .YorN Indicates whether .Xr timed 8 , the Time Synchronization Protocol daemon, not to be confused with .Xr ntpd 8 , is to be built and installed. .DFLTy . @ 1.94 log @Document MKPPP @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.93 2022/05/28 14:31:12 nia Exp $ d663 7 d953 9 @ 1.93 log @mk: Add MKFINGER, MKTALK flags for not building talk, talkd, finger, fingerd. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.92 2022/05/28 11:17:35 nia Exp $ d30 1 a30 1 .Dd May 27, 2022 d809 14 @ 1.92 log @mk: Add MKNTP, MKTCPDUMP knobs. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.91 2022/05/27 09:25:08 nia Exp $ d448 9 d916 9 @ 1.91 log @Document MKLFS @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.90 2022/05/26 14:24:42 uwe Exp $ d30 1 a30 1 .Dd May 26, 2022 d687 9 d907 7 @ 1.90 log @mk.conf(5): Don't make "experimental" comment stand out. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.89 2022/05/26 06:33:03 nia Exp $ d576 11 @ 1.89 log @Document some more build options. Delint. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.88 2022/05/25 21:25:47 nia Exp $ d185 1 a185 1 .It Sy KERNEL_DIR (EXPERIMENTAL) @ 1.88 log @mk: Rename the MKMBONE option to MKMROUTING for greater accuracy and to match the related kernel config option. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.87 2022/05/25 20:44:01 nia Exp $ d30 1 a30 1 .Dd May 23, 2022 d409 1 a409 1 Indicates whether d646 1 a646 1 installed, i.e. d663 8 d762 2 a763 1 .DFLTn d800 18 @ 1.87 log @mk: Allow setting MKDHCPD=no to build base without the ISC DHCP server, useful for embedded images that don't need to act as one. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.86 2022/05/25 10:18:29 nia Exp $ d637 7 a643 1 .It Sy MKMBONE d645 1 a645 1 Indicates whether Multicast Backbone applications will be built and d652 3 a654 6 .DFLTy . .It Sy MKMDNS .YorN Indicates whether the mDNS (Multicast DNS) infrastructure (libraries and support programs) is built and installed. @ 1.86 log @mk: Allow building base without the MBONE applications by setting MKMBONE=no in mk.conf @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.85 2021/12/20 20:33:20 christos Exp $ d407 7 @ 1.85 log @Rename: MKKDEBUG -> MKDEBUGKERNEL MKTOOLSDEBUG -> MKDEBUGTOOLS while keeping compatibility with the old names. Add missing documentation. Now all debugging tunables are prefixed with MKDEBUG. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.84 2021/01/14 23:32:12 pgoyette Exp $ d30 1 a30 1 .Dd December 20, 2021 d630 11 @ 1.84 log @Initial attempt at documenting the KERNEL_DIR option. XXX EXPERIMENTAL, Work-In-Progress ! XXX @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.83 2020/11/10 21:47:49 kamil Exp $ d30 1 a30 1 .Dd October 27, 2020 d379 12 d400 7 a527 11 .It Sy MKKDEBUG .YorN Indicates whether debugging symbols will be built for kernels by default; pretend as if .Em makeoptions DEBUG="-g" is specified in kernel configuration files. See .Xr options 4 for details. .DFLTn . @ 1.83 log @Reintroduce the support of MKCATPAGES Requested by @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.81 2020/10/27 06:33:38 rin Exp $ d185 31 @ 1.82 log @Remove the support for MKCATPAGES It was optional since 1999 and disabled by default since 2012. Proposed on tech-userlevel@@. @ text @d261 6 d582 1 a582 1 .Sy MKHTML=no . d748 1 a748 1 .Sy MKDOC=no MKINFO=no MKHTML=no MKMAN=no MKNLS=no . @ 1.81 log @Document MKKDEBUG. Thanks martin for letting me know. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.80 2020/07/15 17:46:06 leot Exp $ a260 6 .It Sy MKCATPAGES .YorN Indicates whether preformatted plaintext manual pages will be created and installed. .DFLTn . d576 1 a576 1 .Sy MKCATPAGES=no MKHTML=no . d742 1 a742 1 .Sy MKCATPAGES=no MKDOC=no MKINFO=no MKHTML=no MKMAN=no MKNLS=no . @ 1.80 log @MKBSDTAR is yes by default @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.79 2019/09/16 12:57:10 gson Exp $ d30 1 a30 1 .Dd July 15, 2020 d478 11 @ 1.79 log @MKZFS is no longer the default on i386; it was disabled in 2015 in bsd.own.mk 1.846. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.78 2019/02/20 17:48:31 wiz Exp $ d30 1 a30 1 .Dd September 16, 2019 d259 1 a259 1 .DFLTn @ 1.78 log @Remove superfluous Pp. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.77 2019/02/19 21:08:21 mrg Exp $ d30 1 a30 1 .Dd February 19, 2019 d855 1 a855 1 on i386 and amd64, @ 1.78.2.1 log @Pull up following revision(s) (requested by gson in ticket #219): share/man/man5/mk.conf.5: revision 1.79 MKZFS is no longer the default on i386; it was disabled in 2015 in bsd.own.mk 1.846. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.78 2019/02/20 17:48:31 wiz Exp $ d30 1 a30 1 .Dd September 16, 2019 d855 1 a855 1 on amd64, @ 1.77 log @add X11MOTIFPATH and note that MKX11MOTIF needs motif installed. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.76 2017/05/21 15:28:42 riastradh Exp $ a818 1 .Pp @ 1.76 log @Remove MKCRYPTO option. Originally, MKCRYPTO was introduced because the United States classified cryptography as a munition and restricted its export. The export controls were substantially relaxed fifteen years ago, and are essentially irrelevant for software with published source code. In the intervening time, nobody bothered to remove the option after its motivation -- the US export restriction -- was eliminated. I'm not aware of any other operating system that has a similar option; I expect it is mainly out of apathy for churn that we still have it. Today, cryptography is an essential part of modern computing -- you can't use the internet responsibly without cryptography. The position of the TNF board of directors is that TNF makes no representation that MKCRYPTO=no satisfies any country's cryptography regulations. My personal position is that the availability of cryptography is a basic human right; that any local laws restricting it to a privileged few are fundamentally immoral; and that it is wrong for developers to spend effort crippling cryptography to work around such laws. As proposed on tech-crypto, tech-security, and tech-userlevel to no objections: https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html P.S. Reviewing all the uses of MKCRYPTO in src revealed a lot of *bad* crypto that was conditional on it, e.g. DES in telnet... That should probably be removed too, but on the grounds that it is bad, not on the grounds that it is (nominally) crypto. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.75 2017/05/21 14:20:45 riastradh Exp $ d30 1 a30 1 .Dd April 20, 2017 d828 8 d841 2 @ 1.76.10.1 log @Sync with HEAD @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.78 2019/02/20 17:48:31 wiz Exp $ d30 1 a30 1 .Dd February 19, 2019 d819 1 a827 8 .It Sy X11MOTIFPATH Location of the Motif installation to use if setting .Sy MKX11MOTIF to .Dq yes . .DFLT .Pa /usr/pkg . a832 2 Requires that Motif can be found via .Sy X11MOTIFPATH . @ 1.76.10.2 log @Mostly merge changes from HEAD upto 20200411 @ text @d1 1 a1 1 .\" $NetBSD$ d30 1 a30 1 .Dd September 16, 2019 d855 1 a855 1 on amd64, @ 1.75 log @Remove MKCRYPTO_RC5. Unconditionally include RC5 in libcrypto.so. This option existed only because RC5 is covered by patents that, twenty years ago, we had reason to suspect the patent holder, RSA, Inc., might litigate. The two US patents in question are 5,724,428 and 5,835,600. According to the USPTO Patent Term Calculator web site at (retrieved 2017-05-21), patents filed after 1995-06-07 expire twenty years after the filing date. number filing date 5,724,428 1995-11-01 5,835,600 1997-04-21 Thus, these patents appear to be expired. As proposed on tech-crypto and tech-security: https://mail-index.netbsd.org/tech-crypto/2017/05/05/msg000718.html https://mail-index.netbsd.org/tech-security/2017/05/05/msg000927.html @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.74 2017/04/20 09:48:55 wiz Exp $ a334 14 .It Sy MKCRYPTO .YorN Indicates whether cryptographic code will be included in a build; provided for the benefit of countries that do not allow strong cryptography. Will not affect use of the standard low-security password encryption system, .Xr crypt 3 . .DFLTy .Pp If .Dq no , acts as .Sy MKKERBEROS=no . . @ 1.74 log @Use Fl, Xr. New sentence, new line. Bump date for previous. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.73 2017/04/20 09:29:10 ozaki-r Exp $ a348 6 .It Sy MKCRYPTO_RC5 .YorN Indicates whether RC5 support will be built into .Sy libcrypto_rc5.a . .DFLTn . @ 1.73 log @Introduce MKSTRIPSYM build option If it's yes, all local symbols of shared libraries are stripped (default). If it's no, only temporary local symbols are stripped; for example, symbols of static functions are kept. Keeping such symbols is useful on using DTrace for userland libraries and getting a backtrace from a rump server loading modules (shared libraries). Proposed and discussed on tech-kern and tech-toolchain @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.72 2017/02/16 17:15:26 rin Exp $ d30 1 a30 1 .Dd February 16, 2017 d792 5 a796 1 the affect is equivalent to -x option of ld(1). If d799 5 a803 1 to -X option of ld(1). Keeping non-temporary local symbols @ 1.72 log @The default values for MKPIC are yes and no for sh3 and m68000, respectively. Bump date. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.71 2015/07/23 08:03:26 mrg Exp $ d786 15 @ 1.71 log @remove the xfree86 reachover makefiles and the vast majority of the support in the rest of the source tree. X11 sets could use some cleaning up perhaps (just deletion, as we've never really marked the old X11R6 as obsolete for native xorg using platforms so far either.) @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.70 2015/04/08 05:47:00 wiz Exp $ d30 1 a30 1 .Dd April 7, 2015 a673 2 and .Sy sh3 @ 1.71.4.1 log @Sync with HEAD @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.74 2017/04/20 09:48:55 wiz Exp $ d30 1 a30 1 .Dd April 20, 2017 d674 2 a787 23 .It Sy MKSTRIPSYM .YorN Indicates whether all local symbols should be stripped from shared libraries. If .Dq yes , strip all local symbols from shared libraries; the affect is equivalent to the .Fl x option of .Xr ld 1 . If .Dq no , strip only temporary local symbols; the affect is equivalent to the .Fl X option of .Xr ld 1 . Keeping non-temporary local symbols such as static function names is useful on using DTrace for userland libraries and getting a backtrace from a rump kernel loading shared libraries. .DFLTy . @ 1.71.2.1 log @Sync with HEAD @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.72 2017/02/16 17:15:26 rin Exp $ d30 1 a30 1 .Dd February 16, 2017 d674 2 @ 1.71.2.2 log @Sync with HEAD @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.74 2017/04/20 09:48:55 wiz Exp $ d30 1 a30 1 .Dd April 20, 2017 a785 23 .It Sy MKSTRIPSYM .YorN Indicates whether all local symbols should be stripped from shared libraries. If .Dq yes , strip all local symbols from shared libraries; the affect is equivalent to the .Fl x option of .Xr ld 1 . If .Dq no , strip only temporary local symbols; the affect is equivalent to the .Fl X option of .Xr ld 1 . Keeping non-temporary local symbols such as static function names is useful on using DTrace for userland libraries and getting a backtrace from a rump kernel loading shared libraries. .DFLTy . @ 1.70 log @Update some defaults, from Joachim Henke on netbsd-docs. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.69 2014/03/25 10:23:26 wiz Exp $ d816 1 a816 5 .Pa src/x11 or .Pa src/external/mit/xorg depending on the value of .Sy X11FLAVOUR ) . a1042 15 .It Sy X11FLAVOUR Picks which X11 distribution to cross-build with .Nx . Set to either .Dq Xorg or .Dq XFree86 . Only relevant if .Sy MKX11!=no . .DFLT .Dq XFree86 on acorn32, alpha, amiga, mac68k, pmax, and sun3 platforms, .Dq Xorg on everything else. . @ 1.69 log @Bump date for previous. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.68 2014/03/25 09:52:55 ozaki-r Exp $ d30 1 a30 1 .Dd March 25, 2014 d265 1 a265 1 .DFLTy d1056 3 a1058 2 .Pp .Em Default : a1059 2 on alpha, i386, macppc, shark and sparc64 platforms. .Dq XFree86 @ 1.68 log @Add MKCTF This variable separates CTF stuffs from MKDTRACE; we can build DTrace solely without building and using them. This allows us to use DTrace even if CTF stuffs have problems (actually they have now). This variable would be merged into MKDTRACE eventually, once CTF stuffs work correctly again. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.67 2013/06/02 11:02:40 mbalmer Exp $ d30 1 a30 1 .Dd June 2, 2013 @ 1.67 log @New variable MKX11MOTIF to enable building libGLw with Motif support. Defaults to 'no'. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.66 2013/02/15 21:03:17 wiz Exp $ d328 7 @ 1.66 log @Use Nx, fix typo. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.65 2013/02/15 19:49:48 jmmv Exp $ d30 1 a30 1 .Dd February 15, 2013 d824 7 @ 1.65 log @Add the MKKYUA knob. MKKYUA defaults to no and will remain as such until the import is complete and validated. This knob does not currently have any effects on the build as nothing relies on it yet. Upcoming imports and changes in this area will all be guarded by this flag. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.64 2012/09/30 06:00:26 jkoshy Exp $ d30 1 a30 1 .Dd Feburary 15, 2013 d225 3 a227 1 This also controls whether the NetBSD test suite is built and installed, d513 3 a515 2 Indicates whether Kyua (the testing infrastructure used by NetBSD) is built and installed. @ 1.64 log @Correct a typo. Reported by: tsutsui @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.63 2012/09/30 03:48:16 jkoshy Exp $ d30 1 a30 1 .Dd September 30, 2012 d225 2 d509 13 @ 1.63 log @Document build knobs MKBSDTAR, MKCLEANSRC, MKCLEANVERIFY, MKCOMPAT, MKDTRACE, MKLVM, MKNPF, MKPIGZGZIP, MKREPRO, MKRUMP, MKX11FONTS and MKZFS. Reviewed by: joerg @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.62 2012/09/19 23:06:22 abs Exp $ d312 1 a312 1 on amd64, mips and sparc64, @ 1.62 log @Fix inverted logic description for MKSTRIPIDENT. Noted by Snader_LB on freenode IRC @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.61 2012/07/14 17:12:27 wiz Exp $ d30 1 a30 1 .Dd September 19, 2012 d241 16 d263 53 d373 7 d551 7 d587 5 d682 10 d708 16 d799 7 d812 9 @ 1.61 log @Bump date for previous. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.60 2012/07/14 16:04:05 spz Exp $ d30 1 a30 1 .Dd July 14, 2012 d644 3 a646 3 Indicates whether program binaries and shared libraries should be built to include RCS IDs for use with .Xr ident 1 . @ 1.61.2.1 log @Resync to 2012-11-19 00:00:00 UTC @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.64 2012/09/30 06:00:26 jkoshy Exp $ d30 1 a30 1 .Dd September 30, 2012 a240 16 .It Sy MKBSDTAR .YorN If .Dq yes , .Sy libarchive Ns - Ns based implementations of .Xr cpio 1 and .Xr tar 1 are built and installed. If .Dq no , .Xr pax 1 based frontends are used. .DFLTn . a246 53 .It Sy MKCLEANSRC .YorN Indicates whether .Sq "make clean" and .Sq "make cleandir" will delete file names in .Sy CLEANFILES or .Sy CLEANDIRFILES from both the object directory, .Sy .OBJDIR , and the source directory, .Sy .SRCDIR . .Pp If .Dq yes , then these file names will be deleted relative to both .Sy .OBJDIR and .Sy .CURDIR . If .Dq no , then the deletion will be performed relative to .Sy .OBJDIR only. .DFLTy . .It Sy MKCLEANVERIFY .YorN Controls whether .Sq "make clean" and .Sq "make cleandir" will verify that files have been deleted. If .Dq yes , then file deletions will be verified using .Xr ls 1 . If .Dq no , then file deletions will not be verified. .DFLTy . .It Sy MKCOMPAT .YorN Indicates whether support for multiple ABIs is to be built and installed. .DFLTy on amd64, mips64 and sparc64, .Dq no on other architectures. . a303 7 .It Sy MKDTRACE .YorN Indicates whether the kernel modules, utilities and libraries for .Xr dtrace 1 support are to be built and installed. .DFLTn . a474 7 .It Sy MKLVM .YorN If not .Dq no , build and install the logical volume manager. .DFLTy . a503 5 .It Sy MKNPF .YorN Indicates whether the NPF packet filter is to be built and installed. .DFLTy . a593 10 .It Sy MKPIGZGZIP .YorN If .Dq no , the .Xr pigz 1 utility is not installed as .Xr gzip 1 . .DFLTn . a609 16 .It Sy MKREPRO .YorN Indicates whether builds are to be reproducible. If .Dq yes , two builds from the same source tree will produce the same build results. .DFLTn . .It Sy MKRUMP .YorN Indicates whether the .Xr rump 3 headers, libraries and programs are to be installed. .DFLTy . d644 3 a646 3 Indicates whether RCS IDs, for use with .Xr ident 1 , should be stripped from program binaries and shared libraries. a684 7 .It Sy MKX11FONTS .YorN If .Dq no , do not build and install the X fonts. .DFLTy . a690 9 .It Sy MKZFS .YorN Indicates whether the ZFS kernel module and the utilities and libraries used to manage the ZFS system are to be built. .DFLTy on i386 and amd64, .Dq no on other architectures. . @ 1.61.2.2 log @resync with head @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.61.2.1 2012/11/20 03:00:51 tls Exp $ d30 1 a30 1 .Dd February 15, 2013 a224 4 This also controls whether the .Nx test suite is built and installed, as the tests rely on ATF and cannot be built without it. a506 14 .It Sy MKKYUA .YorN Indicates whether Kyua (the testing infrastructure used by .Nx ) is built and installed. Note that .Em this does not control the installation of the tests themselves . The tests rely on the ATF libraries and therefore their build is controlled by the .Sy MKATF knob. .DFLTn until the import of Kyua is done and validated. . @ 1.61.2.3 log @resync from head @ text @d1 1 a1 1 .\" $NetBSD$ d30 1 a30 1 .Dd June 2, 2013 a823 7 .It Sy MKX11MOTIF .YorN If .Dq yes , build the native Xorg libGLw with Motif stubs. .DFLTn . @ 1.61.2.4 log @Rebase to HEAD as of a few days ago. @ text @d30 1 a30 1 .Dd March 25, 2014 a327 7 .It Sy MKCTF .YorN Indicates whether CTF tools are to be built and installed. If yes, the tools will be used to generate and manipulate CTF data of ELF binaries during build. .DFLTn . @ 1.60 log @more MKCRYPTO_IDEA and MKCRYPTO_MDC2 removal (resp, adjustment to IDEA and MBC2 now always being included) MKCRYPTO_RC5 now builds shared libs, add the missing files to sets @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.59 2012/03/11 23:42:06 njoly Exp $ d30 1 a30 1 .Dd November 6, 2011 @ 1.59 log @Use Lk macro instead of Pa when dealing with URLs, to produce links with HTML output. And while here update some dead URL links. First part of PR/29238. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.58 2011/11/06 22:34:47 tron Exp $ a268 12 .It Sy MKCRYPTO_IDEA .YorN Indicates whether IDEA support will be built into .Sy libcrypto_idea.a . .DFLTn . .It Sy MKCRYPTO_MDC2 .YorN Indicates whether MDC2 support will be built into .Sy libcrypto_mdc2.a . .DFLTn . @ 1.58 log @Stack-smash protection is not enabled by default, at least not for the complete source-tree. Pointed out by on "current-users" mailing list. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.57 2011/08/22 02:37:15 dholland Exp $ d918 1 a918 1 .Pa http://www.netbsd.org/Documentation/pkgsrc/ d939 1 a939 1 .Pa http://www.netbsd.org/Documentation/pkgsrc/ @ 1.58.4.1 log @sync with netbsd-6-0-RELEASE. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.58.2.1 2012/09/17 19:00:26 riz Exp $ d269 12 @ 1.58.2.1 log @Pull up following revision(s) (requested by spz in ticket #557): distrib/sets/lists/base/ad.mips64eb 1.94-1.95 via patch distrib/sets/lists/base/ad.mips64el 1.93-1.94 via patch distrib/sets/lists/base/md.amd64 1.169-1.170 via patch distrib/sets/lists/base/md.sparc64 1.159-1.160 via patch distrib/sets/lists/base/shl.mi 1.629,1.630,1.632 via patch distrib/sets/lists/comp/ad.mips64eb 1.81-1.82 via patch distrib/sets/lists/comp/ad.mips64el 1.821.83 via patch distrib/sets/lists/comp/md.amd64 1.168-1.169 via patch distrib/sets/lists/comp/md.sparc64 1.150-1.151 via patch distrib/sets/lists/comp/mi 1.1769 via patch distrib/sets/lists/comp/shl.mi 1.226-1.227 via patch distrib/sets/lists/tests/mi 1.477 via patch distrib/sets/sets.subr 1.137 via patch etc/Makefile 1.397 via patch share/man/man5/mk.conf.5 1.60 via patch share/mk/bsd.README 1.297 via patch share/mk/bsd.own.mk 1.700 via patch tests/crypto/libcrypto/Makefile patch tests/crypto/libcrypto/t_ciphers.sh 1.4 via patch tests/crypto/libcrypto/t_hashes.sh 1.2 via patch tests/crypto/libcrypto/idea/Makefile patch tests/crypto/libcrypto/mdc2/Makefile patch usr.sbin/racoon/Makefile 1.25 via patch Clean up MKCRYPTO_IDEA and MKCRYPTO_MDC2 removal, so that a tree with MKCRYPTO_RC5=yes actually builds. [spz, ticket #557] The "iso" directory never made it into this file, but now that "iso" is "images", document it here for the edification of folks browsing the download directories. add crypto shared libraries mark idea and mdc2 libraries obsolete. remove mdc2 and idea handling MKCRYPTO_{IDEA,MDC2} is no more MKCRYPTO_IDEA is no more no more CRYPTO_{IDEA,MDC2} more MKCRYPTO_IDEA and MKCRYPTO_MDC2 removal (resp, adjustment to IDEA and MBC2 now always being included) MKCRYPTO_RC5 now builds shared libs, add the missing files to sets @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.58 2011/11/06 22:34:47 tron Exp $ d269 12 @ 1.57 log @Until someone figures out a fix for PR 40599, document that MKKERBEROS=no will break the system without either MKPAM=no or a customized PAM config. As suggested by Ian D. Leroux on current-users and in PR 45263, but with different text. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.56 2011/08/06 08:49:04 wiz Exp $ d30 1 a30 1 .Dd August 22, 2011 d843 2 a844 3 .DFLTy on i386 and amd64, otherwise .Dq no . @ 1.57.2.1 log @sync with head @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.57 2011/08/22 02:37:15 dholland Exp $ d30 1 a30 1 .Dd November 6, 2011 d843 3 a845 2 .DFLTn . @ 1.57.2.2 log @sync with head @ text @d1 1 a1 1 .\" $NetBSD$ d918 1 a918 1 .Lk http://www.netbsd.org/Documentation/pkgsrc/ d939 1 a939 1 .Lk http://www.netbsd.org/Documentation/pkgsrc/ @ 1.57.2.3 log @sync with head @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.57.2.2 2012/04/17 00:05:47 yamt Exp $ d30 1 a30 1 .Dd September 30, 2012 a240 16 .It Sy MKBSDTAR .YorN If .Dq yes , .Sy libarchive Ns - Ns based implementations of .Xr cpio 1 and .Xr tar 1 are built and installed. If .Dq no , .Xr pax 1 based frontends are used. .DFLTn . a246 53 .It Sy MKCLEANSRC .YorN Indicates whether .Sq "make clean" and .Sq "make cleandir" will delete file names in .Sy CLEANFILES or .Sy CLEANDIRFILES from both the object directory, .Sy .OBJDIR , and the source directory, .Sy .SRCDIR . .Pp If .Dq yes , then these file names will be deleted relative to both .Sy .OBJDIR and .Sy .CURDIR . If .Dq no , then the deletion will be performed relative to .Sy .OBJDIR only. .DFLTy . .It Sy MKCLEANVERIFY .YorN Controls whether .Sq "make clean" and .Sq "make cleandir" will verify that files have been deleted. If .Dq yes , then file deletions will be verified using .Xr ls 1 . If .Dq no , then file deletions will not be verified. .DFLTy . .It Sy MKCOMPAT .YorN Indicates whether support for multiple ABIs is to be built and installed. .DFLTy on amd64, mips64 and sparc64, .Dq no on other architectures. . d269 12 a315 7 .It Sy MKDTRACE .YorN Indicates whether the kernel modules, utilities and libraries for .Xr dtrace 1 support are to be built and installed. .DFLTn . a486 7 .It Sy MKLVM .YorN If not .Dq no , build and install the logical volume manager. .DFLTy . a515 5 .It Sy MKNPF .YorN Indicates whether the NPF packet filter is to be built and installed. .DFLTy . a605 10 .It Sy MKPIGZGZIP .YorN If .Dq no , the .Xr pigz 1 utility is not installed as .Xr gzip 1 . .DFLTn . a621 16 .It Sy MKREPRO .YorN Indicates whether builds are to be reproducible. If .Dq yes , two builds from the same source tree will produce the same build results. .DFLTn . .It Sy MKRUMP .YorN Indicates whether the .Xr rump 3 headers, libraries and programs are to be installed. .DFLTy . d656 3 a658 3 Indicates whether RCS IDs, for use with .Xr ident 1 , should be stripped from program binaries and shared libraries. a696 7 .It Sy MKX11FONTS .YorN If .Dq no , do not build and install the X fonts. .DFLTy . a702 9 .It Sy MKZFS .YorN Indicates whether the ZFS kernel module and the utilities and libraries used to manage the ZFS system are to be built. .DFLTy on i386 and amd64, .Dq no on other architectures. . @ 1.57.2.4 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.57.2.3 2012/10/30 18:59:41 yamt Exp $ d30 1 a30 1 .Dd March 25, 2014 a224 4 This also controls whether the .Nx test suite is built and installed, as the tests rely on ATF and cannot be built without it. a323 7 .It Sy MKCTF .YorN Indicates whether CTF tools are to be built and installed. If yes, the tools will be used to generate and manipulate CTF data of ELF binaries during build. .DFLTn . a506 14 .It Sy MKKYUA .YorN Indicates whether Kyua (the testing infrastructure used by .Nx ) is built and installed. Note that .Em this does not control the installation of the tests themselves . The tests rely on the ATF libraries and therefore their build is controlled by the .Sy MKATF knob. .DFLTn until the import of Kyua is done and validated. . a805 7 .It Sy MKX11MOTIF .YorN If .Dq yes , build the native Xorg libGLw with Motif stubs. .DFLTn . @ 1.56 log @Bump date for previous. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.55 2011/08/06 07:36:20 mbalmer Exp $ d30 1 a30 1 .Dd August 6, 2011 d427 9 @ 1.55 log @Document MKKMOD, patch from PR 45216. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.54 2011/06/02 08:58:34 jruoho Exp $ d30 1 a30 1 .Dd June 2, 2011 @ 1.54 log @Note USE_FORT. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.53 2011/05/20 16:02:23 plunky Exp $ d429 5 @ 1.53 log @simplify PCC inclusion; MKPCCDMDS is not really required @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.52 2011/02/21 18:12:26 njoly Exp $ d30 1 a30 1 .Dd September 8, 2009 d731 10 @ 1.53.2.1 log @Catchup with rmind-uvmplock merge. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.54 2011/06/02 08:58:34 jruoho Exp $ d30 1 a30 1 .Dd June 2, 2011 a730 10 .It Sy USE_FORT Indicates whether the so-called .Dq FORTIFY_SOURCE .Xr security 7 extensions are enabled; see .Xr ssp 3 for details. This imposes some performance penalty. .DFLTn . @ 1.52 log @Typo in macro. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.51 2010/03/02 07:26:47 jruoho Exp $ a540 13 .It Sy MKPCCCMDS .YorN Indicates whether .Xr pcc 1 is built. If .Dq no , then .Sy MKPCC controls if the PCC libraries are built. .DFLTn . @ 1.51 log @Catch up with the changes to SSP on x86. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.50 2009/09/29 23:56:34 tsarna Exp $ d334 1 a334 1 .DFTLy @ 1.51.2.1 log @Sync with HEAD @ text @d1 1 a1 1 .\" $NetBSD$ d334 1 a334 1 .DFLTy @ 1.50 log @Multicast DNS ("Bonjour") support, based on Apple's mDNSResponder. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.49 2009/09/08 07:54:49 wiz Exp $ d832 3 a834 2 .DFLTn . @ 1.49 log @Fix Dd string, remove trailing whitespace. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.48 2009/09/08 07:48:14 skrll Exp $ d490 6 @ 1.48 log @Bump date for previous. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.47 2009/09/08 07:08:03 skrll Exp $ d30 1 a30 1 .Dd September 08, 2009 d230 1 a230 1 That is, the libraries @ 1.47 log @Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}. Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook. Update the sets lists and add conditionals for lib{bfd,opcodes}. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.46 2008/11/15 11:27:49 mrg Exp $ d30 1 a30 1 .Dd November 12, 2008 @ 1.46 log @revert sparc back to default of XFree86 at the request of macallan. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.45 2008/11/13 20:40:11 apb Exp $ d227 1 a227 1 .It Sy MKBFD d229 2 a230 1 Indicates whether d233 1 a233 2 or any of the things that depend upon them (such as the binutils, a234 1 .Xr gdb 1 , d238 1 a238 2 .Xr mdsetimage 8 ) should be built. @ 1.45 log @Add support for new MAKEVERBOSE levels 3 and 4. The complete list is now: 0 Minimal output ("quiet") 1 Describe what is occurring 2 Describe what is occurring and echo the actual command 3 Ignore the effect of the "@@" prefix in make commands 4 Trace shell commands using the shell's -x flag The default remains MAKEVERBOSE=2. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.44 2008/11/12 13:17:27 pooka Exp $ d894 1 a894 1 on alpha, i386, macppc, shark, sparc and sparc64 platforms. @ 1.44 log @Now that MKPUFFS is default, kill it as advertised. While there, give puffs and refuse files sensible syspkg entries. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.43 2008/11/12 12:35:53 ad Exp $ d190 3 a192 1 No descriptive messages are shown. d194 4 a197 1 Descriptive messages are shown. d199 19 a217 3 Descriptive messages (prefixed with a .Sq # ) and command output is not suppressed. @ 1.43 log @Remove LKMs and switch to the module framework, pass 1. Proposed on tech-kern@@. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.42 2008/11/09 23:02:29 mrg Exp $ a595 6 .It Sy MKPUFFS .YorN Indicates whether Pass-to-Userspace Framework File System (PUFFS) (libraries and applications) is built and installed. .DFLTn . @ 1.42 log @- retire MKXORG from public use - introduce X11FLAVOUR to choose src/x11 vs src/external/mit/xorg for the X11 to build if MKX11=yes is set. it takes the values of either Xorg or XFree86. - default to Xorg on alpha, i386, macppc, shark, sparc and sparc64 - remove MKXORG_WITH_XSRC_XSERVER, unused and never useful @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.41 2008/09/10 11:16:41 joerg Exp $ d30 1 a30 1 .Dd September 10, 2008 d395 1 a395 1 programs, headers and LKM will be built and installed. a470 15 .It Sy MKMODULAR .YorN Indicates whether support for the new kernel modules framework should be built. This will install new versions of .Xr modload 8 , .Xr modstat 8 and .Xr modunload 8 that will not work with the ones used to manage LKMs. You will also need a kernel built with .Cd options MODULAR for this to be useful. .DFLTn . @ 1.41 log @Document MKSTRIPIDENT. Requested by lukem@@ @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.40 2008/08/31 23:10:40 lukem Exp $ d682 1 a682 1 Indicates whether X11R6 is built and installed d684 5 a688 11 .Pa src/x11 ) . .DFLTn .Pp This is mutually exclusive to .Sy MKXORG!=no . . .It Sy MKXORG .YorN Indicates whether X11R7 is built and installed (by descending into .Pa src/external/mit/xorg ) . a690 2 This is mutually exclusive to .Sy MKX11!=no . d882 16 @ 1.41.2.1 log @Pull up following revision(s) (requested by mrg in ticket #64): distrib/sets/Makefile: revision 1.64 external/mit/xorg/server/Makefile: revision 1.5 share/mk/bsd.README: revision 1.237 BUILDING: revision 1.79 share/mk/bsd.x11.mk: revision 1.71 share/mk/bsd.own.mk: revision 1.544 usr.bin/ssh/Makefile.inc: revision 1.18 distrib/sets/sets.subr: revision 1.72 share/man/man5/mk.conf.5: revision 1.42 doc/BUILDING.mdoc: revision 1.68 etc/Makefile: revision 1.360 Makefile: revision 1.263 - retire MKXORG from public use - introduce X11FLAVOUR to choose src/x11 vs src/external/mit/xorg for the X11 to build if MKX11=yes is set. it takes the values of either Xorg or XFree86. - default to Xorg on alpha, i386, macppc, shark, sparc and sparc64 - remove MKXORG_WITH_XSRC_XSERVER, unused and never useful @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.41 2008/09/10 11:16:41 joerg Exp $ d682 1 a682 1 Indicates whether X11 is built and installed d684 11 a694 5 .Pa src/x11 or .Pa src/external/mit/xorg depending on the value of .Sy X11FLAVOUR ) . d697 2 a889 16 .It Sy X11FLAVOUR Picks which X11 distribution to cross-build with .Nx . Set to either .Dq Xorg or .Dq XFree86 . Only relevant if .Sy MKX11!=no . .Pp .Em Default : .Dq Xorg on alpha, i386, macppc, shark, sparc and sparc64 platforms. .Dq XFree86 on everything else. . @ 1.41.2.2 log @Pull up following revision(s) (requested by mrg in ticket #64): share/man/man5/mk.conf.5: revision 1.46 share/mk/bsd.own.mk: revision 1.550 doc/BUILDING.mdoc: revision 1.70 BUILDING: revision 1.81 share/mk/bsd.README: revision 1.242 revert sparc back to default of XFree86 at the request of macallan. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.41.2.1 2008/11/15 22:05:12 snj Exp $ d894 1 a894 1 on alpha, i386, macppc, shark and sparc64 platforms. @ 1.41.2.3 log @Apply patch, requested by pooka in ticket 259: distrib/sets/sets.subr patch distrib/sets/lists/base/lkm.mi patch distrib/sets/lists/base/md.amd64 patch distrib/sets/lists/base/md.sparc64 patch distrib/sets/lists/base/mi patch distrib/sets/lists/base/shl.elf patch distrib/sets/lists/base/shl.mi patch distrib/sets/lists/comp/md.amd64 patch distrib/sets/lists/comp/md.sparc64 patch distrib/sets/lists/comp/mi patch distrib/sets/lists/comp/shl.mi patch distrib/sets/lists/man/mi patch lib/Makefile patch share/man/man5/mk.conf.5 patch share/mk/bsd.README patch share/mk/bsd.own.mk patch sys/lkm/vfs/Makefile patch usr.sbin/Makefile patch Now that MKPUFFS is default, kill it as advertised. While there, give puffs and refuse files sensible syspkg entries. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.41.2.2 2008/11/15 22:10:33 snj Exp $ d611 6 @ 1.40 log @remove MKNVI now that Christos has obsoleted the option @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.39 2008/08/31 02:09:43 lukem Exp $ d30 1 a30 1 .Dd August 31, 2008 d649 7 @ 1.39 log @Document: MAKEVERBOSE MKATF MKGCCCMDS MKINET6 MKISCSI MKLDAP MKNVI MKPCC MKPCCCMDS MKPIE MKPUFFS MKSTATICLIB MKX11 MKXORG USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP USE_PAM USE_SKEY USE_SSP USE_YP Part of PR 29233 We really need one place to document this stuff, or at least the canonical "installed" reference. Currently we have: src/share/mk/bsd.README src/doc/BUILDING.mdoc (for src/BUILDING) src/share/man/man5/mk.conf.5 (for mk.conf(5)) @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.38 2008/05/04 13:56:27 martin Exp $ a491 6 .It Sy MKNVI .YorN Indicates whether the experimental new version of nvi is built and installed. .DFLTy . @ 1.38 log @Move TNF license to 2 clause form @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.37 2008/03/22 12:29:02 jmmv Exp $ d30 1 a30 1 .Dd March 22, 2008 d185 21 d225 9 a233 1 during a build. d285 1 a285 1 will be built and installed during a build. d294 1 a294 1 will be installed during a build. d322 1 a322 1 .Pq Sy libg2c , libgcc , libobjc , libstdc+ d326 13 d349 1 a349 1 (libraries and support programs) is built. d371 1 a371 1 Indicates whether the html manual pages are built and installed. d380 5 d388 1 a388 2 most of the compilation tools, will be created and installed during a build. d395 7 a401 1 programs, headers and LKM will be compiled and installed during a build. d407 8 a414 1 (libraries and support programs) is built. d456 1 a456 1 Indicates whether manual pages will be installed during a build. d489 7 a495 1 compiled and installed during a build. d528 22 d554 1 a554 1 programs, headers and LKM will be compiled and installed during a build. d560 1 a560 1 installed during a build. d584 1 a584 1 used to generate shared libraries, are installed during a build. d596 5 d610 1 a610 1 will be built and installed during a build. d617 6 d627 1 a627 1 will be built and installed during a build. d648 7 d679 20 d747 101 @ 1.38.2.1 log @Sync with wrstuden-revivesa-base-2. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.38 2008/05/04 13:56:27 martin Exp $ d30 1 a30 1 .Dd August 31, 2008 a184 21 .It Sy MAKEVERBOSE Level of verbosity of status messages. Supported values: .Bl -tag -width xxx .It 0 No descriptive messages are shown. .It 1 Descriptive messages are shown. .It 2 Descriptive messages (prefixed with a .Sq # ) and command output is not suppressed. .El .DFLT 2 . .It Sy MKATF .YorN Indicates whether the Automated Testing Framework is built and installed. .DFLTy . d204 1 a204 9 and installed. .DFLTy . .It Sy MKCOMPLEX .YorN Indicates whether the .Lb libm is compiled with support for .In complex.h . d256 1 a256 1 will be built and installed. d265 1 a265 1 will be installed. d293 1 a293 1 .Pq Sy libg2c , libgcc , libobjc , libstdc++ a296 13 .It Sy MKGCCCMDS .YorN Indicates whether .Xr gcc 1 is built. If .Dq no , then .Sy MKGCC controls if the GCC libraries are built. .DFLTy . d307 1 a307 1 (libraries and support programs) is built and installed. d329 1 a329 1 Indicates whether the HTML manual pages are created and installed. a337 5 .It Sy MKINET6 Indicates whether INET6 (IPv6) infrastructure (libraries and support programs) is built and installed. .DFLTy . d341 2 a342 1 most of the compilation tools, will be built and installed. d349 1 a349 7 programs, headers and LKM will be built and installed. .DFLTy . .It Sy MKISCSI .YorN Indicates whether the iSCSI library and applications are built and installed. d355 1 a355 8 (libraries and support programs) is built and installed. .DFLTy . .It Sy MKLDAP .YorN Indicates whether the Lightweight Directory Access Protocol (LDAP) infrastructure (libraries and support programs) is built and installed. d397 1 a397 1 Indicates whether manual pages will be installed. d430 1 a430 1 built and installed. a462 22 .It Sy MKPCC .YorN Indicates whether .Xr pcc 1 or any related libraries .Pq Sy libpcc , libpccsoftfloat are built. .DFLTn . .It Sy MKPCCCMDS .YorN Indicates whether .Xr pcc 1 is built. If .Dq no , then .Sy MKPCC controls if the PCC libraries are built. .DFLTn . d467 1 a467 1 programs, headers and LKM will be built and installed. d473 1 a473 1 installed. d497 1 a497 1 used to generate shared libraries, are installed. a508 5 .It Sy MKPIE Indicates whether Position Independent Executables (PIE) are built and installed. .DFLTn . d518 1 a518 1 will be built and installed. a524 6 .It Sy MKPUFFS .YorN Indicates whether Pass-to-Userspace Framework File System (PUFFS) (libraries and applications) is built and installed. .DFLTn . d529 1 a529 1 will be built and installed. a549 7 .It Sy MKSTATICLIB .YorN Indicates whether the normal static libraries .Sy ( lib*_g.a ) will be built and installed. .DFLTy . a573 20 .It Sy MKX11 .YorN Indicates whether X11R6 is built and installed (by descending into .Pa src/x11 ) . .DFLTn .Pp This is mutually exclusive to .Sy MKXORG!=no . . .It Sy MKXORG .YorN Indicates whether X11R7 is built and installed (by descending into .Pa src/external/mit/xorg ) . .DFLTn .Pp This is mutually exclusive to .Sy MKX11!=no . . a621 101 .It Sy USE_HESIOD .YorN Indicates whether Hesiod support is enabled in the various applications that support it. If .Sy MKHESIOD=no , .Sy USE_HESIOD will also be forced to .Dq no . .DFLTy . .It Sy USE_INET6 .YorN Indicates whether INET6 (IPv6) support is enabled in the various applications that support it. If .Sy MKINET6=no , .Sy USE_INET6 will also be forced to .Dq no . .DFLTy . .It Sy USE_JEMALLOC .YorN Indicates whether the .Em jemalloc allocator .Pq which is designed for improved performance with threaded applications is used instead of the .Em phkmalloc allocator .Pq that was the default until Nx 5.0 . .DFLTy . .It Sy USE_KERBEROS .YorN Indicates whether Kerberos v5 support is enabled in the various applications that support it. If .Sy MKKERBEROS=no , .Sy USE_KERBEROS will also be forced to .Dq no . .DFLTy . .It Sy USE_LDAP .YorN Indicates whether LDAP support is enabled in the various applications that support it. If .Sy MKLDAP=no , .Sy USE_LDAP will also be forced to .Dq no . .DFLTy . .It Sy USE_PAM .YorN Indicates whether .Xr pam 8 support is enabled in the various applications that support it. If .Sy MKPAM=no , .Sy USE_PAM will also be forced to .Dq no . .DFLTy . .It Sy USE_SKEY .YorN Indicates whether S/key support is enabled in the various applications that support it. If .Sy MKSKEY=no , .Sy USE_SKEY will also be forced to .Dq no . .DFLTy .Pp This is mutually exclusive to .Sy USE_PAM!=no . . .It Sy USE_SSP .YorN Indicates whether GCC stack-smashing protection (SSP) support, which detects stack overflows and aborts the program, is enabled. This imposes some performance penalty. .DFLTn . .It Sy USE_YP .YorN Indicates whether YP (NIS) support is enabled in the various applications that support it. If .Sy MKYP=no , .Sy USE_YP will also be forced to .Dq no . .DFLTy . @ 1.38.2.2 log @Merge in changes between wrstuden-revivesa-base-2 and wrstuden-revivesa-base-3. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.38.2.1 2008/09/18 04:38:09 wrstuden Exp $ d30 1 a30 1 .Dd September 10, 2008 a648 7 .It Sy MKSTRIPIDENT .YorN Indicates whether program binaries and shared libraries should be built to include RCS IDs for use with .Xr ident 1 . .DFLTn . @ 1.37 log @Beleatedly document the MODULAR kernel option and mk.conf's MKMODULAR. Per hubertf@@'s request. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.36 2007/12/12 19:52:02 apb Exp $ a16 5 .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgement: .\" This product includes software developed by Luke Mewburn. .\" 4. The name of the author may not be used to endorse or promote products .\" derived from this software without specific prior written permission. d18 11 a28 10 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS .\" OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND .\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR .\" TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE .\" USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. @ 1.37.2.1 log @file mk.conf.5 was added on branch mjf-devfs2 on 2008-06-02 13:21:40 +0000 @ text @d1 698 @ 1.37.2.2 log @Sync with HEAD. @ text @a0 694 .\" $NetBSD: mk.conf.5,v 1.37.2.1 2008/06/02 13:21:40 mjf Exp $ .\" .\" Copyright (c) 1999-2003 The NetBSD Foundation, Inc. .\" All rights reserved. .\" .\" This code is derived from software contributed to The NetBSD Foundation .\" by Luke Mewburn. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" .Dd March 22, 2008 .Dt MK.CONF 5 .Os .\" turn off hyphenation .hym 999 . .Sh NAME .Nm mk.conf .Nd make configuration file . .Sh DESCRIPTION The .Nm file overrides various parameters used during the build of the system. .Pp Listed below are the .Nm variables that may be set, the values to which each may be set, a brief description of what each variable does, and a reference to relevant manual pages. . .Ss NetBSD System variables . .de YorN Can be set to .Dq yes or .Dq no . .. .de DFLT .Pp .Em Default : .. .de DFLTu .DFLT Unset. .. .de DFLTy .DFLT .Dq yes .. .de DFLTn .DFLT .Dq no .. .Bl -tag -width MKDYNAMICROOT . .It Sy NETBSDSRCDIR The path to the top level of the .Nx sources. If .Xr make 1 is run from within the .Nx source tree, the default is the top level of that tree (as determined by the presence of .Pa build.sh and .Pa tools/ ) , otherwise .Sy BSDSRCDIR will be used. . .It Sy BSDOBJDIR The real path to the .Sq obj tree for the .Nx source tree. .DFLT .Pa /usr/obj . .It Sy BSDSRCDIR The real path to the .Nx source tree. .DFLT .Pa /usr/src . .It Sy BUILD If defined, .Sq "make install" checks that the targets in the source directories are up-to-date and re-makes them if they are out of date, instead of blindly trying to install out of date or non-existent targets. .DFLTu . .It Sy BUILDID Identifier for the build. The identifier will be appended to object directory names, and can be consulted in the .Xr make 1 configuration file in order to set additional build parameters, such as compiler flags. .DFLTu . .It Sy COPTS Extra options for the C compiler. Should be appended to (e.g., .Sy COPTS+=-g ) , rather than explicitly set. Note that .Sy CPUFLAGS , not .Sy COPTS , should be used for compiler flags that select CPU-related options. Also note that .Sy CFLAGS should never be set in .Nm . . .It Sy CPUFLAGS Additional flags passed to the compiler/assembler to select CPU instruction set options, CPU tuning options, etc. Such options should not be specified in .Sy COPTS , because some parts of the build process need to override CPU-related compiler options. . .It Sy DESTDIR Directory to contain the built .Nx system. If set, special options are passed to the compilation tools to prevent their default use of the host system's .Sy /usr/include , /usr/lib , and so forth. This pathname should .Em not end with a slash .Pq / character (for installation into the system's root directory, set .Sy DESTDIR to an empty string). The directory must reside on a file system which supports long file names and hard links. .DFLT Empty string if .Sy USETOOLS is .Dq yes ; unset otherwise. .Pp .Em Note : .Sy build.sh will provide a default of .Pa destdir. Ns Sy MACHINE (in the top-level .Sy .OBJDIR ) unless run in .Sq expert mode . .It Sy MKBFD .YorN Indicates whether .Sy libbfd , .Sy libiberty , or any of the things that depend upon them (such as the binutils, .Xr as 1 , .Xr gdb 1 , .Xr ld 1 , .Xr dbsym 8 , or .Xr mdsetimage 8 ) should be built. .DFLTy . .It Sy MKCATPAGES .YorN Indicates whether preformatted plaintext manual pages will be created during a build. .DFLTy . .It Sy MKCRYPTO .YorN Indicates whether cryptographic code will be included in a build; provided for the benefit of countries that do not allow strong cryptography. Will not affect use of the standard low-security password encryption system, .Xr crypt 3 . .DFLTy .Pp If .Dq no , acts as .Sy MKKERBEROS=no . . .It Sy MKCRYPTO_IDEA .YorN Indicates whether IDEA support will be built into .Sy libcrypto_idea.a . .DFLTn . .It Sy MKCRYPTO_MDC2 .YorN Indicates whether MDC2 support will be built into .Sy libcrypto_mdc2.a . .DFLTn . .It Sy MKCRYPTO_RC5 .YorN Indicates whether RC5 support will be built into .Sy libcrypto_rc5.a . .DFLTn . .It Sy MKCVS .YorN Indicates whether .Xr cvs 1 is built. .DFLTy . .It Sy MKDEBUG .YorN Indicates whether separate debugging symbols should be installed into .Sy DESTDIR Ns Pa /usr/libdata/debug . .DFLTn . .It Sy MKDEBUGLIB .YorN Indicates whether debug libraries .Sy ( lib*_g.a ) will be built and installed during a build. Debug libraries are compiled with .Dq Li -g -DDEBUG . .DFLTn . .It Sy MKDOC .YorN Indicates whether system documentation destined for .Sy DESTDIR Ns Pa /usr/share/doc will be installed during a build. .DFLTy . .It Sy MKDYNAMICROOT .YorN Indicates whether all programs should be dynamically linked, and to install shared libraries required by .Pa /bin and .Pa /sbin and the shared linker .Xr ld.elf_so 1 into .Pa /lib . If .Sq no , link programs in .Pa /bin and .Pa /sbin statically. .DFTLy . .It Sy MKGCC .YorN Indicates whether .Xr gcc 1 or any related libraries .Pq Sy libg2c , libgcc , libobjc , libstdc+ are built. .DFLTy . .It Sy MKGDB .YorN Indicates whether .Xr gdb 1 is built. .DFLTy . .It Sy MKHESIOD .YorN Indicates whether the Hesiod infrastructure (libraries and support programs) is built. .DFLTy . .It Sy MKHOSTOBJ .YorN If set to .Dq yes , then for programs intended to be run on the compile host, the name, release, and architecture of the host operating system will be suffixed to the name of the object directory created by .Dq make obj . (This allows multiple host systems to compile .Nx for a single target.) If set to .Dq no , then programs built to be run on the compile host will use the same object directory names as programs built to be run on the target. .DFLTn . .It Sy MKHTML .YorN Indicates whether the html manual pages are built and installed. .DFLTy . .It Sy MKIEEEFP .YorN Indicates whether code for IEEE754/IEC60559 conformance is built. Has no effect on most platforms. .DFLTy . .It Sy MKINFO .YorN Indicates whether GNU Info files, used for the documentation for most of the compilation tools, will be created and installed during a build. .DFLTy . .It Sy MKIPFILTER .YorN Indicates whether the .Xr ipf 4 programs, headers and LKM will be compiled and installed during a build. .DFLTy . .It Sy MKKERBEROS .YorN Indicates whether the Kerberos v5 infrastructure (libraries and support programs) is built. .DFLTy . .It Sy MKLINKLIB .YorN Indicates whether all of the shared library infrastructure is built. If .Sq no , prevents: installation of the .Sy *.a libraries, installation of the .Sy *_pic.a libraries on PIC systems, building of .Sy *.a libraries on PIC systems, or installation of .Sy .so symlinks on ELF systems. .DFLTy .Pp If .Dq no , acts as .Sy MKPICINSTALL=no MKPROFILE=no . . .It Sy MKLINT .YorN Indicates whether .Xr lint 1 will be run against portions of the .Nx source code during the build, and whether lint libraries will be installed into .Sy DESTDIR Ns Pa /usr/libdata/lint . .DFLTy . .It Sy MKMAN .YorN Indicates whether manual pages will be installed during a build. .DFLTy .Pp If .Dq no , acts as .Sy MKCATPAGES=no MKHTML=no . . .It Sy MKMANZ .YorN Indicates whether manual pages should be compressed with .Xr gzip 1 at installation time. .DFLTn . .It Sy MKMODULAR .YorN Indicates whether support for the new kernel modules framework should be built. This will install new versions of .Xr modload 8 , .Xr modstat 8 and .Xr modunload 8 that will not work with the ones used to manage LKMs. You will also need a kernel built with .Cd options MODULAR for this to be useful. .DFLTn . .It Sy MKNLS .YorN Indicates whether Native Language System (NLS) locale zone files will be compiled and installed during a build. .DFLTy . .It Sy MKOBJ .YorN Indicates whether object directories will be created when running .Dq make obj . If set to .Dq no , then all built files will be located inside the regular source tree. .DFLTy .Pp If .Dq no , acts as .Sy MKOBJDIRS=no . . .It Sy MKOBJDIRS .YorN Indicates whether object directories will be created automatically (via a .Dq make obj pass) at the start of a build. .DFLTn . .It Sy MKPAM .YorN Indicates whether the .Xr pam 8 framework (libraries and support files) is built. The pre-PAM code is not supported and may be removed in the future. .DFLTy . .It Sy MKPF .YorN Indicates whether the .Xr pf 4 programs, headers and LKM will be compiled and installed during a build. .DFLTy . .It Sy MKPIC .YorN Indicates whether shared objects and libraries will be created and installed during a build. If set to .Dq no , the entire built system will be statically linked. .DFLT Platform dependent. As of this writing, all platforms except .Sy m68000 and .Sy sh3 default to .Dq yes . .Pp If .Dq no , acts as .Sy MKPICLIB=no . . .It Sy MKPICINSTALL .YorN Indicates whether the .Xr ar 1 format libraries .Sy ( lib*_pic.a ) , used to generate shared libraries, are installed during a build. .DFLTy . .It Sy MKPICLIB .YorN Indicates whether the .Xr ar 1 format libraries .Sy ( lib*_pic.a ) , used to generate shared libraries. .DFLTy . .It Sy MKPOSTFIX .YorN Indicates whether Postfix is built. .DFLTy . .It Sy MKPROFILE .YorN Indicates whether profiled libraries .Sy ( lib*_p.a ) will be built and installed during a build. .DFLT .Dq yes ; however, some platforms turn off .Sy MKPROFILE by default at times due to toolchain problems with profiled code. . .It Sy MKSHARE .YorN Indicates whether files destined to reside in .Sy DESTDIR Ns Pa /usr/share will be built and installed during a build. .DFLTy .Pp If .Dq no , acts as .Sy MKCATPAGES=no MKDOC=no MKINFO=no MKHTML=no MKMAN=no MKNLS=no . . .It Sy MKSKEY .YorN Indicates whether the S/key infrastructure (libraries and support programs) is built. .DFLTy . .It Sy MKSOFTFLOAT .YorN Indicates whether the compiler generates output containing library calls for floating point and possibly soft-float library support. .DFLTn . .It Sy MKUNPRIVED .YorN Indicates whether an unprivileged install will occur. The user, group, permissions, and file flags, will not be set on the installed item; instead the information will be appended to a file called .Pa METALOG in .Sy DESTDIR . The contents of .Pa METALOG is used during the generation of the distribution tar files to ensure that the appropriate file ownership is stored. .DFLTn . .It Sy MKUPDATE .YorN Indicates whether all install operations intended to write to .Sy DESTDIR will compare file timestamps before installing, and skip the install phase if the destination files are up-to-date. This also has implications on full builds (see next subsection). .DFLTn . .It Sy MKYP .YorN Indicates whether the YP (NIS) infrastructure (libraries and support programs) is built. .DFLTy . .It Sy OBJMACHINE If defined, creates objdirs of the form .Pa obj. Ns Sy MACHINE , where .Sy MACHINE is the current architecture (as per .Sq "uname -m" ) . . .It Sy RELEASEDIR If set, specifies the directory to which a .Xr release 7 layout will be written at the end of a .Dq make release . .DFLTu .Pp .Em Note : .Sy build.sh will provide a default of .Pa releasedir (in the top-level .Sy .OBJDIR ) unless run in .Sq expert mode . .It Sy TOOLDIR Directory to hold the host tools, once built. This directory should be unique to a given host system and .Nx source tree. (However, multiple targets may share the same .Sy TOOLDIR ; the target-dependent files have unique names.) If unset, a default based on the .Xr uname 1 information of the host platform will be created in the .Sy .OBJDIR of .Pa src . .DFLTu . .It Sy USETOOLS Indicates whether the tools specified by .Sy TOOLDIR should be used as part of a build in progress. Must be set to .Dq yes if cross-compiling. .Bl -tag -width "never" .It Sy yes Use the tools from .Sy TOOLDIR . .It Sy no Do not use the tools from .Sy TOOLDIR , but refuse to build native compilation tool components that are version-specific for that tool. .It Sy never Do not use the tools from .Sy TOOLDIR , even when building native tool components. This is similar to the traditional .Nx build method, but does .Em not verify that the compilation tools in use are up-to-date enough in order to build the tree successfully. This may cause build or runtime problems when building the whole .Nx source tree. .El .DFLT .Dq yes if building all or part of a whole .Nx source tree (detected automatically); .Dq no otherwise (to preserve traditional semantics of the .Aq bsd.*.mk .Xr make 1 include files). . .El . .Ss pkgsrc system variables . Please see the pkgsrc guide at .Pa http://www.netbsd.org/Documentation/pkgsrc/ or .Pa pkgsrc/doc/pkgsrc.txt for more variables used internally by the package system and .Pa ${PKGSRCDIR}/mk/defaults/mk.conf for package-specific examples. . .Sh FILES .Bl -tag -width /etc/mk.conf . .It Pa /etc/mk.conf This file. . .It Pa ${PKGSRCDIR}/mk/defaults/mk.conf Examples for settings regarding the pkgsrc collection. .El . .Sh SEE ALSO .Xr make 1 , .Pa /usr/share/mk/bsd.README , .Pa pkgsrc/doc/pkgsrc.txt , .Pa http://www.netbsd.org/Documentation/pkgsrc/ .Sh HISTORY The .Nm file appeared in .Nx 1.2 . @ 1.37.2.3 log @Sync with HEAD. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.37.2.2 2008/10/05 20:11:22 mjf Exp $ d30 1 a30 1 .Dd September 10, 2008 a184 21 .It Sy MAKEVERBOSE Level of verbosity of status messages. Supported values: .Bl -tag -width xxx .It 0 No descriptive messages are shown. .It 1 Descriptive messages are shown. .It 2 Descriptive messages (prefixed with a .Sq # ) and command output is not suppressed. .El .DFLT 2 . .It Sy MKATF .YorN Indicates whether the Automated Testing Framework is built and installed. .DFLTy . d204 1 a204 9 and installed. .DFLTy . .It Sy MKCOMPLEX .YorN Indicates whether the .Lb libm is compiled with support for .In complex.h . d256 1 a256 1 will be built and installed. d265 1 a265 1 will be installed. d293 1 a293 1 .Pq Sy libg2c , libgcc , libobjc , libstdc++ a296 13 .It Sy MKGCCCMDS .YorN Indicates whether .Xr gcc 1 is built. If .Dq no , then .Sy MKGCC controls if the GCC libraries are built. .DFLTy . d307 1 a307 1 (libraries and support programs) is built and installed. d329 1 a329 1 Indicates whether the HTML manual pages are created and installed. a337 5 .It Sy MKINET6 Indicates whether INET6 (IPv6) infrastructure (libraries and support programs) is built and installed. .DFLTy . d341 2 a342 1 most of the compilation tools, will be built and installed. d349 1 a349 7 programs, headers and LKM will be built and installed. .DFLTy . .It Sy MKISCSI .YorN Indicates whether the iSCSI library and applications are built and installed. d355 1 a355 8 (libraries and support programs) is built and installed. .DFLTy . .It Sy MKLDAP .YorN Indicates whether the Lightweight Directory Access Protocol (LDAP) infrastructure (libraries and support programs) is built and installed. d397 1 a397 1 Indicates whether manual pages will be installed. d430 1 a430 1 built and installed. a462 22 .It Sy MKPCC .YorN Indicates whether .Xr pcc 1 or any related libraries .Pq Sy libpcc , libpccsoftfloat are built. .DFLTn . .It Sy MKPCCCMDS .YorN Indicates whether .Xr pcc 1 is built. If .Dq no , then .Sy MKPCC controls if the PCC libraries are built. .DFLTn . d467 1 a467 1 programs, headers and LKM will be built and installed. d473 1 a473 1 installed. d497 1 a497 1 used to generate shared libraries, are installed. a508 5 .It Sy MKPIE Indicates whether Position Independent Executables (PIE) are built and installed. .DFLTn . d518 1 a518 1 will be built and installed. a524 6 .It Sy MKPUFFS .YorN Indicates whether Pass-to-Userspace Framework File System (PUFFS) (libraries and applications) is built and installed. .DFLTn . d529 1 a529 1 will be built and installed. a549 14 .It Sy MKSTATICLIB .YorN Indicates whether the normal static libraries .Sy ( lib*_g.a ) will be built and installed. .DFLTy . .It Sy MKSTRIPIDENT .YorN Indicates whether program binaries and shared libraries should be built to include RCS IDs for use with .Xr ident 1 . .DFLTn . a573 20 .It Sy MKX11 .YorN Indicates whether X11R6 is built and installed (by descending into .Pa src/x11 ) . .DFLTn .Pp This is mutually exclusive to .Sy MKXORG!=no . . .It Sy MKXORG .YorN Indicates whether X11R7 is built and installed (by descending into .Pa src/external/mit/xorg ) . .DFLTn .Pp This is mutually exclusive to .Sy MKX11!=no . . a621 101 .It Sy USE_HESIOD .YorN Indicates whether Hesiod support is enabled in the various applications that support it. If .Sy MKHESIOD=no , .Sy USE_HESIOD will also be forced to .Dq no . .DFLTy . .It Sy USE_INET6 .YorN Indicates whether INET6 (IPv6) support is enabled in the various applications that support it. If .Sy MKINET6=no , .Sy USE_INET6 will also be forced to .Dq no . .DFLTy . .It Sy USE_JEMALLOC .YorN Indicates whether the .Em jemalloc allocator .Pq which is designed for improved performance with threaded applications is used instead of the .Em phkmalloc allocator .Pq that was the default until Nx 5.0 . .DFLTy . .It Sy USE_KERBEROS .YorN Indicates whether Kerberos v5 support is enabled in the various applications that support it. If .Sy MKKERBEROS=no , .Sy USE_KERBEROS will also be forced to .Dq no . .DFLTy . .It Sy USE_LDAP .YorN Indicates whether LDAP support is enabled in the various applications that support it. If .Sy MKLDAP=no , .Sy USE_LDAP will also be forced to .Dq no . .DFLTy . .It Sy USE_PAM .YorN Indicates whether .Xr pam 8 support is enabled in the various applications that support it. If .Sy MKPAM=no , .Sy USE_PAM will also be forced to .Dq no . .DFLTy . .It Sy USE_SKEY .YorN Indicates whether S/key support is enabled in the various applications that support it. If .Sy MKSKEY=no , .Sy USE_SKEY will also be forced to .Dq no . .DFLTy .Pp This is mutually exclusive to .Sy USE_PAM!=no . . .It Sy USE_SSP .YorN Indicates whether GCC stack-smashing protection (SSP) support, which detects stack overflows and aborts the program, is enabled. This imposes some performance penalty. .DFLTn . .It Sy USE_YP .YorN Indicates whether YP (NIS) support is enabled in the various applications that support it. If .Sy MKYP=no , .Sy USE_YP will also be forced to .Dq no . .DFLTy . @ 1.37.4.1 log @sync with head. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.37 2008/03/22 12:29:02 jmmv Exp $ d17 5 d23 10 a32 11 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. @ 1.36 log @Document CPUFLAGS, and note that CFLAGS shold not be set in mk.conf. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.35 2007/10/18 22:39:02 minskim Exp $ d34 1 a34 1 .Dd December 12, 2007 d416 15 @ 1.35 log @Remove the MKUUCP entry as uucp is no longer in src. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.34 2007/03/02 11:38:24 wiz Exp $ d34 1 a34 1 .Dd October 18, 2007 d136 18 @ 1.34 log @Link to the pkgsrc guide for description of pkgsrc-specific variables. Bump date. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.33 2006/10/05 02:49:06 jnemeth Exp $ d34 1 a34 1 .Dd March 2, 2007 a544 7 .It Sy MKUUCP .YorN Indicates whether .Xr uucp 1 and related programs are built. .DFLTy . @ 1.34.4.1 log @sync with HEAD @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.35 2007/10/18 22:39:02 minskim Exp $ d34 1 a34 1 .Dd October 18, 2007 d545 7 @ 1.34.4.2 log @sync with HEAD @ text @d1 1 a1 1 .\" $NetBSD$ d34 1 a34 1 .Dd December 12, 2007 a135 18 Note that .Sy CPUFLAGS , not .Sy COPTS , should be used for compiler flags that select CPU-related options. Also note that .Sy CFLAGS should never be set in .Nm . . .It Sy CPUFLAGS Additional flags passed to the compiler/assembler to select CPU instruction set options, CPU tuning options, etc. Such options should not be specified in .Sy COPTS , because some parts of the build process need to override CPU-related compiler options. @ 1.33 log @PR/34712 -- Kibum Han -- remove mention of MKSENDMAIL as sendmail is no longer @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.32 2006/07/23 12:01:56 lukem Exp $ d34 1 a34 1 .Dd July 23, 2006 d645 4 a648 2 Please see .Xr packages 7 d665 3 a667 2 .Xr packages 7 , .Pa /usr/share/mk/bsd.README @ 1.33.4.1 log @Catch up to netbsd-4.0 release. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.33.2.1 2007/10/30 15:33:03 liamjfoy Exp $ d34 1 a34 1 .Dd October 18, 2007 d545 7 @ 1.33.2.1 log @Pull up following revision(s) (requested by minskim in ticket #961): share/man/man5/mk.conf.5: revision 1.35 Remove the MKUUCP entry as uucp is no longer in src. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.33 2006/10/05 02:49:06 jnemeth Exp $ d34 1 a34 1 .Dd October 18, 2007 d545 7 @ 1.32 log @document MKDEBUG & MKDEBUGLIB @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.31 2006/03/20 04:03:23 christos Exp $ a495 5 .It Sy MKSENDMAIL .YorN Indicates whether Sendmail is built. .DFLTy . @ 1.31 log @Goodbye KerberosIV @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.30 2005/12/22 02:52:40 hubertf Exp $ d34 1 a34 1 .Dd March 19, 2006 d232 15 @ 1.30 log @Back out previous attempt at cleaning up the mess, let someone else resolve this. Requested by uwe. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.27 2005/06/27 20:32:40 peter Exp $ d34 1 a34 1 .Dd April 21, 2005 a322 6 .It Sy MKKERBEROS4 .YorN Indicates whether the Kerberos v4 infrastructure (libraries and support programs) is built. .DFLTy . @ 1.29 log @Fix formatting botch. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.28 2005/12/21 04:25:54 hubertf Exp $ d34 1 a34 1 .Dd December 20, 2005 d79 1 a79 2 The basic rule for the variable naming scheme is as follows: .Bl -tag -width USE_XXX d81 5 a85 13 .It Sy MKxxx Can be set to .Dq no to disable functionality, or .Dq yes to enable it. Usually defaults to .Dq yes , although some variables default to .Dq no . .Pp Due to d87 11 a97 28 implementation issues, if a temporary command-line override of a .Pa mk.conf or \*[Lt]bsd.own.mk\*[Gt] setting is required whilst still honouring a particular Makefile's setting of MKxxx , use .Dl Ic env MKxxx=value make instead of .Dl Ic make MKxxx=value .Pp .It Sy NOxxx If defined, disables a feature. Not intended for users. This is to allow Makefiles to disable functionality that they don't support (such as missing man pages). NOxxx variables must be defined before \*[Lt]bsd.own.mk\*[Gt] is included. .Pp .El The following variables that control how things are made/installed that are not set by default. These should not be set by Makefiles; they're for the user to define in .Sy MAKECONF (see \*[Lt]bsd.own.mk\*[Gt], below) or on the .Xr make 1 command line: .Bl -tag -width CXXFLAGS.lib\*[Lt]lib\*[Gt] a170 13 .It Sy MAKEVERBOSE Control how "verbose" the standard make(1) rules are. Default: 2, supported values: .Bl -tag -width M .It Dv 0 Minimal output .Pq Dq quiet .It Dv 1 Describe what is occurring .It Dv 2 Describe what is occurring and echo the actual command .El .Pp d190 1 a190 1 and installed during a build. d205 1 a205 1 .Sy MKKERBEROS=no MKKERBEROS4=no . d257 1 a257 1 .DFLTy a267 6 .It Sy MKGCCCMDS .YorN Indicates whether .Xr gcc 1 is built. .DFLTy a308 6 .It Sy MKINET6 .YorN Indicates if the IPv6 infrastructure (libraries and support programs) is built. .DFLTy . d337 1 a337 1 Indicates whether all of the library infrastructure is built. a340 2 .Bl -dash .It a343 1 .It a345 1 .It d350 1 a350 1 .It d353 5 a357 5 symlinks on ELF systems .El i.e., only install the shared library (and the .so.major symlink on ELF). If .Sq no a359 2 .DFLTy .Pp d422 1 d439 8 a446 2 .DFLTy (for most platforms) d464 5 a468 14 If .Sq no , don't build .Sy *_pic.a libraries, and build the shared object libraries from the .Sy *.a libraries instead. A symlink is installed in .Pa ${DESTDIR}/usr/lib for the .Sy _pic.a library pointing to the .Sy .a library. d473 1 a473 3 Indicates whether .Xr postfix 1 is built. d489 1 a489 3 Indicates whether .Xr sendmail 8 is built. d494 1 a494 3 Indicates whether pages, documentation, Info documentation, man pages, NLS files, ... destined to reside in d502 1 a502 1 .Sy MKCATPAGES=no MKDOC=no MKHTML=no MKINFO=no MKMAN=no MKNLS=no . a516 7 .It Sy MKSTATICLIB .YorN Indicates if the normal static libraries .Sy ( *.a ) will be built and installed. .DFLTy . d534 5 a538 5 If .Sq yes , .Sq make install only installs targets that are more recently modified in the source directories that their installed counterparts a547 10 .It Sy MKX11 .YorN If set to Indicates if building the system also descends into .Pa src/x11 to cross build X11R6 and automatically enables creation of X sets. .DFLTn . a553 17 .It Sy NETBSDSRCDIR The path to the top level of the .Nx sources. If .Xr make 1 is run from within the .Nx source tree, the default is the top level of that tree (as determined by the presence of .Pa build.sh and .Pa tools/ ) , otherwise .Sy BSDSRCDIR will be used. . a636 128 .It Sy USE_HESIOD .YorN If .Dq no , disables building Hesiod support into various system utilities/libraries that support it. If .Sy ${MKHESIOD} is .Dq no , .Sy USE_HESIOD will also be forced to .Dq no . . .It Sy USE_INET6 .YorN If .Sq no , disables building INET6 (IPv6) support into various system utilities/libraries that support it. If .Sy ${MKINET6} is .Dq no , .Sy USE_INET6 will also be forced to .Dq no . . .It Sy USE_KERBEROS4 .YorN If .Sq no , disables building Kerberos v4 support into various system utilities/libraries that support it. If .Sy ${MKKERBEROS4} is .Dq no , .Sy USE_KERBEROS4 will also be forced to .Dq no . . .It Sy USE_KERBEROS .YorN If .Sq no , disables building Kerberos v4 and v5 support into various system utilities/libraries that support it. If .Sy ${MKKERBEROS} is .Dq no , .Sy USE_KERBEROS will also be forced to .Dq no . . .It Sy USE_PAM .YorN If .Sq no , disables building PAM authentication support into various system utilities/libraries that support it. If .Sy ${MKPAM} is .Dq no , .Sy USE_PAM will also be forced to .Dq no . . .It Sy USE_SKEY .YorN If .Sq no , disables building S/key authentication support into various system utilities/libraries that support it. If .Sy ${MKSKEY} is .Dq no , .Sy USE_SKEY will also be forced to .Dq no . . .It Sy USE_YP .YorN If .Sq no , disables building YP (NIS) support into various system utilities/libraries that support it. If .Sy ${MKYP} is .Dq no , .Sy USE_YP will also be forced to .Dq no . . .It Sy COPTS.lib\*[Lt]lib\*[Gt] .It Sy LDADD.lib\*[Lt]lib\*[Gt] .It Sy CPPFLAGS.lib\*[Lt]lib\*[Gt] .It Sy CXXFLAGS.lib\*[Lt]lib\*[Gt] .It Sy COPTS.\*[Lt]prog\*[Gt] .It Sy LDADD.\*[Lt]prog\*[Gt] .It Sy CPPFLAGS.\*[Lt]prog\*[Gt] .It Sy CXXFLAGS.\*[Lt]prog\*[Gt] These provide a way to specify additions to the associated variables in a way that applies only to a particular library or program. \*[Lt]lib\*[Gt] corresponds to the .Sy LIB variable set in the library's .Pa Makefile . \*[Lt]prog\*[Gt] corresponds to either .Sy PROG or .Sy PROG_CXX (if set). For example, if .Sy COPTS.libcrypto is set to .Dq -g , .Dq -g will be added to .Sy COPTS only when compiling the crypto library. . @ 1.28 log @At least try to be consistent about where to document (most...) user-settable MKxxx and USE_xxx variables, and put them into mk.conf(5). Sort alphabetically. OK: christos, lukem @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.27 2005/06/27 20:32:40 peter Exp $ d119 1 a119 1 .It Sy MAKECONF @ 1.27 log @Remove (pf)spamd. Its right to exist in NetBSD has been questioned since it appeared and whether it's really part of pf or not is still unclear. Looking at the other *BSDs it seems that they have left out spamd when importing pf, and now we do that too. Also, the name conflicted with another more popular used tool, after the rename to pfspamd it was left with completely unusable documentation which apparently no-one wanted to fix. A port of the latest spamd will be imported into pkgsrc soon. Suggested by several people, no objections on last proposal on tech-userlevel. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.26 2005/04/21 14:50:16 wiz Exp $ d34 1 a34 1 .Dd April 21, 2005 d79 2 a80 1 .Bl -tag -width MKDYNAMICROOT d82 39 a120 5 .It Sy NETBSDSRCDIR The path to the top level of the .Nx sources. If d122 2 a123 11 is run from within the .Nx source tree, the default is the top level of that tree (as determined by the presence of .Pa build.sh and .Pa tools/ ) , otherwise .Sy BSDSRCDIR will be used. . d197 13 d229 1 a229 1 during a build. d244 1 a244 1 .Sy MKKERBEROS=no . d296 1 a296 1 .DFTLy d307 6 d354 6 d388 1 a388 1 Indicates whether all of the shared library infrastructure is built. d392 2 d397 1 d400 1 d405 1 a405 1 or d408 7 a414 1 symlinks on ELF systems. a416 4 If .Dq no , acts as .Sy MKPICINSTALL=no MKPROFILE=no . a478 1 The pre-PAM code is not supported and may be removed in the future. d495 2 a496 8 .DFLT Platform dependent. As of this writing, all platforms except .Sy m68000 and .Sy sh3 default to .Dq yes . d514 14 a527 5 Indicates whether the .Xr ar 1 format libraries .Sy ( lib*_pic.a ) , used to generate shared libraries. d532 3 a534 1 Indicates whether Postfix is built. d550 3 a552 1 Indicates whether Sendmail is built. d557 3 a559 1 Indicates whether files destined to reside in d567 1 a567 1 .Sy MKCATPAGES=no MKDOC=no MKINFO=no MKHTML=no MKMAN=no MKNLS=no . d582 7 d606 5 a610 5 Indicates whether all install operations intended to write to .Sy DESTDIR will compare file timestamps before installing, and skip the install phase if the destination files are up-to-date. This also has implications on full builds (see next subsection). d620 10 d636 17 d736 128 @ 1.26 log @Fix persistent typo; slightly improve MKPAM description; bump date for MKPAM description. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.25 2005/04/20 22:10:51 hubertf Exp $ d429 1 a429 1 programs, headers, LKM and spamd will be compiled and installed during a build. @ 1.25 log @Document MKPAM, per PR 29947 by Rui Paulo. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.24 2005/03/13 09:37:06 wiz Exp $ d34 1 a34 1 .Dd March 12, 2005 d318 1 a318 1 Indicates wether the d419 1 a419 1 Indicates wether the d422 1 a422 1 The old code is not supported and may be removed in the future. d427 1 a427 1 Indicates wether the @ 1.24 log @NetBSD -> .Nx, some whitespace nits. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.23 2005/03/12 16:13:38 salo Exp $ d417 8 @ 1.24.2.1 log @Pull up revision 1.27 (requested by peter in ticket #518): Remove (pf)spamd. Its right to exist in NetBSD has been questioned since it appeared and whether it's really part of pf or not is still unclear. Looking at the other *BSDs it seems that they have left out spamd when importing pf, and now we do that too. Also, the name conflicted with another more popular used tool, after the rename to pfspamd it was left with completely unusable documentation which apparently no-one wanted to fix. A port of the latest spamd will be imported into pkgsrc soon. Suggested by several people, no objections on last proposal on tech-userlevel. @ text @d1 1 a1 1 .\" $NetBSD$ d421 1 a421 1 programs, headers and LKM will be compiled and installed during a build. @ 1.23 log @bsd.pkg.defaults.mk was moved to defaults/mk.conf a while ago. spotted by go@@ @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.22 2005/02/22 14:40:01 peter Exp $ d82 3 a84 1 The path to the top level of the NetBSD sources. d87 3 a89 1 is run from within the NetBSD source tree, the default is the top d101 3 a103 1 tree for the NetBSD source tree. d108 3 a110 1 The real path to the NetBSD source tree. d183 1 a183 1 .Xr mdsetimage 8) d210 1 a210 1 .Sy libcrypto_idea.a. d216 1 a216 1 .Sy libcrypto_mdc2.a. d222 1 a222 1 .Sy libcrypto_rc5.a. d289 3 a291 1 (This allows multiple host systems to compile NetBSD for a single target.) d318 1 a318 1 Indicates wether the @ 1.22 log @Add MKIPFILTER; if set to no, don't build and install the ipf(4) programs, headers and LKM. Add MKPF; if set to no, don't build and install the pf(4) programs, headers, LKM and spamd. Both options default to yes, so nothing changed in the default build. Reviewed by lukem. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.21 2004/11/05 12:40:06 wiz Exp $ d34 1 a34 1 .Dd February 21, 2005 d626 1 a626 1 .Pa ${PKGSRCDIR}/mk/bsd.pkg.defaults.mk d635 1 a635 1 .It Pa ${PKGSRCDIR}/mk/bsd.pkg.defaults.mk @ 1.21 log @Point to /usr/share/mk/bsd.README in SEE ALSO section; from Rui Paulo in PR 27997. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.20 2004/07/02 18:20:27 junyoung Exp $ d34 1 a34 1 .Dd November 5, 2004 d306 7 d407 7 @ 1.20 log @- Add missing .YorN - Fix typos in previous commit @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.19 2004/07/01 06:09:57 junyoung Exp $ d34 1 a34 1 .Dd July 1, 2004 d627 2 a628 2 .Xr packages 7 . @ 1.19 log @Add missing MKCVS, MKKERBEROS4, MKPOSTFIX, MKSENDMAIL, and MKUUCP. Note that some variables are still missing, since i'm not sure how to describe them... Bump date. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.18 2003/07/18 16:30:49 lukem Exp $ d200 1 d206 1 d212 1 d440 1 a440 1 .YonN d456 1 a456 1 .YonN d510 1 a510 1 .YonN @ 1.18 log @fix default location of TOOLDIR @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.17 2003/07/18 15:44:50 lukem Exp $ d34 1 a34 1 .Dd July 18, 2003 d214 7 d303 6 d311 1 a311 1 Indicates whether the Kerberos (v4 or v5) infrastructure d409 1 a409 1 .Sy sh3 d436 5 d452 5 d506 7 @ 1.18.2.1 log @Pull up revision 1.19 (requested by junyoung in ticket #627): Add missing MKCVS, MKKERBEROS4, MKPOSTFIX, MKSENDMAIL, and MKUUCP. Note that some variables are still missing, since i'm not sure how to describe them... Bump date. @ text @d1 1 a1 1 .\" $NetBSD$ d34 1 a34 1 .Dd July 1, 2004 a213 7 .It Sy MKCVS .YorN Indicates whether .Xr cvs 1 is built. .DFLTy . a295 6 .It Sy MKKERBEROS4 .YorN Indicates whether the Kerberos v4 infrastructure (libraries and support programs) is built. .DFLTy . d298 1 a298 1 Indicates whether the Kerberos v5 infrastructure d396 1 a396 1 .Sy sh3 a422 5 .It Sy MKPOSTFIX .YonN Indicates whether Postfix is built. .DFLTy . a433 5 .It Sy MKSENDMAIL .YonN Indicates whether Sendmail is built. .DFLTy . a482 7 .It Sy MKUUCP .YonN Indicates whether .Xr uucp 1 and related programs are built. .DFLTy . @ 1.18.2.2 log @Pull up revision 1.20 (requested by junyoung in ticket #627): - Add missing .YorN - Fix typos in previous commit @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.18.2.1 2004/07/10 13:11:37 tron Exp $ a199 1 .YorN a204 1 .YorN a209 1 .YorN d437 1 a437 1 .YorN d453 1 a453 1 .YorN d507 1 a507 1 .YorN @ 1.17 log @overhaul to match reality, adding a bunch of missing MK* and other variables. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.16 2003/03/31 16:45:42 perry Exp $ d528 1 a528 1 .Pa src/tools . @ 1.16 log @Pkgsrc->pkgsrc (Igor Sobrado, PR misc/19909) @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.15 2002/08/27 14:46:23 lukem Exp $ d3 1 a3 1 .\" Copyright (c) 1999-2002 The NetBSD Foundation, Inc. d34 1 a34 1 .Dd August 28, 2002 d39 1 d43 1 d54 1 d56 23 d80 1 d93 1 d98 3 a100 2 Default: .Pa /usr/obj . d103 3 a105 2 Default: .Pa /usr/src . d112 11 d128 51 a178 3 .It Sy MANZ Install manual pages compressed with .Xr gzip 1 . d180 14 d195 19 a213 2 .Sq no , don't build or install the formatted manual pages. d215 6 a220 3 If .Sq no , don't build or install the miscellaneous documentation. d222 10 d239 50 a288 9 Otherwise, link everything dynamically, and install shared libraries required by .Pa /bin and .Pa /sbin and the shared linker .Xr ld.elf_so 1 into .Pa /lib . d290 33 d324 4 a327 2 .Sq no , don't build or install the TeXinfo Info documentation. d329 10 a338 3 If .Sq no , don't build or install the lint libraries. d340 4 d345 11 a355 4 .Sq no , don't build or install the manual pages. Sets .Sy MKCATPAGES=no . d357 5 a361 3 If .Sq no , don't build or install the NLS (Native Language Support) files. d363 8 d372 12 a383 2 .Sq no , don't create objdirs. d385 15 d401 4 a404 2 .Sq no , don't build or install shared libraries. d406 17 a422 5 If .Sq no , don't install the .Sq *_pic.a libraries. d424 10 a433 5 If .Sq no , don't build or install the .Sq *_p.a profiling libraries. d435 6 d442 47 a488 7 .Sq no , set .Sy MKCATPAGES=no , .Sy MKDOC=no , .Sy MKINFO=no , .Sy MKMAN=no , .Sy MKNLS=no . d491 1 a491 1 .Pa obj.\*[Lt]arch\*[Gt] , d493 1 a493 1 .Sq \*[Lt]arch\*[Gt] d496 76 a571 11 .It Sy UPDATE If defined, .Sq "make install" only installs targets that are more recently modified in the source directories that their installed counterparts. .It Sy UNPRIVED If defined, .Sq "make install" will not attempt to set the ownership or permissions of the target file, and will instead attempt to log the information to .Pa ${DESTDIR}/METALOG . d573 1 d575 1 d581 1 d584 1 d587 1 d591 1 d595 1 @ 1.15 log @Implement MKDYNAMICROOT, which currently defaults to "no", but will be changed in the future to "yes". If MKDYNAMICROOT == "no", there is no change from existing behaviour of a static /bin and /sbin (and a few programs in elsewhere). If MKDYNAMICROOT == "yes", the following changes occur: in : SHLIBDIR?= /lib SHLINKDIR?= /lib in various Makefiles, the following entry is DISABLED. LDSTATIC?=-static This results in all programs (except those "standalone" programs built in sys/arch/*/stand) are linked dynamically, the shared linker is moved from /usr/libexec to /lib (with a compat symlink), and the shared libraries used by /bin and /sbin programs are moved from /usr/lib to /lib (with compat symlinks). @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.14 2002/06/17 20:22:48 skrll Exp $ d181 1 a181 1 .Ss Pkgsrc system variables @ 1.14 log @Refer to ${PKGSRCDIR} instead of /usr/pkgsrc in the same way packages(7) does. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.13 2002/05/03 08:58:46 lukem Exp $ d3 1 a3 1 .\" Copyright (c) 1999 The NetBSD Foundation, Inc. d34 1 a34 1 .Dd April 27, 2001 d53 1 a53 1 .Bl -tag -width NETBSDSRCDIR d98 17 @ 1.13 log @Move the METALOG from ${_SRC_TOP_OBJ_} to ${DESTDIR}. There were too many synchronisation problems with using the former; including situations such as a "make clean" performed between two installs to the same DESTDIR would result in a truncated METALOG and the resultant sets would be missing stuff such as include files that don't get reinstalled if they haven't changed, even with !UPDATE. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.12 2002/04/26 16:24:06 lukem Exp $ d168 1 a168 1 .Pa /usr/pkgsrc/mk/bsd.pkg.defaults.mk d174 1 a174 1 .It Pa /usr/pkgsrc/mk/bsd.pkg.defaults.mk @ 1.12 log @Document NETBSDSRCDIR & UNPRIVED. Reword BSDOBJDIR and BSDSRCDIR descriptions. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.11 2002/02/13 08:18:14 ross Exp $ d162 1 a162 3 .Pa METALOG in the objdir of .Sy NETBSDSRCDIR . @ 1.11 log @Generate <>& symbolically. I'm avoiding .../dist/... directories for now. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.10 2001/11/27 16:17:35 wiz Exp $ d34 1 a34 1 .Dd November 27, 2001 d53 13 a65 1 .Bl -tag -width OBJMACHINE d67 1 a67 1 The real path to the system d69 1 a69 3 tree, so that .Sq "make obj" will work correctly. d73 1 a73 3 The real path to the system sources, so that .Sq "make obj" will work correctly. d157 8 @ 1.10 log @Add a hyphen, and replace /usr/pkgsrc/mk/mk.conf.example with /usr/pkgsrc/mk/bsd.pkg.defaults.mk. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.9 2001/11/19 16:15:00 kleink Exp $ d139 1 a139 1 .Pa obj. , d141 1 a141 1 .Sq @ 1.9 log @Expand NLS acronym; from Jeremy C. Reed in PR misc/14577. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.8 2001/06/19 12:34:27 wiz Exp $ d34 1 a34 1 .Dd February 17, 1999 d72 1 a72 1 remakes them if they are out of date, instead of blindly trying to install d154 1 a154 1 .Pa /usr/pkgsrc/mk/mk.conf.example d160 1 a160 1 .It Pa /usr/pkgsrc/mk/mk.conf.example @ 1.8 log @Typo, whitespace and punctuation fixes. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.7 2000/03/28 01:21:36 enami Exp $ d107 1 a107 1 don't build or install the NLS files. @ 1.7 log @UVM is no longer a controll variable. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.6 1999/03/17 20:19:46 garbled Exp $ d5 1 a5 1 .\" d8 1 a8 1 .\" d22 1 a22 1 .\" a51 1 .Pp d73 1 a73 1 out of date or non-existant targets. d80 1 a80 1 Install manual pages compressed with a149 1 .Pp d151 1 a151 2 Please see @ 1.7.4.1 log @Pull up revision 1.10 (via patch, requested by itojun): Note change of mk.conf.example to bsd.pkg.defaults.mk. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.7 2000/03/28 01:21:36 enami Exp $ d34 1 a34 1 .Dd November 27, 2001 d73 1 a73 1 re-makes them if they are out of date, instead of blindly trying to install d157 1 a157 1 .Pa /usr/pkgsrc/mk/bsd.pkg.defaults.mk d163 1 a163 1 .It Pa /usr/pkgsrc/mk/bsd.pkg.defaults.mk @ 1.6 log @More and more .Os cleanups. .Os is defined in the tmac.doc-common file, so we shouldn't override it with versions in the manpages. Many more to come. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.5 1999/02/24 14:22:36 hubertf Exp $ a149 2 .It Sy UVM The system is using the new UVM virtual memory subsystem. @ 1.5 log @remove pkgsrc specific documentation (we stay at mk.conf.example) @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.4 1999/02/22 00:30:39 hubertf Exp $ d36 1 a36 1 .Os NetBSD @ 1.4 log @Remove "GPL" from list of licenses that need mentioning in ACEPTABLE_LICENSES @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.3 1999/02/21 14:23:29 hubertf Exp $ d156 1 a156 1 Please see also a160 261 .Bl -tag -width OBJMACHINE .It Sy ACCEPTABLE_LICENSES Whitespace-delimited list of the types of license which are acceptable for installation (apart from standard "free" licenses such as Berkeley/CMU and GPL). Possible values: .Bl -item -compact -offset indent .It no-profit .It shareware .It no-commercial-use .It fee-based-commercial-use .El Default: none .It Sy CROSSBASE Directory where .Dq cross category packages will be installed. Default: .Pa ${LOCALBASE}/cross . .It Sy FAILOVER_FETCH If defined, perform a checksum at .Sq make fetch time. If the checksum doesn't match the stored value, try to retrieve the file from the next site in the list. Default: not defined. .It Sy LOCALBASE Directory where non-X-based packages will be installed. Default: .Pa /usr/pkg . .It Sy PACKAGES Directories to store generated packages in. Default: .Pa /usr/pkgsrc/packages . .It Sy PASSIVE_FETCH If defined, use passive mode .Xr ftp 1 when fetching files. Default: defined in NetBSD-current, unset else. .It Sy USETBL If defined, run raw manual pages through .Xr tbl 1 before .Xr troff 1 when formatting manual pages. .It Sy WRKOBJDIR If defined, build in the specified directory instead of the pkgsrc tree. .It Sy X11BASE Directory where X11 is installed. Default: .Pa /usr/X11R6 . .El .Ss Variables only used inside the NetBSD packages collection .Bl -tag -width OBJMACHINE .It Sy AMANDA_USER Used by .Sq amanda to specify the login user and group responsible for backups. Default: .Sq backup . .It Sy BOOTSTRAP_EGCS If defined, enable the .Sq egcs-current package's bootstrap compile (two-stage) mode. Default: not defined. .It Sy DOMAIN_NAME Used by .Sq knews to set the domain name. Default: none. .It Sy DONT_USE_IDEA Used by .Sq ssh to stop IDEA encryption. Default: not defined. .It Sy EXTRA_DICT Used by .Sq ispell to specify an extra national dictionary. Default: not defined. .It Sy GIMP_SMALL_DATA Used by .Sq gimp to specify installation of the small data set only. .It Sy ISPELL_FR Used by .Sq ispell to specify a French/English dictionary. .It Sy LANG Used by .Sq ispell to specify a national dictionary. Possible values: .Sq british , not defined. Default: not defined. .It Sy LIBWRAP_FWD If defined, make .Sq libwrap also compare against forwards. Possible values: .Sq YES , not defined. Default: not defined. .It Sy M68060 Used by packages such as .Sq pgp2 and .Sq ssh which have fast 68020/030/040 assembler routines for multiprecision arithmetic, use the 32/64bit mul/div instruction. These instructions are software emulated on the 68060, thus very slow. Set this variable to .Sq YES when compiling for the 68060 CPU. Possible values: .Sq YES , not defined. Default: not defined. .It Sy MAKE_EBONES If defined, .Sq fetchmail and .Sq zephyr use the non-USA Kerberos-compatible subsystem. Default: not defined. .It Sy MAKE_KERBEROS4 If defined, .Sq fetchmail uses the Kerberos subsystem. Default: not defined. .It Sy MUTT_INTERNATIONAL If defined, .Sq mutt is installeduse the Kerberos subsystem. Possible values: .Sq YES , not defined. Default: not defined. .It Sy NMH_MTA Define which MTA that .Sq nmh uses. Possible values: .Sq sendmail , .Sq smtp . Default: .Sq smtp . .It Sy NOPORTDOCS If defined, prevent installation of any documentation. Default: not defined. .It Sy NOMANINSTALL If defined, don't install manual pages for .Sq expect . Default: not defined. .It Sy PAPERSIZE Default paper size for packages. Possible values: .Sq A4 , .Sq Letter , .Sq Letterdj . Default: none .It Sy PATCH_DEBUG If defined, enable debugging in .Sq exmh . Default: not defined .It Sy PGGROUP Used by .Sq postgresql as the group name of the database administrator. Possible values: any group Default: .Sq ingres . .It Sy PGUSER Used by .Sq postgresql as the user name of the database administrator. Possible values: any user Default: .Sq pgsql . .It Sy RCS_LOCALID Used by .Sq cvs-current as the value to expand .Xo .Sq $ Ns Local Ns $ .Xc to. Default: none .It Sy SSH_CONF_DIR Define the location of the .Sq ssh configuration directory. Default: .Pa /etc . .It Sy SSH_SUID Used by .Sq ssh to enable setuid installation. Possible values: .Sq YES , .Sq NO . Default: .Sq NO . .It Sy USE_MENUS If defined, build in support for menus in .Sq xvile . Defined: not defined. .It Sy USE_MULE If defined, build the MULE extensions in .Sq xemacs . Defined: not defined. .It Sy USE_RSAREF2 Use the RSA reference package. Possible values: .Sq YES (USA domestic only), .Sq NO . Default: not defined. .It Sy USE_SOCKS If defined, specify version of SOCKS firewall to support. Possible values: .Sq 4 , .Sq 5 , not defined. Default: not defined. .It Sy USE_XFACE If defined, build in support for .Sq xface into .Sq xemacs. Default: not defined. .It Sy WINDOWMAKER_OPTIONS Options for building windowmaker package. Used to add support for GNONE, KDE or OPEN LOOK(tm) and to avoid redundancies with KDE. Possible values: .Sq gnome , .Sq kde , .Sq openlook , .Sq lite . Default: `gnome kde' .It Sy WINDOWMAKER_THEMES Used by the .Sq wm-themes package to specify which themes to install. Possible values: refer to .Sq http://wm.themes.org . Default: .Sq FreeBSD-theme . .It Sy ZIP_ENCRYPTION If defined, add encryption code to .Sq zip , .Sq zip1 , and .Sq unzip . Default: not defined. .El d166 1 a166 3 Further documentation of the pkgsrc overrides. .It Pa /usr/pkgsrc/Packages.txt Documentation on the packages system. @ 1.3 log @Crossref packages(7), add GPL as another option to ACCEPTABLE_LICENSES, mention that PASSIVE_FETCH is the default in NetBSD-current, clarify that many of the variables are only used inside the NetBSD packages collection, document WINDOWMAKER_OPTIONS, move section no how to override the MASTER_SITES_* to packages(7). @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.2 1999/02/17 00:54:53 hubertf Exp $ a169 2 .It GPL @ 1.2 log @ - Mention pkgsrc/mk/mk.conf.examples earlier - USE_LOCALBASE_FOR_X11 is not ready for prime time, remove. @ text @d1 1 a1 1 .\" $NetBSD: mk.conf.5,v 1.1 1999/02/17 00:08:42 lukem Exp $ d157 2 d169 4 d205 1 a205 1 Default: not defined. d219 1 a219 1 .Ss Variables only used by the packages collection d399 9 d409 1 a409 1 Used by d411 1 a411 1 to specify which themes to install. a423 29 .Ss Variables to override default package repositories .Pp The following variables define a space separated list of mirror sites to be used instead of the defaults to retrieve packages from (usually if there's a closer or cheaper site). .Pp .Sq %SUBDIR% and .Sq ${DIST_SUBDIR} are replaced by a package specific strings. .Pp .Bl -tag -width OBJMACHINE .It Sy MASTER_SITE_BACKUP Backup sites for packages that are maintained in .Sq ftp.netbsd.org:/pub/NetBSD/packages/distfiles/${DIST_SUBDIR} . .It Sy MASTER_SITE_GNU GNU source mirror. .It Sy MASTER_SITE_LOCAL Local package source distributions that are maintained in .Sq ftp.netbsd.org:/pub/NetBSD/packages/distfiles/LOCAL_PORTS/ . .It Sy MASTER_SITE_PERL_CPAN Perl CPAN mirror. .It Sy MASTER_SITE_TEX_CTAN TeX CTAN mirror. .It Sy MASTER_SITE_SUNSITE sunsite.unc.edu mirror. .It Sy MASTER_SITE_XCONTRIB X Window System contributed source mirror. .El d430 2 d434 2 a435 1 .Xr make 1 @ 1.1 log @documentation for /etc/mk.conf @ text @d1 1 a1 1 .\" $NetBSD: nsswitch.conf.5,v 1.13 1999/02/08 04:03:04 lukem Exp $ d155 4 a199 7 .It Sy USE_LOCALBASE_FOR_X11 If defined, use the value of .Sy LOCALBASE , not .Sy X11BASE for installing X11-dependent pkgs (requires X11R6.1, or NetBSD's X sets). Default: not defined @