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# 49nvenetlib.o optional nve pci \ 50 dependency "$S/contrib/dev/nve/i386/nvenetlib.o.bz2.uu" \ 51 compile-with "uudecode $S/contrib/dev/nve/i386/nvenetlib.o.bz2.uu ; bzip2 -df nvenetlib.o.bz2" \ 52 no-implicit-rule 53# 54os+%DIKED-nve.h optional nve pci \ 55 dependency "$S/contrib/dev/nve/os.h" \ 56 compile-with "sed -e 's/^.*#include.*phy\.h.*$$//' $S/contrib/dev/nve/os.h > os+%DIKED-nve.h" \ 57 no-implicit-rule no-obj before-depend \ 58 clean "os+%DIKED-nve.h" 59# 60hptmvraid.o optional hptmv \ 61 dependency "$S/dev/hptmv/i386-elf.raid.o.uu" \ 62 compile-with "uudecode < $S/dev/hptmv/i386-elf.raid.o.uu" \ 63 no-implicit-rule 64# 65hptrr_lib.o optional hptrr \ 66 dependency "$S/dev/hptrr/i386-elf.hptrr_lib.o.uu" \ 67 compile-with "uudecode < $S/dev/hptrr/i386-elf.hptrr_lib.o.uu" \ 68 no-implicit-rule 69# 70compat/linprocfs/linprocfs.c optional linprocfs 71compat/linsysfs/linsysfs.c optional linsysfs 72compat/linux/linux_emul.c optional compat_linux 73compat/linux/linux_file.c optional compat_linux 74compat/linux/linux_futex.c optional compat_linux 75compat/linux/linux_getcwd.c optional compat_linux 76compat/linux/linux_ioctl.c optional compat_linux 77compat/linux/linux_ipc.c optional compat_linux 78compat/linux/linux_mib.c optional compat_linux 79compat/linux/linux_misc.c optional compat_linux 80compat/linux/linux_signal.c optional compat_linux 81compat/linux/linux_socket.c optional compat_linux 82compat/linux/linux_stats.c optional compat_linux 83compat/linux/linux_sysctl.c optional compat_linux 84compat/linux/linux_time.c optional compat_linux 85compat/linux/linux_uid16.c optional compat_linux 86compat/linux/linux_util.c optional compat_linux 87compat/ndis/kern_ndis.c optional ndisapi pci 88compat/ndis/kern_windrv.c optional ndisapi pci 89compat/ndis/subr_hal.c optional ndisapi pci 90compat/ndis/subr_ndis.c optional ndisapi pci 91compat/ndis/subr_ntoskrnl.c optional ndisapi pci 92compat/ndis/subr_pe.c optional ndisapi pci 93compat/ndis/subr_usbd.c optional ndisapi pci 94compat/ndis/winx32_wrap.S optional ndisapi pci 95compat/svr4/imgact_svr4.c optional compat_svr4 96compat/svr4/svr4_fcntl.c optional compat_svr4 97compat/svr4/svr4_filio.c optional compat_svr4 98compat/svr4/svr4_ioctl.c optional compat_svr4 99compat/svr4/svr4_ipc.c optional compat_svr4 100compat/svr4/svr4_misc.c optional compat_svr4 101compat/svr4/svr4_resource.c optional compat_svr4 102compat/svr4/svr4_signal.c optional compat_svr4 103compat/svr4/svr4_socket.c optional compat_svr4 104compat/svr4/svr4_sockio.c optional compat_svr4 105compat/svr4/svr4_stat.c optional compat_svr4 106compat/svr4/svr4_stream.c optional compat_svr4 107compat/svr4/svr4_syscallnames.c optional compat_svr4 108compat/svr4/svr4_sysent.c optional compat_svr4 109compat/svr4/svr4_sysvec.c optional compat_svr4 110compat/svr4/svr4_termios.c optional compat_svr4 111bf_enc.o optional crypto | ipsec \ 112 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" \ 113 compile-with "${CC} -c -I$S/crypto/blowfish/arch/i386 ${ASM_CFLAGS} ${WERROR} ${.IMPSRC}" \ 114 no-implicit-rule 115crypto/aesni/aesencdec_i386.S optional aesni 116crypto/aesni/aeskeys_i386.S optional aesni 117crypto/aesni/aesni.c optional aesni 118crypto/aesni/aesni_wrap.c optional aesni 119crypto/des/arch/i386/des_enc.S optional crypto | ipsec | netsmb 120crypto/via/padlock.c optional padlock 121crypto/via/padlock_cipher.c optional padlock 122crypto/via/padlock_hash.c optional padlock 123dev/advansys/adv_isa.c optional adv isa 124dev/agp/agp_ali.c optional agp 125dev/agp/agp_amd.c optional agp 126dev/agp/agp_amd64.c optional agp 127dev/agp/agp_ati.c optional agp 128dev/agp/agp_i810.c optional agp 129dev/agp/agp_intel.c optional agp 130dev/agp/agp_nvidia.c optional agp 131dev/agp/agp_sis.c optional agp 132dev/agp/agp_via.c optional agp 133dev/aic/aic_isa.c optional aic isa 134dev/amdsbwd/amdsbwd.c optional amdsbwd 135dev/amdtemp/amdtemp.c optional amdtemp 136dev/arcmsr/arcmsr.c optional arcmsr pci 137dev/asmc/asmc.c optional asmc isa 138dev/atkbdc/atkbd.c optional atkbd atkbdc 139dev/atkbdc/atkbd_atkbdc.c optional atkbd atkbdc 140dev/atkbdc/atkbdc.c optional atkbdc 141dev/atkbdc/atkbdc_isa.c optional atkbdc isa 142dev/atkbdc/atkbdc_subr.c optional atkbdc 143dev/atkbdc/psm.c optional psm atkbdc 144dev/ce/ceddk.c optional ce 145dev/ce/if_ce.c optional ce 146dev/ce/tau32-ddk.c optional ce 147dev/cm/if_cm_isa.c optional cm isa 148dev/coretemp/coretemp.c optional coretemp 149dev/cp/cpddk.c optional cp 150dev/cp/if_cp.c optional cp 151dev/cpuctl/cpuctl.c optional cpuctl 152dev/ctau/ctau.c optional ctau 153dev/ctau/ctddk.c optional ctau 154dev/ctau/if_ct.c optional ctau 155dev/cx/csigma.c optional cx 156dev/cx/cxddk.c optional cx 157dev/cx/if_cx.c optional cx 158dev/dpms/dpms.c optional dpms 159dev/ed/if_ed_3c503.c optional ed isa ed_3c503 160dev/ed/if_ed_isa.c optional ed isa 161dev/ed/if_ed_wd80x3.c optional ed isa 162dev/ed/if_ed_hpp.c optional ed isa ed_hpp 163dev/ed/if_ed_sic.c optional ed isa ed_sic 164dev/fb/fb.c optional fb | vga 165dev/fb/s3_pci.c optional s3pci 166dev/fb/vesa.c optional vga vesa 167dev/fb/vga.c optional vga 168dev/fdc/fdc.c optional fdc 169dev/fdc/fdc_acpi.c optional fdc 170dev/fdc/fdc_isa.c optional fdc isa 171dev/fdc/fdc_pccard.c optional fdc pccard 172dev/fe/if_fe_isa.c optional fe isa 173dev/glxsb/glxsb.c optional glxsb 174dev/glxsb/glxsb_hash.c optional glxsb 175dev/hptmv/entry.c optional hptmv 176dev/hptmv/mv.c optional hptmv 177dev/hptmv/gui_lib.c optional hptmv 178dev/hptmv/hptproc.c optional hptmv 179dev/hptmv/ioctl.c optional hptmv 180dev/hptrr/hptrr_os_bsd.c optional hptrr 181dev/hptrr/hptrr_osm_bsd.c optional hptrr 182dev/hptrr/hptrr_config.c optional hptrr 183dev/hwpmc/hwpmc_amd.c optional hwpmc 184dev/hwpmc/hwpmc_intel.c optional hwpmc 185dev/hwpmc/hwpmc_core.c optional hwpmc 186dev/hwpmc/hwpmc_uncore.c optional hwpmc 187dev/hwpmc/hwpmc_pentium.c optional hwpmc 188dev/hwpmc/hwpmc_piv.c optional hwpmc 189dev/hwpmc/hwpmc_ppro.c optional hwpmc 190dev/hwpmc/hwpmc_tsc.c optional hwpmc 191dev/hwpmc/hwpmc_x86.c optional hwpmc 192dev/ichwd/ichwd.c optional ichwd 193dev/if_ndis/if_ndis.c optional ndis 194dev/if_ndis/if_ndis_pccard.c optional ndis pccard 195dev/if_ndis/if_ndis_pci.c optional ndis cardbus | ndis pci 196dev/if_ndis/if_ndis_usb.c optional ndis usb 197dev/io/iodev.c optional io 198dev/ipmi/ipmi.c optional ipmi 199dev/ipmi/ipmi_acpi.c optional ipmi acpi 200dev/ipmi/ipmi_isa.c optional ipmi isa 201dev/ipmi/ipmi_kcs.c optional ipmi 202dev/ipmi/ipmi_smic.c optional ipmi 203dev/ipmi/ipmi_smbus.c optional ipmi smbus 204dev/ipmi/ipmi_smbios.c optional ipmi 205dev/ipmi/ipmi_ssif.c optional ipmi smbus 206dev/ipmi/ipmi_pci.c optional ipmi pci 207dev/ipmi/ipmi_linux.c optional ipmi compat_linux 208dev/kbd/kbd.c optional atkbd | sc | ukbd 209dev/le/if_le_isa.c optional le isa 210dev/lindev/full.c optional lindev 211dev/lindev/lindev.c optional lindev 212dev/mem/memutil.c optional mem 213dev/mse/mse.c optional mse 214dev/mse/mse_isa.c optional mse isa 215dev/nfe/if_nfe.c optional nfe pci 216dev/nve/if_nve.c optional nve pci 217dev/nvram/nvram.c optional nvram isa 218dev/pcf/pcf_isa.c optional pcf 219dev/random/nehemiah.c optional random 220dev/sbni/if_sbni.c optional sbni 221dev/sbni/if_sbni_isa.c optional sbni isa 222dev/sbni/if_sbni_pci.c optional sbni pci 223dev/sio/sio.c optional sio 224dev/sio/sio_isa.c optional sio isa 225dev/sio/sio_pccard.c optional sio pccard 226dev/sio/sio_pci.c optional sio pci 227dev/sio/sio_puc.c optional sio puc 228dev/speaker/spkr.c optional speaker 229dev/syscons/apm/apm_saver.c optional apm_saver apm 230dev/syscons/scterm-teken.c optional sc 231dev/syscons/scvesactl.c optional sc vga vesa 232dev/syscons/scvgarndr.c optional sc vga 233dev/syscons/scvtb.c optional sc 234dev/uart/uart_cpu_i386.c optional uart 235dev/acpica/acpi_if.m standard 236dev/acpi_support/acpi_wmi_if.m standard 237dev/wpi/if_wpi.c optional wpi 238i386/acpica/OsdEnvironment.c optional acpi 239i386/acpica/acpi_machdep.c optional acpi 240i386/acpica/acpi_wakeup.c optional acpi 241acpi_wakecode.h optional acpi \ 242 dependency "$S/i386/acpica/acpi_wakecode.S assym.s" \ 243 compile-with "${MAKE} -f $S/i386/acpica/Makefile MAKESRCPATH=$S/i386/acpica" \ 244 no-obj no-implicit-rule before-depend \ 245 clean "acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin" 246# 247i386/acpica/madt.c optional acpi apic 248i386/bios/apm.c optional apm 249i386/bios/mca_machdep.c optional mca 250i386/bios/smapi.c optional smapi 251i386/bios/smapi_bios.S optional smapi 252#i386/i386/apic_vector.s optional apic 253i386/i386/atomic.c standard \ 254 compile-with "${CC} -c ${CFLAGS} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} ${.IMPSRC}" 255i386/i386/autoconf.c standard 256i386/i386/bios.c optional native 257i386/i386/bioscall.s optional native 258i386/i386/bpf_jit_machdep.c optional bpf_jitter 259i386/i386/busdma_machdep.c standard 260i386/i386/db_disasm.c optional ddb 261i386/i386/db_interface.c optional ddb 262i386/i386/db_trace.c optional ddb 263i386/i386/dump_machdep.c standard 264i386/i386/elan-mmcr.c optional cpu_elan | cpu_soekris 265i386/i386/elf_machdep.c standard 266i386/i386/exception.s optional native 267i386/xen/exception.s optional xen 268i386/i386/gdb_machdep.c optional gdb 269i386/i386/geode.c optional cpu_geode 270i386/i386/i686_mem.c optional mem 271i386/i386/identcpu.c standard 272i386/i386/in_cksum.c optional inet 273i386/i386/initcpu.c standard 274i386/i386/intr_machdep.c standard 275i386/i386/io.c optional io 276i386/i386/k6_mem.c optional mem 277i386/i386/legacy.c optional native 278i386/i386/locore.s optional native no-obj 279i386/xen/locore.s optional xen no-obj 280i386/i386/longrun.c optional cpu_enable_longrun 281i386/i386/machdep.c standard 282i386/xen/xen_machdep.c optional xen 283i386/i386/mem.c optional mem 284i386/i386/minidump_machdep.c standard 285i386/i386/mp_clock.c optional smp 286i386/i386/mp_machdep.c optional native smp 287i386/xen/mp_machdep.c optional xen smp 288i386/i386/mp_watchdog.c optional mp_watchdog smp 289i386/i386/mpboot.s optional smp native 290i386/i386/mptable.c optional apic native 291i386/xen/mptable.c optional apic xen 292i386/i386/mptable_pci.c optional apic pci 293i386/i386/nexus.c standard 294i386/i386/perfmon.c optional perfmon 295i386/i386/pmap.c optional native 296i386/xen/pmap.c optional xen 297i386/i386/ptrace_machdep.c standard 298i386/i386/stack_machdep.c optional ddb | stack 299i386/i386/support.s standard 300i386/i386/swtch.s standard 301i386/i386/sys_machdep.c standard 302i386/i386/trap.c standard 303i386/i386/tsc.c standard 304i386/i386/uio_machdep.c standard 305i386/i386/vm86.c standard 306i386/i386/vm_machdep.c standard 307i386/ibcs2/ibcs2_errno.c optional ibcs2 308i386/ibcs2/ibcs2_fcntl.c optional ibcs2 309i386/ibcs2/ibcs2_ioctl.c optional ibcs2 310i386/ibcs2/ibcs2_ipc.c optional ibcs2 311i386/ibcs2/ibcs2_isc.c optional ibcs2 312i386/ibcs2/ibcs2_isc_sysent.c optional ibcs2 313i386/ibcs2/ibcs2_misc.c optional ibcs2 314i386/ibcs2/ibcs2_msg.c optional ibcs2 315i386/ibcs2/ibcs2_other.c optional ibcs2 316i386/ibcs2/ibcs2_signal.c optional ibcs2 317i386/ibcs2/ibcs2_socksys.c optional ibcs2 318i386/ibcs2/ibcs2_stat.c optional ibcs2 319i386/ibcs2/ibcs2_sysent.c optional ibcs2 320i386/ibcs2/ibcs2_sysi86.c optional ibcs2 321i386/ibcs2/ibcs2_sysvec.c optional ibcs2 322i386/ibcs2/ibcs2_util.c optional ibcs2 323i386/ibcs2/ibcs2_xenix.c optional ibcs2 324i386/ibcs2/ibcs2_xenix_sysent.c optional ibcs2 325i386/ibcs2/imgact_coff.c optional ibcs2 326i386/xen/clock.c optional xen 327i386/xen/xen_clock_util.c optional xen 328i386/xen/xen_rtc.c optional xen 329i386/isa/elink.c optional ep | ie 330i386/isa/npx.c optional npx 331i386/isa/pmtimer.c optional pmtimer 332i386/isa/prof_machdep.c optional profiling-routine 333i386/isa/spic.c optional spic 334i386/linux/imgact_linux.c optional compat_linux 335i386/linux/linux_dummy.c optional compat_linux 336i386/linux/linux_locore.s optional compat_linux \ 337 dependency "linux_assym.h" 338i386/linux/linux_machdep.c optional compat_linux 339i386/linux/linux_ptrace.c optional compat_linux 340i386/linux/linux_support.s optional compat_linux \ 341 dependency "linux_assym.h" 342i386/linux/linux_sysent.c optional compat_linux 343i386/linux/linux_sysvec.c optional compat_linux 344i386/pci/pci_bus.c optional pci 345i386/pci/pci_cfgreg.c optional pci 346i386/pci/pci_pir.c optional pci 347i386/svr4/svr4_locore.s optional compat_svr4 \ 348 dependency "svr4_assym.h" \ 349 warning "COMPAT_SVR4 is broken and should be avoided" 350i386/svr4/svr4_machdep.c optional compat_svr4 351# 352isa/syscons_isa.c optional sc 353isa/vga_isa.c optional vga 354kern/kern_clocksource.c standard 355kern/imgact_aout.c optional compat_aout 356kern/imgact_gzip.c optional gzip 357libkern/divdi3.c standard 358libkern/ffsl.c standard 359libkern/flsl.c standard 360libkern/memmove.c standard 361libkern/memset.c standard 362libkern/moddi3.c standard 363libkern/qdivrem.c standard 364libkern/ucmpdi2.c standard 365libkern/udivdi3.c standard 366libkern/umoddi3.c standard 367i386/xbox/xbox.c optional xbox 368i386/xbox/xboxfb.c optional xboxfb 369dev/fb/boot_font.c optional xboxfb 370i386/xbox/pic16l.s optional xbox 371# 372# x86 real mode BIOS emulator, required by atkbdc/dpms/vesa 373# 374compat/x86bios/x86bios.c optional x86bios | atkbd | dpms | vesa 375contrib/x86emu/x86emu.c optional x86bios | atkbd | dpms | vesa 376# 377# x86 shared code between IA32, AMD64 and PC98 architectures 378# 379x86/acpica/srat.c optional acpi 380x86/bios/smbios.c optional smbios 381x86/bios/vpd.c optional vpd 382x86/cpufreq/est.c optional cpufreq 383x86/cpufreq/hwpstate.c optional cpufreq 384x86/cpufreq/p4tcc.c optional cpufreq 385x86/cpufreq/powernow.c optional cpufreq 386x86/cpufreq/smist.c optional cpufreq 387x86/isa/atpic.c optional atpic 388x86/isa/atrtc.c optional atpic 389x86/isa/clock.c optional native 390x86/isa/elcr.c standard 391x86/isa/isa.c optional isa 392x86/isa/isa_dma.c optional isa 393x86/isa/nmi.c standard 394x86/isa/orm.c optional isa 395x86/x86/io_apic.c optional apic 396x86/x86/local_apic.c optional apic 397x86/x86/mca.c standard 398x86/x86/msi.c optional apic pci 399