xref: /illumos-gate/usr/src/cmd/fwflash/Makefile (revision 3aa6c130)
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#
21a799b1e7Speihong huang# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
225a7763bfSjmcp# Use is subject to license terms.
235a7763bfSjmcp#
245a7763bfSjmcp# cmd/fwflash/Makefile
255a7763bfSjmcp#
26a799b1e7Speihong huanginclude $(SRC)/Makefile.master
275a7763bfSjmcp
285a7763bfSjmcpPROG=		fwflash
29a799b1e7Speihong huangCOMMON_SUBDIRS=	$(MACH)
30a799b1e7Speihong huangIDF_SUBDIRS=	plugins/transport
31a799b1e7Speihong huangVRF_SUBDIRS=	plugins
32a799b1e7Speihong huangSUBDIRS=	$(COMMON_SUBDIRS) .WAIT \
33a799b1e7Speihong huang		$(IDF_SUBDIRS) .WAIT \
34a799b1e7Speihong huang		$(VRF_SUBDIRS)
355a7763bfSjmcp
365a7763bfSjmcpall :=          TARGET= all
375a7763bfSjmcpclean :=        TARGET= clean
385a7763bfSjmcpclobber :=      TARGET= clobber
39a799b1e7Speihong huangcheck :=	TARGET= check
405a7763bfSjmcpinstall :=      TARGET= install
415a7763bfSjmcpinstall_h :=	TARGET= install_h
425a7763bfSjmcp_msg :=         TARGET= _msg
435a7763bfSjmcp
44*3aa6c130SRichard Loweall clean clobber install _msg: $(SUBDIRS)
45a799b1e7Speihong huangcheck install_h: $(COMMON_SUBDIRS)
465a7763bfSjmcp
475a7763bfSjmcp$(SUBDIRS): FRC
48*3aa6c130SRichard Lowe	cd $@; pwd; $(MAKE) $(TARGET)
495a7763bfSjmcp
505a7763bfSjmcpFRC:
51