
set platform = `uname`

cd dmake

if ($platform == "SunOS") then
   make Solaris2.1
else if ($platform == "Linux" || $platform == "NetBSD" || $platform == "FreeBSD") then
   make linux
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 ..



set platform = `uname`

if ( ! -f $SRC_ROOT/dmake/dmake ) then

cd dmake

if ($platform == "SunOS") then
   make Solaris2.1
else if ($platform == "Linux" || $platform == "NetBSD" || $platform == "FreeBSD") then
   make linux
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


Make sure boostrap does not build dmake if it is already built.
Make sure boostrap does not build dmake if it is already built.

Contributed by: The SGI OpenOffice.org porting team
