xref: /titanic_52/usr/src/lib/libraidcfg/Makefile.com (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
1711890bcSjc156560#
2711890bcSjc156560# CDDL HEADER START
3711890bcSjc156560#
4711890bcSjc156560# The contents of this file are subject to the terms of the
5711890bcSjc156560# Common Development and Distribution License (the "License").
6711890bcSjc156560# You may not use this file except in compliance with the License.
7711890bcSjc156560#
8711890bcSjc156560# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9711890bcSjc156560# or http://www.opensolaris.org/os/licensing.
10711890bcSjc156560# See the License for the specific language governing permissions
11711890bcSjc156560# and limitations under the License.
12711890bcSjc156560#
13711890bcSjc156560# When distributing Covered Code, include this CDDL HEADER in each
14711890bcSjc156560# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15711890bcSjc156560# If applicable, add the following below this CDDL HEADER, with the
16711890bcSjc156560# fields enclosed by brackets "[]" replaced with your own identifying
17711890bcSjc156560# information: Portions Copyright [yyyy] [name of copyright owner]
18711890bcSjc156560#
19711890bcSjc156560# CDDL HEADER END
20711890bcSjc156560#
21711890bcSjc156560
22711890bcSjc156560#
2372e1c055Sjc156560# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24711890bcSjc156560# Use is subject to license terms.
25711890bcSjc156560#
26711890bcSjc156560# lib/libraidcfg/Makefile.com
27711890bcSjc156560#
28711890bcSjc156560
29711890bcSjc156560LIBRARY =	libraidcfg.a
30711890bcSjc156560VERS =		.1
31711890bcSjc156560OBJECTS =	raidcfg.o
32711890bcSjc156560
33711890bcSjc156560include ../../Makefile.lib
34711890bcSjc156560
35711890bcSjc156560LIBS =		$(DYNLIB) $(LINTLIB)
3672e1c055Sjc156560LDLIBS +=	-ldevinfo -lc
37711890bcSjc156560
38711890bcSjc156560SRCDIR =	../common
39711890bcSjc156560$(LINTLIB):=	SRCS = $(LINTSRC:%=$(SRCDIR)/%)
40711890bcSjc156560
41711890bcSjc156560CFLAGS +=	$(CCVERBOSE)
42*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-type-limits
43711890bcSjc156560
44711890bcSjc156560.KEEP_STATE:
45711890bcSjc156560
46711890bcSjc156560all: $(LIBS)
47711890bcSjc156560
48317fb4acSYu-Bo Ryan WangSECLEVEL = standard
49317fb4acSYu-Bo Ryan Wang
50711890bcSjc156560lint: lintcheck
51711890bcSjc156560
52711890bcSjc156560include ../../Makefile.targ
53