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