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