1SubDir HAIKU_TOP src add-ons kernel debugger disasm $(TARGET_KERNEL_ARCH_DIR) ; 2 3SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ; 4UseHeaders [ LibraryHeaders udis86 ] ; 5UseHeaders [ LibraryHeaders [ FDirName udis86 libudis86 ] ] ; 6UsePrivateKernelHeaders ; 7 8DEFINES += __UD_STANDALONE__ ; 9DEFINES += assert=disasm_arch_assert ; 10DEFINES += __assert_fail=disasm_arch_assert ; 11 12local libUdis86Sources = 13 decode.c 14 itab.c 15 syn-att.c 16 syn.c 17 syn-intel.c 18 udis86.c 19; 20 21KernelStaticLibrary disasm_arch.a : 22 $(libUdis86Sources) 23 disasm_arch.cpp 24; 25 26SEARCH on [ FGristFiles $(libUdis86Sources) ] 27 = [ FDirName $(HAIKU_TOP) src libs udis86 ] ; 28