1 LOCAL_PATH:= $(call my-dir) 2 3 filecheck_SRC_FILES := \ 4 FileCheck.cpp 5 6 filecheck_STATIC_LIBRARIES := \ 7 libLLVMSupport 8 9 include $(CLEAR_VARS) 10 11 LOCAL_MODULE := FileCheck 12 LOCAL_SRC_FILES := $(filecheck_SRC_FILES) 13 LOCAL_STATIC_LIBRARIES := $(filecheck_STATIC_LIBRARIES) 14 LOCAL_C_INCLUDES += external/llvm/include 15 LOCAL_C_INCLUDES += external/llvm/host/include 16 LOCAL_LDLIBS += -lpthread -lm -ldl 17 LOCAL_CFLAGS += -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS 18 19 #REQUIRES_EH := 1 20 #REQUIRES_RTTI := 1 21 22 include $(LLVM_HOST_BUILD_MK) 23 include $(BUILD_HOST_EXECUTABLE) 24