xref: /haiku/src/system/kernel/arch/x86/Jamfile (revision 62f5ba006a08b0df30631375878effaf67ae5dbc)
1SubDir HAIKU_TOP src system kernel arch x86 ;
2
3SubDirHdrs [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR) system kernel ] ;
4	# for syscall_numbers.h
5SubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers ps2 ;
6SubDirHdrs $(SUBDIR) timers ;
7
8UsePrivateKernelHeaders ;
9UsePrivateHeaders shared ;
10
11SEARCH_SOURCE += [ FDirName $(SUBDIR) timers ] ;
12
13KernelMergeObject kernel_arch_x86.o :
14	arch_commpage.cpp
15	arch_cpu.cpp
16	arch_debug.cpp
17	arch_debug_console.cpp
18	arch_elf.cpp
19	arch_int.cpp
20	arch_platform.cpp
21#	arch_selector.cpp
22	arch_real_time_clock.cpp
23	arch_smp.cpp
24	arch_thread.cpp
25	arch_timer.cpp
26	arch_vm.cpp
27	arch_vm_translation_map.cpp
28	arch_x86.S
29	arch_interrupts.S
30	arch_system_info.cpp
31	arch_user_debugger.cpp
32	apm.cpp
33	bios.cpp
34	cpuid.S
35	syscall.S
36	vm86.cpp
37	x86_physical_page_mapper.cpp
38	x86_physical_page_mapper_large_memory.cpp
39	x86_syscalls.cpp
40
41	x86_apic.cpp
42	x86_hpet.cpp
43	x86_pit.cpp
44	:
45	$(TARGET_KERNEL_PIC_CCFLAGS)
46;
47
48CreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp ;
49
50# We need to specify the dependency on the generated syscalls file explicitly.
51Includes [ FGristFiles arch_x86.S arch_interrupts.S ]
52	: <syscalls>syscall_numbers.h ;
53Includes [ FGristFiles arch_interrupts.S ]
54	: <syscalls>syscall_table.h ;
55