| @@ -1,403 +1,403 @@ | | | @@ -1,403 +1,403 @@ |
1 | # $NetBSD: Makefile,v 1.179 2016/09/27 20:52:43 pgoyette Exp $ | | 1 | # $NetBSD: Makefile,v 1.180 2016/10/15 12:38:03 skrll Exp $ |
2 | | | 2 | |
3 | .include <bsd.own.mk> | | 3 | .include <bsd.own.mk> |
4 | | | 4 | |
5 | # For all platforms | | 5 | # For all platforms |
6 | | | 6 | |
7 | SUBDIR= accf_dataready | | 7 | SUBDIR= accf_dataready |
8 | SUBDIR+= accf_httpready | | 8 | SUBDIR+= accf_httpready |
9 | SUBDIR+= adosfs | | 9 | SUBDIR+= adosfs |
10 | SUBDIR+= aio | | 10 | SUBDIR+= aio |
11 | SUBDIR+= blowfish | | 11 | SUBDIR+= blowfish |
12 | SUBDIR+= bpf | | 12 | SUBDIR+= bpf |
13 | SUBDIR+= bpf_filter | | 13 | SUBDIR+= bpf_filter |
14 | SUBDIR+= camellia | | 14 | SUBDIR+= camellia |
15 | SUBDIR+= cast128 | | 15 | SUBDIR+= cast128 |
16 | SUBDIR+= ccd | | 16 | SUBDIR+= ccd |
17 | SUBDIR+= cd9660 | | 17 | SUBDIR+= cd9660 |
18 | SUBDIR+= cgd | | 18 | SUBDIR+= cgd |
19 | SUBDIR+= chfs | | 19 | SUBDIR+= chfs |
20 | SUBDIR+= clockctl | | 20 | SUBDIR+= clockctl |
21 | SUBDIR+= crypto | | 21 | SUBDIR+= crypto |
22 | SUBDIR+= coda | | 22 | SUBDIR+= coda |
23 | SUBDIR+= coda5 | | 23 | SUBDIR+= coda5 |
24 | SUBDIR+= compat | | 24 | SUBDIR+= compat |
25 | SUBDIR+= compat_ossaudio | | 25 | SUBDIR+= compat_ossaudio |
26 | SUBDIR+= coredump | | 26 | SUBDIR+= coredump |
27 | SUBDIR+= dbcool | | 27 | SUBDIR+= dbcool |
28 | SUBDIR+= des | | 28 | SUBDIR+= des |
29 | SUBDIR+= dk_subr | | 29 | SUBDIR+= dk_subr |
30 | SUBDIR+= drvctl | | 30 | SUBDIR+= drvctl |
31 | SUBDIR+= efs | | 31 | SUBDIR+= efs |
32 | SUBDIR+= ext2fs | | 32 | SUBDIR+= ext2fs |
33 | SUBDIR+= exec_script | | 33 | SUBDIR+= exec_script |
34 | SUBDIR+= fdesc | | 34 | SUBDIR+= fdesc |
35 | SUBDIR+= ffs | | 35 | SUBDIR+= ffs |
36 | SUBDIR+= filecore | | 36 | SUBDIR+= filecore |
37 | SUBDIR+= filemon | | 37 | SUBDIR+= filemon |
38 | SUBDIR+= flash | | 38 | SUBDIR+= flash |
39 | SUBDIR+= fss | | 39 | SUBDIR+= fss |
40 | SUBDIR+= gpio | | 40 | SUBDIR+= gpio |
41 | SUBDIR+= gpioiic | | 41 | SUBDIR+= gpioiic |
42 | SUBDIR+= gpioow | | 42 | SUBDIR+= gpioow |
43 | SUBDIR+= gpiosim | | 43 | SUBDIR+= gpiosim |
44 | SUBDIR+= hfs | | 44 | SUBDIR+= hfs |
45 | SUBDIR+= hythygtemp | | 45 | SUBDIR+= hythygtemp |
46 | SUBDIR+= i2cexec | | 46 | SUBDIR+= i2cexec |
47 | SUBDIR+= i2c_bitbang | | 47 | SUBDIR+= i2c_bitbang |
48 | SUBDIR+= if_agr | | 48 | SUBDIR+= if_agr |
49 | SUBDIR+= if_axe | | 49 | SUBDIR+= if_axe |
50 | SUBDIR+= if_axen | | 50 | SUBDIR+= if_axen |
51 | SUBDIR+= if_faith | | 51 | SUBDIR+= if_faith |
52 | SUBDIR+= if_gif | | 52 | SUBDIR+= if_gif |
53 | SUBDIR+= if_gre | | 53 | SUBDIR+= if_gre |
54 | SUBDIR+= if_loop | | 54 | SUBDIR+= if_loop |
55 | SUBDIR+= if_mpls | | 55 | SUBDIR+= if_mpls |
56 | SUBDIR+= if_npflog | | 56 | SUBDIR+= if_npflog |
57 | SUBDIR+= if_ppp | | 57 | SUBDIR+= if_ppp |
58 | SUBDIR+= if_pppoe | | 58 | SUBDIR+= if_pppoe |
59 | SUBDIR+= if_sl | | 59 | SUBDIR+= if_sl |
60 | SUBDIR+= if_smsc | | 60 | SUBDIR+= if_smsc |
61 | SUBDIR+= if_srt | | 61 | SUBDIR+= if_srt |
62 | SUBDIR+= if_stf | | 62 | SUBDIR+= if_stf |
63 | SUBDIR+= if_strip | | 63 | SUBDIR+= if_strip |
64 | SUBDIR+= if_tun tun | | 64 | SUBDIR+= if_tun tun |
65 | SUBDIR+= if_vlan | | 65 | SUBDIR+= if_vlan |
66 | SUBDIR+= iic | | 66 | SUBDIR+= iic |
67 | SUBDIR+= ipl | | 67 | SUBDIR+= ipl |
68 | SUBDIR+= kernfs | | 68 | SUBDIR+= kernfs |
69 | SUBDIR+= layerfs | | 69 | SUBDIR+= layerfs |
70 | SUBDIR+= lfs | | 70 | SUBDIR+= lfs |
71 | SUBDIR+= lua | | 71 | SUBDIR+= lua |
72 | SUBDIR+= luasystm | | 72 | SUBDIR+= luasystm |
73 | SUBDIR+= luapmf | | 73 | SUBDIR+= luapmf |
74 | SUBDIR+= mfs | | 74 | SUBDIR+= mfs |
75 | SUBDIR+= miiverbose | | 75 | SUBDIR+= miiverbose |
76 | SUBDIR+= miniroot | | 76 | SUBDIR+= miniroot |
77 | SUBDIR+= mqueue | | 77 | SUBDIR+= mqueue |
78 | SUBDIR+= msdos | | 78 | SUBDIR+= msdos |
79 | SUBDIR+= nand | | 79 | SUBDIR+= nand |
80 | SUBDIR+= nandemulator | | 80 | SUBDIR+= nandemulator |
81 | SUBDIR+= nfs | | 81 | SUBDIR+= nfs |
82 | SUBDIR+= nfsserver | | 82 | SUBDIR+= nfsserver |
83 | SUBDIR+= nilfs | | 83 | SUBDIR+= nilfs |
84 | SUBDIR+= npf | | 84 | SUBDIR+= npf |
85 | SUBDIR+= npf_alg_icmp | | 85 | SUBDIR+= npf_alg_icmp |
86 | SUBDIR+= npf_ext_log | | 86 | SUBDIR+= npf_ext_log |
87 | SUBDIR+= npf_ext_normalize | | 87 | SUBDIR+= npf_ext_normalize |
88 | SUBDIR+= npf_ext_rndblock | | 88 | SUBDIR+= npf_ext_rndblock |
89 | SUBDIR+= ntfs | | 89 | SUBDIR+= ntfs |
90 | SUBDIR+= null | | 90 | SUBDIR+= null |
91 | SUBDIR+= onewire | | 91 | SUBDIR+= onewire |
92 | SUBDIR+= opencrypto | | 92 | SUBDIR+= opencrypto |
93 | SUBDIR+= overlay | | 93 | SUBDIR+= overlay |
94 | SUBDIR+= pciverbose | | 94 | SUBDIR+= pciverbose |
95 | SUBDIR+= pf | | 95 | SUBDIR+= pf |
96 | SUBDIR+= ppp_bsdcomp | | 96 | SUBDIR+= ppp_bsdcomp |
97 | SUBDIR+= ppp_deflate | | 97 | SUBDIR+= ppp_deflate |
98 | SUBDIR+= procfs | | 98 | SUBDIR+= procfs |
99 | SUBDIR+= ptyfs | | 99 | SUBDIR+= ptyfs |
100 | SUBDIR+= puffs | | 100 | SUBDIR+= puffs |
101 | SUBDIR+= putter | | 101 | SUBDIR+= putter |
102 | SUBDIR+= raid | | 102 | SUBDIR+= raid |
103 | SUBDIR+= scsiverbose | | 103 | SUBDIR+= scsiverbose |
104 | SUBDIR+= sdtemp | | 104 | SUBDIR+= sdtemp |
105 | SUBDIR+= secmodel_bsd44 | | 105 | SUBDIR+= secmodel_bsd44 |
106 | SUBDIR+= secmodel_extensions | | 106 | SUBDIR+= secmodel_extensions |
107 | SUBDIR+= secmodel_overlay | | 107 | SUBDIR+= secmodel_overlay |
108 | SUBDIR+= securelevel | | 108 | SUBDIR+= securelevel |
109 | SUBDIR+= skipjack | | 109 | SUBDIR+= skipjack |
110 | SUBDIR+= slcompress | | 110 | SUBDIR+= slcompress |
111 | SUBDIR+= smbfs | | 111 | SUBDIR+= smbfs |
112 | SUBDIR+= spdmem | | 112 | SUBDIR+= spdmem |
113 | SUBDIR+= sppp_subr | | 113 | SUBDIR+= sppp_subr |
114 | SUBDIR+= sysmon | | 114 | SUBDIR+= sysmon |
115 | SUBDIR+= sysmon_envsys | | 115 | SUBDIR+= sysmon_envsys |
116 | SUBDIR+= sysmon_power | | 116 | SUBDIR+= sysmon_power |
117 | SUBDIR+= sysmon_taskq | | 117 | SUBDIR+= sysmon_taskq |
118 | SUBDIR+= sysmon_wdog | | 118 | SUBDIR+= sysmon_wdog |
119 | SUBDIR+= sysvbfs | | 119 | SUBDIR+= sysvbfs |
120 | SUBDIR+= sysv_ipc | | 120 | SUBDIR+= sysv_ipc |
121 | SUBDIR+= suser | | 121 | SUBDIR+= suser |
122 | SUBDIR+= swcrypto | | 122 | SUBDIR+= swcrypto |
123 | SUBDIR+= swsensor | | 123 | SUBDIR+= swsensor |
124 | SUBDIR+= swwdog | | 124 | SUBDIR+= swwdog |
125 | SUBDIR+= tmpfs | | 125 | SUBDIR+= tmpfs |
126 | SUBDIR+= uatp | | 126 | SUBDIR+= uatp |
127 | SUBDIR+= udf | | 127 | SUBDIR+= udf |
128 | SUBDIR+= umap | | 128 | SUBDIR+= umap |
129 | SUBDIR+= union | | 129 | SUBDIR+= union |
130 | SUBDIR+= usbverbose | | 130 | SUBDIR+= usbverbose |
131 | SUBDIR+= vcoda | | 131 | SUBDIR+= vcoda |
132 | SUBDIR+= v7fs | | 132 | SUBDIR+= v7fs |
133 | SUBDIR+= vnd | | 133 | SUBDIR+= vnd |
134 | SUBDIR+= wapbl | | 134 | SUBDIR+= wapbl |
135 | SUBDIR+= zlib | | 135 | SUBDIR+= zlib |
136 | SUBDIR+= tprof | | 136 | SUBDIR+= tprof |
137 | .if (defined(NOTYET)) | | 137 | .if (defined(NOTYET)) |
138 | SUBDIR+= hifn # Builds on architectures with PCI bus | | 138 | SUBDIR+= hifn # Builds on architectures with PCI bus |
139 | SUBDIR+= unionfs | | 139 | SUBDIR+= unionfs |
140 | .endif | | 140 | .endif |
141 | .if ${MKBINUTILS} != "no" | | 141 | .if ${MKBINUTILS} != "no" |
142 | SUBDIR+= xldscripts | | 142 | SUBDIR+= xldscripts |
143 | .endif | | 143 | .endif |
144 | | | 144 | |
145 | # Machine dependent section | | 145 | # Machine dependent section |
146 | .if ${MACHINE_ARCH} == "i386" || \ | | 146 | .if ${MACHINE_ARCH} == "i386" || \ |
147 | ${MACHINE_CPU} == "m68k" | | 147 | ${MACHINE_CPU} == "m68k" |
148 | SUBDIR+= exec_aout | | 148 | SUBDIR+= exec_aout |
149 | .endif | | 149 | .endif |
150 | | | 150 | |
151 | .if ${MACHINE_ARCH} != "alpha" && \ | | 151 | .if ${MACHINE_ARCH} != "alpha" && \ |
152 | ${MACHINE_CPU} != "aarch64" && \ | | 152 | ${MACHINE_CPU} != "aarch64" && \ |
153 | ${MACHINE_ARCH} != "ia64" | | 153 | ${MACHINE_ARCH} != "ia64" |
154 | SUBDIR+= exec_elf32 | | 154 | SUBDIR+= exec_elf32 |
155 | .endif | | 155 | .endif |
156 | | | 156 | |
157 | .if ${MACHINE_CPU} == "aarch64" || \ | | 157 | .if ${MACHINE_CPU} == "aarch64" || \ |
158 | ${MACHINE_ARCH} == "alpha" || \ | | 158 | ${MACHINE_ARCH} == "alpha" || \ |
159 | ${MACHINE_ARCH} == "ia64" || \ | | 159 | ${MACHINE_ARCH} == "ia64" || \ |
160 | ${MACHINE_ARCH} == "sparc64" || \ | | 160 | ${MACHINE_ARCH} == "sparc64" || \ |
161 | ${MACHINE_ARCH} == "x86_64" | | 161 | ${MACHINE_ARCH} == "x86_64" |
162 | SUBDIR+= exec_elf64 | | 162 | SUBDIR+= exec_elf64 |
163 | .endif | | 163 | .endif |
164 | | | 164 | |
165 | .if ${MACHINE_ARCH} == "i386" || \ | | 165 | .if ${MACHINE_ARCH} == "i386" || \ |
166 | ${MACHINE_ARCH} == "x86_64" | | 166 | ${MACHINE_ARCH} == "x86_64" |
167 | SUBDIR+= amdtemp | | 167 | SUBDIR+= amdtemp |
168 | SUBDIR+= coretemp | | 168 | SUBDIR+= coretemp |
169 | SUBDIR+= est | | 169 | SUBDIR+= est |
170 | SUBDIR+= hdafg | | 170 | SUBDIR+= hdafg |
171 | SUBDIR+= hdaudio | | 171 | SUBDIR+= hdaudio |
172 | SUBDIR+= hdaudio_pci | | 172 | SUBDIR+= hdaudio_pci |
173 | SUBDIR+= hdaudioverbose | | 173 | SUBDIR+= hdaudioverbose |
174 | SUBDIR+= hpet | | 174 | SUBDIR+= hpet |
175 | SUBDIR+= odcm | | 175 | SUBDIR+= odcm |
176 | SUBDIR+= powernow | | 176 | SUBDIR+= powernow |
177 | SUBDIR+= tco | | 177 | SUBDIR+= tco |
178 | SUBDIR+= tprof_pmi | | 178 | SUBDIR+= tprof_pmi |
179 | SUBDIR+= tprof_amdpmi | | 179 | SUBDIR+= tprof_amdpmi |
180 | SUBDIR+= vmt | | 180 | SUBDIR+= vmt |
181 | .endif | | 181 | .endif |
182 | | | 182 | |
183 | .if ${MACHINE_ARCH} == "i386" || \ | | 183 | .if ${MACHINE_ARCH} == "i386" || \ |
184 | ${MACHINE_ARCH} == "x86_64" | | 184 | ${MACHINE_ARCH} == "x86_64" |
185 | SUBDIR+= ubsec # Builds on architectures with PCI bus | | 185 | SUBDIR+= ubsec # Builds on architectures with PCI bus |
186 | .endif | | 186 | .endif |
187 | | | 187 | |
188 | .if ${MKSLJIT} != "no" | | 188 | .if ${MKSLJIT} != "no" |
189 | # No modules for arm, mips and powerpc yet. | | 189 | # No modules for arm, mips and powerpc yet. |
190 | .if ${MACHINE_ARCH} == "i386" || \ | | 190 | .if ${MACHINE_ARCH} == "i386" || \ |
191 | ${MACHINE_ARCH} == "x86_64" || \ | | 191 | ${MACHINE_ARCH} == "x86_64" || \ |
192 | ${MACHINE_ARCH} == "sparc" | | 192 | ${MACHINE_ARCH} == "sparc" |
193 | SUBDIR+= bpfjit | | 193 | SUBDIR+= bpfjit |
194 | SUBDIR+= sljit | | 194 | SUBDIR+= sljit |
195 | .endif | | 195 | .endif |
196 | .endif | | 196 | .endif |
197 | | | 197 | |
198 | # | | 198 | # |
199 | # ACPI modules | | 199 | # ACPI modules |
200 | # | | 200 | # |
201 | .if ${MACHINE_ARCH} == "i386" || \ | | 201 | .if ${MACHINE_ARCH} == "i386" || \ |
202 | ${MACHINE_ARCH} == "ia64" || \ | | 202 | ${MACHINE_ARCH} == "ia64" || \ |
203 | ${MACHINE_ARCH} == "x86_64" | | 203 | ${MACHINE_ARCH} == "x86_64" |
204 | SUBDIR+= acpiverbose | | 204 | SUBDIR+= acpiverbose |
205 | .endif | | 205 | .endif |
206 | | | 206 | |
207 | .if ${MACHINE_ARCH} == "i386" || \ | | 207 | .if ${MACHINE_ARCH} == "i386" || \ |
208 | ${MACHINE_ARCH} == "x86_64" | | 208 | ${MACHINE_ARCH} == "x86_64" |
209 | SUBDIR+= acpiacad | | 209 | SUBDIR+= acpiacad |
210 | SUBDIR+= acpibat | | 210 | SUBDIR+= acpibat |
211 | SUBDIR+= acpibut | | 211 | SUBDIR+= acpibut |
212 | SUBDIR+= acpicpu | | 212 | SUBDIR+= acpicpu |
213 | SUBDIR+= acpidalb | | 213 | SUBDIR+= acpidalb |
214 | SUBDIR+= acpifan | | 214 | SUBDIR+= acpifan |
215 | SUBDIR+= acpilid | | 215 | SUBDIR+= acpilid |
216 | SUBDIR+= acpipmtr | | 216 | SUBDIR+= acpipmtr |
217 | SUBDIR+= acpitz | | 217 | SUBDIR+= acpitz |
218 | SUBDIR+= acpivga | | 218 | SUBDIR+= acpivga |
219 | SUBDIR+= acpiwdrt | | 219 | SUBDIR+= acpiwdrt |
220 | SUBDIR+= acpiwmi | | 220 | SUBDIR+= acpiwmi |
221 | SUBDIR+= aibs | | 221 | SUBDIR+= aibs |
222 | SUBDIR+= asus | | 222 | SUBDIR+= asus |
223 | SUBDIR+= fujbp | | 223 | SUBDIR+= fujbp |
224 | SUBDIR+= fujhk | | 224 | SUBDIR+= fujhk |
225 | SUBDIR+= hpacel | | 225 | SUBDIR+= hpacel |
226 | SUBDIR+= hpqlb | | 226 | SUBDIR+= hpqlb |
227 | SUBDIR+= thinkpad | | 227 | SUBDIR+= thinkpad |
228 | SUBDIR+= wmidell | | 228 | SUBDIR+= wmidell |
229 | SUBDIR+= wmieeepc | | 229 | SUBDIR+= wmieeepc |
230 | SUBDIR+= wmihp | | 230 | SUBDIR+= wmihp |
231 | SUBDIR+= wmimsi | | 231 | SUBDIR+= wmimsi |
232 | .endif | | 232 | .endif |
233 | | | 233 | |
234 | .if ${MACHINE_CPU} == "arm" \ | | 234 | .if ${MACHINE_CPU} == "arm" \ |
235 | || (!empty(MACHINE_ARCH:Mmips64*) && !defined(BSD_MK_COMPAT_FILE)) | | 235 | || (!empty(MACHINE_ARCH:Mmips64*) && !defined(BSD_MK_COMPAT_FILE)) |
236 | SUBDIR+= compat_netbsd32 | | 236 | SUBDIR+= compat_netbsd32 |
237 | SUBDIR+= compat_netbsd32_nfssrv | | | |
238 | SUBDIR+= compat_netbsd32_mqueue | | 237 | SUBDIR+= compat_netbsd32_mqueue |
| | | 238 | SUBDIR+= compat_netbsd32_nfssrv |
239 | SUBDIR+= compat_netbsd32_sysvipc | | 239 | SUBDIR+= compat_netbsd32_sysvipc |
240 | .endif | | 240 | .endif |
241 | | | 241 | |
242 | .if ${MACHINE_ARCH} == "x86_64" | | 242 | .if ${MACHINE_ARCH} == "x86_64" |
243 | SUBDIR+= compat_linux32 | | 243 | SUBDIR+= compat_linux32 |
244 | SUBDIR+= compat_netbsd32 | | 244 | SUBDIR+= compat_netbsd32 |
245 | SUBDIR+= compat_netbsd32_nfssrv | | | |
246 | SUBDIR+= compat_netbsd32_mqueue | | 245 | SUBDIR+= compat_netbsd32_mqueue |
| | | 246 | SUBDIR+= compat_netbsd32_nfssrv |
247 | SUBDIR+= compat_netbsd32_sysvipc | | 247 | SUBDIR+= compat_netbsd32_sysvipc |
248 | .endif | | 248 | .endif |
249 | | | 249 | |
250 | .if ${MACHINE_ARCH} == "i386" | | 250 | .if ${MACHINE_ARCH} == "i386" |
251 | SUBDIR+= ati_pcigart | | 251 | SUBDIR+= ati_pcigart |
252 | SUBDIR+= compat_freebsd | | 252 | SUBDIR+= compat_freebsd |
253 | SUBDIR+= compat_ibcs2 | | 253 | SUBDIR+= compat_ibcs2 |
254 | SUBDIR+= compat_svr4 | | 254 | SUBDIR+= compat_svr4 |
255 | SUBDIR+= mach64drm | | 255 | SUBDIR+= mach64drm |
256 | SUBDIR+= mgadrm | | 256 | SUBDIR+= mgadrm |
257 | SUBDIR+= nsclpcsio | | 257 | SUBDIR+= nsclpcsio |
258 | SUBDIR+= padlock | | 258 | SUBDIR+= padlock |
259 | SUBDIR+= r128drm | | 259 | SUBDIR+= r128drm |
260 | SUBDIR+= radeondrm | | 260 | SUBDIR+= radeondrm |
261 | SUBDIR+= savagedrm | | 261 | SUBDIR+= savagedrm |
262 | SUBDIR+= sisdrm | | 262 | SUBDIR+= sisdrm |
263 | SUBDIR+= tdfxdrm | | 263 | SUBDIR+= tdfxdrm |
264 | SUBDIR+= viac7temp | | 264 | SUBDIR+= viac7temp |
265 | SUBDIR+= viadrm | | 265 | SUBDIR+= viadrm |
266 | SUBDIR+= viadrmums | | 266 | SUBDIR+= viadrmums |
267 | .endif | | 267 | .endif |
268 | | | 268 | |
269 | .if ${MACHINE_ARCH} == "i386" || \ | | 269 | .if ${MACHINE_ARCH} == "i386" || \ |
270 | ${MACHINE_ARCH} == "x86_64" | | 270 | ${MACHINE_ARCH} == "x86_64" |
271 | SUBDIR+= azalia | | 271 | SUBDIR+= azalia |
272 | SUBDIR+= compat_linux | | 272 | SUBDIR+= compat_linux |
273 | SUBDIR+= drm | | 273 | SUBDIR+= drm |
274 | SUBDIR+= drmkms | | 274 | SUBDIR+= drmkms |
275 | SUBDIR+= drmkms_linux | | 275 | SUBDIR+= drmkms_linux |
276 | SUBDIR+= drmkms_pci | | 276 | SUBDIR+= drmkms_pci |
277 | SUBDIR+= i915drm | | 277 | SUBDIR+= i915drm |
278 | SUBDIR+= i915drmkms | | 278 | SUBDIR+= i915drmkms |
279 | SUBDIR+= pad | | 279 | SUBDIR+= pad |
280 | # | | 280 | # |
281 | # ISA modules | | 281 | # ISA modules |
282 | # | | 282 | # |
283 | SUBDIR+= aps | | 283 | SUBDIR+= aps |
284 | SUBDIR+= finsio | | 284 | SUBDIR+= finsio |
285 | SUBDIR+= itesio | | 285 | SUBDIR+= itesio |
286 | SUBDIR+= lm | | 286 | SUBDIR+= lm |
287 | SUBDIR+= lm_isa | | 287 | SUBDIR+= lm_isa |
288 | SUBDIR+= lm_isa_common | | 288 | SUBDIR+= lm_isa_common |
289 | SUBDIR+= lm_wbsio | | 289 | SUBDIR+= lm_wbsio |
290 | SUBDIR+= wbsio | | 290 | SUBDIR+= wbsio |
291 | .endif | | 291 | .endif |
292 | | | 292 | |
293 | .if ${MACHINE_CPU} == "m68k" | | 293 | .if ${MACHINE_CPU} == "m68k" |
294 | SUBDIR+= compat_aoutm68k | | 294 | SUBDIR+= compat_aoutm68k |
295 | #SUBDIR+= compat_linux | | 295 | #SUBDIR+= compat_linux |
296 | #SUBDIR+= compat_sunos | | 296 | #SUBDIR+= compat_sunos |
297 | #SUBDIR+= compat_svr4 | | 297 | #SUBDIR+= compat_svr4 |
298 | .endif | | 298 | .endif |
299 | | | 299 | |
300 | .if ${MACHINE_ARCH} == "i386" || \ | | 300 | .if ${MACHINE_ARCH} == "i386" || \ |
301 | ${MACHINE_ARCH} == "x86_64" || \ | | 301 | ${MACHINE_ARCH} == "x86_64" || \ |
302 | ${MACHINE_ARCH} == "sparc64" | | 302 | ${MACHINE_ARCH} == "sparc64" |
303 | SUBDIR+= pwdog | | 303 | SUBDIR+= pwdog |
304 | .endif | | 304 | .endif |
305 | | | 305 | |
306 | .include <bsd.own.mk> | | 306 | .include <bsd.own.mk> |
307 | | | 307 | |
308 | # | | 308 | # |
309 | # NetBSD/usermode support | | 309 | # NetBSD/usermode support |
310 | # | | 310 | # |
311 | .if ${MACHINE_ARCH} == "i386" || \ | | 311 | .if ${MACHINE_ARCH} == "i386" || \ |
312 | ${MACHINE_ARCH} == "x86_64" | | 312 | ${MACHINE_ARCH} == "x86_64" |
313 | SUBDIR+= ../arch/usermode/modules/syscallemu | | 313 | SUBDIR+= ../arch/usermode/modules/syscallemu |
314 | .endif | | 314 | .endif |
315 | | | 315 | |
316 | # we need our device mapper for LVM | | 316 | # we need our device mapper for LVM |
317 | .if (${MKLVM} != "no") | | 317 | .if (${MKLVM} != "no") |
318 | SUBDIR+= dm | | 318 | SUBDIR+= dm |
319 | .endif | | 319 | .endif |
320 | | | 320 | |
321 | .if (${MKDTRACE} != "no") | | 321 | .if (${MKDTRACE} != "no") |
322 | SUBDIR+= cyclic | | 322 | SUBDIR+= cyclic |
323 | SUBDIR+= dtrace | | 323 | SUBDIR+= dtrace |
324 | .endif | | 324 | .endif |
325 | | | 325 | |
326 | # we need solaris for the dtrace and zfs modules | | 326 | # we need solaris for the dtrace and zfs modules |
327 | .if (${MKDTRACE} != "no" || ${MKZFS} != "no") | | 327 | .if (${MKDTRACE} != "no" || ${MKZFS} != "no") |
328 | SUBDIR+= solaris | | 328 | SUBDIR+= solaris |
329 | .endif | | 329 | .endif |
330 | | | 330 | |
331 | .if (${MKZFS} != "no") | | 331 | .if (${MKZFS} != "no") |
332 | SUBDIR+= zfs | | 332 | SUBDIR+= zfs |
333 | .endif | | 333 | .endif |
334 | | | 334 | |
335 | .if (${MKCOMPATMODULES} != "no") | | 335 | .if (${MKCOMPATMODULES} != "no") |
336 | SUBDIR+= arch | | 336 | SUBDIR+= arch |
337 | .endif | | 337 | .endif |
338 | | | 338 | |
339 | # | | 339 | # |
340 | # DTV modules | | 340 | # DTV modules |
341 | # | | 341 | # |
342 | SUBDIR+= dtv | | 342 | SUBDIR+= dtv |
343 | SUBDIR+= dtv_math | | 343 | SUBDIR+= dtv_math |
344 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" | | 344 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" |
345 | # tuners/demods | | 345 | # tuners/demods |
346 | SUBDIR+= au8522 | | 346 | SUBDIR+= au8522 |
347 | SUBDIR+= cx24227 | | 347 | SUBDIR+= cx24227 |
348 | SUBDIR+= lg3303 | | 348 | SUBDIR+= lg3303 |
349 | SUBDIR+= mt2131 | | 349 | SUBDIR+= mt2131 |
350 | SUBDIR+= nxt2k | | 350 | SUBDIR+= nxt2k |
351 | SUBDIR+= tvpll | | 351 | SUBDIR+= tvpll |
352 | SUBDIR+= xc3028 | | 352 | SUBDIR+= xc3028 |
353 | SUBDIR+= xc5k | | 353 | SUBDIR+= xc5k |
354 | SUBDIR+= zl10353 | | 354 | SUBDIR+= zl10353 |
355 | # hardware drivers | | 355 | # hardware drivers |
356 | SUBDIR+= auvitek | | 356 | SUBDIR+= auvitek |
357 | SUBDIR+= coram | | 357 | SUBDIR+= coram |
358 | SUBDIR+= cxdtv | | 358 | SUBDIR+= cxdtv |
359 | SUBDIR+= emdtv | | 359 | SUBDIR+= emdtv |
360 | SUBDIR+= spkr | | 360 | SUBDIR+= spkr |
361 | .endif | | 361 | .endif |
362 | | | 362 | |
363 | .if (${MKISCSI} != "no") | | 363 | .if (${MKISCSI} != "no") |
364 | SUBDIR+= iscsi | | 364 | SUBDIR+= iscsi |
365 | .endif | | 365 | .endif |
366 | | | 366 | |
367 | # For now, all of these are disabled, pending resolution of how to deal | | 367 | # For now, all of these are disabled, pending resolution of how to deal |
368 | # with attachment-specific modules and bus-specific modules (as opposed | | 368 | # with attachment-specific modules and bus-specific modules (as opposed |
369 | # to machine- or architecture-specific modules) | | 369 | # to machine- or architecture-specific modules) |
370 | | | 370 | |
371 | .if 0 | | 371 | .if 0 |
372 | SUBDIR+= aac | | 372 | SUBDIR+= aac |
373 | SUBDIR+= amr | | 373 | SUBDIR+= amr |
374 | SUBDIR+= ataraid | | 374 | SUBDIR+= ataraid |
375 | SUBDIR+= cac | | 375 | SUBDIR+= cac |
376 | SUBDIR+= cac_eisa | | 376 | SUBDIR+= cac_eisa |
377 | SUBDIR+= cac_pci | | 377 | SUBDIR+= cac_pci |
378 | SUBDIR+= if_vioif | | 378 | SUBDIR+= if_vioif |
379 | SUBDIR+= ld | | 379 | SUBDIR+= ld |
380 | SUBDIR+= ld_aac | | 380 | SUBDIR+= ld_aac |
381 | SUBDIR+= ld_amr | | 381 | SUBDIR+= ld_amr |
382 | SUBDIR+= ld_ataraid | | 382 | SUBDIR+= ld_ataraid |
383 | SUBDIR+= ld_cac | | 383 | SUBDIR+= ld_cac |
384 | SUBDIR+= ld_icp | | 384 | SUBDIR+= ld_icp |
385 | SUBDIR+= ld_mlx | | 385 | SUBDIR+= ld_mlx |
386 | SUBDIR+= ld_sdmmc | | 386 | SUBDIR+= ld_sdmmc |
387 | SUBDIR+= ld_twa | | 387 | SUBDIR+= ld_twa |
388 | SUBDIR+= ld_twe | | 388 | SUBDIR+= ld_twe |
389 | SUBDIR+= ld_virtio | | 389 | SUBDIR+= ld_virtio |
390 | SUBDIR+= mlx | | 390 | SUBDIR+= mlx |
391 | SUBDIR+= mlx_eisa | | 391 | SUBDIR+= mlx_eisa |
392 | SUBDIR+= mlx_pci | | 392 | SUBDIR+= mlx_pci |
393 | SUBDIR+= ld_nvme | | 393 | SUBDIR+= ld_nvme |
394 | SUBDIR+= nvme | | 394 | SUBDIR+= nvme |
395 | SUBDIR+= twa | | 395 | SUBDIR+= twa |
396 | SUBDIR+= twe | | 396 | SUBDIR+= twe |
397 | SUBDIR+= viomb | | 397 | SUBDIR+= viomb |
398 | SUBDIR+= virtio | | 398 | SUBDIR+= virtio |
399 | .endif | | 399 | .endif |
400 | | | 400 | |
401 | SUBDIR+= examples # build these regularly to avoid bit-rot | | 401 | SUBDIR+= examples # build these regularly to avoid bit-rot |
402 | | | 402 | |
403 | .include <bsd.subdir.mk> | | 403 | .include <bsd.subdir.mk> |