set platform = `uname` if ( ! -f $SRC_ROOT/dmake/dmake ) then cd $SRC_ROOT/dmake if ($platform == "SunOS") then make Solaris2.1 else if ($platform == "Linux" || $platform == "NetBSD" || $platform == "FreeBSD") then autogen.sh;configure;make;make install else if ($platform == "OSF1") then make tru64 else if ($platform == "IRIX" || $platform == "IRIX64") then make irix else if ($platform == "Darwin") then make macosx endif if "$?" != "0" exit cd .. endif