91a5bca17fd11cec9b9aadc8baac2da51d93ff50
[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 linux32_genassym.o              optional        compat_linux32                  \
5         dependency      "$S/emulation/linux/x86_64/linux32_genassym.c ${FORWARD_HEADERS_COOKIE}" \
6         compile-with    "${CC} ${CFLAGS:N-fno-common} ${WERROR} -c ${.IMPSRC}" \
7         no-obj no-implicit-rule                                            \
8         clean           "linux32_genassym.o"
9 #
10 linux32_assym.h                 optional        compat_linux32             \
11         dependency      "$S/kern/genassym.sh linux32_genassym.o"                   \
12         compile-with    "sh $S/kern/genassym.sh linux32_genassym.o > ${.TARGET}" \
13         no-obj no-implicit-rule before-depend                              \
14         clean           "linux32_assym.h"
15 #
16 font.h                          optional        sc_dflt_font            \
17         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" \
18         no-obj no-implicit-rule before-depend                           \
19         clean           "font.h"
20 #
21 atkbdmap.h                      optional        atkbd_dflt_keymap       \
22         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"                            \
23         no-obj no-implicit-rule before-depend                           \
24         clean           "atkbdmap.h"
25 #
26 ukbdmap.h                       optional        ukbd_dflt_keymap        \
27         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"                              \
28         no-obj no-implicit-rule before-depend                           \
29         clean           "ukbdmap.h"
30 #
31 hptmvraid.o                     optional        hptmv                   \
32         dependency      "$S/dev/raid/hptmv/x86_64-elf.raid.o.uu"        \
33         compile-with    "uudecode < $S/dev/raid/hptmv/x86_64-elf.raid.o.uu" \
34         no-implicit-rule
35 #
36 emulation/linux/linux_file.c    optional        compat_linux32
37 emulation/linux/linux_getcwd.c  optional        compat_linux32
38 emulation/linux/linux_ioctl.c   optional        compat_linux32
39 emulation/linux/linux_ipc.c     optional        compat_linux32
40 emulation/linux/linux_mib.c     optional        compat_linux32
41 emulation/linux/linux_misc.c    optional        compat_linux32
42 emulation/linux/linux_signal.c  optional        compat_linux32
43 emulation/linux/linux_socket.c  optional        compat_linux32
44 emulation/linux/linux_stats.c   optional        compat_linux32
45 emulation/linux/linux_sysctl.c  optional        compat_linux32
46 emulation/linux/linux_uid16.c   optional        compat_linux32
47 emulation/linux/linux_util.c    optional        compat_linux32
48 emulation/linux/x86_64/linux32_dummy.c  optional        compat_linux32
49 emulation/linux/x86_64/linux32_locore.s optional        compat_linux32    \
50         dependency      "linux32_assym.h"
51 emulation/linux/x86_64/linux32_machdep.c        optional        compat_linux32
52 emulation/linux/x86_64/linux32_sysent.c optional        compat_linux32
53 emulation/linux/x86_64/linux32_sysvec.c optional        compat_linux32
54
55 # XXX use assembler versions of bf_enc and des_enc
56 crypto/blowfish/bf_enc.c                optional        ipsec ipsec_esp
57 crypto/aesni/aesencdec_x86_64.S optional        aesni
58 crypto/aesni/aeskeys_x86_64.S   optional        aesni
59 crypto/aesni/aesni.c            optional        aesni
60 crypto/aesni/aesni_wrap.c       optional        aesni
61 crypto/des/des_enc.c                    optional        ipsec ipsec_esp
62 crypto/des/des_ecb.c                    optional        netsmbcrypto
63 crypto/des/des_enc.c                    optional        netsmbcrypto
64 crypto/des/des_setkey.c                 optional        netsmbcrypto
65 crypto/blowfish/bf_enc.c                optional        crypto
66 crypto/des/des_enc.c                    optional        crypto
67 crypto/des/des_ecb.c                    optional        crypto
68 crypto/des/des_setkey.c                 optional        crypto
69
70 ${OSACPI_MD_DIR}/OsdEnvironment.c       optional        acpi
71 ${OSACPI_MD_DIR}/acpi_machdep.c         optional        acpi
72 ${OSACPI_MD_DIR}/acpi_pstate_machdep.c  optional        acpi
73 ${OSACPI_MD_DIR}/acpi_wakeup.c          optional        acpi
74 acpi.h                                  optional        acpi            \
75         dependency      "$S/${ACPICA_DIR}/include/acpi.h"               \
76         compile-with    "cp $S/${ACPICA_DIR}/include/acpi.h ${.OBJDIR}/"        \
77         no-obj no-implicit-rule before-depend                           \
78         clean           "acpi.h"
79 platform/acenv.h                        optional        acpi            \
80         dependency      "$S/${ACPICA_DIR}/include/platform/acenv.h"     \
81         compile-with    "mkdir -p ${.OBJDIR}/platform; cat ${.ALLSRC} | sed -e 's/__FreeBSD__/__DragonFly__/' -e 's/acfreebsd.h/acdragonfly.h/' > ${.TARGET}" \
82         no-obj no-implicit-rule before-depend                           \
83         clean           "acenv.h"
84 acpi_wakecode.h                         optional        acpi            \
85         dependency      "$S/${OSACPI_MD_DIR}/acpi_wakecode.S"           \
86         compile-with    "${MAKE} -f $S/${OSACPI_MD_DIR}/Makefile MAKESRCPATH=$S/${OSACPI_MD_DIR}" \
87        no-obj no-implicit-rule before-depend                            \
88        clean           "acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin"
89 #
90 dev/video/fb/fb.c                       optional        vga
91 dev/video/fb/splash.c                   optional        splash
92 dev/video/fb/vga.c                      optional        vga
93 dev/misc/kbd/atkbd.c                    optional        atkbd
94 dev/misc/kbd/atkbdc.c                   optional        atkbdc
95 dev/misc/kbd/kbd.c                      optional        atkbd
96 dev/misc/kbd/kbd.c                      optional        kbd
97 dev/misc/kbd/kbd.c                      optional        sc
98 dev/misc/kbd/kbd.c                      optional        ukbd
99 dev/misc/kbd/kbdsw.c                    optional        atkbd
100 dev/misc/kbd/kbdsw.c                    optional        kbd
101 dev/misc/kbd/kbdsw.c                    optional        sc
102 dev/misc/kbd/kbdsw.c                    optional        ukbd
103 dev/misc/syscons/schistory.c            optional        sc
104 dev/misc/syscons/scmouse.c              optional        sc
105 dev/misc/syscons/scterm.c               optional        sc
106 dev/misc/syscons/scterm-dumb.c          optional        sc
107 dev/misc/syscons/scterm-sc.c            optional        sc
108 dev/misc/syscons/scvgarndr.c            optional        sc vga
109 dev/misc/syscons/scvidctl.c             optional        sc
110 dev/misc/syscons/scvtb.c                optional        sc
111 dev/misc/syscons/syscons.c              optional        sc
112 dev/misc/syscons/sysmouse.c             optional        sc
113 kern/link_elf_obj.c             standard
114 vfs/smbfs/smbfs_io.c            optional        smbfs
115 vfs/smbfs/smbfs_node.c          optional        smbfs
116 vfs/smbfs/smbfs_smb.c           optional        smbfs
117 vfs/smbfs/smbfs_subr.c          optional        smbfs
118 vfs/smbfs/smbfs_vfsops.c        optional        smbfs
119 vfs/smbfs/smbfs_vnops.c         optional        smbfs
120
121 cpu/x86_64/misc/atomic.c                standard                        \
122         compile-with    "${CC} -c ${CFLAGS} ${WERROR} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} ${.IMPSRC}"
123 platform/pc64/x86_64/autoconf.c standard
124 platform/pc64/x86_64/mpboot.S           optional        smp
125
126 # DDB XXX
127 cpu/x86_64/misc/x86_64-gdbstub.c        optional        ddb
128 cpu/x86_64/misc/lwbuf.c                 standard
129 cpu/x86_64/misc/elf_machdep.c           standard
130 cpu/x86_64/misc/in_cksum2.s             optional        inet
131 cpu/x86_64/misc/ktr.c                   optional        ktr
132 cpu/x86_64/misc/db_disasm.c             optional        ddb
133 cpu/x86_64/misc/bzeront.s               standard
134 cpu/x86_64/misc/monitor.s               standard
135 #
136 # DOS mbr and gpt
137 kern/subr_diskmbr.c                     standard
138 kern/subr_diskgpt.c                     standard
139
140 libkern/memset.c                        standard
141 libkern/stack_protector.c               standard
142
143 # DEVICES
144 #
145
146 # PLATFORM FILES
147 #
148 platform/pc64/x86_64/exception.S                standard
149 platform/pc64/x86_64/ipl.s              standard
150 platform/pc64/x86_64/global.s           standard
151 platform/pc64/x86_64/support.s          standard
152 platform/pc64/x86_64/sigtramp.s         standard
153 platform/pc64/x86_64/swtch.s            standard
154 platform/pc64/x86_64/npx.c              standard
155 platform/pc64/x86_64/db_interface.c     standard
156 platform/pc64/x86_64/db_trace.c         standard
157 platform/pc64/x86_64/dump_machdep.c     standard
158 platform/pc64/x86_64/minidump_machdep.c standard
159 platform/pc64/x86_64/vm_machdep.c       standard
160 platform/pc64/x86_64/machdep.c          standard
161 platform/pc64/x86_64/userldt.c          standard
162 platform/pc64/x86_64/tls.c              standard
163 platform/pc64/x86_64/trap.c             standard
164 platform/pc64/x86_64/procfs_machdep.c   standard
165 platform/pc64/x86_64/initcpu.c          standard
166 platform/pc64/x86_64/identcpu.c         standard
167 platform/pc64/x86_64/cpufreq_machdep.c    standard
168
169 platform/pc64/apic/apic_abi.c           optional        smp
170 platform/pc64/apic/mpapic.c             optional        smp
171 platform/pc64/apic/apic_ipl.s           optional        smp
172 platform/pc64/apic/apic_vector.s        optional        smp
173
174 bus/isa/x86_64/isa.c                    optional        isa
175 bus/isa/x86_64/isa_compat.c             optional        isa compat_oldisa
176 bus/isa/x86_64/isa_dma.c                        optional        isa
177
178 platform/pc64/x86_64/nexus.c            standard
179
180 platform/pc64/icu/icu_abi.c             standard
181 platform/pc64/icu/icu_ipl.s             standard
182 platform/pc64/icu/icu_vector.s          standard
183
184 bus/pci/x86_64/legacy.c                 optional        pci
185 bus/pci/x86_64/pci_bus.c                        optional        pci
186 bus/pci/x86_64/pci_cfgreg.c             optional        pci
187 bus/pci/x86_64/mptable_pci.c            optional        pci smp
188 # notyet (BIOS struct and functions)
189 #bus/pci/x86_64/pci_pir.c                       optional        pci
190
191 #platform/pc64/x86_64/init.c            standard
192 platform/pc64/x86_64/globaldata.c       standard
193 platform/pc64/x86_64/pmap.c             standard
194 platform/pc64/x86_64/pmap_inval.c               standard
195 platform/pc64/x86_64/busdma_machdep.c standard
196 platform/pc64/x86_64/sysarch.c  standard
197 platform/pc64/x86_64/console.c  standard
198 platform/pc64/x86_64/ipl_funcs.c        standard
199 kern/syscalls.c                 standard
200 platform/pc64/x86_64/mp_machdep.c               optional        smp
201 platform/pc64/x86_64/mp_madt.c          optional        smp
202 dev/misc/atkbd/atkbd_isa.c              optional        atkbd
203 dev/misc/atkbdc_layer/atkbdc_isa.c      optional        atkbdc
204 dev/misc/ppc/ppc.c                      optional        ppc
205 dev/misc/psm/psm.c                      optional        psm
206 dev/serial/sio/sio.c                    optional        sio
207 bus/isa/syscons_isa.c                   optional        sc
208 bus/isa/vga_isa.c                       optional        vga
209 platform/pc64/isa/clock.c               standard nowerror
210 platform/pc64/isa/intr_machdep.c        standard
211 platform/pc64/x86_64/spinlock.s         standard