| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.332 2020/05/15 16:34:44 christos Exp $ | | 1 | # $NetBSD: Makefile,v 1.333 2020/10/29 20:26:24 uwe Exp $ |
2 | | | 2 | |
3 | # | | 3 | # |
4 | # This is the top-level makefile for building NetBSD. For an outline of | | 4 | # This is the top-level makefile for building NetBSD. For an outline of |
5 | # how to build a snapshot or release, as well as other release engineering | | 5 | # how to build a snapshot or release, as well as other release engineering |
6 | # information, see http://www.NetBSD.org/developers/releng/index.html | | 6 | # information, see http://www.NetBSD.org/developers/releng/index.html |
7 | # | | 7 | # |
8 | # Not everything you can set or do is documented in this makefile. In | | 8 | # Not everything you can set or do is documented in this makefile. In |
9 | # particular, you should review the files in /usr/share/mk (especially | | 9 | # particular, you should review the files in /usr/share/mk (especially |
10 | # bsd.README) for general information on building programs and writing | | 10 | # bsd.README) for general information on building programs and writing |
11 | # Makefiles within this structure, and see the comments in src/etc/Makefile | | 11 | # Makefiles within this structure, and see the comments in src/etc/Makefile |
12 | # for further information on installation and release set options. | | 12 | # for further information on installation and release set options. |
13 | # | | 13 | # |
14 | # Variables listed below can be set on the make command line (highest | | 14 | # Variables listed below can be set on the make command line (highest |
| @@ -130,27 +130,27 @@ _SRC_TOP_OBJ_= | | | @@ -130,27 +130,27 @@ _SRC_TOP_OBJ_= |
130 | @false | | 130 | @false |
131 | .endif | | 131 | .endif |
132 | .endfor | | 132 | .endfor |
133 | .endif | | 133 | .endif |
134 | | | 134 | |
135 | # | | 135 | # |
136 | # _SUBDIR is used to set SUBDIR, after removing directories that have | | 136 | # _SUBDIR is used to set SUBDIR, after removing directories that have |
137 | # BUILD_${dir}=no, or that have no ${dir}/Makefile. | | 137 | # BUILD_${dir}=no, or that have no ${dir}/Makefile. |
138 | # | | 138 | # |
139 | _SUBDIR= tools .WAIT lib | | 139 | _SUBDIR= tools .WAIT lib |
140 | .if ${MKLLVM} != "no" | | 140 | .if ${MKLLVM} != "no" |
141 | _SUBDIR+= external/bsd/compiler_rt | | 141 | _SUBDIR+= external/bsd/compiler_rt |
142 | .endif | | 142 | .endif |
143 | _SUBDIR+= include external crypto/external bin | | 143 | _SUBDIR+= include external crypto/external bin |
144 | _SUBDIR+= games libexec sbin usr.bin | | 144 | _SUBDIR+= games libexec sbin usr.bin |
145 | _SUBDIR+= usr.sbin share sys etc tests compat | | 145 | _SUBDIR+= usr.sbin share sys etc tests compat |
146 | _SUBDIR+= .WAIT rescue .WAIT distrib regress | | 146 | _SUBDIR+= .WAIT rescue .WAIT distrib regress |
147 | | | 147 | |
148 | .for dir in ${_SUBDIR} | | 148 | .for dir in ${_SUBDIR} |
149 | .if "${dir}" == ".WAIT" \ | | 149 | .if "${dir}" == ".WAIT" \ |
150 | || (${BUILD_${dir}:Uyes} != "no" && exists(${dir}/Makefile)) | | 150 | || (${BUILD_${dir}:Uyes} != "no" && exists(${dir}/Makefile)) |
151 | SUBDIR+= ${dir} | | 151 | SUBDIR+= ${dir} |
152 | .endif | | 152 | .endif |
153 | .endfor | | 153 | .endfor |
154 | | | 154 | |
155 | .if exists(regress) | | 155 | .if exists(regress) |
156 | regression-tests: .PHONY .MAKE | | 156 | regression-tests: .PHONY .MAKE |