269473047d747f7815af570197e4ef7322d3632cEvan Yan#
269473047d747f7815af570197e4ef7322d3632cEvan Yan# CDDL HEADER START
269473047d747f7815af570197e4ef7322d3632cEvan Yan#
269473047d747f7815af570197e4ef7322d3632cEvan Yan# The contents of this file are subject to the terms of the
269473047d747f7815af570197e4ef7322d3632cEvan Yan# Common Development and Distribution License (the "License").
269473047d747f7815af570197e4ef7322d3632cEvan Yan# You may not use this file except in compliance with the License.
269473047d747f7815af570197e4ef7322d3632cEvan Yan#
269473047d747f7815af570197e4ef7322d3632cEvan Yan# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
269473047d747f7815af570197e4ef7322d3632cEvan Yan# or http://www.opensolaris.org/os/licensing.
269473047d747f7815af570197e4ef7322d3632cEvan Yan# See the License for the specific language governing permissions
269473047d747f7815af570197e4ef7322d3632cEvan Yan# and limitations under the License.
269473047d747f7815af570197e4ef7322d3632cEvan Yan#
269473047d747f7815af570197e4ef7322d3632cEvan Yan# When distributing Covered Code, include this CDDL HEADER in each
269473047d747f7815af570197e4ef7322d3632cEvan Yan# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
269473047d747f7815af570197e4ef7322d3632cEvan Yan# If applicable, add the following below this CDDL HEADER, with the
269473047d747f7815af570197e4ef7322d3632cEvan Yan# fields enclosed by brackets "[]" replaced with your own identifying
269473047d747f7815af570197e4ef7322d3632cEvan Yan# information: Portions Copyright [yyyy] [name of copyright owner]
269473047d747f7815af570197e4ef7322d3632cEvan Yan#
269473047d747f7815af570197e4ef7322d3632cEvan Yan# CDDL HEADER END
269473047d747f7815af570197e4ef7322d3632cEvan Yan#
269473047d747f7815af570197e4ef7322d3632cEvan Yan#
269473047d747f7815af570197e4ef7322d3632cEvan Yan# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
269473047d747f7815af570197e4ef7322d3632cEvan Yan# Use is subject to license terms.
269473047d747f7815af570197e4ef7322d3632cEvan Yan#
269473047d747f7815af570197e4ef7322d3632cEvan Yan
269473047d747f7815af570197e4ef7322d3632cEvan YanLIBRARY= libhotplug.a
269473047d747f7815af570197e4ef7322d3632cEvan YanVERS= .1
269473047d747f7815af570197e4ef7322d3632cEvan YanOBJECTS= libhotplug.o
269473047d747f7815af570197e4ef7322d3632cEvan Yan
269473047d747f7815af570197e4ef7322d3632cEvan Yaninclude ../../Makefile.lib
269473047d747f7815af570197e4ef7322d3632cEvan Yan
269473047d747f7815af570197e4ef7322d3632cEvan YanLIBS = $(DYNLIB) $(LINTLIB)
269473047d747f7815af570197e4ef7322d3632cEvan YanLDLIBS += -lc -lnvpair
269473047d747f7815af570197e4ef7322d3632cEvan Yan
269473047d747f7815af570197e4ef7322d3632cEvan YanSRCDIR = ../common
269473047d747f7815af570197e4ef7322d3632cEvan YanCPPFLAGS += -I$(SRCDIR) -D_REENTRANT
269473047d747f7815af570197e4ef7322d3632cEvan Yan$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
269473047d747f7815af570197e4ef7322d3632cEvan Yan
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-parentheses
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
269473047d747f7815af570197e4ef7322d3632cEvan Yan.KEEP_STATE:
269473047d747f7815af570197e4ef7322d3632cEvan Yan
269473047d747f7815af570197e4ef7322d3632cEvan Yanall: $(LIBS)
269473047d747f7815af570197e4ef7322d3632cEvan Yan
269473047d747f7815af570197e4ef7322d3632cEvan Yanlint: lintcheck
269473047d747f7815af570197e4ef7322d3632cEvan Yan
269473047d747f7815af570197e4ef7322d3632cEvan Yaninclude ../../Makefile.targ