4c39be3d9700ece379129cbd9e9d060267060a85
[dragonfly.git] / sys / platform / pc64 / conf / files
1 # This file tells config what files go into building a kernel,
2 # files marked standard are always included.
3 #
4 # $DragonFly: src/sys/platform/pc64/conf/files,v 1.4 2008/11/17 11:55:19 swildner Exp $
5 #
6
7 linux32_genassym.o              optional        compat_linux32                  \
8         dependency      "$S/emulation/linux/x86_64/linux32_genassym.c ${FORWARD_HEADERS_COOKIE}" \
9         compile-with    "${CC} ${CFLAGS:N-fno-common} ${WERROR} -c ${.IMPSRC}" \
10         no-obj no-implicit-rule                                            \
11         clean           "linux32_genassym.o"
12 #
13 linux32_assym.h                 optional        compat_linux32             \
14         dependency      "$S/kern/genassym.sh linux32_genassym.o"                   \
15         compile-with    "sh $S/kern/genassym.sh linux32_genassym.o > ${.TARGET}" \
16         no-obj no-implicit-rule before-depend                              \
17         clean           "linux32_assym.h"
18 #
19 font.h                          optional        sc_dflt_font            \
20         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" \
21         no-obj no-implicit-rule before-depend                           \
22         clean           "font.h"
23 #
24 atkbdmap.h                      optional        atkbd_dflt_keymap       \
25         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"                            \
26         no-obj no-implicit-rule before-depend                           \
27         clean           "atkbdmap.h"
28 #
29 ukbdmap.h                       optional        ukbd_dflt_keymap        \
30         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"                              \
31         no-obj no-implicit-rule before-depend                           \
32         clean           "ukbdmap.h"
33 #
34 emulation/linux/linux_file.c    optional        compat_linux32
35 emulation/linux/linux_getcwd.c  optional        compat_linux32
36 emulation/linux/linux_ioctl.c   optional        compat_linux32
37 emulation/linux/linux_ipc.c     optional        compat_linux32
38 emulation/linux/linux_mib.c     optional        compat_linux32
39 emulation/linux/linux_misc.c    optional        compat_linux32
40 emulation/linux/linux_signal.c  optional        compat_linux32
41 emulation/linux/linux_socket.c  optional        compat_linux32
42 emulation/linux/linux_stats.c   optional        compat_linux32
43 emulation/linux/linux_sysctl.c  optional        compat_linux32
44 emulation/linux/linux_uid16.c   optional        compat_linux32
45 emulation/linux/linux_util.c    optional        compat_linux32
46 emulation/linux/x86_64/linux32_dummy.c  optional        compat_linux32
47 emulation/linux/x86_64/linux32_locore.s optional        compat_linux32    \
48         dependency      "linux32_assym.h"
49 emulation/linux/x86_64/linux32_machdep.c        optional        compat_linux32
50 emulation/linux/x86_64/linux32_sysent.c optional        compat_linux32
51 emulation/linux/x86_64/linux32_sysvec.c optional        compat_linux32
52
53 # XXX use assembler versions of bf_enc and des_enc
54 crypto/blowfish/bf_enc.c                optional        ipsec ipsec_esp
55 crypto/des/des_enc.c                    optional        ipsec ipsec_esp
56 crypto/des/des_ecb.c                    optional        netsmbcrypto
57 crypto/des/des_enc.c                    optional        netsmbcrypto
58 crypto/des/des_setkey.c                 optional        netsmbcrypto
59 crypto/blowfish/bf_enc.c                optional        crypto
60 crypto/des/des_enc.c                    optional        crypto
61 crypto/des/des_ecb.c                    optional        crypto
62 crypto/des/des_setkey.c                 optional        crypto
63
64 dev/video/fb/fb.c                       optional        vga
65 dev/video/fb/splash.c                   optional        splash
66 dev/video/fb/vga.c                      optional        vga
67 dev/misc/kbd/atkbd.c                    optional        atkbd
68 dev/misc/kbd/atkbdc.c                   optional        atkbdc
69 dev/misc/kbd/kbd.c                      optional        atkbd
70 dev/misc/kbd/kbd.c                      optional        kbd
71 dev/misc/kbd/kbd.c                      optional        sc
72 dev/misc/kbd/kbd.c                      optional        ukbd
73 dev/misc/syscons/schistory.c            optional        sc
74 dev/misc/syscons/scmouse.c              optional        sc
75 dev/misc/syscons/scterm.c               optional        sc
76 dev/misc/syscons/scterm-dumb.c          optional        sc
77 dev/misc/syscons/scterm-sc.c            optional        sc
78 dev/misc/syscons/scvgarndr.c            optional        sc vga
79 dev/misc/syscons/scvidctl.c             optional        sc
80 dev/misc/syscons/scvtb.c                optional        sc
81 dev/misc/syscons/syscons.c              optional        sc
82 dev/misc/syscons/sysmouse.c             optional        sc
83 kern/link_elf_obj.c             standard
84 vfs/smbfs/smbfs_io.c            optional        smbfs
85 vfs/smbfs/smbfs_node.c          optional        smbfs
86 vfs/smbfs/smbfs_smb.c           optional        smbfs
87 vfs/smbfs/smbfs_subr.c          optional        smbfs
88 vfs/smbfs/smbfs_vfsops.c        optional        smbfs
89 vfs/smbfs/smbfs_vnops.c         optional        smbfs
90
91 platform/pc64/x86_64/atomic.c                   standard                        \
92         compile-with    "${CC} -c ${CFLAGS} ${WERROR} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} ${.IMPSRC}"
93 platform/pc64/x86_64/autoconf.c standard
94 platform/pc64/x86_64/mpboot.S           optional        smp
95
96 # DDB XXX
97 cpu/x86_64/misc/x86_64-gdbstub.c                optional        ddb
98 platform/pc64/x86_64/elf_machdep.c              standard
99 platform/pc64/x86_64/in_cksum2.s                        optional        inet
100 platform/pc64/x86_64/ktr.c                      optional        ktr
101 platform/pc64/x86_64/db_disasm.c                        optional        ddb
102 #
103 # DOS mbr and gpt
104 kern/subr_diskmbr.c                     standard
105 kern/subr_diskgpt.c                     standard
106
107 libkern/memset.c                        standard
108 libkern/stack_protector.c               standard
109
110 # DEVICES
111 #
112
113 # PLATFORM FILES
114 #
115 platform/pc64/x86_64/exception.S                standard
116 platform/pc64/x86_64/ipl.s              standard
117 platform/pc64/x86_64/global.s           standard
118 platform/pc64/x86_64/support.s          standard
119 platform/pc64/x86_64/sigtramp.s         standard
120 platform/pc64/x86_64/swtch.s            standard
121 platform/pc64/x86_64/npx.c              standard
122 platform/pc64/x86_64/db_interface.c     standard
123 platform/pc64/x86_64/db_trace.c         standard
124 platform/pc64/x86_64/dump_machdep.c     standard
125 platform/pc64/x86_64/minidump_machdep.c standard
126 platform/pc64/x86_64/vm_machdep.c       standard
127 platform/pc64/x86_64/machdep.c          standard
128 platform/pc64/x86_64/userldt.c          standard
129 platform/pc64/x86_64/tls.c              standard
130 platform/pc64/x86_64/trap.c             standard
131 platform/pc64/x86_64/procfs_machdep.c   standard
132 platform/pc64/x86_64/initcpu.c          standard
133 platform/pc64/x86_64/identcpu.c         standard
134 platform/pc64/x86_64/cpufreq_machdep.c    standard
135
136 platform/pc64/apic/apic_abi.c           optional        smp
137 platform/pc64/apic/mpapic.c             optional        smp
138 platform/pc64/apic/apic_ipl.s           optional        smp
139 platform/pc64/apic/apic_vector.s        optional        smp
140
141 bus/isa/x86_64/isa.c                    optional        isa
142 bus/isa/x86_64/isa_compat.c             optional        isa compat_oldisa
143 bus/isa/x86_64/isa_dma.c                        optional        isa
144
145 platform/pc64/x86_64/nexus.c            standard
146
147 platform/pc64/icu/icu_abi.c             standard
148 platform/pc64/icu/icu_ipl.s             standard
149 platform/pc64/icu/icu_vector.s          standard
150
151 bus/pci/x86_64/legacy.c                 optional        pci
152 bus/pci/x86_64/pci_bus.c                        optional        pci
153 bus/pci/x86_64/pci_cfgreg.c             optional        pci
154 bus/pci/x86_64/mptable_pci.c            optional        pci smp apic_io
155 # notyet (BIOS struct and functions)
156 #bus/pci/x86_64/pci_pir.c                       optional        pci
157
158 #platform/pc64/x86_64/init.c            standard
159 platform/pc64/x86_64/globaldata.c       standard
160 platform/pc64/x86_64/pmap.c             standard
161 platform/pc64/x86_64/pmap_inval.c               standard
162 platform/pc64/x86_64/busdma_machdep.c standard
163 platform/pc64/x86_64/sysarch.c  standard
164 platform/pc64/x86_64/systimer.c standard
165 platform/pc64/x86_64/console.c  standard
166 platform/pc64/x86_64/ipl_funcs.c        standard
167 kern/syscalls.c                 standard
168 platform/pc64/x86_64/mp_machdep.c               optional        smp
169 dev/misc/atkbd/atkbd_isa.c              optional        atkbd
170 dev/misc/atkbdc_layer/atkbdc_isa.c      optional        atkbdc
171 dev/misc/ppc/ppc.c                      optional        ppc
172 dev/misc/psm/psm.c                      optional        psm
173 dev/serial/sio/sio.c                    optional        sio
174 bus/isa/syscons_isa.c                   optional        sc
175 bus/isa/vga_isa.c                       optional        vga
176 platform/pc64/isa/clock.c               standard nowerror
177 platform/pc64/isa/intr_machdep.c        standard
178 platform/pc64/x86_64/spinlock.s         standard