File mttroot/mtt/bin/trans/mtt_make_substruc artifact 39e2eb4e04 part of check-in 1ddde03f1c
#!/bin/sh
# Makes subsystem structure files for partitioning
# Copyright (C) 2000 by Peter J. Gawthrop
sys=$1
rep=$2
lang=$3
echo Creating structure files for subsystems
# Get subsystems
subsystems=`mtt_get_subsystems -strip ${sys}`;
for subsystem in $subsystems; do
grep $subsystem < ${sys}_struc.txt > ${sys}_${subsystem}_struc.txt
done