# # Copyright (c) 1999 - 2002, by Ejasent Inc. # All rights reserved. # # Makefile for Ejasent AppShot Runtime # os:sh = uname -r version:sh = grep Solaris /etc/release | awk '{ print $3 }' # # Dispatch the target base on the build system's OS version # all .DEFAULT: @case "$(os)" in \ '5.7') \ if [ x"$(version)" != x"11/99" ] ;\ then \ echo "Support Solaris 5.7 Generic_106541-08 (11/99) only"; \ exit 1; \ fi; \ echo $(MAKE) -f Makefile.s7 $@ ; \ $(MAKE) -f Makefile.s7 $@ ; \ ;; \ '5.8') \ if [ x"$(version)" != x"2/02" ] ;\ then \ echo "Support Solaris 5.8 Generic_108528-13 (2/02) only"; \ exit 1; \ fi; \ echo $(MAKE) -f Makefile.s8 $@ ; \ $(MAKE) -f Makefile.s8 $@ ; \ ;; \ *) \ echo "Support Solaris 5.7 and 5.8 only"; \ exit 1; \ ;; \ esac .INIT: @if [ ! -f Makefile.s7 ] ;\ then \ cvs co Makefile.com; \ cvs co Makefile.targ; \ cvs co Makefile.s7; \ cvs co Makefile.s8; \ fi;