SubDir HAIKU_TOP src system kernel arch x86 ; SubDirHdrs [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR) system kernel ] ; # for syscall_numbers.h SubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers ps2 ; SubDirHdrs $(SUBDIR) timers ; UsePrivateKernelHeaders ; UsePrivateHeaders shared ; SEARCH_SOURCE += [ FDirName $(SUBDIR) timers ] ; KernelMergeObject kernel_arch_x86.o : arch_commpage.cpp arch_cpu.cpp arch_debug.cpp arch_debug_console.c arch_elf.c arch_int.cpp arch_platform.c # arch_selector.c arch_real_time_clock.c arch_smp.c arch_thread.cpp arch_timer.c arch_vm.cpp arch_vm_translation_map.cpp arch_x86.S arch_interrupts.S arch_system_info.c arch_user_debugger.cpp apm.cpp bios.cpp cpuid.S syscall.S vm86.cpp x86_physical_page_mapper.cpp x86_physical_page_mapper_large_memory.cpp x86_pit.c x86_apic.c x86_hpet.cpp : $(TARGET_KERNEL_PIC_CCFLAGS) ; CreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp ; # We need to specify the dependency on the generated syscalls file explicitly. Includes [ FGristFiles arch_x86.S arch_interrupts.S ] : syscall_numbers.h ; Includes [ FGristFiles arch_interrupts.S ] : syscall_table.h ;