LOCAL_PATH:= $(call my-dir)
LLVM_ROOT_PATH := $(LOCAL_PATH)/../../../../external/llvm
include $(LLVM_ROOT_PATH)/llvm.mk
bitcode_writer_2_9_SRC_FILES := \
BitcodeWriter.cpp \
BitcodeWriterPass.cpp \
ValueEnumerator.cpp
# For the host
# =====================================================
include $(CLEAR_VARS)
LOCAL_CFLAGS += $(local_cflags_for_slang)
LOCAL_C_INCLUDES += frameworks/compile/slang
LOCAL_SRC_FILES := $(bitcode_writer_2_9_SRC_FILES)
LOCAL_MODULE:= libLLVMBitWriter_2_9
LOCAL_MODULE_TAGS := optional
ifneq ($(HOST_OS),windows)
LOCAL_CLANG := true
endif
include $(LLVM_HOST_BUILD_MK)
include $(LLVM_GEN_INTRINSICS_MK)
include $(BUILD_HOST_STATIC_LIBRARY)