1184cd04cScth# 2184cd04cScth# CDDL HEADER START 3184cd04cScth# 4184cd04cScth# The contents of this file are subject to the terms of the 5184cd04cScth# Common Development and Distribution License (the "License"). 6184cd04cScth# You may not use this file except in compliance with the License. 7184cd04cScth# 8184cd04cScth# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9184cd04cScth# or http://www.opensolaris.org/os/licensing. 10184cd04cScth# See the License for the specific language governing permissions 11184cd04cScth# and limitations under the License. 12184cd04cScth# 13184cd04cScth# When distributing Covered Code, include this CDDL HEADER in each 14184cd04cScth# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15184cd04cScth# If applicable, add the following below this CDDL HEADER, with the 16184cd04cScth# fields enclosed by brackets "[]" replaced with your own identifying 17184cd04cScth# information: Portions Copyright [yyyy] [name of copyright owner] 18184cd04cScth# 19184cd04cScth# CDDL HEADER END 20184cd04cScth# 21184cd04cScth# 22184cd04cScth# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23184cd04cScth# Use is subject to license terms. 24184cd04cScth# 255661bb76SJohn Levon# Copyright (c) 2018, Joyent, Inc. 26184cd04cScth 27184cd04cScthMODULE = disk-monitor 28184cd04cScthCLASS = common 29184cd04cScthSRCS = disk_monitor.c diskmon_conf.c topo_gather.c \ 30184cd04cScth hotplug_mgr.c dm_platform.c schg_mgr.c util.c 31184cd04cScth 32184cd04cScthinclude ../../Makefile.plugin 33184cd04cScth 34184cd04cScthLINTFLAGS += -I. -I$(SRC)/lib/fm/topo/modules/common/disk -L$(ROOT)/usr/lib/fm 35184cd04cScthCFLAGS += -I. -I$(SRC)/lib/fm/topo/modules/common/disk 36184cd04cScthLDLIBS += -lsysevent -lnvpair -lsmbios -lcfgadm -ltopo -luutil -lipmi 37184cd04cScthLDFLAGS += -L$(ROOT)/usr/lib/fm -R/usr/lib/fm 38*d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 395661bb76SJohn Levon 405661bb76SJohn Levon# not linted 415661bb76SJohn LevonSMATCH=off 42