1LOCAL_PATH := $(call my-dir) 2MCLD_ROOT_PATH := $(LOCAL_PATH) 3# For mcld.mk 4LLVM_ROOT_PATH := external/llvm 5MCLD_ENABLE_ASSERTION := false 6 7include $(CLEAR_VARS) 8 9# MCLinker Libraries 10subdirs := \ 11 lib/ADT \ 12 lib/CodeGen \ 13 lib/Core \ 14 lib/Fragment \ 15 lib/LD \ 16 lib/MC \ 17 lib/Object \ 18 lib/Support \ 19 lib/Target 20 21# ARM Code Generation Libraries 22subdirs += \ 23 lib/Target/ARM \ 24 lib/Target/ARM/TargetInfo 25 26# MIPS Code Generation Libraries 27subdirs += \ 28 lib/Target/Mips \ 29 lib/Target/Mips/TargetInfo 30 31# X86 Code Generation Libraries 32subdirs += \ 33 lib/Target/X86 \ 34 lib/Target/X86/TargetInfo 35 36include $(MCLD_ROOT_PATH)/mcld.mk 37include $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, $(subdirs))) 38