# 
# Mach Operating System
# Copyright (c) 1993,1992 Carnegie Mellon University
# All Rights Reserved.
# 
# Permission to use, copy, modify and distribute this software and its
# documentation is hereby granted, provided that both the copyright
# notice and this permission notice appear in all copies of the
# software, derivative works or modified versions, and any portions
# thereof, and that both notices appear in supporting documentation.
# 
# CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS 
# CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
# ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
# 
# Carnegie Mellon requests users of this software to return to
# 
#  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
#  School of Computer Science
#  Carnegie Mellon University
#  Pittsburgh PA 15213-3890
# 
# any improvements or extensions that they make and grant Carnegie the
# rights to redistribute these changes.
# 
#
# HISTORY
# $Log:	Makefile,v $
# Revision 2.9  93/04/16  00:00:23  mrt
# 	Don't build top if there is no UX server and
# 	the include files it exports.
# 	[93/04/14            mrt]
# 
# Revision 2.8  93/04/14  11:45:19  mrt
# 	Changed for ODE make
# 	[92/12/08            mrt]
# 

.if defined(NO_UX)
# don't build if there is no UX server
.else
DEPENDENCIES	=
LIBS 		= $(LIBMACH) ${LIBCURSES} ${LIBTERMCAP} ${LIBCMUCS} $(LIBM)

PROGRAMS	= top
ILIST		= top

IDIR		= /bin/
.endif

.include <${RULES_MK}>
