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# 49msysosak.o optional fla \ 50 dependency "$S/contrib/dev/fla/i386/msysosak.o.uu" \ 51 compile-with "uudecode < $S/contrib/dev/fla/i386/msysosak.o.uu" \ 52 no-implicit-rule 53# 54trlld.o optional oltr \ 55 dependency "$S/contrib/dev/oltr/i386-elf.trlld.o.uu" \ 56 compile-with "uudecode < $S/contrib/dev/oltr/i386-elf.trlld.o.uu" \ 57 no-implicit-rule 58# 59compat/linux/linux_file.c optional compat_linux 60compat/linux/linux_getcwd.c optional compat_linux 61compat/linux/linux_ioctl.c optional compat_linux 62compat/linux/linux_ipc.c optional compat_linux 63compat/linux/linux_mib.c optional compat_linux 64compat/linux/linux_misc.c optional compat_linux 65compat/linux/linux_signal.c optional compat_linux 66compat/linux/linux_socket.c optional compat_linux 67compat/linux/linux_stats.c optional compat_linux 68compat/linux/linux_sysctl.c optional compat_linux 69compat/linux/linux_uid16.c optional compat_linux 70compat/linux/linux_util.c optional compat_linux 71compat/pecoff/imgact_pecoff.c optional pecoff_support 72compat/svr4/imgact_svr4.c optional compat_svr4 73compat/svr4/svr4_fcntl.c optional compat_svr4 74compat/svr4/svr4_filio.c optional compat_svr4 75compat/svr4/svr4_ioctl.c optional compat_svr4 76compat/svr4/svr4_ipc.c optional compat_svr4 77compat/svr4/svr4_misc.c optional compat_svr4 78compat/svr4/svr4_resource.c optional compat_svr4 79compat/svr4/svr4_signal.c optional compat_svr4 80compat/svr4/svr4_socket.c optional compat_svr4 81compat/svr4/svr4_sockio.c optional compat_svr4 82compat/svr4/svr4_stat.c optional compat_svr4 83compat/svr4/svr4_stream.c optional compat_svr4 84compat/svr4/svr4_syscallnames.c optional compat_svr4 85compat/svr4/svr4_sysent.c optional compat_svr4 86compat/svr4/svr4_sysvec.c optional compat_svr4 87compat/svr4/svr4_termios.c optional compat_svr4 88compat/svr4/svr4_ttold.c optional compat_svr4 89contrib/dev/fla/fla.c optional fla 90contrib/dev/oltr/if_oltr.c optional oltr 91contrib/dev/oltr/trlldbm.c optional oltr 92contrib/dev/oltr/trlldhm.c optional oltr 93contrib/dev/oltr/trlldmac.c optional oltr 94bf_enc.o optional ipsec ipsec_esp \ 95 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" \ 96 compile-with "${CC} -c -I$S/crypto/blowfish/arch/i386 ${ASM_CFLAGS} ${WERROR} ${.IMPSRC}" \ 97 no-implicit-rule 98crypto/des/arch/i386/des_enc.S optional ipsec ipsec_esp 99crypto/des/des_ecb.c optional netsmbcrypto 100crypto/des/arch/i386/des_enc.S optional netsmbcrypto 101crypto/des/des_setkey.c optional netsmbcrypto 102dev/advansys/adv_isa.c optional adv isa 103dev/aic/aic_isa.c optional aic isa 104dev/ar/if_ar_isa.c optional ar isa 105dev/cm/if_cm_isa.c optional cm isa 106dev/ed/if_ed_isa.c optional ed isa 107dev/eisa/eisaconf.c optional eisa 108dev/em/if_em.c optional em 109dev/em/if_em_hw.c optional em 110dev/fb/fb.c optional fb 111dev/fb/fb.c optional vga 112dev/fb/splash.c optional splash 113dev/fb/vga.c optional vga 114dev/fe/if_fe_isa.c optional fe isa 115dev/kbd/atkbd.c optional atkbd 116dev/kbd/atkbdc.c count atkbdc 117dev/kbd/kbd.c optional atkbd 118dev/kbd/kbd.c optional kbd 119dev/kbd/kbd.c optional sc 120dev/kbd/kbd.c optional ukbd 121dev/kbd/kbd.c optional vt 122dev/lnc/if_lnc_isa.c optional lnc isa 123dev/puc/puc.c optional puc 124dev/puc/pucdata.c optional puc 125dev/sbni/if_sbni.c optional sbni 126dev/sbni/if_sbni_isa.c optional sbni isa 127dev/sbni/if_sbni_pci.c optional sbni pci 128dev/sio/sio.c optional sio 129dev/sio/sio_isa.c optional sio isa 130dev/sio/sio_pccard.c optional sio card 131dev/sio/sio_pccard.c optional sio pccard 132dev/sio/sio_pci.c optional sio pci 133dev/sio/sio_puc.c optional sio puc 134dev/sr/if_sr_isa.c optional sr isa 135dev/syscons/apm/apm_saver.c optional apm_saver apm 136dev/syscons/schistory.c count sc 137dev/syscons/scmouse.c optional sc 138dev/syscons/scterm.c optional sc 139dev/syscons/scterm-dumb.c optional sc 140dev/syscons/scterm-sc.c optional sc 141dev/syscons/scvesactl.c optional sc vga vesa 142dev/syscons/scvgarndr.c optional sc vga 143dev/syscons/scvidctl.c optional sc 144dev/syscons/scvtb.c optional sc 145dev/syscons/syscons.c optional sc 146dev/syscons/sysmouse.c optional sc 147fs/smbfs/smbfs_io.c optional smbfs 148fs/smbfs/smbfs_node.c optional smbfs 149fs/smbfs/smbfs_smb.c optional smbfs 150fs/smbfs/smbfs_subr.c optional smbfs 151fs/smbfs/smbfs_vfsops.c optional smbfs 152fs/smbfs/smbfs_vnops.c optional smbfs 153gnu/i386/fpemul/div_small.s optional gpl_math_emulate \ 154 warning "kernel contains GPL contaminated math emulator" 155gnu/i386/fpemul/errors.c optional gpl_math_emulate 156gnu/i386/fpemul/fpu_arith.c optional gpl_math_emulate 157gnu/i386/fpemul/fpu_aux.c optional gpl_math_emulate 158gnu/i386/fpemul/fpu_entry.c optional gpl_math_emulate 159gnu/i386/fpemul/fpu_etc.c optional gpl_math_emulate 160gnu/i386/fpemul/fpu_trig.c optional gpl_math_emulate 161gnu/i386/fpemul/get_address.c optional gpl_math_emulate 162gnu/i386/fpemul/load_store.c optional gpl_math_emulate 163gnu/i386/fpemul/poly_2xm1.c optional gpl_math_emulate 164gnu/i386/fpemul/poly_atan.c optional gpl_math_emulate 165gnu/i386/fpemul/poly_div.s optional gpl_math_emulate 166gnu/i386/fpemul/poly_l2.c optional gpl_math_emulate 167gnu/i386/fpemul/poly_mul64.s optional gpl_math_emulate 168gnu/i386/fpemul/poly_sin.c optional gpl_math_emulate 169gnu/i386/fpemul/poly_tan.c optional gpl_math_emulate 170gnu/i386/fpemul/polynomial.s optional gpl_math_emulate 171gnu/i386/fpemul/reg_add_sub.c optional gpl_math_emulate 172gnu/i386/fpemul/reg_compare.c optional gpl_math_emulate 173gnu/i386/fpemul/reg_constant.c optional gpl_math_emulate 174gnu/i386/fpemul/reg_div.s optional gpl_math_emulate 175gnu/i386/fpemul/reg_ld_str.c optional gpl_math_emulate 176gnu/i386/fpemul/reg_mul.c optional gpl_math_emulate 177gnu/i386/fpemul/reg_norm.s optional gpl_math_emulate 178gnu/i386/fpemul/reg_round.s optional gpl_math_emulate 179gnu/i386/fpemul/reg_u_add.s optional gpl_math_emulate 180gnu/i386/fpemul/reg_u_div.s optional gpl_math_emulate 181gnu/i386/fpemul/reg_u_mul.s optional gpl_math_emulate 182gnu/i386/fpemul/reg_u_sub.s optional gpl_math_emulate 183gnu/i386/fpemul/wm_shrx.s optional gpl_math_emulate 184gnu/i386/fpemul/wm_sqrt.s optional gpl_math_emulate 185i386/acpica/OsdEnvironment.c optional acpica 186i386/acpica/acpi_machdep.c optional acpica 187i386/acpica/acpi_wakeup.c optional acpica 188acpi_wakecode.h optional acpica \ 189 dependency "$S/i386/acpica/acpi_wakecode.S" \ 190 compile-with "${MAKE} -f $S/i386/acpica/Makefile MAKESRCPATH=$S/i386/acpica" \ 191 no-obj no-implicit-rule before-depend \ 192 clean "acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin" 193# 194i386/apm/apm.c optional apm 195i386/i386/atomic.c standard \ 196 compile-with "${CC} -c ${CFLAGS} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} ${.IMPSRC}" 197i386/i386/autoconf.c standard 198i386/i386/bios.c standard 199i386/i386/bioscall.s standard 200i386/i386/busdma_machdep.c standard 201i386/i386/critical.c standard 202i386/i386/db_disasm.c optional ddb 203i386/i386/db_interface.c optional ddb 204i386/i386/db_trace.c optional ddb 205i386/i386/dump_machdep.c standard 206i386/i386/elf_machdep.c standard 207i386/i386/exception.s standard 208i386/i386/i386-gdbstub.c optional ddb 209i386/i386/i686_mem.c standard 210i386/i386/identcpu.c standard 211i386/i386/in_cksum.c optional inet 212i386/i386/initcpu.c standard 213i386/i386/k6_mem.c standard 214# locore.s needs to be handled in Makefile to put it first. Otherwise it's 215# now normal. 216# i386/i386/locore.s standard 217i386/i386/machdep.c standard 218i386/i386/math_emulate.c optional math_emulate 219i386/i386/mem.c standard 220i386/i386/mp_clock.c optional smp 221i386/i386/mp_machdep.c optional smp 222i386/i386/mpapic.c optional smp 223i386/i386/mpboot.s optional smp 224i386/i386/nexus.c standard 225i386/i386/perfmon.c optional perfmon 226i386/i386/perfmon.c optional perfmon profiling-routine 227i386/i386/pmap.c standard 228i386/i386/support.s standard 229i386/i386/swtch.s standard 230i386/i386/sys_machdep.c standard 231i386/i386/trap.c standard 232i386/i386/vm86.c standard 233i386/i386/vm_machdep.c standard 234i386/ibcs2/ibcs2_errno.c optional ibcs2 235i386/ibcs2/ibcs2_fcntl.c optional ibcs2 236i386/ibcs2/ibcs2_ioctl.c optional ibcs2 237i386/ibcs2/ibcs2_ipc.c optional ibcs2 238i386/ibcs2/ibcs2_isc.c optional ibcs2 239i386/ibcs2/ibcs2_isc_sysent.c optional ibcs2 240i386/ibcs2/ibcs2_misc.c optional ibcs2 241i386/ibcs2/ibcs2_msg.c optional ibcs2 242i386/ibcs2/ibcs2_other.c optional ibcs2 243i386/ibcs2/ibcs2_signal.c optional ibcs2 244i386/ibcs2/ibcs2_socksys.c optional ibcs2 245i386/ibcs2/ibcs2_stat.c optional ibcs2 246i386/ibcs2/ibcs2_sysent.c optional ibcs2 247i386/ibcs2/ibcs2_sysi86.c optional ibcs2 248i386/ibcs2/ibcs2_sysvec.c optional ibcs2 249i386/ibcs2/ibcs2_util.c optional ibcs2 250i386/ibcs2/ibcs2_xenix.c optional ibcs2 251i386/ibcs2/ibcs2_xenix_sysent.c optional ibcs2 252i386/ibcs2/imgact_coff.c optional ibcs2 253i386/isa/asc.c count asc 254i386/isa/clock.c standard 255i386/isa/cronyx.c optional cx 256i386/isa/ctx.c count ctx 257i386/isa/cx.c count cx 258i386/isa/cy.c count cy 259i386/isa/elink.c optional ep 260i386/isa/elink.c optional ie 261i386/isa/gpib.c optional gp 262i386/isa/gsc.c count gsc 263i386/isa/if_cx.c optional cx 264i386/isa/if_el.c count el 265i386/isa/if_le.c count le 266i386/isa/if_rdp.c count rdp 267i386/isa/if_wlp.c optional wlp 268i386/isa/intr_machdep.c standard 269i386/isa/ithread.c standard 270i386/isa/isa.c optional isa 271i386/isa/isa_compat.c optional isa compat_oldisa \ 272 warning "Old ISA driver compatibility shims present." 273i386/isa/isa_dma.c optional isa 274i386/isa/istallion.c optional stli nowerror 275i386/isa/loran.c optional loran 276i386/isa/matcd/matcd.c count matcd 277i386/isa/mca_machdep.c optional mca 278i386/isa/mcd.c count mcd 279i386/isa/mse.c optional mse 280i386/isa/npx.c optional npx 281i386/isa/pcaudio.c optional pca 282i386/isa/pcf.c optional pcf 283i386/isa/pcvt/pcvt_drv.c optional vt 284i386/isa/pcvt/pcvt_ext.c optional vt 285i386/isa/pcvt/pcvt_kbd.c optional vt 286i386/isa/pcvt/pcvt_out.c optional vt 287i386/isa/pcvt/pcvt_sup.c optional vt 288i386/isa/pcvt/pcvt_vtf.c optional vt 289i386/isa/pmtimer.c optional pmtimer 290i386/isa/prof_machdep.c optional profiling-routine 291i386/isa/rc.c count rc 292i386/isa/scd.c count scd 293i386/isa/spic.c optional spic 294i386/isa/spigot.c count spigot 295i386/isa/spkr.c optional speaker 296i386/isa/stallion.c optional stl nowerror 297i386/isa/tw.c count tw 298i386/isa/vesa.c optional vga vesa 299i386/isa/wt.c count wt 300i386/linux/imgact_linux.c optional compat_linux 301i386/linux/linux_dummy.c optional compat_linux 302i386/linux/linux_locore.s optional compat_linux \ 303 dependency "linux_assym.h" 304i386/linux/linux_machdep.c optional compat_linux 305i386/linux/linux_ptrace.c optional compat_linux 306i386/linux/linux_sysent.c optional compat_linux 307i386/linux/linux_sysvec.c optional compat_linux 308i386/pci/pci_cfgreg.c optional pci 309i386/pci/pci_bus.c optional pci 310i386/svr4/svr4_locore.s optional compat_svr4 \ 311 dependency "svr4_assym.h" \ 312 warning "COMPAT_SVR4 is broken and usage is, until fixed, not recommended" 313i386/svr4/svr4_machdep.c optional compat_svr4 314# 315# isdn4bsd, needed for isic | iwic | ifpi | ifpi2 | ihfc | ifpnp | itjc 316# 317i4b/layer1/i4b_l1dmux.c optional isic 318i4b/layer1/i4b_l1lib.c optional isic 319i4b/layer1/i4b_l1dmux.c optional iwic 320i4b/layer1/i4b_l1lib.c optional iwic 321i4b/layer1/i4b_l1dmux.c optional ifpi 322i4b/layer1/i4b_l1lib.c optional ifpi 323i4b/layer1/i4b_l1dmux.c optional ifpi2 324i4b/layer1/i4b_l1lib.c optional ifpi2 325i4b/layer1/i4b_l1dmux.c optional ihfc 326i4b/layer1/i4b_l1lib.c optional ihfc 327i4b/layer1/i4b_l1dmux.c optional ifpnp 328i4b/layer1/i4b_l1lib.c optional ifpnp 329i4b/layer1/i4b_l1dmux.c optional itjc 330i4b/layer1/i4b_l1lib.c optional itjc 331# 332# isdn4bsd, isic 333# 334i4b/layer1/isic/i4b_asuscom_ipac.c optional isic 335i4b/layer1/isic/i4b_avm_a1.c optional isic 336i4b/layer1/isic/i4b_bchan.c optional isic 337i4b/layer1/isic/i4b_ctx_s0P.c optional isic 338i4b/layer1/isic/i4b_drn_ngo.c optional isic 339i4b/layer1/isic/i4b_dynalink.c optional isic 340i4b/layer1/isic/i4b_elsa_qs1i.c optional isic 341i4b/layer1/isic/i4b_elsa_qs1p.c optional isic pci 342i4b/layer1/isic/i4b_elsa_pcc16.c optional isic 343i4b/layer1/isic/i4b_hscx.c optional isic 344i4b/layer1/isic/i4b_isac.c optional isic 345i4b/layer1/isic/i4b_isic.c count isic 346i4b/layer1/isic/i4b_isic_isa.c optional isic 347i4b/layer1/isic/i4b_isic_pnp.c optional isic 348i4b/layer1/isic/i4b_itk_ix1.c optional isic 349i4b/layer1/isic/i4b_l1.c optional isic 350i4b/layer1/isic/i4b_l1fsm.c optional isic 351i4b/layer1/isic/i4b_siemens_isurf.c optional isic 352i4b/layer1/isic/i4b_sws.c optional isic 353i4b/layer1/isic/i4b_tel_s016.c optional isic 354i4b/layer1/isic/i4b_tel_s0163.c optional isic 355i4b/layer1/isic/i4b_tel_s08.c optional isic 356i4b/layer1/isic/i4b_usr_sti.c optional isic 357i4b/layer1/isic/i4b_diva.c optional isic 358# 359# isdn4bsd, iwic 360# 361i4b/layer1/iwic/i4b_iwic_pci.c count iwic pci 362i4b/layer1/iwic/i4b_iwic_dchan.c optional iwic pci 363i4b/layer1/iwic/i4b_iwic_bchan.c optional iwic pci 364i4b/layer1/iwic/i4b_iwic_fsm.c optional iwic pci 365i4b/layer1/iwic/i4b_iwic_l1if.c optional iwic pci 366# 367# isdn4bsd, ifpi 368# 369i4b/layer1/ifpi/i4b_ifpi_pci.c count ifpi pci 370i4b/layer1/ifpi/i4b_ifpi_isac.c optional ifpi pci 371i4b/layer1/ifpi/i4b_ifpi_l1.c optional ifpi pci 372i4b/layer1/ifpi/i4b_ifpi_l1fsm.c optional ifpi pci 373# 374# isdn4bsd, ifpi2 375# 376i4b/layer1/ifpi2/i4b_ifpi2_pci.c count ifpi2 pci 377i4b/layer1/ifpi2/i4b_ifpi2_isacsx.c optional ifpi2 pci 378i4b/layer1/ifpi2/i4b_ifpi2_l1.c optional ifpi2 pci 379i4b/layer1/ifpi2/i4b_ifpi2_l1fsm.c optional ifpi2 pci 380# 381# isdn4bsd, ifpnp 382# 383i4b/layer1/ifpnp/i4b_ifpnp_avm.c count ifpnp 384i4b/layer1/ifpnp/i4b_ifpnp_isac.c optional ifpnp 385i4b/layer1/ifpnp/i4b_ifpnp_l1.c optional ifpnp 386i4b/layer1/ifpnp/i4b_ifpnp_l1fsm.c optional ifpnp 387# 388# isdn4bsd, ihfc 389# 390i4b/layer1/ihfc/i4b_ihfc_l1if.c count ihfc 391i4b/layer1/ihfc/i4b_ihfc_pnp.c optional ihfc 392i4b/layer1/ihfc/i4b_ihfc_drv.c optional ihfc 393# 394# isdn4bsd, itjc 395# 396i4b/layer1/itjc/i4b_itjc_pci.c count itjc 397i4b/layer1/itjc/i4b_itjc_isac.c optional itjc 398i4b/layer1/itjc/i4b_itjc_l1.c optional itjc 399i4b/layer1/itjc/i4b_itjc_l1fsm.c optional itjc 400# 401isa/atkbd_isa.c optional atkbd 402isa/atkbdc_isa.c optional atkbdc 403isa/fd.c optional fdc 404isa/ppc.c optional ppc 405isa/psm.c optional psm 406isa/syscons_isa.c optional sc 407isa/vga_isa.c optional vga 408kern/imgact_aout.c standard 409kern/imgact_gzip.c optional gzip 410kern/link_aout.c standard 411kern/md4c.c optional netsmb 412kern/subr_diskmbr.c standard 413libkern/divdi3.c standard 414libkern/moddi3.c standard 415libkern/qdivrem.c standard 416libkern/ucmpdi2.c standard 417libkern/udivdi3.c standard 418libkern/umoddi3.c standard 419netsmb/smb_conn.c optional netsmb 420netsmb/smb_crypt.c optional netsmb 421netsmb/smb_dev.c optional netsmb 422netsmb/smb_iod.c optional netsmb 423netsmb/smb_rq.c optional netsmb 424netsmb/smb_smb.c optional netsmb 425netsmb/smb_subr.c optional netsmb 426netsmb/smb_trantcp.c optional netsmb 427netsmb/smb_usr.c optional netsmb 428