xref: /titanic_51/usr/src/lib/libhotplug/Makefile.com (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
126947304SEvan Yan#
226947304SEvan Yan# CDDL HEADER START
326947304SEvan Yan#
426947304SEvan Yan# The contents of this file are subject to the terms of the
526947304SEvan Yan# Common Development and Distribution License (the "License").
626947304SEvan Yan# You may not use this file except in compliance with the License.
726947304SEvan Yan#
826947304SEvan Yan# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
926947304SEvan Yan# or http://www.opensolaris.org/os/licensing.
1026947304SEvan Yan# See the License for the specific language governing permissions
1126947304SEvan Yan# and limitations under the License.
1226947304SEvan Yan#
1326947304SEvan Yan# When distributing Covered Code, include this CDDL HEADER in each
1426947304SEvan Yan# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1526947304SEvan Yan# If applicable, add the following below this CDDL HEADER, with the
1626947304SEvan Yan# fields enclosed by brackets "[]" replaced with your own identifying
1726947304SEvan Yan# information: Portions Copyright [yyyy] [name of copyright owner]
1826947304SEvan Yan#
1926947304SEvan Yan# CDDL HEADER END
2026947304SEvan Yan#
2126947304SEvan Yan#
2226947304SEvan Yan# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2326947304SEvan Yan# Use is subject to license terms.
2426947304SEvan Yan#
2526947304SEvan Yan
2626947304SEvan YanLIBRARY=	libhotplug.a
2726947304SEvan YanVERS=		.1
2826947304SEvan YanOBJECTS=	libhotplug.o
2926947304SEvan Yan
3026947304SEvan Yaninclude ../../Makefile.lib
3126947304SEvan Yan
3226947304SEvan YanLIBS =		$(DYNLIB) $(LINTLIB)
3326947304SEvan YanLDLIBS +=	-lc -lnvpair
3426947304SEvan Yan
3526947304SEvan YanSRCDIR =	../common
3626947304SEvan YanCPPFLAGS +=	-I$(SRCDIR) -D_REENTRANT
3726947304SEvan Yan$(LINTLIB) := SRCS=	$(SRCDIR)/$(LINTSRC)
3826947304SEvan Yan
39*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-parentheses
40*7014882cSRichard Lowe
4126947304SEvan Yan.KEEP_STATE:
4226947304SEvan Yan
4326947304SEvan Yanall:	$(LIBS)
4426947304SEvan Yan
4526947304SEvan Yanlint:	lintcheck
4626947304SEvan Yan
4726947304SEvan Yaninclude ../../Makefile.targ
48