2018-02-01 18:00:17 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-11-26 05:16:39 +00:00
|
|
|
# Run this from the desktop directory
|
2018-02-19 18:53:58 +00:00
|
|
|
|
2018-11-26 05:16:39 +00:00
|
|
|
set -e
|
|
|
|
source "../res/util.sh"
|
2018-02-01 18:00:17 +00:00
|
|
|
|
2018-11-20 04:10:55 +00:00
|
|
|
function stats {
|
|
|
|
echo "$(printf '%-15s' $1)""$(../res/stats.pl < $1)"
|
|
|
|
}
|
|
|
|
|
2018-02-01 18:00:17 +00:00
|
|
|
#do_make clean
|
|
|
|
do_make all
|
|
|
|
|
2018-11-20 03:55:00 +00:00
|
|
|
COMMON="loader mgtk"
|
|
|
|
TARGETS="$COMMON desktop"
|
|
|
|
SOURCES="$COMMON desktop_main desktop_res desktop_aux invoker ovl1 ovl1a ovl1b ovl1c ovl2 ovl3 ovl4 ovl5 ovl6 ovl7"
|
2018-02-01 18:00:17 +00:00
|
|
|
|
2018-02-22 05:18:46 +00:00
|
|
|
# Compute stats
|
2018-03-06 05:20:00 +00:00
|
|
|
echo "Stats:"
|
2018-02-26 03:02:34 +00:00
|
|
|
for t in $SOURCES; do
|
2018-02-01 18:00:17 +00:00
|
|
|
stats "$t.s"
|
|
|
|
done;
|
2018-11-15 03:41:00 +00:00
|
|
|
|
|
|
|
# Mountable directory for Virtual ][
|
|
|
|
if [ -d mount ]; then
|
|
|
|
res/mount.sh
|
|
|
|
fi
|