xref: /illumos-gate/usr/src/lib/libraidcfg/Makefile (revision 241c90a06e8d1708235651863df515a2d522a03a)
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#
23711890bcSjc156560# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24711890bcSjc156560# Use is subject to license terms.
25711890bcSjc156560#
26711890bcSjc156560
27711890bcSjc156560include $(SRC)/lib/Makefile.lib
28711890bcSjc156560
293e4f2897Sjc156560HDRS =		raidcfg_spi.h raidcfg.h
303e4f2897Sjc156560HDRDIR =	common
31711890bcSjc156560SUBDIRS =	$(MACH)
32711890bcSjc156560$(BUILD64)SUBDIRS += $(MACH64)
33711890bcSjc156560
34711890bcSjc156560POFILE =	libraidcfg.po
35711890bcSjc156560MSGSRCS :sh =	echo */*.c
36711890bcSjc156560MSGFILES =	$(MSGSRCS:%.c=%.i)
37711890bcSjc156560
38711890bcSjc156560all :=		TARGET= all
39711890bcSjc156560clean :=	TARGET= clean
40711890bcSjc156560clobber :=	TARGET= clobber
41711890bcSjc156560install :=	TARGET= install
42711890bcSjc156560
43711890bcSjc156560.KEEP_STATE:
44711890bcSjc156560
45*241c90a0SRichard Loweall clean clobber install: $(SUBDIRS)
46711890bcSjc156560
473e4f2897Sjc156560install_h: $(ROOTHDRS)
483e4f2897Sjc156560
493e4f2897Sjc156560check: $(CHECKHDRS)
503e4f2897Sjc156560
51711890bcSjc156560$(SUBDIRS):	FRC
52711890bcSjc156560	@cd $@; pwd; $(MAKE) $(TARGET)
53711890bcSjc156560
54711890bcSjc156560_msg:	$(MSGDOMAINPOFILE)
55711890bcSjc156560
56711890bcSjc156560$(POFILE): $(MSGFILES)
57711890bcSjc156560	$(BUILDPO.msgfiles)
58711890bcSjc156560
59711890bcSjc156560FRC:
60711890bcSjc156560
61711890bcSjc156560include $(SRC)/Makefile.msg.targ
62711890bcSjc156560include $(SRC)/lib/Makefile.targ
63