Makefile文件  |  40行  |  727 B

ifeq (0,1)
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/CodeGen \
  lib/Core \
  lib/Fragment \
  lib/LD \
  lib/MC \
  lib/Object \
  lib/Support \
  lib/Target

# ARM Code Generation Libraries
subdirs += \
  lib/Target/ARM \
  lib/Target/ARM/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

include $(MCLD_ROOT_PATH)/mcld.mk
include $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, $(subdirs)))
endif