1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5dirs := \ 6 ABI/MacOSX-arm \ 7 ABI/MacOSX-i386 \ 8 ABI/SysV-x86_64 \ 9 Disassembler/llvm \ 10 DynamicLoader/POSIX-DYLD \ 11 DynamicLoader/Static \ 12 Instruction/ARM \ 13 LanguageRuntime/CPlusPlus/ItaniumABI \ 14 LanguageRuntime/ObjC/AppleObjCRuntime \ 15 ObjectContainer/BSD-Archive \ 16 ObjectFile/ELF \ 17 ObjectFile/PECOFF \ 18 OperatingSystem/Python \ 19 Platform/gdb-server \ 20 Platform/MacOSX \ 21 Platform/Linux \ 22 Platform/FreeBSD \ 23 Process/gdb-remote \ 24 Process/Utility \ 25 SymbolFile/DWARF \ 26 SymbolFile/Symtab \ 27 UnwindAssembly/InstEmulation \ 28 UnwindAssembly/x86 29 30ifeq ($(HOST_OS),darwin) 31dirs += \ 32 DynamicLoader/Darwin-Kernel \ 33 DynamicLoader/MacOSX-DYLD \ 34 ObjectContainer/Universal-Mach-O \ 35 ObjectFile/Mach-O \ 36 Process/mach-core \ 37 Process/MacOSX-Kernel \ 38 SymbolVendor/MacOSX 39endif 40 41ifeq ($(HOST_OS),linux) 42dirs += \ 43 DynamicLoader/MacOSX-DYLD \ 44 Process/elf-core \ 45 Process/Linux \ 46 Process/POSIX \ 47 SymbolVendor/ELF 48endif 49 50ifneq (,$(filter $(HOST_OS), freebsd)) 51dirs += \ 52 Process/elf-core \ 53 Process/FreeBSD \ 54 Process/POSIX \ 55 SymbolVendor/ELF 56endif 57 58subdirs := $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, $(dirs))) 59 60include $(subdirs) 61