#! /bin/sh
find . -maxdepth 1 -type l -exec rm -f {} \;
rm -f IO.cxx IO.h

sys="TSystemClock.hh TSystemClock.cc TSystemTimer.hh TSystemTimer.cc TDataDeflation.hh TDataDeflation.cc TDataInflation.hh TDataInflation.cc TSystemLogging.hh TSystemLogging.cc TFileProperty.hh TFileProperty.cc"
for f in $sys; do
    ln -s $CLDAQ_INSTALL/source/system/$f .
done

ln -s $CLDAQ_INSTALL/source/datarecord/T*.hh .
ln -s $CLDAQ_INSTALL/source/datarecord/T*.cc .

ln -s $CLDAQ_INSTALL/source/persistency/T*.hh .
ln -s $CLDAQ_INSTALL/source/persistency/T*.cc .

exit 0
