| 1 | #!/bin/sh | 
 
 
 
 
 | 2 |  | 
 
 
 
 
 | 3 | # | 
 
 
 
 
 | 4 | # i-scream Distributed Centralised Monitoring System | 
 
 
 
 
 | 5 | # Winhost configure script | 
 
 
 
 
 | 6 | # | 
 
 
 
 
 | 7 | # $Id: configure,v 1.1 2003/02/16 15:53:54 tdb Exp $ | 
 
 
 
 
 | 8 | # | 
 
 
 
 
 | 9 |  | 
 
 
 
 
 | 10 | ## Config | 
 
 
 
 
 | 11 |  | 
 
 
 
 
 | 12 | # This should always be the same | 
 
 
 
 
 | 13 | SRCROOT=`pwd` | 
 
 
 
 
 | 14 |  | 
 
 
 
 
 | 15 | ## Write out the include file for the Makefile's | 
 
 
 
 
 | 16 |  | 
 
 
 
 
 | 17 | echo "> Generating Makefile includes" | 
 
 
 
 
 | 18 | echo "  + writing root of source tree" | 
 
 
 
 
 | 19 | echo "SOURCEROOT=${SRCROOT}" > ${SRCROOT}/Config.inc | 
 
 
 
 
 | 20 | echo "  + writing include" | 
 
 
 
 
 | 21 | echo "include \$(SOURCEROOT)/Config2.inc" >> ${SRCROOT}/Config.inc | 
 
 
 
 
 | 22 |  | 
 
 
 
 
 | 23 | echo "> Configure Completed" | 
 
 
 
 
 | 24 |  | 
 
 
 
 
 | 25 | ## End |