Home | History | Annotate | Download | only in llvm-split
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 llvm_split_SRC_FILES := \
      4   llvm-split.cpp
      5 
      6 include $(CLEAR_VARS)
      7 
      8 LOCAL_MODULE := llvm-split
      9 LOCAL_MODULE_CLASS := EXECUTABLES
     10 LOCAL_MODULE_TAGS := optional
     11 LOCAL_SRC_FILES := $(llvm_split_SRC_FILES)
     12 LOCAL_LDLIBS += -lm
     13 LOCAL_LDLIBS_windows := -limagehlp
     14 LOCAL_LDLIBS_darwin := -lpthread -ldl
     15 LOCAL_LDLIBS_linux := -lpthread -ldl
     16 
     17 LOCAL_STATIC_LIBRARIES := \
     18   libLLVMIRReader \
     19   libLLVMBitReader \
     20   libLLVMBitWriter \
     21   libLLVMTransformUtils \
     22   libLLVMAnalysis \
     23   libLLVMCore \
     24   libLLVMAsmParser \
     25   libLLVMSupport
     26 
     27 include $(LLVM_HOST_BUILD_MK)
     28 include $(LLVM_GEN_ATTRIBUTES_MK)
     29 include $(BUILD_HOST_EXECUTABLE)
     30