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