xref: /illumos-gate/usr/src/cmd/picl/plugins/sun4u/schumacher/frutree/Makefile (revision 55fea89dcaa64928bed4327112404dcb3e07b79f)
11cb6af97Swnelson#
21cb6af97Swnelson# CDDL HEADER START
31cb6af97Swnelson#
41cb6af97Swnelson# The contents of this file are subject to the terms of the
5*24fe0b3bSjmcp# Common Development and Distribution License (the "License").
6*24fe0b3bSjmcp# You may not use this file except in compliance with the License.
71cb6af97Swnelson#
81cb6af97Swnelson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91cb6af97Swnelson# or http://www.opensolaris.org/os/licensing.
101cb6af97Swnelson# See the License for the specific language governing permissions
111cb6af97Swnelson# and limitations under the License.
121cb6af97Swnelson#
131cb6af97Swnelson# When distributing Covered Code, include this CDDL HEADER in each
141cb6af97Swnelson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151cb6af97Swnelson# If applicable, add the following below this CDDL HEADER, with the
161cb6af97Swnelson# fields enclosed by brackets "[]" replaced with your own identifying
171cb6af97Swnelson# information: Portions Copyright [yyyy] [name of copyright owner]
181cb6af97Swnelson#
191cb6af97Swnelson# CDDL HEADER END
201cb6af97Swnelson#
211cb6af97Swnelson#
22*24fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
231cb6af97Swnelson# Use is subject to license terms.
241cb6af97Swnelson#
251cb6af97Swnelson# lib/picl/plugins/sun4u/schumacher/frutree/Makefile
261cb6af97Swnelson#
271cb6af97Swnelsoninclude	$(SRC)/Makefile.psm
281cb6af97Swnelson
291cb6af97Swnelson# include library definitions
301cb6af97Swnelsoninclude $(SRC)/lib/Makefile.lib
311cb6af97Swnelson
321cb6af97SwnelsonROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Netra-CP3010
331cb6af97Swnelson
341cb6af97Swnelsoninclude	$(SRC)/cmd/picl/plugins/Makefile.com
351cb6af97Swnelson
361cb6af97SwnelsonROOTLIBDIR	= $(ROOT_PLAT_PLUGINDIR)
371cb6af97Swnelson
381cb6af97SwnelsonCONF=           piclfrutree.conf
391cb6af97SwnelsonROOTCONF=       $(CONF:%=$(ROOTLIBDIR)/%)
401cb6af97Swnelson$(ROOTCONF)	:= FILEMODE = 0644
411cb6af97SwnelsonINFOS=          piclfrutree.info system-board.info
421cb6af97Swnelson
431cb6af97Swnelson.KEEP_STATE:
441cb6af97Swnelson
451cb6af97SwnelsonSUBDIRS=
461cb6af97Swnelson
471cb6af97Swnelsonall	:=	TARGET= all
481cb6af97Swnelsoninstall :=	TARGET= install
491cb6af97Swnelsonclean	:=	TARGET= clean
501cb6af97Swnelsonclobber	:=	TARGET= clobber
511cb6af97Swnelsonlint	:=	TARGET= lint
521cb6af97Swnelson
531cb6af97Swnelsonall:	$(CONF)
541cb6af97Swnelson
551cb6af97Swnelsoninstall:	$(ROOTLIBDIR) $(ROOTCONF)
561cb6af97Swnelson
571cb6af97Swnelson$(CONF): $(INFOS)
581cb6af97Swnelson	$(RM) $@
591cb6af97Swnelson	$(CPP) piclfrutree.info > $@
601cb6af97Swnelson
611cb6af97Swnelson# include library targets
621cb6af97Swnelsoninclude $(SRC)/lib/Makefile.targ
631cb6af97Swnelsoninclude	$(SRC)/cmd/picl/plugins/Makefile.targ
641cb6af97Swnelson
651cb6af97Swnelsonlint:
661cb6af97Swnelson
671cb6af97Swnelson$(SUBDIRS): FRC
681cb6af97Swnelson	@cd $@; pwd; $(MAKE) $(TARGET)
691cb6af97Swnelson
701cb6af97SwnelsonFRC:
71