xref: /haiku/src/system/kernel/arch/x86/Jamfile (revision cb387cfb2f88cf171120d5c8a93f4c2a9680db9f)
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 ;
6a71974c1SIngo WeinholdSubDirHdrs $(SUBDIR) $(DOTDOT) generic ;
76e29a04dSStefano CeccheriniSubDirHdrs $(SUBDIR) timers ;
8a71974c1SIngo Weinhold
96b202f4eSIngo WeinholdUsePrivateKernelHeaders ;
1044d56753SJérôme Duval
11a71974c1SIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
122d690920SAxel Dörfler
136e29a04dSStefano CeccheriniSEARCH_SOURCE += [ FDirName $(SUBDIR) timers ] ;
146e29a04dSStefano Ceccherini
152c8b410aSAxel DörflerKernelMergeObject kernel_arch_x86.o :
1634b3b26bSIngo Weinhold	arch_commpage.cpp
17*cb387cfbSAxel Dörfler	arch_cpu.cpp
18393fceb5SAxel Dörfler	arch_debug.cpp
192b8d8585SAxel Dörfler	arch_debug_console.c
202d690920SAxel Dörfler	arch_elf.c
212d690920SAxel Dörfler	arch_int.c
227afa713aSIngo Weinhold	arch_platform.c
232d690920SAxel Dörfler#	arch_selector.c
242d690920SAxel Dörfler	arch_real_time_clock.c
252d690920SAxel Dörfler	arch_smp.c
2634b3b26bSIngo Weinhold	arch_string.S
274048494cSIngo Weinhold	arch_thread.cpp
282d690920SAxel Dörfler	arch_timer.c
29393fceb5SAxel Dörfler	arch_vm.cpp
30393fceb5SAxel Dörfler	arch_vm_translation_map.cpp
312d690920SAxel Dörfler	arch_x86.S
322d690920SAxel Dörfler	arch_interrupts.S
332d690920SAxel Dörfler	arch_system_info.c
342d690920SAxel Dörfler	arch_user_debugger.cpp
35afd6dfc8SAxel Dörfler	apm.cpp
362d690920SAxel Dörfler	bios.cpp
372d690920SAxel Dörfler	cpuid.S
381cbf8f4bSTravis Geiselbrecht	syscall.S
3915173df4SAxel Dörfler	vm86.cpp
40a71974c1SIngo Weinhold
416e29a04dSStefano Ceccherini	x86_pit.c
426e29a04dSStefano Ceccherini	x86_apic.c
436e29a04dSStefano Ceccherini	x86_hpet.c
446e29a04dSStefano Ceccherini
45a71974c1SIngo Weinhold	generic_vm_physical_page_mapper.cpp
462d690920SAxel Dörfler	:
47a8f9741cSMichael Lotz	$(TARGET_KERNEL_PIC_CCFLAGS)
482d690920SAxel Dörfler;
492d690920SAxel Dörfler
5034b3b26bSIngo WeinholdCreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp ;
5134b3b26bSIngo Weinhold
522d690920SAxel Dörfler# We need to specify the dependency on the generated syscalls file explicitly.
532d690920SAxel DörflerIncludes [ FGristFiles arch_x86.S arch_interrupts.S ]
542d690920SAxel Dörfler	: <syscalls>syscall_numbers.h ;
5534b3b26bSIngo WeinholdIncludes [ FGristFiles arch_interrupts.S ]
5634b3b26bSIngo Weinhold	: <syscalls>syscall_table.h ;
57