#  Operating specific stuff
#  this is for a SUN System
#  fix the weird difference in X-windows between SUN and LINUX:
echo "Changing GXnor  to GXxor"
grep -l GXnor   `find . -name \*.c  -print` >! pfiles
set m = `wc -l <  pfiles`
if( $m > 0 ) then
perl -pi.bak -e 's/GXnor/GXxor/' `cat pfiles`
endif
# change the location of the XHOME:
echo "Changing XHOME"
perl -pi.bak -e 's^XHOME=/usr/X11R6^XHOME=/usr/openwin^' makefile
perl -pi.bak -e 's^\(LINUXLIBS\)^\(SUNLIBS\)^'  makefile
