GEOM = ../../..
include ${GEOM}/makefiles/Makedefs.global
include Makedefs
include ${GEOM}/makefiles/Makerules.src

all:		install_more

install:	install_more

install_more:
	@if [ "${MACHTYPE}" = "sgi" ] ; then	\
	  case "`uname -r`" in			\
	    5*) irix=5 ;;			\
	    *)  irix=4 ;;			\
	  esac;					\
	  echo Selecting Irix $$irix libforms.a; \
	  rm -f libforms.a;			\
	  ln libforms$$irix.a libforms.a; 	\
	  ${INSTALL} -O -v -m 555 -F ${GEOM}/lib/${MACHTYPE} libforms.a; \
	fi

installh:	installh_more

installh_more:
	@if [ "${MACHTYPE}" = "sgi" ] ; then	\
	  ( incs="${INCS}" ; i=; \
            for h in $$incs ; do \
	      cmp -s $$h ${GEOM}/include/$$h || i="$$i $$h" ; \
	    done; \
	    test -n "$$i" && ${INSTALL} -O -v -m 444 -F ${GEOM}/include $$i || :) \
	fi
