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/des/arch/i386/des_enc.S optional crypto | ipsec | netsmb 116crypto/via/padlock.c optional padlock 117crypto/via/padlock_cipher.c optional padlock 118crypto/via/padlock_hash.c optional padlock 119dev/advansys/adv_isa.c optional adv isa 120dev/agp/agp_ali.c optional agp 121dev/agp/agp_amd.c optional agp 122dev/agp/agp_amd64.c optional agp 123dev/agp/agp_ati.c optional agp 124dev/agp/agp_i810.c optional agp 125dev/agp/agp_intel.c optional agp 126dev/agp/agp_nvidia.c optional agp 127dev/agp/agp_sis.c optional agp 128dev/agp/agp_via.c optional agp 129dev/aic/aic_isa.c optional aic isa 130dev/amdtemp/amdtemp.c optional amdtemp 131dev/arcmsr/arcmsr.c optional arcmsr pci 132dev/asmc/asmc.c optional asmc isa 133dev/atkbdc/atkbd.c optional atkbd atkbdc 134dev/atkbdc/atkbd_atkbdc.c optional atkbd atkbdc 135dev/atkbdc/atkbdc.c optional atkbdc 136dev/atkbdc/atkbdc_isa.c optional atkbdc isa 137dev/atkbdc/atkbdc_subr.c optional atkbdc 138dev/atkbdc/psm.c optional psm atkbdc 139dev/ce/ceddk.c optional ce 140dev/ce/if_ce.c optional ce 141dev/ce/tau32-ddk.c optional ce 142dev/cm/if_cm_isa.c optional cm isa 143dev/coretemp/coretemp.c optional coretemp 144dev/cp/cpddk.c optional cp 145dev/cp/if_cp.c optional cp 146dev/cpuctl/cpuctl.c optional cpuctl 147dev/ctau/ctau.c optional ctau 148dev/ctau/ctddk.c optional ctau 149dev/ctau/if_ct.c optional ctau 150dev/cx/csigma.c optional cx 151dev/cx/cxddk.c optional cx 152dev/cx/if_cx.c optional cx 153dev/ed/if_ed_3c503.c optional ed isa ed_3c503 154dev/ed/if_ed_isa.c optional ed isa 155dev/ed/if_ed_wd80x3.c optional ed isa 156dev/ed/if_ed_hpp.c optional ed isa ed_hpp 157dev/ed/if_ed_sic.c optional ed isa ed_sic 158dev/fb/fb.c optional fb | vga 159dev/fb/vga.c optional vga 160dev/fdc/fdc.c optional fdc 161dev/fdc/fdc_acpi.c optional fdc 162dev/fdc/fdc_isa.c optional fdc isa 163dev/fdc/fdc_pccard.c optional fdc pccard 164dev/fe/if_fe_isa.c optional fe isa 165dev/glxsb/glxsb.c optional glxsb 166dev/glxsb/glxsb_hash.c optional glxsb 167dev/hptmv/entry.c optional hptmv 168dev/hptmv/mv.c optional hptmv 169dev/hptmv/gui_lib.c optional hptmv 170dev/hptmv/hptproc.c optional hptmv 171dev/hptmv/ioctl.c optional hptmv 172dev/hptrr/hptrr_os_bsd.c optional hptrr 173dev/hptrr/hptrr_osm_bsd.c optional hptrr 174dev/hptrr/hptrr_config.c optional hptrr 175dev/hwpmc/hwpmc_amd.c optional hwpmc 176dev/hwpmc/hwpmc_intel.c optional hwpmc 177dev/hwpmc/hwpmc_core.c optional hwpmc 178dev/hwpmc/hwpmc_pentium.c optional hwpmc 179dev/hwpmc/hwpmc_piv.c optional hwpmc 180dev/hwpmc/hwpmc_ppro.c optional hwpmc 181dev/hwpmc/hwpmc_tsc.c optional hwpmc 182dev/hwpmc/hwpmc_x86.c optional hwpmc 183dev/ichwd/ichwd.c optional ichwd 184dev/if_ndis/if_ndis.c optional ndis 185dev/if_ndis/if_ndis_pccard.c optional ndis pccard 186dev/if_ndis/if_ndis_pci.c optional ndis cardbus | ndis pci 187dev/if_ndis/if_ndis_usb.c optional ndis usb 188dev/io/iodev.c optional io 189dev/ipmi/ipmi.c optional ipmi 190dev/ipmi/ipmi_acpi.c optional ipmi acpi 191dev/ipmi/ipmi_isa.c optional ipmi isa 192dev/ipmi/ipmi_kcs.c optional ipmi 193dev/ipmi/ipmi_smic.c optional ipmi 194dev/ipmi/ipmi_smbus.c optional ipmi smbus 195dev/ipmi/ipmi_smbios.c optional ipmi 196dev/ipmi/ipmi_ssif.c optional ipmi smbus 197dev/ipmi/ipmi_pci.c optional ipmi pci 198dev/ipmi/ipmi_linux.c optional ipmi compat_linux 199dev/kbd/kbd.c optional atkbd | sc | ukbd | usb2_input_kbd 200dev/le/if_le_isa.c optional le isa 201dev/mem/memutil.c optional mem 202dev/mse/mse.c optional mse 203dev/mse/mse_isa.c optional mse isa 204dev/nfe/if_nfe.c optional nfe pci 205dev/nve/if_nve.c optional nve pci 206dev/nvram/nvram.c optional nvram isa 207dev/pcf/pcf_isa.c optional pcf 208dev/random/nehemiah.c optional random 209dev/sbni/if_sbni.c optional sbni 210dev/sbni/if_sbni_isa.c optional sbni isa 211dev/sbni/if_sbni_pci.c optional sbni pci 212dev/sio/sio.c optional sio 213dev/sio/sio_isa.c optional sio isa 214dev/sio/sio_pccard.c optional sio pccard 215dev/sio/sio_pci.c optional sio pci 216dev/sio/sio_puc.c optional sio puc 217dev/speaker/spkr.c optional speaker 218dev/syscons/apm/apm_saver.c optional apm_saver apm 219dev/syscons/scterm-teken.c optional sc 220dev/syscons/scvesactl.c optional sc vga vesa 221dev/syscons/scvgarndr.c optional sc vga 222dev/syscons/scvtb.c optional sc 223dev/syscons/teken/teken.c optional sc 224dev/uart/uart_cpu_i386.c optional uart 225dev/acpica/acpi_if.m standard 226dev/acpi_support/acpi_wmi_if.m standard 227dev/wpi/if_wpi.c optional wpi 228i386/acpica/OsdEnvironment.c optional acpi 229i386/acpica/acpi_machdep.c optional acpi 230i386/acpica/acpi_wakeup.c optional acpi 231acpi_wakecode.h optional acpi \ 232 dependency "$S/i386/acpica/acpi_wakecode.S assym.s" \ 233 compile-with "${MAKE} -f $S/i386/acpica/Makefile MAKESRCPATH=$S/i386/acpica" \ 234 no-obj no-implicit-rule before-depend \ 235 clean "acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin" 236# 237i386/acpica/madt.c optional acpi apic 238i386/bios/apm.c optional apm 239i386/bios/mca_machdep.c optional mca 240i386/bios/smapi.c optional smapi 241i386/bios/smapi_bios.S optional smapi 242i386/bios/smbios.c optional smbios 243i386/bios/vpd.c optional vpd 244i386/cpufreq/est.c optional cpufreq 245i386/cpufreq/hwpstate.c optional cpufreq 246i386/cpufreq/p4tcc.c optional cpufreq 247i386/cpufreq/powernow.c optional cpufreq 248i386/cpufreq/smist.c optional cpufreq 249#i386/i386/apic_vector.s optional apic 250i386/i386/atomic.c standard \ 251 compile-with "${CC} -c ${CFLAGS} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} ${.IMPSRC}" 252i386/i386/autoconf.c standard 253i386/i386/bios.c optional native 254i386/i386/bioscall.s optional native 255i386/i386/bpf_jit_machdep.c optional bpf_jitter 256i386/i386/busdma_machdep.c standard 257i386/i386/db_disasm.c optional ddb 258i386/i386/db_interface.c optional ddb 259i386/i386/db_trace.c optional ddb 260i386/i386/dump_machdep.c standard 261i386/i386/elan-mmcr.c optional cpu_elan | cpu_soekris 262i386/i386/elf_machdep.c standard 263i386/i386/exception.s optional native 264i386/xen/exception.s optional xen 265i386/i386/gdb_machdep.c optional gdb 266i386/i386/geode.c optional cpu_geode 267i386/i386/i686_mem.c optional mem 268i386/i386/identcpu.c standard 269i386/i386/in_cksum.c optional inet 270i386/i386/initcpu.c standard 271i386/i386/intr_machdep.c standard 272i386/i386/io.c optional io 273i386/i386/io_apic.c optional apic 274i386/i386/k6_mem.c optional mem 275i386/i386/legacy.c optional native 276i386/i386/local_apic.c optional apic 277i386/i386/locore.s optional native no-obj 278i386/xen/locore.s optional xen no-obj 279i386/i386/longrun.c optional cpu_enable_longrun 280i386/i386/machdep.c standard 281i386/xen/xen_machdep.c optional xen 282i386/i386/mca.c standard 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/msi.c optional apic pci 294i386/i386/nexus.c standard 295i386/i386/perfmon.c optional perfmon 296i386/i386/pmap.c optional native 297i386/xen/pmap.c optional xen 298i386/i386/ptrace_machdep.c standard 299i386/i386/stack_machdep.c optional ddb | stack 300i386/i386/support.s standard 301i386/i386/swtch.s standard 302i386/i386/sys_machdep.c standard 303i386/i386/trap.c standard 304i386/i386/tsc.c standard 305i386/i386/uio_machdep.c standard 306i386/i386/vm86.c standard 307i386/i386/vm_machdep.c standard 308i386/ibcs2/ibcs2_errno.c optional ibcs2 309i386/ibcs2/ibcs2_fcntl.c optional ibcs2 310i386/ibcs2/ibcs2_ioctl.c optional ibcs2 311i386/ibcs2/ibcs2_ipc.c optional ibcs2 312i386/ibcs2/ibcs2_isc.c optional ibcs2 313i386/ibcs2/ibcs2_isc_sysent.c optional ibcs2 314i386/ibcs2/ibcs2_misc.c optional ibcs2 315i386/ibcs2/ibcs2_msg.c optional ibcs2 316i386/ibcs2/ibcs2_other.c optional ibcs2 317i386/ibcs2/ibcs2_signal.c optional ibcs2 318i386/ibcs2/ibcs2_socksys.c optional ibcs2 319i386/ibcs2/ibcs2_stat.c optional ibcs2 320i386/ibcs2/ibcs2_sysent.c optional ibcs2 321i386/ibcs2/ibcs2_sysi86.c optional ibcs2 322i386/ibcs2/ibcs2_sysvec.c optional ibcs2 323i386/ibcs2/ibcs2_util.c optional ibcs2 324i386/ibcs2/ibcs2_xenix.c optional ibcs2 325i386/ibcs2/ibcs2_xenix_sysent.c optional ibcs2 326i386/ibcs2/imgact_coff.c optional ibcs2 327i386/isa/atpic.c optional atpic 328#i386/isa/atpic_vector.s standard 329i386/isa/clock.c optional native 330i386/xen/clock.c optional xen 331i386/xen/xen_clock_util.c optional xen 332i386/xen/xen_rtc.c optional xen 333i386/isa/dpms.c optional dpms 334i386/isa/elcr.c standard 335i386/isa/elink.c optional ep | ie 336i386/isa/isa.c optional isa 337i386/isa/isa_dma.c optional isa 338i386/isa/nmi.c standard 339i386/isa/npx.c optional npx 340i386/isa/pmtimer.c optional pmtimer 341i386/isa/prof_machdep.c optional profiling-routine 342i386/isa/spic.c optional spic 343i386/isa/vesa.c optional vga vesa 344i386/linux/imgact_linux.c optional compat_linux 345i386/linux/linux_dummy.c optional compat_linux 346i386/linux/linux_locore.s optional compat_linux \ 347 dependency "linux_assym.h" 348i386/linux/linux_machdep.c optional compat_linux 349i386/linux/linux_ptrace.c optional compat_linux 350i386/linux/linux_support.s optional compat_linux \ 351 dependency "linux_assym.h" 352i386/linux/linux_sysent.c optional compat_linux 353i386/linux/linux_sysvec.c optional compat_linux 354i386/pci/pci_bus.c optional pci 355i386/pci/pci_cfgreg.c optional pci 356i386/pci/pci_pir.c optional pci 357i386/svr4/svr4_locore.s optional compat_svr4 \ 358 dependency "svr4_assym.h" \ 359 warning "COMPAT_SVR4 is broken and should be avoided" 360i386/svr4/svr4_machdep.c optional compat_svr4 361# 362isa/atrtc.c optional atpic 363isa/syscons_isa.c optional sc 364isa/vga_isa.c optional vga 365kern/imgact_aout.c optional compat_aout 366kern/imgact_gzip.c optional gzip 367libkern/divdi3.c standard 368libkern/ffsl.c standard 369libkern/flsl.c standard 370libkern/memmove.c standard 371libkern/memset.c standard 372libkern/moddi3.c standard 373libkern/qdivrem.c standard 374libkern/ucmpdi2.c standard 375libkern/udivdi3.c standard 376libkern/umoddi3.c standard 377i386/xbox/xbox.c optional xbox 378i386/xbox/xboxfb.c optional xboxfb 379dev/fb/boot_font.c optional xboxfb 380i386/xbox/pic16l.s optional xbox 381