1SubDir HAIKU_TOP src add-ons kernel debugger disasm $(TARGET_ARCH) ; 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 input.c 15 itab.c 16 syn-att.c 17 syn.c 18 syn-intel.c 19 udis86.c 20; 21 22KernelStaticLibrary disasm_arch.a : 23 $(libUdis86Sources) 24 disasm_arch.cpp 25; 26 27SEARCH on [ FGristFiles $(libUdis86Sources) ] 28 = [ FDirName $(HAIKU_TOP) src libs udis86 ] ; 29