# Makefile  @PACKAGE_NAME@ v @PACKAGE_VERSION@
# Copyright:    (C) 2002-2006  Cluster Resources, Inc, All Rights Reserved      
#
# Generated by configure

BUILDROOT=
export MSCHED_HOME=${BUILDROOT}@SPOOLDIR@
export INST_DIR=${BUILDROOT}@prefix@
export OPSYS=@OPSYS@
export OS=@OS@
export CC=@CC@
export OSCCFLAGS=@CFLAGS@
export OSLDFLAGS=@LDFLAGS@

#SECDEC =-D__MMD5 -D__MOPENSSL
#SECLIB =-lcrypto -lssl

# ============================
# Resource Manager section
# ============================
@ll_definitions@@sdr_definitions@@pbs_definitions@@sge_definitions@@lsf_definitions@@mx_definitions@@pcre_definitions@

# ============================
# Master Makefile for @PACKAGE_NAME@-@PACKAGE_VERSION@
# ============================

all:
	${MAKE} -C src/moab all
	${MAKE} -C src/mcom all
	${MAKE} -C src/server all
	${MAKE} -C src/server setup   

clean:
	${MAKE} -C src/moab clean
	${MAKE} -C src/mcom clean
	${MAKE} -C src/server clean        

install:
	${MAKE} -C src/moab install
	${MAKE} -C src/mcom install
	${MAKE} -C src/server install    

uninstall:
	${MAKE} -C src/moab uninstall
	${MAKE} -C src/mcom uninstall
	${MAKE} -C src/server uninstall

setup:
	${MAKE} -C src/server setup        

distclean: clean
	rm -f Makefile maui.cfg.dist include/Makefile.inc.*[!i][!n] include/maui.cfg.dist.inc.*[!i][!n]
	rm -f etc/maui.sh etc/maui.csh include/moab-local.h config.log config.status