LOCAL_PATH := $(call my-dir) MCLD_ROOT_PATH := $(LOCAL_PATH) # For mcld.mk LLVM_ROOT_PATH := external/llvm MCLD_ENABLE_ASSERTION := false include $(CLEAR_VARS) # MCLinker Libraries subdirs := \ lib/ADT \ lib/Core \ lib/Fragment \ lib/LD \ lib/MC \ lib/Object \ lib/Script \ lib/Support \ lib/Target # ARM Code Generation Libraries subdirs += \ lib/Target/ARM \ lib/Target/ARM/TargetInfo # AArch64 Code Generation Libraries subdirs += \ lib/Target/AArch64 \ lib/Target/AArch64/TargetInfo # MIPS Code Generation Libraries subdirs += \ lib/Target/Mips \ lib/Target/Mips/TargetInfo # X86 Code Generation Libraries subdirs += \ lib/Target/X86 \ lib/Target/X86/TargetInfo # mcld executable subdirs += tools/mcld include $(MCLD_ROOT_PATH)/mcld.mk include $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, $(subdirs)))