1# This file tells config what files go into building a kernel, 2# files marked standard are always included. 3# 4# $FreeBSD$ 5# 6# The long compile-with and dependency lines are required because of 7# limitations in config: backslash-newline doesn't work in strings, and 8# dependency lines other than the first are silently ignored. 9# 10linux_genassym.o optional compat_linux \ 11 dependency "$S/i386/linux/linux_genassym.c" \ 12 compile-with "${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}" \ 13 no-obj no-implicit-rule \ 14 clean "linux_genassym.o" 15# 16linux_assym.h optional compat_linux \ 17 dependency "$S/kern/genassym.sh linux_genassym.o" \ 18 compile-with "sh $S/kern/genassym.sh linux_genassym.o > ${.TARGET}" \ 19 no-obj no-implicit-rule before-depend \ 20 clean "linux_assym.h" 21# 22svr4_genassym.o optional compat_svr4 \ 23 dependency "$S/i386/svr4/svr4_genassym.c" \ 24 compile-with "${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}" \ 25 no-obj no-implicit-rule \ 26 clean "svr4_genassym.o" 27# 28svr4_assym.h optional compat_svr4 \ 29 dependency "$S/kern/genassym.sh svr4_genassym.o" \ 30 compile-with "sh $S/kern/genassym.sh svr4_genassym.o > ${.TARGET}" \ 31 no-obj no-implicit-rule before-depend \ 32 clean "svr4_assym.h" 33# 34font.h optional sc_dflt_font \ 35 compile-with "uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x16.fnt && file2c 'static u_char dflt_font_16[16*256] = {' '};' < ${SC_DFLT_FONT}-8x16 > font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x14.fnt && file2c 'static u_char dflt_font_14[14*256] = {' '};' < ${SC_DFLT_FONT}-8x14 >> font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x8.fnt && file2c 'static u_char dflt_font_8[8*256] = {' '};' < ${SC_DFLT_FONT}-8x8 >> font.h" \ 36 no-obj no-implicit-rule before-depend \ 37 clean "font.h ${SC_DFLT_FONT}-8x14 ${SC_DFLT_FONT}-8x16 ${SC_DFLT_FONT}-8x8" 38# 39atkbdmap.h optional atkbd_dflt_keymap \ 40 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" \ 41 no-obj no-implicit-rule before-depend \ 42 clean "atkbdmap.h" 43# 44ukbdmap.h optional ukbd_dflt_keymap \ 45 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" \ 46 no-obj no-implicit-rule before-depend \ 47 clean "ukbdmap.h" 48# 49trlld.o optional oltr \ 50 dependency "$S/contrib/dev/oltr/i386-elf.trlld.o.uu" \ 51 compile-with "uudecode < $S/contrib/dev/oltr/i386-elf.trlld.o.uu" \ 52 no-implicit-rule 53# 54hal.o optional ath_hal \ 55 dependency "$S/contrib/dev/ath/freebsd/i386-elf.hal.o.uu" \ 56 compile-with "uudecode < $S/contrib/dev/ath/freebsd/i386-elf.hal.o.uu" \ 57 no-implicit-rule 58# 59hptmvraid.o optional hptmv \ 60 dependency "$S/contrib/dev/hptmv/i386-elf.raid.o.uu" \ 61 compile-with "uudecode < $S/contrib/dev/hptmv/i386-elf.raid.o.uu" \ 62 no-implicit-rule 63# 64# 65compat/linux/linux_file.c optional compat_linux 66compat/linux/linux_getcwd.c optional compat_linux 67compat/linux/linux_ioctl.c optional compat_linux 68compat/linux/linux_ipc.c optional compat_linux 69compat/linux/linux_mib.c optional compat_linux 70compat/linux/linux_misc.c optional compat_linux 71compat/linux/linux_signal.c optional compat_linux 72compat/linux/linux_socket.c optional compat_linux 73compat/linux/linux_stats.c optional compat_linux 74compat/linux/linux_sysctl.c optional compat_linux 75compat/linux/linux_uid16.c optional compat_linux 76compat/linux/linux_util.c optional compat_linux 77compat/ndis/kern_ndis.c optional ndisapi pci 78compat/ndis/subr_hal.c optional ndisapi pci 79compat/ndis/subr_ndis.c optional ndisapi pci 80compat/ndis/subr_ntoskrnl.c optional ndisapi pci 81compat/ndis/subr_pe.c optional ndisapi pci 82compat/pecoff/imgact_pecoff.c optional pecoff_support 83compat/svr4/imgact_svr4.c optional compat_svr4 84compat/svr4/svr4_fcntl.c optional compat_svr4 85compat/svr4/svr4_filio.c optional compat_svr4 86compat/svr4/svr4_ioctl.c optional compat_svr4 87compat/svr4/svr4_ipc.c optional compat_svr4 88compat/svr4/svr4_misc.c optional compat_svr4 89compat/svr4/svr4_resource.c optional compat_svr4 90compat/svr4/svr4_signal.c optional compat_svr4 91compat/svr4/svr4_socket.c optional compat_svr4 92compat/svr4/svr4_sockio.c optional compat_svr4 93compat/svr4/svr4_stat.c optional compat_svr4 94compat/svr4/svr4_stream.c optional compat_svr4 95compat/svr4/svr4_syscallnames.c optional compat_svr4 96compat/svr4/svr4_sysent.c optional compat_svr4 97compat/svr4/svr4_sysvec.c optional compat_svr4 98compat/svr4/svr4_termios.c optional compat_svr4 99compat/svr4/svr4_ttold.c optional compat_svr4 100contrib/dev/oltr/if_oltr.c optional oltr 101contrib/dev/oltr/trlldbm.c optional oltr 102contrib/dev/oltr/trlldhm.c optional oltr 103contrib/dev/oltr/trlldmac.c optional oltr 104contrib/dev/hptmv/gui_lib.c optional hptmv 105contrib/dev/hptmv/hptproc.c optional hptmv 106contrib/dev/hptmv/ioctl.c optional hptmv 107dev/hptmv/entry.c optional hptmv 108dev/hptmv/mv.c optional hptmv 109bf_enc.o optional ipsec ipsec_esp \ 110 dependency "$S/crypto/blowfish/arch/i386/bf_enc.S $S/crypto/blowfish/arch/i386/bf_enc_586.S $S/crypto/blowfish/arch/i386/bf_enc_686.S" \ 111 compile-with "${CC} -c -I$S/crypto/blowfish/arch/i386 ${ASM_CFLAGS} ${WERROR} ${.IMPSRC}" \ 112 no-implicit-rule 113crypto/des/arch/i386/des_enc.S optional ipsec ipsec_esp 114crypto/des/des_ecb.c optional netsmbcrypto 115crypto/des/arch/i386/des_enc.S optional netsmbcrypto 116crypto/des/des_setkey.c optional netsmbcrypto 117bf_enc.o optional crypto \ 118 dependency "$S/crypto/blowfish/arch/i386/bf_enc.S $S/crypto/blowfish/arch/i386/bf_enc_586.S $S/crypto/blowfish/arch/i386/bf_enc_686.S" \ 119 compile-with "${CC} -c -I$S/crypto/blowfish/arch/i386 ${ASM_CFLAGS} ${WERROR} ${.IMPSRC}" \ 120 no-implicit-rule 121crypto/des/arch/i386/des_enc.S optional crypto 122crypto/des/des_ecb.c optional crypto 123crypto/des/des_setkey.c optional crypto 124dev/advansys/adv_isa.c optional adv isa 125dev/aic/aic_isa.c optional aic isa 126dev/ar/if_ar.c optional ar 127dev/ar/if_ar_isa.c optional ar isa 128dev/ar/if_ar_pci.c optional ar pci 129dev/arl/if_arl.c optional arl 130dev/arl/if_arl_isa.c optional arl isa 131dev/cm/if_cm_isa.c optional cm isa 132dev/cp/cpddk.c optional cp 133dev/cp/if_cp.c optional cp 134dev/ctau/ctau.c optional ctau 135dev/ctau/ctddk.c optional ctau 136dev/ctau/if_ct.c optional ctau 137dev/cx/csigma.c optional cx 138dev/cx/cxddk.c optional cx 139dev/cx/if_cx.c optional cx 140dev/ed/if_ed_isa.c optional ed isa 141dev/fb/fb.c optional fb 142dev/fb/fb.c optional vga 143dev/fb/splash.c optional splash 144dev/fb/vga.c optional vga 145dev/fdc/fdc.c optional fdc 146dev/fdc/fdc_acpi.c optional fdc 147dev/fdc/fdc_isa.c optional fdc isa 148dev/fdc/fdc_pccard.c optional fdc card 149dev/fdc/fdc_pccard.c optional fdc pccard 150dev/fe/if_fe_isa.c optional fe isa 151dev/ichwd/ichwd.c optional ichwd 152dev/if_ndis/if_ndis.c optional ndis 153dev/if_ndis/if_ndis_pccard.c optional ndis card 154dev/if_ndis/if_ndis_pccard.c optional ndis pccard 155dev/if_ndis/if_ndis_pci.c optional ndis cardbus 156dev/if_ndis/if_ndis_pci.c optional ndis pci 157dev/kbd/atkbd.c optional atkbd 158dev/kbd/atkbdc.c optional atkbdc 159dev/kbd/kbd.c optional atkbd 160dev/kbd/kbd.c optional kbd 161dev/kbd/kbd.c optional sc 162dev/kbd/kbd.c optional ukbd 163dev/kbd/kbd.c optional vt 164dev/lnc/if_lnc_isa.c optional lnc isa 165dev/io/iodev.c optional io 166dev/mem/memutil.c optional mem 167dev/ppc/ppc.c optional ppc 168dev/ppc/ppc_puc.c optional ppc puc pci 169dev/random/nehemiah.c optional random 170dev/sbni/if_sbni.c optional sbni 171dev/sbni/if_sbni_isa.c optional sbni isa 172dev/sbni/if_sbni_pci.c optional sbni pci 173dev/sio/sio.c optional sio 174dev/sio/sio_isa.c optional sio isa 175dev/sr/if_sr_isa.c optional sr isa 176dev/syscons/apm/apm_saver.c optional apm_saver apm 177dev/syscons/schistory.c optional sc 178dev/syscons/scmouse.c optional sc 179dev/syscons/scterm.c optional sc 180dev/syscons/scterm-dumb.c optional sc 181dev/syscons/scterm-sc.c optional sc 182dev/syscons/scvesactl.c optional sc vga vesa 183dev/syscons/scvgarndr.c optional sc vga 184dev/syscons/scvidctl.c optional sc 185dev/syscons/scvtb.c optional sc 186dev/syscons/syscons.c optional sc 187dev/syscons/sysmouse.c optional sc 188dev/uart/uart_cpu_i386.c optional uart 189geom/geom_bsd.c standard 190geom/geom_bsd_enc.c standard 191geom/geom_mbr.c standard 192geom/geom_mbr_enc.c standard 193dev/acpica/acpi_if.m standard 194i386/acpica/OsdEnvironment.c optional acpi 195i386/acpica/acpi_asus.c optional acpi_asus acpi 196i386/acpica/acpi_machdep.c optional acpi 197i386/acpica/acpi_panasonic.c optional acpi_panasonic acpi 198i386/acpica/acpi_toshiba.c optional acpi_toshiba acpi 199i386/acpica/acpi_wakeup.c optional acpi 200acpi_wakecode.h optional acpi \ 201 dependency "$S/i386/acpica/acpi_wakecode.S" \ 202 compile-with "${MAKE} -f $S/i386/acpica/Makefile MAKESRCPATH=$S/i386/acpica" \ 203 no-obj no-implicit-rule before-depend \ 204 clean "acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin" 205# 206i386/acpica/madt.c optional acpi apic 207i386/bios/apm.c optional apm 208i386/bios/mca_machdep.c optional mca 209i386/bios/smapi.c optional smapi 210i386/bios/smapi_bios.S optional smapi 211i386/bios/smbios.c optional smbios 212i386/bios/vpd.c optional vpd 213#i386/i386/apic_vector.s optional apic 214i386/i386/atomic.c standard \ 215 compile-with "${CC} -c ${CFLAGS} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} ${.IMPSRC}" 216i386/i386/autoconf.c standard 217i386/i386/bios.c standard 218i386/i386/bioscall.s standard 219i386/i386/busdma_machdep.c standard 220i386/i386/critical.c standard 221i386/i386/db_disasm.c optional ddb 222i386/i386/db_interface.c optional ddb 223i386/i386/db_trace.c optional ddb 224i386/i386/dump_machdep.c standard 225i386/i386/elan-mmcr.c optional cpu_elan 226i386/i386/elan-mmcr.c optional cpu_soekris 227i386/i386/elf_machdep.c standard 228i386/i386/exception.s standard 229i386/i386/gdb_machdep.c optional gdb 230i386/i386/geode.c optional cpu_geode 231i386/i386/i686_mem.c optional mem 232i386/i386/identcpu.c standard 233i386/i386/in_cksum.c optional inet 234i386/i386/initcpu.c standard 235i386/i386/intr_machdep.c standard 236i386/i386/io_apic.c optional apic 237i386/i386/io.c optional io 238i386/i386/k6_mem.c optional mem 239i386/i386/legacy.c standard 240i386/i386/local_apic.c optional apic 241i386/i386/locore.s standard no-obj 242i386/i386/longrun.c optional cpu_enable_longrun 243i386/i386/machdep.c standard 244i386/i386/mem.c optional mem 245i386/i386/mp_clock.c optional smp 246i386/i386/mp_machdep.c optional smp 247i386/i386/mp_watchdog.c optional mp_watchdog smp 248i386/i386/mpboot.s optional smp 249i386/i386/mptable.c optional apic 250i386/i386/mptable_pci.c optional apic pci 251i386/i386/nexus.c standard 252i386/i386/p4tcc.c optional cpu_enable_tcc 253i386/i386/perfmon.c optional perfmon 254i386/i386/perfmon.c optional perfmon profiling-routine 255i386/i386/pmap.c standard 256i386/i386/support.s standard 257i386/i386/swtch.s standard 258i386/i386/sys_machdep.c standard 259i386/i386/trap.c standard 260i386/i386/tsc.c standard 261i386/i386/uio_machdep.c standard 262i386/i386/vm86.c standard 263i386/i386/vm_machdep.c standard 264i386/ibcs2/ibcs2_errno.c optional ibcs2 265i386/ibcs2/ibcs2_fcntl.c optional ibcs2 266i386/ibcs2/ibcs2_ioctl.c optional ibcs2 267i386/ibcs2/ibcs2_ipc.c optional ibcs2 268i386/ibcs2/ibcs2_isc.c optional ibcs2 269i386/ibcs2/ibcs2_isc_sysent.c optional ibcs2 270i386/ibcs2/ibcs2_misc.c optional ibcs2 271i386/ibcs2/ibcs2_msg.c optional ibcs2 272i386/ibcs2/ibcs2_other.c optional ibcs2 273i386/ibcs2/ibcs2_signal.c optional ibcs2 274i386/ibcs2/ibcs2_socksys.c optional ibcs2 275i386/ibcs2/ibcs2_stat.c optional ibcs2 276i386/ibcs2/ibcs2_sysent.c optional ibcs2 277i386/ibcs2/ibcs2_sysi86.c optional ibcs2 278i386/ibcs2/ibcs2_sysvec.c optional ibcs2 279i386/ibcs2/ibcs2_util.c optional ibcs2 280i386/ibcs2/ibcs2_xenix.c optional ibcs2 281i386/ibcs2/ibcs2_xenix_sysent.c optional ibcs2 282i386/ibcs2/imgact_coff.c optional ibcs2 283i386/isa/atpic.c standard 284#i386/isa/atpic_vector.s standard 285i386/isa/clock.c standard 286i386/isa/elcr.c standard 287i386/isa/elink.c optional ep 288i386/isa/elink.c optional ie 289i386/isa/if_el.c optional el 290i386/isa/isa.c optional isa 291i386/isa/isa_dma.c optional isa 292i386/isa/mse.c optional mse 293i386/isa/nmi.c standard 294i386/isa/npx.c optional npx 295i386/isa/pbio.c optional pbio 296i386/isa/pcf.c optional pcf 297i386/isa/pcvt/pcvt_drv.c optional vt 298i386/isa/pcvt/pcvt_ext.c optional vt 299i386/isa/pcvt/pcvt_kbd.c optional vt 300i386/isa/pcvt/pcvt_out.c optional vt 301i386/isa/pcvt/pcvt_sup.c optional vt 302i386/isa/pcvt/pcvt_vtf.c optional vt 303i386/isa/pmtimer.c optional pmtimer 304i386/isa/prof_machdep.c optional profiling-routine 305i386/isa/spic.c optional spic 306i386/isa/spkr.c optional speaker 307i386/isa/vesa.c optional vga vesa 308i386/linux/imgact_linux.c optional compat_linux 309i386/linux/linux_dummy.c optional compat_linux 310i386/linux/linux_locore.s optional compat_linux \ 311 dependency "linux_assym.h" 312i386/linux/linux_machdep.c optional compat_linux 313i386/linux/linux_ptrace.c optional compat_linux 314i386/linux/linux_sysent.c optional compat_linux 315i386/linux/linux_sysvec.c optional compat_linux 316i386/pci/pci_bus.c optional pci 317i386/pci/pci_cfgreg.c optional pci 318i386/pci/pci_pir.c optional pci 319i386/svr4/svr4_locore.s optional compat_svr4 \ 320 dependency "svr4_assym.h" \ 321 warning "COMPAT_SVR4 is broken and should be avoided" 322i386/svr4/svr4_machdep.c optional compat_svr4 323# 324# isdn4bsd, needed for isic | iwic | ifpi | ifpi2 | ihfc | ifpnp | itjc 325# 326i4b/layer1/i4b_hdlc.c optional itjc 327i4b/layer1/i4b_hdlc.c optional ihfc 328i4b/layer1/i4b_l1dmux.c optional isic 329i4b/layer1/i4b_l1lib.c optional isic 330i4b/layer1/i4b_l1dmux.c optional iwic 331i4b/layer1/i4b_l1lib.c optional iwic 332i4b/layer1/i4b_l1dmux.c optional ifpi 333i4b/layer1/i4b_l1lib.c optional ifpi 334i4b/layer1/i4b_l1dmux.c optional ifpi2 335i4b/layer1/i4b_l1lib.c optional ifpi2 336i4b/layer1/i4b_l1dmux.c optional ihfc 337i4b/layer1/i4b_l1lib.c optional ihfc 338i4b/layer1/i4b_l1dmux.c optional ifpnp 339i4b/layer1/i4b_l1lib.c optional ifpnp 340i4b/layer1/i4b_l1dmux.c optional itjc 341i4b/layer1/i4b_l1lib.c optional itjc 342# 343# isdn4bsd, isic 344# 345i4b/layer1/isic/i4b_asuscom_ipac.c optional isic 346i4b/layer1/isic/i4b_avm_a1.c optional isic 347i4b/layer1/isic/i4b_bchan.c optional isic 348i4b/layer1/isic/i4b_ctx_s0P.c optional isic 349i4b/layer1/isic/i4b_drn_ngo.c optional isic 350i4b/layer1/isic/i4b_dynalink.c optional isic 351i4b/layer1/isic/i4b_elsa_qs1i.c optional isic 352i4b/layer1/isic/i4b_elsa_qs1p.c optional isic pci 353i4b/layer1/isic/i4b_elsa_pcc16.c optional isic 354i4b/layer1/isic/i4b_hscx.c optional isic 355i4b/layer1/isic/i4b_isac.c optional isic 356i4b/layer1/isic/i4b_isic.c optional isic 357i4b/layer1/isic/i4b_isic_isa.c optional isic 358i4b/layer1/isic/i4b_isic_pnp.c optional isic 359i4b/layer1/isic/i4b_itk_ix1.c optional isic 360i4b/layer1/isic/i4b_l1.c optional isic 361i4b/layer1/isic/i4b_l1fsm.c optional isic 362i4b/layer1/isic/i4b_siemens_isurf.c optional isic 363i4b/layer1/isic/i4b_sws.c optional isic 364i4b/layer1/isic/i4b_tel_s016.c optional isic 365i4b/layer1/isic/i4b_tel_s0163.c optional isic 366i4b/layer1/isic/i4b_tel_s08.c optional isic 367i4b/layer1/isic/i4b_usr_sti.c optional isic 368i4b/layer1/isic/i4b_diva.c optional isic 369# 370# isdn4bsd, iwic 371# 372i4b/layer1/iwic/i4b_iwic_pci.c optional iwic pci 373i4b/layer1/iwic/i4b_iwic_dchan.c optional iwic pci 374i4b/layer1/iwic/i4b_iwic_bchan.c optional iwic pci 375i4b/layer1/iwic/i4b_iwic_fsm.c optional iwic pci 376i4b/layer1/iwic/i4b_iwic_l1if.c optional iwic pci 377# 378# isdn4bsd, ifpi 379# 380i4b/layer1/ifpi/i4b_ifpi_pci.c optional ifpi pci 381i4b/layer1/ifpi/i4b_ifpi_isac.c optional ifpi pci 382i4b/layer1/ifpi/i4b_ifpi_l1.c optional ifpi pci 383i4b/layer1/ifpi/i4b_ifpi_l1fsm.c optional ifpi pci 384# 385# isdn4bsd, ifpi2 386# 387i4b/layer1/ifpi2/i4b_ifpi2_pci.c optional ifpi2 pci 388i4b/layer1/ifpi2/i4b_ifpi2_isacsx.c optional ifpi2 pci 389i4b/layer1/ifpi2/i4b_ifpi2_l1.c optional ifpi2 pci 390i4b/layer1/ifpi2/i4b_ifpi2_l1fsm.c optional ifpi2 pci 391# 392# isdn4bsd, ifpnp 393# 394i4b/layer1/ifpnp/i4b_ifpnp_avm.c optional ifpnp 395i4b/layer1/ifpnp/i4b_ifpnp_isac.c optional ifpnp 396i4b/layer1/ifpnp/i4b_ifpnp_l1.c optional ifpnp 397i4b/layer1/ifpnp/i4b_ifpnp_l1fsm.c optional ifpnp 398# 399# isdn4bsd, ihfc 400# 401i4b/layer1/ihfc/i4b_ihfc_l1if.c optional ihfc 402i4b/layer1/ihfc/i4b_ihfc_pnp.c optional ihfc 403i4b/layer1/ihfc/i4b_ihfc_drv.c optional ihfc 404# 405# isdn4bsd, itjc 406# 407i4b/layer1/itjc/i4b_itjc_pci.c optional itjc 408i4b/layer1/itjc/i4b_itjc_isac.c optional itjc 409i4b/layer1/itjc/i4b_itjc_l1.c optional itjc 410i4b/layer1/itjc/i4b_itjc_l1fsm.c optional itjc 411# 412isa/atkbd_isa.c optional atkbd 413isa/atkbdc_isa.c optional atkbdc 414isa/psm.c optional psm 415isa/syscons_isa.c optional sc 416isa/vga_isa.c optional vga 417kern/imgact_aout.c optional compat_aout 418kern/imgact_gzip.c optional gzip 419libkern/divdi3.c standard 420libkern/ffsl.c standard 421libkern/flsl.c standard 422libkern/moddi3.c standard 423libkern/qdivrem.c standard 424libkern/ucmpdi2.c standard 425libkern/udivdi3.c standard 426libkern/umoddi3.c standard 427pci/agp_ali.c optional agp 428pci/agp_amd.c optional agp 429pci/agp_amd64.c optional agp 430pci/agp_i810.c optional agp 431pci/agp_intel.c optional agp 432pci/agp_nvidia.c optional agp 433pci/agp_sis.c optional agp 434pci/agp_via.c optional agp 435