124db4641Seschrock#
224db4641Seschrock# CDDL HEADER START
324db4641Seschrock#
424db4641Seschrock# The contents of this file are subject to the terms of the
524db4641Seschrock# Common Development and Distribution License (the "License").
624db4641Seschrock# You may not use this file except in compliance with the License.
724db4641Seschrock#
824db4641Seschrock# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
924db4641Seschrock# or http://www.opensolaris.org/os/licensing.
1024db4641Seschrock# See the License for the specific language governing permissions
1124db4641Seschrock# and limitations under the License.
1224db4641Seschrock#
1324db4641Seschrock# When distributing Covered Code, include this CDDL HEADER in each
1424db4641Seschrock# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1524db4641Seschrock# If applicable, add the following below this CDDL HEADER, with the
1624db4641Seschrock# fields enclosed by brackets "[]" replaced with your own identifying
1724db4641Seschrock# information: Portions Copyright [yyyy] [name of copyright owner]
1824db4641Seschrock#
1924db4641Seschrock# CDDL HEADER END
2024db4641Seschrock#
2124db4641Seschrock#
2224db4641Seschrock# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
2324db4641Seschrock# Use is subject to license terms.
2424db4641Seschrock#
2505ede3dbSJohn Levon# Copyright (c) 2018, Joyent, Inc.
2624db4641Seschrock
2724db4641SeschrockLIBRARY=	libdiskstatus.a
2824db4641SeschrockVERS=		.1
2924db4641Seschrock
3024db4641SeschrockOBJECTS=	libdiskstatus.o \
3124db4641Seschrock		ds_scsi.o \
3224db4641Seschrock		ds_scsi_sim.o \
3324db4641Seschrock		ds_scsi_uscsi.o \
3424db4641Seschrock		ds_util.o
3524db4641Seschrock
3624db4641Seschrockinclude ../../../Makefile.lib
3724db4641Seschrockinclude ../../Makefile.lib
3824db4641Seschrock
39*241c90a0SRichard LoweLIBS=		$(DYNLIB)
4024db4641Seschrock
4124db4641SeschrockSRCDIR=		../common
4224db4641Seschrock
4324db4641SeschrockINCS +=		-I$(SRCDIR)
4424db4641SeschrockLDLIBS +=	-lc -lnvpair
4524db4641SeschrockCPPFLAGS +=	$(INCS)
4624db4641Seschrock
4705ede3dbSJohn Levon# not linted
4805ede3dbSJohn LevonSMATCH=off
4905ede3dbSJohn Levon
5024db4641Seschrock.KEEP_STATE:
5124db4641Seschrock
5224db4641Seschrockall: $(LIBS)
5324db4641Seschrock
5424db4641Seschrockinclude ../../../Makefile.targ
5524db4641Seschrockinclude ../../Makefile.targ
56