3387N/A#
3387N/A# CDDL HEADER START
3387N/A#
3387N/A# The contents of this file are subject to the terms of the
3387N/A# Common Development and Distribution License (the "License").
3387N/A# You may not use this file except in compliance with the License.
3387N/A#
3387N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3387N/A# or http://www.opensolaris.org/os/licensing.
3387N/A# See the License for the specific language governing permissions
3387N/A# and limitations under the License.
3387N/A#
3387N/A# When distributing Covered Code, include this CDDL HEADER in each
3387N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3387N/A# If applicable, add the following below this CDDL HEADER, with the
3387N/A# fields enclosed by brackets "[]" replaced with your own identifying
3387N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3387N/A#
3387N/A# CDDL HEADER END
3387N/A#
3387N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3387N/A# Use is subject to license terms.
3387N/A#
3387N/A# cmd/picl/plugins/sun4u/mpxu/frutree/Makefile
3387N/A#
3387N/A
3387N/Ainclude $(SRC)/Makefile.psm
3387N/A
3387N/A# include library definitions
3387N/Ainclude $(SRC)/lib/Makefile.lib
3984N/A
3387N/AROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Sun-Fire-V240
3387N/A
3387N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.com
3387N/A
3387N/AROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
3387N/A
3387N/AINCDIR1 = .
3387N/AINCDIR2 = ../frudr
3387N/AINCS = -I$(INCDIR1) -I$(INCDIR2)
3387N/ACONFS = piclfrutree.conf
3387N/AROOTCONF = $(CONFS:%=$(ROOTLIBDIR)/%)
3387N/A$(ROOTCONF) := FILEMODE = 0644
3387N/AMAININFO = $(CONFS:%.conf=%.info)
3387N/AOTHERINFOS = $(INCDIR1)/system-board.info
3387N/AOTHERINFOS += $(INCDIR2)/fru_HDD0_data.info
3387N/AOTHERINFOS += $(INCDIR2)/fru_HDD1_data.info
3387N/AOTHERINFOS += $(INCDIR2)/fru_HDD2_data.info
3387N/AOTHERINFOS += $(INCDIR2)/fru_HDD2_data.info
3387N/AOTHERINFOS += $(INCDIR2)/fru_PS0_data.info
3387N/AOTHERINFOS += $(INCDIR2)/fru_PS1_data.info
3387N/AOTHERINFOS += $(INCDIR2)/fru_SC_data.info
3387N/AOTHERINFOS += $(INCDIR2)/fru_usb-a-1_data.info
3387N/AOTHERINFOS += $(INCDIR2)/fru_usb-a-2_data.info
3387N/A
3387N/AROOTLINTDIR = $(ROOTLIBDIR)
3387N/A
3387N/A.KEEP_STATE:
3387N/A
3387N/ASUBDIRS=
3387N/A
3387N/Aall := TARGET= all
3387N/Ainstall := TARGET= install
3387N/Aclean := TARGET= clean
3387N/Aclobber := TARGET= clobber
3387N/Alint := TARGET= lint
3387N/A
3387N/Aall: $(CONFS)
3387N/A
3387N/Ainstall: $(ROOTLIBDIR) $(ROOTCONF)
3387N/A
3387N/A$(CONFS): $(MAININFO) $(OTHERINFOS)
3387N/A @$(RM) -f $@
3387N/A @echo "# Copyright 2003 Sun Microsystems, Inc. " \
3387N/A "All rights reserved." > $@
3387N/A @echo "# Use is subject to license terms." >> $@
3387N/A @echo "# This is a generated file. #ident lines identify sources" >> $@
3387N/A $(CPP) -P $(INCS) $(@:%.conf=%.info) | \
3387N/A $(SED) -e '/^[ ]*$$/d' >> $@
3387N/A @$(CHMOD) 444 $@
3387N/A
3387N/A# include library targets
3387N/Ainclude $(SRC)/lib/Makefile.targ
3387N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.targ
3387N/A
3387N/A$(ROOTLINTDIR)/%: ../%
3387N/A $(INS.file)
3387N/A
3387N/Alint:
3387N/A
3387N/A$(SUBDIRS): FRC
3387N/A @cd $@; pwd; $(MAKE) $(TARGET)
3387N/A
3387N/AFRC:
3387N/A