xref: /illumos-gate/usr/src/cmd/fwflash/plugins/Makefile (revision a799b1e741b6f59012a469e6b57c40cb8061127b)
15a7763bfSjmcp#
25a7763bfSjmcp# CDDL HEADER START
35a7763bfSjmcp#
45a7763bfSjmcp# The contents of this file are subject to the terms of the
55a7763bfSjmcp# Common Development and Distribution License (the "License").
65a7763bfSjmcp# You may not use this file except in compliance with the License.
75a7763bfSjmcp#
85a7763bfSjmcp# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95a7763bfSjmcp# or http://www.opensolaris.org/os/licensing.
105a7763bfSjmcp# See the License for the specific language governing permissions
115a7763bfSjmcp# and limitations under the License.
125a7763bfSjmcp#
135a7763bfSjmcp# When distributing Covered Code, include this CDDL HEADER in each
145a7763bfSjmcp# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155a7763bfSjmcp# If applicable, add the following below this CDDL HEADER, with the
165a7763bfSjmcp# fields enclosed by brackets "[]" replaced with your own identifying
175a7763bfSjmcp# information: Portions Copyright [yyyy] [name of copyright owner]
185a7763bfSjmcp#
195a7763bfSjmcp# CDDL HEADER END
205a7763bfSjmcp#
215a7763bfSjmcp#
229e39c5baSBill Taylor# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
235a7763bfSjmcp# Use is subject to license terms.
245a7763bfSjmcp#
255a7763bfSjmcp# cmd/fwflash/plugins
265a7763bfSjmcp#
27*a799b1e7Speihong huanginclude $(SRC)/Makefile.master
285a7763bfSjmcp
29*a799b1e7Speihong huangCOMMON_SUBDIRS=	$(MACH)
30*a799b1e7Speihong huang$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/fwflash/plugins
315a7763bfSjmcp
32*a799b1e7Speihong huangSUBDIRS=	$(COMMON_SUBDIRS)
335a7763bfSjmcp
345a7763bfSjmcpall :=		TARGET= all
355a7763bfSjmcpinstall :=	TARGET= install
365a7763bfSjmcpclean :=	TARGET= clean
375a7763bfSjmcpclobber :=	TARGET= clobber
385a7763bfSjmcplint :=		TARGET= lint
395a7763bfSjmcp_msg :=		TARGET= _msg
405a7763bfSjmcpmsg :=		TARGET= msg
415a7763bfSjmcp
425a7763bfSjmcp
435a7763bfSjmcp.KEEP_STATE:
445a7763bfSjmcp
45*a799b1e7Speihong huangall clean clobber install lint msg _msg:		$(SUBDIRS)
465a7763bfSjmcp
475a7763bfSjmcp
485a7763bfSjmcp$(SUBDIRS): FRC
495a7763bfSjmcp	@if [ -f $@/Makefile ]; then \
505a7763bfSjmcp		cd $@; pwd; $(MAKE) $(TARGET); \
515a7763bfSjmcp	else \
525a7763bfSjmcp		true; \
535a7763bfSjmcp	fi
545a7763bfSjmcp
555a7763bfSjmcpFRC:
56