Modification about smack label of db file belong to process.
[apps/core/preloaded/libslp-alarm.git] / TC / build.sh
1 #/bin/sh
2
3 export TET_INSTALL_PATH=/scratchbox/TETware  # local tetware path
4 export TET_TARGET_PATH=$TET_INSTALL_PATH/tetware-target
5 export PATH=$TET_TARGET_PATH/bin:$PATH
6 export LD_LIBRARY_PATH=$TET_TARGET_PATH/lib/tet3:$LD_LIBRARY_PATH
7 export TET_ROOT=$TET_TARGET_PATH
8
9 export TET_SUITE_ROOT=`pwd`
10 FILE_NAME_EXTENSION=`date +%s`
11
12 RESULT_DIR=results
13 HTML_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.html
14 JOURNAL_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.journal
15
16 mkdir -p $RESULT_DIR
17
18 tcc -c -p ./
19 tcc -b -j $JOURNAL_RESULT -p ./
20 grw -c 3 -f chtml -o $HTML_RESULT $JOURNAL_RESULT