#! /bin/bash
#*******************************************************************************
# E.S.O. - ACS project
#
# "@(#) $Id: prologue,v 1.6 2011/06/29 14:40:07 bjeram Exp $"
#
# who       when      what
# --------  --------  ----------------------------------------------
# srankin  2004-07-25  created
#

# signal trap (if any)

# since we can not install to currently used INTROOT we create a some kind of new one
getTemplateForDirectory INTROOT tmp/introot

# INTROOT has to point to the tyemporary introot in tmp
# we have to run: clean_rtai and do_rtai because the makefile has created *.drtm in advance with
#  ... the right INTROOT
# after make install we have to make clean_rtia do_rtai that the generated *.drtm is not used anymore 
cd ../src; make all install INTROOT=$PWD/../test/tmp/introot > ../test/makeInstall.log 2>&1; cd ../test
make clean_rtai_ExampleLKM do_rtai_ExampleLKM  install INTROOT=$PWD/tmp/introot >> makeInstall.log 2>&1; make clean_rtai_ ExampleLKM do_rtai_ExampleLKM >> ../test/makeInstall.log 2>&1

export ACS_TMP=$PWD/tmp
#Start the ORB services and manager.
acsutilTATPrologue -noloadifr



#
# ___oOo___
