1 # This file tells config what files go into building a kernel,
2 # files marked standard are always included.
8 # The long compile-with and dependency lines are required because of
9 # limitations in config: backslash-newline doesn't work in strings, and
10 # dependency lines other than the first are silently ignored.
12 linux_genassym.o optional compat_linux \
13 dependency "$S/i386/linux/linux_genassym.c" \
14 compile-with "${CC} ${CFLAGS} -c ${.IMPSRC}" \
15 no-obj no-implicit-rule \
16 clean "linux_genassym.o"
18 linux_assym.h optional compat_linux \
19 dependency "$S/kern/genassym.sh linux_genassym.o" \
20 compile-with "sh $S/kern/genassym.sh linux_genassym.o > ${.TARGET}" \
21 no-obj no-implicit-rule before-depend \
24 svr4_genassym.o optional compat_svr4 \
25 dependency "$S/i386/svr4/svr4_genassym.c" \
26 compile-with "${CC} ${CFLAGS} -c ${.IMPSRC}" \
27 no-obj no-implicit-rule \
28 clean "svr4_genassym.o"
30 svr4_assym.h optional compat_svr4 \
31 dependency "$S/kern/genassym.sh svr4_genassym.o" \
32 compile-with "sh $S/kern/genassym.sh svr4_genassym.o > ${.TARGET}" \
33 no-obj no-implicit-rule before-depend \
36 atkbdmap.h optional atkbd_dflt_keymap \
37 compile-with "/usr/sbin/kbdcontrol -L ${ATKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > atkbdmap.h" \
38 no-obj no-implicit-rule before-depend \
41 ukbdmap.h optional ukbd_dflt_keymap \
42 compile-with "/usr/sbin/kbdcontrol -L ${UKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > ukbdmap.h" \
43 no-obj no-implicit-rule before-depend \
46 msysosak.o optional fla \
47 dependency "$S/contrib/dev/fla/i386/msysosak.o.uu" \
48 compile-with "uudecode < $S/contrib/dev/fla/i386/msysosak.o.uu" \
51 trlld.o optional oltr \
52 dependency "$S/contrib/dev/oltr/i386${FMT}.trlld.o.uu" \
53 compile-with "uudecode < $S/contrib/dev/oltr/i386${FMT}.trlld.o.uu" \
56 compat/linux/linux_file.c optional compat_linux
57 compat/linux/linux_ioctl.c optional compat_linux
58 compat/linux/linux_ipc.c optional compat_linux
59 compat/linux/linux_mib.c optional compat_linux
60 compat/linux/linux_misc.c optional compat_linux
61 compat/linux/linux_signal.c optional compat_linux
62 compat/linux/linux_socket.c optional compat_linux
63 compat/linux/linux_stats.c optional compat_linux
64 compat/linux/linux_util.c optional compat_linux
65 compat/pecoff/imgact_pecoff.c optional pecoff_support
66 compat/svr4/imgact_svr4.c optional compat_svr4
67 compat/svr4/svr4_fcntl.c optional compat_svr4
68 compat/svr4/svr4_filio.c optional compat_svr4
69 compat/svr4/svr4_ioctl.c optional compat_svr4
70 compat/svr4/svr4_ipc.c optional compat_svr4
71 compat/svr4/svr4_misc.c optional compat_svr4
72 compat/svr4/svr4_resource.c optional compat_svr4
73 compat/svr4/svr4_signal.c optional compat_svr4
74 compat/svr4/svr4_socket.c optional compat_svr4
75 compat/svr4/svr4_sockio.c optional compat_svr4
76 compat/svr4/svr4_stat.c optional compat_svr4
77 compat/svr4/svr4_stream.c optional compat_svr4
78 compat/svr4/svr4_syscallnames.c optional compat_svr4
79 compat/svr4/svr4_sysent.c optional compat_svr4
80 compat/svr4/svr4_sysvec.c optional compat_svr4
81 compat/svr4/svr4_termios.c optional compat_svr4
82 compat/svr4/svr4_ttold.c optional compat_svr4
83 contrib/dev/acpica/Subsystem/Hardware/hwcpu32.c optional acpica
84 contrib/dev/fla/fla.c optional fla
85 contrib/dev/oltr/if_oltr.c optional oltr
86 contrib/dev/oltr/trlldbm.c optional oltr
87 contrib/dev/oltr/trlldhm.c optional oltr
88 contrib/dev/oltr/trlldmac.c optional oltr
89 #dev/advansys/adv_isa.c optional adv isa
90 dev/aic/aic_cbus.c optional aic isa
91 dev/ed/if_ed_cbus.c optional ed isa
92 dev/eisa/eisaconf.c count eisa
93 dev/fb/fb.c optional fb
94 dev/fb/fb.c optional gdc
95 dev/fb/splash.c count splash
96 dev/fe/if_fe_cbus.c optional fe isa
97 dev/kbd/kbd.c optional kbd
98 dev/kbd/kbd.c optional sc
99 dev/kbd/kbd.c optional ukbd
100 dev/kbd/kbd.c count pckbd
101 dev/snc/dp83932.c optional snc
102 dev/snc/dp83932subr.c optional snc
103 dev/snc/if_snc.c optional snc
104 dev/snc/if_snc_cbus.c optional snc isa
105 dev/snc/if_snc_pccard.c optional snc card
106 dev/syscons/schistory.c count sc
107 dev/syscons/scmouse.c optional sc
108 dev/syscons/scterm.c optional sc
109 dev/syscons/scterm-dumb.c optional sc
110 dev/syscons/scvidctl.c optional sc
111 dev/syscons/sysmouse.c optional sc
112 gnu/i386/fpemul/div_small.s optional gpl_math_emulate
113 gnu/i386/fpemul/errors.c optional gpl_math_emulate
114 gnu/i386/fpemul/fpu_arith.c optional gpl_math_emulate
115 gnu/i386/fpemul/fpu_aux.c optional gpl_math_emulate
116 gnu/i386/fpemul/fpu_entry.c optional gpl_math_emulate
117 gnu/i386/fpemul/fpu_etc.c optional gpl_math_emulate
118 gnu/i386/fpemul/fpu_trig.c optional gpl_math_emulate
119 gnu/i386/fpemul/get_address.c optional gpl_math_emulate
120 gnu/i386/fpemul/load_store.c optional gpl_math_emulate
121 gnu/i386/fpemul/poly_2xm1.c optional gpl_math_emulate
122 gnu/i386/fpemul/poly_atan.c optional gpl_math_emulate
123 gnu/i386/fpemul/poly_div.s optional gpl_math_emulate
124 gnu/i386/fpemul/poly_l2.c optional gpl_math_emulate
125 gnu/i386/fpemul/poly_mul64.s optional gpl_math_emulate
126 gnu/i386/fpemul/poly_sin.c optional gpl_math_emulate
127 gnu/i386/fpemul/poly_tan.c optional gpl_math_emulate
128 gnu/i386/fpemul/polynomial.s optional gpl_math_emulate
129 gnu/i386/fpemul/reg_add_sub.c optional gpl_math_emulate
130 gnu/i386/fpemul/reg_compare.c optional gpl_math_emulate
131 gnu/i386/fpemul/reg_constant.c optional gpl_math_emulate
132 gnu/i386/fpemul/reg_div.s optional gpl_math_emulate
133 gnu/i386/fpemul/reg_ld_str.c optional gpl_math_emulate
134 gnu/i386/fpemul/reg_mul.c optional gpl_math_emulate
135 gnu/i386/fpemul/reg_norm.s optional gpl_math_emulate
136 gnu/i386/fpemul/reg_round.s optional gpl_math_emulate
137 gnu/i386/fpemul/reg_u_add.s optional gpl_math_emulate
138 gnu/i386/fpemul/reg_u_div.s optional gpl_math_emulate
139 gnu/i386/fpemul/reg_u_mul.s optional gpl_math_emulate
140 gnu/i386/fpemul/reg_u_sub.s optional gpl_math_emulate
141 gnu/i386/fpemul/wm_shrx.s optional gpl_math_emulate
142 gnu/i386/fpemul/wm_sqrt.s optional gpl_math_emulate
143 i386/i386/atomic.c standard \
144 compile-with "${CC} -c ${CFLAGS} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} ${.IMPSRC}"
145 i386/i386/autoconf.c standard
146 i386/i386/bios.c standard
147 i386/i386/bioscall.s standard
148 i386/i386/busdma_machdep.c standard
149 i386/i386/db_disasm.c optional ddb
150 i386/i386/db_interface.c optional ddb
151 i386/i386/db_trace.c optional ddb
152 i386/i386/elf_machdep.c standard
153 i386/i386/exception.s standard
154 i386/i386/i386-gdbstub.c optional ddb
155 i386/i386/i686_mem.c standard
156 i386/i386/identcpu.c standard
157 i386/i386/in_cksum.c optional inet
158 i386/i386/initcpu.c standard
159 i386/i386/k6_mem.c standard
160 # locore.s needs to be handled in Makefile to put it first. Otherwise it's
162 # i386/i386/locore.s standard
163 i386/i386/math_emulate.c optional math_emulate
164 i386/i386/mem.c standard
165 i386/i386/mp_clock.c optional smp
166 i386/i386/mp_machdep.c optional smp
167 i386/i386/mpapic.c optional smp
168 i386/i386/mpboot.s optional smp
169 i386/i386/nexus.c standard
170 i386/i386/perfmon.c optional perfmon
171 i386/i386/perfmon.c optional perfmon profiling-routine
172 i386/i386/pmap.c standard
173 i386/i386/procfs_machdep.c standard
174 i386/i386/simplelock.s optional smp
175 i386/i386/support.s standard
176 i386/i386/swtch.s standard
177 i386/i386/sys_machdep.c standard
178 i386/i386/trap.c standard
179 i386/i386/vm86.c standard
180 i386/i386/vm_machdep.c standard
181 i386/ibcs2/ibcs2_errno.c optional ibcs2
182 i386/ibcs2/ibcs2_fcntl.c optional ibcs2
183 i386/ibcs2/ibcs2_ioctl.c optional ibcs2
184 i386/ibcs2/ibcs2_ipc.c optional ibcs2
185 i386/ibcs2/ibcs2_isc.c optional ibcs2
186 i386/ibcs2/ibcs2_isc_sysent.c optional ibcs2
187 i386/ibcs2/ibcs2_misc.c optional ibcs2
188 i386/ibcs2/ibcs2_msg.c optional ibcs2
189 i386/ibcs2/ibcs2_other.c optional ibcs2
190 i386/ibcs2/ibcs2_signal.c optional ibcs2
191 i386/ibcs2/ibcs2_socksys.c optional ibcs2
192 i386/ibcs2/ibcs2_stat.c optional ibcs2
193 i386/ibcs2/ibcs2_sysent.c optional ibcs2
194 i386/ibcs2/ibcs2_sysi86.c optional ibcs2
195 i386/ibcs2/ibcs2_sysvec.c optional ibcs2
196 i386/ibcs2/ibcs2_util.c optional ibcs2
197 i386/ibcs2/ibcs2_xenix.c optional ibcs2
198 i386/ibcs2/ibcs2_xenix_sysent.c optional ibcs2
199 i386/ibcs2/imgact_coff.c optional ibcs2
200 i386/isa/bs/bs.c optional bs
201 i386/isa/bs/bsfunc.c optional bs
202 i386/isa/bs/bshw.c optional bs
203 i386/isa/bs/bsif.c count bs
204 i386/isa/asc.c count asc
205 i386/isa/cronyx.c optional cx
206 i386/isa/ctx.c count ctx
207 i386/isa/cx.c count cx
208 i386/isa/cy.c count cy
209 i386/isa/elink.c optional ep
210 i386/isa/elink.c optional ie
211 i386/isa/gpib.c optional gp
212 i386/isa/gsc.c count gsc
213 i386/isa/if_ar.c optional ar
214 i386/isa/if_cx.c optional cx
215 i386/isa/if_el.c count el
216 i386/isa/if_le.c count le
217 i386/isa/if_rdp.c count rdp
218 i386/isa/if_sr.c count sr
219 i386/isa/if_wl.c count wl
220 i386/isa/intr_machdep.c standard
221 i386/isa/ithread.c standard
222 i386/isa/isa.c optional isa
223 i386/isa/isa_compat.c optional isa compat_oldisa \
224 warning "Old ISA driver compatability shims present."
225 i386/isa/istallion.c optional stli
226 i386/isa/labpc.c count labpc
227 i386/isa/loran.c optional loran
228 i386/isa/matcd/matcd.c count matcd
229 i386/isa/mca_machdep.c count mca
230 i386/isa/mcd.c count mcd
231 i386/isa/pcf.c optional pcf
232 i386/isa/pcvt/pcvt_drv.c optional vt
233 i386/isa/pcvt/pcvt_ext.c optional vt
234 i386/isa/pcvt/pcvt_kbd.c optional vt
235 i386/isa/pcvt/pcvt_out.c optional vt
236 i386/isa/pcvt/pcvt_sup.c optional vt
237 i386/isa/pcvt/pcvt_vtf.c optional vt
238 i386/isa/pmtimer.c optional pmtimer
239 i386/isa/prof_machdep.c optional profiling-routine
240 i386/isa/rc.c count rc
241 #i386/isa/rp.c optional rp
242 i386/isa/scd.c count scd
243 i386/isa/spic.c optional spic
244 i386/isa/spigot.c count spigot
245 i386/isa/stallion.c optional stl
246 i386/isa/tw.c count tw
247 i386/isa/wt.c count wt
248 i386/linux/imgact_linux.c optional compat_linux
249 i386/linux/linux_dummy.c optional compat_linux
250 i386/linux/linux_locore.s optional compat_linux \
251 dependency "linux_assym.h"
252 i386/linux/linux_machdep.c optional compat_linux
253 i386/linux/linux_sysent.c optional compat_linux
254 i386/linux/linux_sysvec.c optional compat_linux
255 i386/pci/pci_cfgreg.c optional pci
256 i386/pci/pci_bus.c optional pci
257 i386/svr4/svr4_locore.s optional compat_svr4 \
258 dependency "svr4_assym.h" \
259 warning "COMPAT_SVR4 is broken and usage is, until fixed, not recommended"
260 i386/svr4/svr4_machdep.c optional compat_svr4
262 # isdn4bsd, needed for isic | iwic | ifpi | ihfc | ifpnp | itjc
264 i4b/layer1/i4b_l1dmux.c optional isic
265 i4b/layer1/i4b_l1lib.c optional isic
266 i4b/layer1/i4b_l1dmux.c optional iwic
267 i4b/layer1/i4b_l1lib.c optional iwic
268 i4b/layer1/i4b_l1dmux.c optional ifpi
269 i4b/layer1/i4b_l1lib.c optional ifpi
270 i4b/layer1/i4b_l1dmux.c optional ihfc
271 i4b/layer1/i4b_l1lib.c optional ihfc
272 i4b/layer1/i4b_l1dmux.c optional ifpnp
273 i4b/layer1/i4b_l1lib.c optional ifpnp
274 i4b/layer1/i4b_l1dmux.c optional itjc
275 i4b/layer1/i4b_l1lib.c optional itjc
279 i4b/layer1/isic/i4b_asuscom_ipac.c optional isic
280 i4b/layer1/isic/i4b_avm_a1.c optional isic
281 i4b/layer1/isic/i4b_bchan.c optional isic
282 i4b/layer1/isic/i4b_ctx_s0P.c optional isic
283 i4b/layer1/isic/i4b_drn_ngo.c optional isic
284 i4b/layer1/isic/i4b_dynalink.c optional isic
285 i4b/layer1/isic/i4b_elsa_qs1i.c optional isic
286 i4b/layer1/isic/i4b_elsa_qs1p.c optional isic
287 i4b/layer1/isic/i4b_elsa_pcc16.c optional isic
288 i4b/layer1/isic/i4b_hscx.c optional isic
289 i4b/layer1/isic/i4b_isac.c optional isic
290 i4b/layer1/isic/i4b_isic.c count isic
291 i4b/layer1/isic/i4b_isic_isa.c optional isic
292 i4b/layer1/isic/i4b_isic_pnp.c optional isic
293 i4b/layer1/isic/i4b_itk_ix1.c optional isic
294 i4b/layer1/isic/i4b_l1.c optional isic
295 i4b/layer1/isic/i4b_l1fsm.c optional isic
296 i4b/layer1/isic/i4b_siemens_isurf.c optional isic
297 i4b/layer1/isic/i4b_sws.c optional isic
298 i4b/layer1/isic/i4b_tel_s016.c optional isic
299 i4b/layer1/isic/i4b_tel_s0163.c optional isic
300 i4b/layer1/isic/i4b_tel_s08.c optional isic
301 i4b/layer1/isic/i4b_usr_sti.c optional isic
305 i4b/layer1/iwic/i4b_iwic_pci.c count iwic
306 i4b/layer1/iwic/i4b_iwic_dchan.c optional iwic
307 i4b/layer1/iwic/i4b_iwic_bchan.c optional iwic
308 i4b/layer1/iwic/i4b_iwic_fsm.c optional iwic
309 i4b/layer1/iwic/i4b_iwic_l1if.c optional iwic
313 i4b/layer1/ifpi/i4b_ifpi_pci.c count ifpi
314 i4b/layer1/ifpi/i4b_ifpi_isac.c optional ifpi
315 i4b/layer1/ifpi/i4b_ifpi_l1.c optional ifpi
316 i4b/layer1/ifpi/i4b_ifpi_l1fsm.c optional ifpi
320 i4b/layer1/ifpnp/i4b_ifpnp_avm.c count ifpnp
321 i4b/layer1/ifpnp/i4b_ifpnp_isac.c optional ifpnp
322 i4b/layer1/ifpnp/i4b_ifpnp_l1.c optional ifpnp
323 i4b/layer1/ifpnp/i4b_ifpnp_l1fsm.c optional ifpnp
327 i4b/layer1/ihfc/i4b_ihfc_l1if.c count ihfc
328 i4b/layer1/ihfc/i4b_ihfc_pnp.c optional ihfc
329 i4b/layer1/ihfc/i4b_ihfc_drv.c optional ihfc
333 i4b/layer1/itjc/i4b_itjc_pci.c count itjc
334 i4b/layer1/itjc/i4b_itjc_isac.c optional itjc
335 i4b/layer1/itjc/i4b_itjc_l1.c optional itjc
336 i4b/layer1/itjc/i4b_itjc_l1fsm.c optional itjc
338 isa/psm.c optional psm
339 kern/imgact_aout.c standard
340 kern/imgact_gzip.c optional gzip
341 kern/link_aout.c standard
342 kern/subr_diskmbr.c count compat_atdisk
343 libkern/divdi3.c standard
344 libkern/moddi3.c standard
345 libkern/qdivrem.c standard
346 libkern/ucmpdi2.c standard
347 libkern/udivdi3.c standard
348 libkern/umoddi3.c standard
349 pc98/apm/apm.c optional apm
350 pc98/apm/apm_bioscall.s optional apm
351 pc98/i386/machdep.c standard
352 pc98/i386/userconfig.c optional userconfig
353 pc98/pc98/atapi.c optional wdc
354 pc98/pc98/clock.c standard
355 pc98/pc98/diskslice_machdep.c standard
356 pc98/pc98/fd.c optional fdc
357 pc98/pc98/isa_dma.c optional isa
358 pc98/pc98/mse.c optional mse
359 pc98/pc98/npx.c mandatory npx
360 pc98/pc98/olpt.c count olpt
361 pc98/pc98/pc98gdc.c optional gdc
362 pc98/pc98/pc98kbd.c optional pckbd
363 pc98/pc98/pc98_machdep.c standard
364 pc98/pc98/pcaudio.c optional pca
365 pc98/pc98/ppc.c optional ppc
366 pc98/pc98/scgdcrndr.c optional sc gdc
367 pc98/pc98/scterm-sck.c optional sc
368 pc98/pc98/scvtbpc98.c optional sc
369 pc98/pc98/sio.c count sio
370 pc98/pc98/spkr.c optional speaker
371 pc98/pc98/syscons.c optional sc
372 pc98/pc98/syscons_pc98.c optional sc
373 pc98/pc98/wd.c count wdc
374 pc98/pc98/wd_cd.c count wcd wdc
375 pc98/pc98/wfd.c count wfd wdc
376 pc98/pc98/wst.c count wst wdc
377 #pci/ide_pci.c optional wdc pci