#!/bin/sh -x
#
# A script to run a full GIN software build
# Must stand on the root directory above GTL, PICI, RUS and friends
#
PKGS='GTL GRB RUS PICI ZAX Z2H DPT SDA NPDD LSM RSM SDU UWS GNS' ## CNM'
# PKGS='GTL GRB PDC RUS PICI ZAX Z2H DPT SDA PDD-CORE PDD-MISC PDD-RUS PDD-PICI PDD-ZAX PDD-SDA SDU UWS GNS' ## CNM'
chmod +x GTL/initlog
# Loop on packages and compile each
for pckg in $PKGS; do
echo "Building $pckg ........................................"
cd $pckg
/usr/local/bin/make
cd ..
echo "End building $pckg ........................................"
done