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 8UsePrivateHeaders kernel [ FDirName kernel arch $(TARGET_ARCH) ] 9 [ FDirName kernel boot platform $(HAIKU_BOOT_PLATFORM) ] ; 10 11SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ; 12 13KernelStaticLibrary libx86 : 14 arch_cpu.c 15 arch_debug.c 16 arch_debug_console.c 17 arch_elf.c 18 arch_int.c 19 arch_platform.c 20# arch_selector.c 21 arch_real_time_clock.c 22 arch_smp.c 23 arch_thread.c 24 arch_timer.c 25 arch_vm.c 26 arch_vm_translation_map.c 27 arch_x86.S 28 arch_interrupts.S 29 arch_system_info.c 30 arch_user_debugger.cpp 31 apm.cpp 32 bios.cpp 33 cpuid.S 34 commpage.c 35 syscall.S 36 37 generic_vm_physical_page_mapper.cpp 38 : 39 $(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused 40; 41 42# We need to specify the dependency on the generated syscalls file explicitly. 43Includes [ FGristFiles arch_x86.S arch_interrupts.S ] 44 : <syscalls>syscall_numbers.h ; 45