#!/bin/bash projectDir=`~/` platDir=$(projectDir)/plat platModuleList="8ecp aif bicc debug haepub iptrans isdn isup m2ua mgc mgcp mgc_v2 mtp3 pal public rtp sccp scf sip smpp snmp tcap xapp" for mod in $platModuleList; do echo "====================== make $mod ======================="; cd $platDir/$mod make clean make if [ $mod == "iptrans" ] ; then ./generate_iptrans #cp -f ./iptrans /usr/local/omc/bin/ fi cd - echo "" done