#*******************************************************************************
# ALMA - Atacama Large Millimeter Array
# Copyright (c) ESO - European Southern Observatory, 2011
# (in the framework of the ALMA collaboration).
# All rights reserved.
# 
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
# 
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
# 
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
#*******************************************************************************
#*******************************************************************************
# E.S.O. - ALMA project
#
# "@(#) $Id: Makefile,v 1.4 2012/11/27 16:27:07 rtobar Exp $"
#
# Test makefile for OBOPS/TMCDB/alma.obops.tmcbd.explorer
#
# who       when        what
# --------  ----------  ----------------------------------------------
# amchavan  2007-09-07  created
#

# additional scripts
SCRIPTS_L = testAll

#
# Jarfiles and their directories
#
JARFILES = testexplorer
testexplorer_DIRS = alma
testexplorer_EXTRAS = config/*

# we must explicitly add the plugin jar to the classpath since it's not in a standard ACSROOT/lib or INTROOT/lib 
# location and will not be picked up automatically by the acs makefile system
PLUGIN_JAR = $(shell if [ -f $(INTROOT)/lib/TmcdbExplorer/plugins/alma.obops.tmcdb.explorer_1.0.0.jar ]; then \
echo $(INTROOT)/lib/TmcdbExplorer/plugins/alma.obops.tmcdb.explorer_1.0.0.jar; \
else \
echo $(ACSROOT)/lib/TmcdbExplorer/plugins/alma.obops.tmcdb.explorer_1.0.0.jar; \
fi;)

CLASSPATH := $(CLASSPATH):$(PLUGIN_JAR)

#
# INCLUDE STANDARDS
# -----------------

MAKEDIRTMP := $(shell searchFile include/acsMakefile)
ifneq ($(MAKEDIRTMP),\#error\#)
   MAKEDIR := $(MAKEDIRTMP)/include
   include $(MAKEDIR)/acsMakefile
endif

#--------------------------------------------------------------------------
#>>>>> END OF standard rules

#
# TARGETS
# -------
all:	do_all
	@echo " . . . 'all' done" 

clean : clean_all
	rm -rf sed.scan cachedir TestList.sed .testSession test.err test.out
	@echo " . . . clean done"

clean_dist : clean_all clean_dist_all 
	@echo " . . . clean_dist done"

man   : do_man 
	@echo " . . . man page(s) done"

install : install_all
	@echo " . . . installation done"

#___oOo___



