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