xref: /haiku/src/system/kernel/arch/x86/Jamfile (revision 079eccf655ba39812b421ae1b87a727d41b50354)
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) $(DOTDOT) generic ;
7
8UsePrivateKernelHeaders ;
9
10SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
11
12KernelMergeObject kernel_arch_x86.o :
13	arch_commpage.cpp
14	arch_cpu.c
15	arch_debug.cpp
16	arch_debug_console.c
17	arch_elf.c
18	arch_hpet.c
19	arch_int.c
20	arch_platform.c
21#	arch_selector.c
22	arch_real_time_clock.c
23	arch_smp.c
24	arch_string.S
25	arch_thread.cpp
26	arch_timer.c
27	arch_vm.cpp
28	arch_vm_translation_map.cpp
29	arch_x86.S
30	arch_interrupts.S
31	arch_system_info.c
32	arch_user_debugger.cpp
33	apm.cpp
34	bios.cpp
35	cpuid.S
36	syscall.S
37	vm86.cpp
38
39	generic_vm_physical_page_mapper.cpp
40	:
41	$(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused
42;
43
44CreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp ;
45
46# We need to specify the dependency on the generated syscalls file explicitly.
47Includes [ FGristFiles arch_x86.S arch_interrupts.S ]
48	: <syscalls>syscall_numbers.h ;
49Includes [ FGristFiles arch_interrupts.S ]
50	: <syscalls>syscall_table.h ;
51