xref: /onnv-gate/usr/src/lib/libraidcfg/Makefile (revision 3622:eed77e5fc4ad)
13457Sjc156560#
23457Sjc156560# CDDL HEADER START
33457Sjc156560#
43457Sjc156560# The contents of this file are subject to the terms of the
53457Sjc156560# Common Development and Distribution License (the "License").
63457Sjc156560# You may not use this file except in compliance with the License.
73457Sjc156560#
83457Sjc156560# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
93457Sjc156560# or http://www.opensolaris.org/os/licensing.
103457Sjc156560# See the License for the specific language governing permissions
113457Sjc156560# and limitations under the License.
123457Sjc156560#
133457Sjc156560# When distributing Covered Code, include this CDDL HEADER in each
143457Sjc156560# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
153457Sjc156560# If applicable, add the following below this CDDL HEADER, with the
163457Sjc156560# fields enclosed by brackets "[]" replaced with your own identifying
173457Sjc156560# information: Portions Copyright [yyyy] [name of copyright owner]
183457Sjc156560#
193457Sjc156560# CDDL HEADER END
203457Sjc156560#
213457Sjc156560
223457Sjc156560#
233457Sjc156560# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
243457Sjc156560# Use is subject to license terms.
253457Sjc156560#
263457Sjc156560#pragma ident	"%Z%%M%	%I%	%E% SMI"
273457Sjc156560#
283457Sjc156560# lib/libraidcfg/Makefile
293457Sjc156560#
303457Sjc156560
313457Sjc156560include $(SRC)/lib/Makefile.lib
323457Sjc156560
33*3622Sjc156560HDRS =		raidcfg_spi.h raidcfg.h
34*3622Sjc156560HDRDIR =	common
353457Sjc156560SUBDIRS =	$(MACH)
363457Sjc156560$(BUILD64)SUBDIRS += $(MACH64)
373457Sjc156560
383457Sjc156560POFILE =	libraidcfg.po
393457Sjc156560MSGSRCS :sh =	echo */*.c
403457Sjc156560MSGFILES =	$(MSGSRCS:%.c=%.i)
413457Sjc156560
423457Sjc156560all :=		TARGET= all
433457Sjc156560clean :=	TARGET= clean
443457Sjc156560clobber :=	TARGET= clobber
453457Sjc156560install :=	TARGET= install
463457Sjc156560lint :=		TARGET= lint
473457Sjc156560
483457Sjc156560.KEEP_STATE:
493457Sjc156560
503457Sjc156560all clean clobber install lint: $(SUBDIRS)
513457Sjc156560
52*3622Sjc156560install_h: $(ROOTHDRS)
53*3622Sjc156560
54*3622Sjc156560check: $(CHECKHDRS)
55*3622Sjc156560
563457Sjc156560$(SUBDIRS):	FRC
573457Sjc156560	@cd $@; pwd; $(MAKE) $(TARGET)
583457Sjc156560
593457Sjc156560_msg:	$(MSGDOMAINPOFILE)
603457Sjc156560
613457Sjc156560$(POFILE): $(MSGFILES)
623457Sjc156560	$(BUILDPO.msgfiles)
633457Sjc156560
643457Sjc156560FRC:
653457Sjc156560
663457Sjc156560include $(SRC)/Makefile.msg.targ
673457Sjc156560include $(SRC)/lib/Makefile.targ
68