1 LOCAL_PATH:= $(call my-dir) 2 3 mcld_script_SRC_FILES := \ 4 AssertCmd.cpp \ 5 Assignment.cpp \ 6 BinaryOp.cpp \ 7 EntryCmd.cpp \ 8 FileToken.cpp \ 9 GroupCmd.cpp \ 10 InputCmd.cpp \ 11 InputSectDesc.cpp \ 12 InputToken.cpp \ 13 NameSpec.cpp \ 14 NullaryOp.cpp \ 15 Operand.cpp \ 16 Operator.cpp \ 17 OutputArchCmd.cpp \ 18 OutputCmd.cpp \ 19 OutputFormatCmd.cpp \ 20 OutputSectDesc.cpp \ 21 RpnEvaluator.cpp \ 22 RpnExpr.cpp \ 23 ScriptCommand.cpp \ 24 ScriptFile.cpp \ 25 ScriptReader.cpp \ 26 SearchDirCmd.cpp \ 27 SectionsCmd.cpp \ 28 ScriptScanner.ll \ 29 ScriptParser.yy \ 30 StrToken.cpp \ 31 StringList.cpp \ 32 TernaryOp.cpp \ 33 UnaryOp.cpp \ 34 WildcardPattern.cpp 35 36 # For the host 37 # ===================================================== 38 include $(CLEAR_VARS) 39 40 LOCAL_SRC_FILES := $(mcld_script_SRC_FILES) 41 LOCAL_MODULE:= libmcldScript 42 LOCAL_C_INCLUDES := $(MCLD_ROOT_PATH)/include/mcld/Script 43 LOCAL_CFLAGS := -Wno-deprecated-register 44 45 LOCAL_MODULE_TAGS := optional 46 47 include $(MCLD_HOST_BUILD_MK) 48 include $(BUILD_HOST_STATIC_LIBRARY) 49 50 # For the device 51 # ===================================================== 52 include $(CLEAR_VARS) 53 54 LOCAL_SRC_FILES := $(mcld_script_SRC_FILES) 55 LOCAL_MODULE:= libmcldScript 56 LOCAL_C_INCLUDES := $(MCLD_ROOT_PATH)/include/mcld/Script 57 LOCAL_CFLAGS := -Wno-deprecated-register 58 59 LOCAL_MODULE_TAGS := optional 60 61 include $(MCLD_DEVICE_BUILD_MK) 62 include $(BUILD_STATIC_LIBRARY) 63