1 LOCAL_PATH:= $(call my-dir) 2 3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../../../../external/llvm 4 include $(LLVM_ROOT_PATH)/llvm.mk 5 6 LOCAL_CFLAGS += $(local_cflags_for_slang) 7 8 bitcode_writer_2_9_SRC_FILES := \ 9 BitcodeWriter.cpp \ 10 BitcodeWriterPass.cpp \ 11 ValueEnumerator.cpp 12 13 # For the host 14 # ===================================================== 15 include $(CLEAR_VARS) 16 17 LOCAL_SRC_FILES := $(bitcode_writer_2_9_SRC_FILES) 18 19 LOCAL_MODULE:= libLLVMBitWriter_2_9 20 21 LOCAL_MODULE_TAGS := optional 22 23 include $(LLVM_HOST_BUILD_MK) 24 include $(LLVM_GEN_INTRINSICS_MK) 25 include $(BUILD_HOST_STATIC_LIBRARY) 26 27