#******************************************************************************
# E.S.O. - ALMA project
#
# "@(#) $Id: Makefile,v 1.1.2.1 2010/09/23 15:30:29 rtobar Exp $"
#
# Makefile of OBOPS/webshiftlog
# Some of the targets are thin wrappers around the Ant (build.xml) targets 
#
# who       when        what
# --------  ----------  ----------------------------------------------
# amchavan  2008-06-09  Created

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

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

#
# 3rd party Install files
#
# --> Note that many jarfiles are installed by other modules
#
INSTALL_JARS =


# Accommodate STE and standard environments -- they define no INTROOT
ifdef INTROOT
  INSTALL_DIR = $(INTROOT)
else
  ifdef INTLIST
          INSTALL_DIR := $(shell echo $(INTLIST) | awk -F: '{print $$1}')
  else
    INSTALL_DIR = $(ACSROOT)
  endif
endif

# Standard ALMA targets
#----------------------------------------------------------
all:
	ant -find plugin-build.xml -DINTROOT=$(INSTALL_DIR) all

clean:
	ant -find plugin-build.xml -DINTROOT=$(INSTALL_DIR) clean
install : install_all
	@echo " . . . installation done"
