# @(#)19        1.1  src/perf/perfagent/usr/samples/perfagent/server/Make.mib, perfagent, perf720 11/9/93 13:08:23
# IBM_PROLOG_BEGIN_TAG 
# This is an automatically generated prolog. 
#  
# perf720 src/perf/perfagent/usr/samples/perfagent/server/Make.mib 1.1 
#  
#                  
#  
# OBJECT CODE ONLY SOURCE MATERIALS 
#  
# COPYRIGHT International Business Machines Corp. 1992,1993 
# All Rights Reserved 
#  
# The source code for this program is not published or otherwise 
# divested of its trade secrets, irrespective of what has been 
# deposited with the U.S. Copyright Office. 
#  
# IBM_PROLOG_END_TAG 
#
# COMPONENT_NAME: (PERFAGENT) Performance Agent
#
# FUNCTIONS: Makefile to update /etc/mib.defs
#
# ORIGINS: 30
#
# (C) COPYRIGHT International Business Machines Corp. 1992, 1993
# All Rights Reserved
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
#----------------------------------------------------------------#

# This makefile assumes that you have first created the file
#
#            /etc/perf/xmservd.mib
#
# by sending a SIGINT (kill - 2) to the xmservd daemon.  This will
# produce the file if xmservd is configured for exporting statistics
# to snmpd through the SMUX interface.


all:    /etc/mib.defs.org /etc/mib.defs

/etc/mib.defs.org:
		cp /etc/mib.defs /etc/mib.defs.org

/etc/mib.defs:  /etc/perf/xmservd.mib
		mosy -o /tmp/mib.defs  /etc/perf/xmservd.mib
		cp   /etc/mib.defs.org /etc/mib.defs
		cat  /tmp/mib.defs >>  /etc/mib.defs
		rm   /tmp/mib.defs
