xref: /titanic_41/usr/src/lib/libraidcfg/Makefile (revision 3e4f2897f6618210c2ddb7529d87dc4395159768)
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#pragma ident	"%Z%%M%	%I%	%E% SMI"
27711890bcSjc156560#
28711890bcSjc156560# lib/libraidcfg/Makefile
29711890bcSjc156560#
30711890bcSjc156560
31711890bcSjc156560include $(SRC)/lib/Makefile.lib
32711890bcSjc156560
33*3e4f2897Sjc156560HDRS =		raidcfg_spi.h raidcfg.h
34*3e4f2897Sjc156560HDRDIR =	common
35711890bcSjc156560SUBDIRS =	$(MACH)
36711890bcSjc156560$(BUILD64)SUBDIRS += $(MACH64)
37711890bcSjc156560
38711890bcSjc156560POFILE =	libraidcfg.po
39711890bcSjc156560MSGSRCS :sh =	echo */*.c
40711890bcSjc156560MSGFILES =	$(MSGSRCS:%.c=%.i)
41711890bcSjc156560
42711890bcSjc156560all :=		TARGET= all
43711890bcSjc156560clean :=	TARGET= clean
44711890bcSjc156560clobber :=	TARGET= clobber
45711890bcSjc156560install :=	TARGET= install
46711890bcSjc156560lint :=		TARGET= lint
47711890bcSjc156560
48711890bcSjc156560.KEEP_STATE:
49711890bcSjc156560
50711890bcSjc156560all clean clobber install lint: $(SUBDIRS)
51711890bcSjc156560
52*3e4f2897Sjc156560install_h: $(ROOTHDRS)
53*3e4f2897Sjc156560
54*3e4f2897Sjc156560check: $(CHECKHDRS)
55*3e4f2897Sjc156560
56711890bcSjc156560$(SUBDIRS):	FRC
57711890bcSjc156560	@cd $@; pwd; $(MAKE) $(TARGET)
58711890bcSjc156560
59711890bcSjc156560_msg:	$(MSGDOMAINPOFILE)
60711890bcSjc156560
61711890bcSjc156560$(POFILE): $(MSGFILES)
62711890bcSjc156560	$(BUILDPO.msgfiles)
63711890bcSjc156560
64711890bcSjc156560FRC:
65711890bcSjc156560
66711890bcSjc156560include $(SRC)/Makefile.msg.targ
67711890bcSjc156560include $(SRC)/lib/Makefile.targ
68