1 LOCAL_PATH:= $(call my-dir) 2 3 libtablegen_SRC_FILES := \ 4 Error.cpp \ 5 Main.cpp \ 6 Record.cpp \ 7 TableGenAction.cpp \ 8 TableGenBackend.cpp \ 9 TGLexer.cpp \ 10 TGParser.cpp 11 12 # For the host 13 # ===================================================== 14 include $(CLEAR_VARS) 15 16 LOCAL_SRC_FILES := $(libtablegen_SRC_FILES) 17 LOCAL_MODULE:= libLLVMTableGen 18 19 LOCAL_MODULE_TAGS := optional 20 21 REQUIRES_EH := 1 22 REQUIRES_RTTI := 1 23 24 include $(LLVM_HOST_BUILD_MK) 25 include $(BUILD_HOST_STATIC_LIBRARY) 26 27 ## For the device 28 ## ===================================================== 29 #include $(CLEAR_VARS) 30 # 31 #LOCAL_SRC_FILES := $(libtablegen_SRC_FILES) 32 #LOCAL_MODULE:= libLLVMTableGen 33 # 34 #LOCAL_MODULE_TAGS := optional 35 # 36 #include $(LLVM_DEVICE_BUILD_MK) 37 #include $(BUILD_STATIC_LIBRARY) 38