749f21d359d8fbd020c974a1a5227316221bfc9cwesolows#
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows# CDDL HEADER START
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows#
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows# The contents of this file are subject to the terms of the
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows# Common Development and Distribution License (the "License").
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows# You may not use this file except in compliance with the License.
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows#
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows# or http://www.opensolaris.org/os/licensing.
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows# See the License for the specific language governing permissions
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows# and limitations under the License.
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows#
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows# When distributing Covered Code, include this CDDL HEADER in each
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows# If applicable, add the following below this CDDL HEADER, with the
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows# fields enclosed by brackets "[]" replaced with your own identifying
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows# information: Portions Copyright [yyyy] [name of copyright owner]
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows#
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows# CDDL HEADER END
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows#
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows#
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows#
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows#
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsinclude ../../Makefile.lib
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsinclude ../Makefile.lib
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsFMHDRS = fmd_snmp.h
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsHDRDIR = common
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsSUBDIRS = $(MACH)
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows$(BUILD64)SUBDIRS += $(MACH64)
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin MaltbyMIBFILES = SUN-FM-MIB.mib SUN-IREPORT-MIB.mib
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
69f689b5f46563c274920df5f8cbb1e399d5ef4dVijay HNROOTNETSNMPMIBDIR = $(ROOT)/etc/net-snmp/snmp/mibs
69f689b5f46563c274920df5f8cbb1e399d5ef4dVijay HNROOTMIBS = $(MIBFILES:%=$(ROOTNETSNMPMIBDIR)/%)
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows$(ROOTMIBS) := FILEMODE = 0644
69f689b5f46563c274920df5f8cbb1e399d5ef4dVijay HN$(ROOTNETSNMPMIBDIR) := DIRMODE = 0755
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsall := TARGET = all
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsclean := TARGET = clean
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsclobber := TARGET = clobber
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsinstall := TARGET = install
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowslint := TARGET = lint
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows.KEEP_STATE:
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
f808c858fa61e7769218966759510a8b1190dfcfrafall lint clean clobber: $(SUBDIRS)
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
f808c858fa61e7769218966759510a8b1190dfcfrafinstall: install_h install_mibs .WAIT $(SUBDIRS)
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsinstall_h: $(ROOTFMHDRS)
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
69f689b5f46563c274920df5f8cbb1e399d5ef4dVijay HNinstall_mibs: $(ROOTNETSNMPMIBDIR) $(ROOTMIBS)
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowscheck: $(CHECKHDRS)
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
f808c858fa61e7769218966759510a8b1190dfcfraf$(SUBDIRS): FRC
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows @cd $@; pwd; $(MAKE) $(TARGET)
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
69f689b5f46563c274920df5f8cbb1e399d5ef4dVijay HN$(ROOTNETSNMPMIBDIR):
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows $(INS.dir)
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
69f689b5f46563c274920df5f8cbb1e399d5ef4dVijay HN$(ROOTNETSNMPMIBDIR)/%: mibs/%
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows $(INS.file)
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsFRC:
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsinclude ../../Makefile.targ
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsinclude ../Makefile.targ