xref: /titanic_50/usr/src/cmd/fwflash/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#
21*a799b1e7Speihong huang# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
225a7763bfSjmcp# Use is subject to license terms.
235a7763bfSjmcp#
245a7763bfSjmcp# cmd/fwflash/Makefile
255a7763bfSjmcp#
26*a799b1e7Speihong huanginclude $(SRC)/Makefile.master
275a7763bfSjmcp
285a7763bfSjmcpPROG=		fwflash
29*a799b1e7Speihong huangCOMMON_SUBDIRS=	$(MACH)
30*a799b1e7Speihong huangIDF_SUBDIRS=	plugins/transport
31*a799b1e7Speihong huangVRF_SUBDIRS=	plugins
32*a799b1e7Speihong huangSUBDIRS=	$(COMMON_SUBDIRS) .WAIT \
33*a799b1e7Speihong huang		$(IDF_SUBDIRS) .WAIT \
34*a799b1e7Speihong huang		$(VRF_SUBDIRS)
355a7763bfSjmcp
365a7763bfSjmcpall :=          TARGET= all
375a7763bfSjmcpclean :=        TARGET= clean
385a7763bfSjmcpclobber :=      TARGET= clobber
39*a799b1e7Speihong huangcheck :=	TARGET= check
405a7763bfSjmcpinstall :=      TARGET= install
415a7763bfSjmcpinstall_h :=	TARGET= install_h
425a7763bfSjmcplint :=         TARGET= lint
435a7763bfSjmcp_msg :=         TARGET= _msg
445a7763bfSjmcpmsg :=         	TARGET= msg
455a7763bfSjmcp
465a7763bfSjmcp
475a7763bfSjmcpall clean clobber install lint msg _msg: $(SUBDIRS)
48*a799b1e7Speihong huangcheck install_h: $(COMMON_SUBDIRS)
495a7763bfSjmcp
505a7763bfSjmcp$(SUBDIRS): FRC
515a7763bfSjmcp	@if [ -f $@/Makefile ]; then \
525a7763bfSjmcp       		cd $@; pwd; $(MAKE) $(TARGET); \
535a7763bfSjmcp        else \
545a7763bfSjmcp       		true; \
555a7763bfSjmcp        fi
565a7763bfSjmcp
575a7763bfSjmcpFRC:
58