########################################################################
#                 copyright 2001, Amoco Production Company             #
#                             All Rights Reserved                      #
#                     an affiliate of BP America Inc.                  #
########################################################################

#
include	${DEPTROOT}/etc/gmake.init
include ${DEPTROOT}/xaprtools/etc/gmake.init

.PHONY:	targets all

targets:
	test -d ${LocalLib} || mkdir -p ${LocalLib}
	(cd xaprtools; ${MAKE} targets);

remotes:
	(cd xaprtools; ${MAKE} remotes);

all:	safe clean targets remotes
	(cd xaprtools; ${MAKE} all);

clean:	
	(cd xaprtools; ${MAKE} clean);
	-rm RemoteCopies RemoteMakes ${wildcard ShdCpy*}

SafeFiles := Makefile

safe:	.safe.${jdate}.Z

.safe.${jdate}.Z:	${SafeFiles}
	${MakeSafe}
	(cd xaprtools; ${MAKE} safe);
