xref: /haiku/src/system/kernel/arch/x86/Jamfile (revision 4687d95b681d988c5a2a9da7c53f400daa76dc18)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src system kernel arch x86 ;
22d690920SAxel Dörfler
3338b8dc3SIngo WeinholdSubDirHdrs [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR) system kernel ] ;
40a51327fSAxel Dörfler	# for syscall_numbers.h
5036b999bSAxel DörflerSubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers ps2 ;
66e29a04dSStefano CeccheriniSubDirHdrs $(SUBDIR) timers ;
7a71974c1SIngo Weinhold
86b202f4eSIngo WeinholdUsePrivateKernelHeaders ;
947c40a10SIngo WeinholdUsePrivateHeaders shared ;
102d690920SAxel Dörfler
116e29a04dSStefano CeccheriniSEARCH_SOURCE += [ FDirName $(SUBDIR) timers ] ;
126e29a04dSStefano Ceccherini
132c8b410aSAxel DörflerKernelMergeObject kernel_arch_x86.o :
1434b3b26bSIngo Weinhold	arch_commpage.cpp
15cb387cfbSAxel Dörfler	arch_cpu.cpp
16393fceb5SAxel Dörfler	arch_debug.cpp
172b8d8585SAxel Dörfler	arch_debug_console.c
182d690920SAxel Dörfler	arch_elf.c
19671a2442SIngo Weinhold	arch_int.cpp
207afa713aSIngo Weinhold	arch_platform.c
212d690920SAxel Dörfler#	arch_selector.c
222d690920SAxel Dörfler	arch_real_time_clock.c
232d690920SAxel Dörfler	arch_smp.c
244048494cSIngo Weinhold	arch_thread.cpp
252d690920SAxel Dörfler	arch_timer.c
26393fceb5SAxel Dörfler	arch_vm.cpp
27393fceb5SAxel Dörfler	arch_vm_translation_map.cpp
282d690920SAxel Dörfler	arch_x86.S
292d690920SAxel Dörfler	arch_interrupts.S
302d690920SAxel Dörfler	arch_system_info.c
312d690920SAxel Dörfler	arch_user_debugger.cpp
32afd6dfc8SAxel Dörfler	apm.cpp
332d690920SAxel Dörfler	bios.cpp
342d690920SAxel Dörfler	cpuid.S
351cbf8f4bSTravis Geiselbrecht	syscall.S
3615173df4SAxel Dörfler	vm86.cpp
3747c40a10SIngo Weinhold	x86_physical_page_mapper.cpp
3847c40a10SIngo Weinhold	x86_physical_page_mapper_large_memory.cpp
39a71974c1SIngo Weinhold
406e29a04dSStefano Ceccherini	x86_pit.c
416e29a04dSStefano Ceccherini	x86_apic.c
42*4687d95bSStefano Ceccherini	x86_hpet.cpp
432d690920SAxel Dörfler	:
44a8f9741cSMichael Lotz	$(TARGET_KERNEL_PIC_CCFLAGS)
452d690920SAxel Dörfler;
462d690920SAxel Dörfler
4734b3b26bSIngo WeinholdCreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp ;
4834b3b26bSIngo Weinhold
492d690920SAxel Dörfler# We need to specify the dependency on the generated syscalls file explicitly.
502d690920SAxel DörflerIncludes [ FGristFiles arch_x86.S arch_interrupts.S ]
512d690920SAxel Dörfler	: <syscalls>syscall_numbers.h ;
5234b3b26bSIngo WeinholdIncludes [ FGristFiles arch_interrupts.S ]
5334b3b26bSIngo Weinhold	: <syscalls>syscall_table.h ;
54