{
echo "add necessary files."
ACTIVATOR_DIR=${INSTALL_DIR}/tools/dynamic-analyzer/tool
- CUSTOMCHART_DIR=${INSTALL_DIR}/library/da
mkdir -p ${ACTIVATOR_DIR}
- mkdir -p ${CUSTOMCHART_DIR}
- cp ${SRCDIR}/activator/windowactivator.sh ${ACTIVATOR_DIR}
- cp ${SRCDIR}/activator/WindowActivator ${ACTIVATOR_DIR}
- cp ${SRCDIR}/activator/windowactivator.vbs ${ACTIVATOR_DIR}
- cp ${SRCDIR}/activator/windowactivator.bat ${ACTIVATOR_DIR}
- cp ${SRCDIR}/activator/WindowActivator.exe ${ACTIVATOR_DIR}
- cp ${SRCDIR}/activator/macoswindowactivator.sh ${ACTIVATOR_DIR}
- cp ${SRCDIR}/activator/MacOSWindowActivator ${ACTIVATOR_DIR}
+ case ${TARGET_OS} in
+ ubuntu-32|ubuntu-64)
+ cp ${SRCDIR}/activator/windowactivator.sh ${ACTIVATOR_DIR}
+ cp ${SRCDIR}/activator/WindowActivator ${ACTIVATOR_DIR}
+ ;;
+ windows-32|windows-64)
+ cp ${SRCDIR}/activator/windowactivator.vbs ${ACTIVATOR_DIR}
+ cp ${SRCDIR}/activator/windowactivator.bat ${ACTIVATOR_DIR}
+ cp ${SRCDIR}/activator/WindowActivator.exe ${ACTIVATOR_DIR}
+ ;;
+ macos-64)
+ cp ${SRCDIR}/activator/macoswindowactivator.sh ${ACTIVATOR_DIR}
+ cp ${SRCDIR}/activator/MacOSWindowActivator ${ACTIVATOR_DIR}
+ ;;
+ *)
+ echo "${TARGET_OS} is not support yet."
+ ;;
+ esac
- cp -rf ${SRCDIR}/custom_chart/* ${CUSTOMCHART_DIR}
## ex)
## ide_root_path_name=IDE
## cp -rf ~~~~/file.file ${INSTALL_DIR}/${ide_root_path_name}/