#*****************************************************************
#**                                                             **
#**             (C) Copyright 1992 the Regents of the           **
#**        University of California.  All Rights Reserved.      **
#**                                                             **
#**        This work was produced under the sponsorship of      **
#**         the U.S. Department of Energy.  The Government      **
#**                retains certain rights therein.              **
#**                                                             **
#**                         Written by                          **
#**         Distributed Programming Environments Project        **
#**           Computer Software and Networking Division,        **
#**                   Livermore Computer Center,                **
#**            Lawrence Livermore National Laboratory           **
#**                                                             **
#*****************************************************************

#	sccsid:		"@(#)Makefile	1.4 10/26/92 09:31:49 LLNL "

#
#	Make ELROS runtime/include/pads
#

#
# Note:  this make file should only be invoked by make files above
# this one in the ELROS tree.
#

include ../../../Make.Defaults

#
# Files
#
DISTFILES =	Makefile stack.h task.h

#
# Targets
#
none:
	@$(ECHOTEXT) 'You must specify "package" or "install" as target'

#
# For the "package" target, the following macro must be defined on the 
# command line.
#
#    RO_DIST_DIR - directory where distribution files are to be copied
#
package: $(DISTFILES)
	$(CP) -p $(DISTFILES) $(RO_DIST_DIR)


#
# For the "install" target, the following macro must be appropriately
# defined.
#
#   RO_INSTALL_DIR - directory where installed files should be copied
#
MY_INSTALL_DIR=	$(RO_INSTALL_DIR)/runtime/include/pads

install: $(DISTFILES) $(MY_INSTALL_DIR)
	$(RM) $(MY_INSTALL_DIR)/*
	$(CP) -p $(DISTFILES) $(MY_INSTALL_DIR)
	$(CHMOD) 444 $(MY_INSTALL_DIR)/*

