Makefile文件  |  24行  |  560 B

LOCAL_PATH:= $(call my-dir)

filecheck_SRC_FILES := \
  FileCheck.cpp

filecheck_STATIC_LIBRARIES := \
  libLLVMSupport

include $(CLEAR_VARS)

LOCAL_MODULE := FileCheck
LOCAL_SRC_FILES := $(filecheck_SRC_FILES)
LOCAL_STATIC_LIBRARIES := $(filecheck_STATIC_LIBRARIES)
LOCAL_C_INCLUDES += external/llvm/include
LOCAL_C_INCLUDES += external/llvm/host/include
LOCAL_LDLIBS += -lpthread -lm -ldl
LOCAL_CFLAGS += -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS

#REQUIRES_EH := 1
#REQUIRES_RTTI := 1

include $(LLVM_HOST_BUILD_MK)
include $(BUILD_HOST_EXECUTABLE)