xref: /illumos-gate/usr/src/cmd/fwflash/plugins/Makefile (revision 5a7763bf3e9db4cfe6cb523b096cb74af71e3793)
1*5a7763bfSjmcp#
2*5a7763bfSjmcp# CDDL HEADER START
3*5a7763bfSjmcp#
4*5a7763bfSjmcp# The contents of this file are subject to the terms of the
5*5a7763bfSjmcp# Common Development and Distribution License (the "License").
6*5a7763bfSjmcp# You may not use this file except in compliance with the License.
7*5a7763bfSjmcp#
8*5a7763bfSjmcp# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*5a7763bfSjmcp# or http://www.opensolaris.org/os/licensing.
10*5a7763bfSjmcp# See the License for the specific language governing permissions
11*5a7763bfSjmcp# and limitations under the License.
12*5a7763bfSjmcp#
13*5a7763bfSjmcp# When distributing Covered Code, include this CDDL HEADER in each
14*5a7763bfSjmcp# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*5a7763bfSjmcp# If applicable, add the following below this CDDL HEADER, with the
16*5a7763bfSjmcp# fields enclosed by brackets "[]" replaced with your own identifying
17*5a7763bfSjmcp# information: Portions Copyright [yyyy] [name of copyright owner]
18*5a7763bfSjmcp#
19*5a7763bfSjmcp# CDDL HEADER END
20*5a7763bfSjmcp#
21*5a7763bfSjmcp#
22*5a7763bfSjmcp#ident	"%Z%%M%	%I%	%E% SMI"
23*5a7763bfSjmcp#
24*5a7763bfSjmcp# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
25*5a7763bfSjmcp# Use is subject to license terms.
26*5a7763bfSjmcp#
27*5a7763bfSjmcp# cmd/fwflash/plugins
28*5a7763bfSjmcp#
29*5a7763bfSjmcp
30*5a7763bfSjmcpinclude $(SRC)/cmd/Makefile.cmd
31*5a7763bfSjmcp
32*5a7763bfSjmcpCOMMON_SUBDIRS=	transport
33*5a7763bfSjmcpCLOSED_SUBDIRS= $(CLOSED)/cmd/fwflash/plugins
34*5a7763bfSjmcp
35*5a7763bfSjmcpSUBDIRS=	$(COMMON_SUBDIRS) $(CLOSED_SUBDIRS)
36*5a7763bfSjmcp
37*5a7763bfSjmcpMSGSUBDIRS=	$(COMMON_SUBDIRS) $(CLOSED_SUBDIRS)
38*5a7763bfSjmcp
39*5a7763bfSjmcpall :=		TARGET= all
40*5a7763bfSjmcpinstall :=	TARGET= install
41*5a7763bfSjmcpclean :=	TARGET= clean
42*5a7763bfSjmcpclobber :=	TARGET= clobber
43*5a7763bfSjmcplint :=		TARGET= lint
44*5a7763bfSjmcp_msg :=		TARGET= _msg
45*5a7763bfSjmcpmsg :=		TARGET= msg
46*5a7763bfSjmcp
47*5a7763bfSjmcpinclude $(SRC)/cmd/fwflash/Makefile.com
48*5a7763bfSjmcp
49*5a7763bfSjmcp
50*5a7763bfSjmcp.KEEP_STATE:
51*5a7763bfSjmcp
52*5a7763bfSjmcpall:		$(SUBDIRS)
53*5a7763bfSjmcplint:		$(SUBDIRS)
54*5a7763bfSjmcpinstall:	$(SUBDIRS)
55*5a7763bfSjmcpclean:		$(SUBDIRS)
56*5a7763bfSjmcpclobber:	$(SUBDIRS)
57*5a7763bfSjmcp
58*5a7763bfSjmcp
59*5a7763bfSjmcpmsg _msg:	$(MSGSUBDIRS)
60*5a7763bfSjmcp
61*5a7763bfSjmcp
62*5a7763bfSjmcp$(SUBDIRS): FRC
63*5a7763bfSjmcp	@if [ -f $@/Makefile ]; then \
64*5a7763bfSjmcp		cd $@; pwd; $(MAKE) $(TARGET); \
65*5a7763bfSjmcp	else \
66*5a7763bfSjmcp		true; \
67*5a7763bfSjmcp	fi
68*5a7763bfSjmcp
69*5a7763bfSjmcpFRC:
70