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