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