Revert "x86_64: isa/clock.c is clean enough to enable -Werror"
[dragonfly.git] / sys / platform / pc64 / conf / files
CommitLineData
d7f50089
YY
1# This file tells config what files go into building a kernel,
2# files marked standard are always included.
3#
d7f50089 4linux32_genassym.o optional compat_linux32 \
b2b3ffcd 5 dependency "$S/emulation/linux/x86_64/linux32_genassym.c ${FORWARD_HEADERS_COOKIE}" \
40ec0564 6 compile-with "${CC} ${CFLAGS:N-fno-common} ${WERROR} -c ${.IMPSRC}" \
d7f50089
YY
7 no-obj no-implicit-rule \
8 clean "linux32_genassym.o"
9#
10linux32_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#
c8fe38ae
MD
16font.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#
21atkbdmap.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#
26ukbdmap.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#
35878b55
SW
31hptmvraid.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#
d7f50089
YY
36emulation/linux/linux_file.c optional compat_linux32
37emulation/linux/linux_getcwd.c optional compat_linux32
38emulation/linux/linux_ioctl.c optional compat_linux32
39emulation/linux/linux_ipc.c optional compat_linux32
40emulation/linux/linux_mib.c optional compat_linux32
41emulation/linux/linux_misc.c optional compat_linux32
42emulation/linux/linux_signal.c optional compat_linux32
43emulation/linux/linux_socket.c optional compat_linux32
44emulation/linux/linux_stats.c optional compat_linux32
45emulation/linux/linux_sysctl.c optional compat_linux32
46emulation/linux/linux_uid16.c optional compat_linux32
47emulation/linux/linux_util.c optional compat_linux32
b2b3ffcd
SS
48emulation/linux/x86_64/linux32_dummy.c optional compat_linux32
49emulation/linux/x86_64/linux32_locore.s optional compat_linux32 \
d7f50089 50 dependency "linux32_assym.h"
b2b3ffcd
SS
51emulation/linux/x86_64/linux32_machdep.c optional compat_linux32
52emulation/linux/x86_64/linux32_sysent.c optional compat_linux32
53emulation/linux/x86_64/linux32_sysvec.c optional compat_linux32
efba76b4
SW
54emulation/ndis/kern_ndis.c optional ndisapi pci
55emulation/ndis/kern_windrv.c optional ndisapi pci
56emulation/ndis/subr_hal.c optional ndisapi pci
57emulation/ndis/subr_ndis.c optional ndisapi pci
58emulation/ndis/subr_ntoskrnl.c optional ndisapi pci
59emulation/ndis/subr_pe.c optional ndisapi pci
60emulation/ndis/subr_usbd.c optional ndisapi pci
61emulation/ndis/winx64_wrap.S optional ndisapi pci
d7f50089 62
503ce1e0
SS
63# XXX use assembler versions of bf_enc and des_enc
64crypto/blowfish/bf_enc.c optional ipsec ipsec_esp
65crypto/des/des_enc.c optional ipsec ipsec_esp
66crypto/des/des_ecb.c optional netsmbcrypto
67crypto/des/des_enc.c optional netsmbcrypto
68crypto/des/des_setkey.c optional netsmbcrypto
69crypto/blowfish/bf_enc.c optional crypto
70crypto/des/des_enc.c optional crypto
71crypto/des/des_ecb.c optional crypto
72crypto/des/des_setkey.c optional crypto
73
5d614934
SW
74${OSACPI_MD_DIR}/OsdEnvironment.c optional acpi
75${OSACPI_MD_DIR}/acpi_machdep.c optional acpi
76${OSACPI_MD_DIR}/acpi_pstate_machdep.c optional acpi
77${OSACPI_MD_DIR}/acpi_wakeup.c optional acpi
78acpi.h optional acpi \
79 dependency "$S/${ACPICA_DIR}/include/acpi.h" \
80 compile-with "cp $S/${ACPICA_DIR}/include/acpi.h ${.OBJDIR}/" \
81 no-obj no-implicit-rule before-depend \
82 clean "acpi.h"
83platform/acenv.h optional acpi \
84 dependency "$S/${ACPICA_DIR}/include/platform/acenv.h" \
85 compile-with "mkdir -p ${.OBJDIR}/platform; cat ${.ALLSRC} | sed -e 's/__FreeBSD__/__DragonFly__/' -e 's/acfreebsd.h/acdragonfly.h/' > ${.TARGET}" \
86 no-obj no-implicit-rule before-depend \
87 clean "acenv.h"
88acpi_wakecode.h optional acpi \
89 dependency "$S/${OSACPI_MD_DIR}/acpi_wakecode.S" \
90 compile-with "${MAKE} -f $S/${OSACPI_MD_DIR}/Makefile MAKESRCPATH=$S/${OSACPI_MD_DIR}" \
91 no-obj no-implicit-rule before-depend \
92 clean "acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin"
93#
ceab6f8f
SW
94dev/crypto/aesni/aesencdec_x86_64.S optional aesni
95dev/crypto/aesni/aeskeys_x86_64.S optional aesni
96dev/crypto/aesni/aesni.c optional aesni
97dev/crypto/aesni/aesni_wrap.c optional aesni
7677fc11
AH
98dev/crypto/padlock/padlock.c optional padlock
99dev/crypto/padlock/padlock_cipher.c optional padlock
100dev/crypto/padlock/padlock_hash.c optional padlock
101dev/crypto/padlock/padlock_rng.c optional padlock
102dev/crypto/padlock/rng_harvest_x86_64.S optional padlock
c8fe38ae
MD
103dev/video/fb/fb.c optional vga
104dev/video/fb/splash.c optional splash
105dev/video/fb/vga.c optional vga
364ddae1 106dev/powermng/est/est.c optional cpu_enable_est
efba76b4
SW
107dev/netif/ndis/if_ndis.c optional ndis
108dev/netif/ndis/if_ndis_pccard.c optional ndis pccard
109dev/netif/ndis/if_ndis_pci.c optional ndis cardbus
110dev/netif/ndis/if_ndis_pci.c optional ndis pci
111dev/netif/ndis/if_ndis_usb.c optional ndis usb
c8fe38ae
MD
112dev/misc/kbd/atkbd.c optional atkbd
113dev/misc/kbd/atkbdc.c optional atkbdc
114dev/misc/kbd/kbd.c optional atkbd
115dev/misc/kbd/kbd.c optional kbd
116dev/misc/kbd/kbd.c optional sc
117dev/misc/kbd/kbd.c optional ukbd
fc9700a1
MD
118dev/misc/kbd/kbdsw.c optional atkbd
119dev/misc/kbd/kbdsw.c optional kbd
120dev/misc/kbd/kbdsw.c optional sc
121dev/misc/kbd/kbdsw.c optional ukbd
c8fe38ae
MD
122dev/misc/syscons/schistory.c optional sc
123dev/misc/syscons/scmouse.c optional sc
124dev/misc/syscons/scterm.c optional sc
125dev/misc/syscons/scterm-dumb.c optional sc
126dev/misc/syscons/scterm-sc.c optional sc
127dev/misc/syscons/scvgarndr.c optional sc vga
128dev/misc/syscons/scvidctl.c optional sc
129dev/misc/syscons/scvtb.c optional sc
130dev/misc/syscons/syscons.c optional sc
131dev/misc/syscons/sysmouse.c optional sc
28730bd3 132kern/link_elf_obj.c standard
d7f50089
YY
133vfs/smbfs/smbfs_io.c optional smbfs
134vfs/smbfs/smbfs_node.c optional smbfs
135vfs/smbfs/smbfs_smb.c optional smbfs
136vfs/smbfs/smbfs_subr.c optional smbfs
137vfs/smbfs/smbfs_vfsops.c optional smbfs
138vfs/smbfs/smbfs_vnops.c optional smbfs
139
2acda721 140cpu/x86_64/misc/atomic.c standard \
40ec0564 141 compile-with "${CC} -c ${CFLAGS} ${WERROR} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} ${.IMPSRC}"
0e6594a8
SW
142platform/pc64/x86_64/autoconf.c standard
143platform/pc64/x86_64/mpboot.S optional smp
d7f50089
YY
144
145# DDB XXX
0e6594a8
SW
146cpu/x86_64/misc/x86_64-gdbstub.c optional ddb
147cpu/x86_64/misc/lwbuf.c standard
2acda721
JG
148cpu/x86_64/misc/elf_machdep.c standard
149cpu/x86_64/misc/in_cksum2.s optional inet
150cpu/x86_64/misc/ktr.c optional ktr
151cpu/x86_64/misc/db_disasm.c optional ddb
bb6811be 152cpu/x86_64/misc/bzeront.s standard
38e518ec 153cpu/x86_64/misc/monitor.s standard
d7f50089
YY
154#
155# DOS mbr and gpt
156kern/subr_diskmbr.c standard
157kern/subr_diskgpt.c standard
158
c8fe38ae 159libkern/memset.c standard
d7f50089
YY
160libkern/stack_protector.c standard
161
162# DEVICES
163#
164
165# PLATFORM FILES
166#
b2b3ffcd
SS
167platform/pc64/x86_64/exception.S standard
168platform/pc64/x86_64/ipl.s standard
169platform/pc64/x86_64/global.s standard
170platform/pc64/x86_64/support.s standard
171platform/pc64/x86_64/sigtramp.s standard
172platform/pc64/x86_64/swtch.s standard
173platform/pc64/x86_64/npx.c standard
3f6724a9
SW
174platform/pc64/x86_64/db_interface.c optional ddb
175platform/pc64/x86_64/db_trace.c optional ddb
be66ad11
AH
176platform/pc64/x86_64/dump_machdep.c standard
177platform/pc64/x86_64/minidump_machdep.c standard
b2b3ffcd
SS
178platform/pc64/x86_64/vm_machdep.c standard
179platform/pc64/x86_64/machdep.c standard
180platform/pc64/x86_64/userldt.c standard
181platform/pc64/x86_64/tls.c standard
182platform/pc64/x86_64/trap.c standard
183platform/pc64/x86_64/procfs_machdep.c standard
184platform/pc64/x86_64/initcpu.c standard
185platform/pc64/x86_64/identcpu.c standard
02f0e3c6 186platform/pc64/x86_64/amd64_mem.c standard
b2b3ffcd 187platform/pc64/x86_64/cpufreq_machdep.c standard
c8fe38ae 188
9a4bd8f3
SZ
189platform/pc64/apic/lapic.c standard
190platform/pc64/apic/ioapic.c standard
191platform/pc64/apic/ioapic_abi.c standard
192platform/pc64/apic/ioapic_ipl.s standard
193platform/pc64/apic/apic_vector.s standard
46d4e165 194
b2b3ffcd 195bus/isa/x86_64/isa.c optional isa
b2b3ffcd 196bus/isa/x86_64/isa_dma.c optional isa
c8fe38ae 197
b2b3ffcd 198platform/pc64/x86_64/nexus.c standard
c8fe38ae 199
1b505979 200platform/pc64/icu/icu.c standard
c8fe38ae
MD
201platform/pc64/icu/icu_abi.c standard
202platform/pc64/icu/icu_ipl.s standard
203platform/pc64/icu/icu_vector.s standard
7265a4fe 204platform/pc64/icu/elcr.c standard
d7f50089 205
b2b3ffcd
SS
206bus/pci/x86_64/legacy.c optional pci
207bus/pci/x86_64/pci_bus.c optional pci
208bus/pci/x86_64/pci_cfgreg.c optional pci
9a4bd8f3 209bus/pci/x86_64/mptable_pci.c optional pci
2ac05e91 210# notyet (BIOS struct and functions)
b2b3ffcd 211#bus/pci/x86_64/pci_pir.c optional pci
2ac05e91 212
b2b3ffcd
SS
213platform/pc64/x86_64/pmap.c standard
214platform/pc64/x86_64/pmap_inval.c standard
215platform/pc64/x86_64/busdma_machdep.c standard
216platform/pc64/x86_64/sysarch.c standard
b2b3ffcd
SS
217platform/pc64/x86_64/console.c standard
218platform/pc64/x86_64/ipl_funcs.c standard
c8fe38ae 219kern/syscalls.c standard
b2b3ffcd 220platform/pc64/x86_64/mp_machdep.c optional smp
9a4bd8f3 221platform/pc64/x86_64/mptable.c standard
3a3c37b8
SZ
222platform/pc64/acpica5/acpi_sdt.c standard
223platform/pc64/acpica5/acpi_fadt.c standard
9a4bd8f3 224platform/pc64/acpica5/acpi_madt.c standard
c8fe38ae
MD
225dev/misc/atkbd/atkbd_isa.c optional atkbd
226dev/misc/atkbdc_layer/atkbdc_isa.c optional atkbdc
3b681182 227dev/misc/ppc/ppc.c optional ppc
c8fe38ae
MD
228dev/misc/psm/psm.c optional psm
229dev/serial/sio/sio.c optional sio
230bus/isa/syscons_isa.c optional sc
231bus/isa/vga_isa.c optional vga
f8c035f1 232platform/pc64/isa/clock.c standard nowerror
57a9c56b 233platform/pc64/isa/isa_intr.c standard
b2b3ffcd 234platform/pc64/x86_64/spinlock.s standard
e14d027d 235dev/netif/elink_layer/elink.c optional ep