# 
# Mach Operating System
# Copyright (c) 1991,1990 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.4  93/06/01  11:20:53  rvb
# 	Add man page stuff for uxmon
# 
# Revision 2.3  93/04/16  00:01:45  mrt
# 	Don't build uxmon if there is no UX server and
# 	the include files it exports.
# 	[93/04/14            mrt]
# 
# Revision 2.2  93/04/14  12:04:47  mrt
# 	Created.
# 	[93/04/14            mrt]
# 

DEPENDENCIES	=

.if defined(NO_UX)
# do not build uxmon if there is no UX server
.else
PROGRAMS	= uxmon
OFILES		= uxmon.o bsd_1User.o

LIBS		= ${LIBMACH}

ILIST		= uxmon uxmon.0 uxmon.1
IDIR		= /bin/

MIG_USRS	= bsd_1User.c

MANPAGES = uxmon
MANSECTION = 1
uxmon.0_IDIR = /man/cat1/
uxmon.1_IDIR = /man/man1/

.endif

.include <${RULES_MK}>
