Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
0N/A#
1472N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License, Version 1.0 only
0N/A# (the "License"). You may not use this file except in compliance
0N/A# with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1472N/A#
1472N/A# CDDL HEADER END
1472N/A#
0N/A#
0N/A#ident "%Z%%M% %I% %E% SMI"
0N/A#
0N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A# cmd/picl/plugins/sun4u/chalupa/frudr/Makefile
0N/A#
0N/Ainclude $(SRC)/Makefile.psm
0N/A
158N/A# include library definitions
430N/Ainclude $(SRC)/lib/Makefile.lib
0N/A
0N/AROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Sun-Fire-V440
0N/A
0N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.com
0N/A
0N/AROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
0N/AROOTLIBDIR := OWNER = root
0N/AROOTLIBDIR := GROUP = sys
0N/A
91N/ACONFS = fru_PS0.conf fru_PS1.conf
2729N/ACONFS += fru_PSU0.conf fru_PSU1.conf fru_PSU2.conf fru_PSU3.conf
0N/ACONFS += fru_HDD0.conf fru_HDD1.conf fru_HDD2.conf
0N/ACONFS += fru_HDD3.conf
0N/ACONFS += fru_SC.conf
91N/AROOTCONF= $(CONFS:%=$(ROOTLIBDIR)/%)
0N/A$(ROOTCONF) := FILEMODE = 0644
0N/AMAININFO= $(CONFS:%.conf=%.info)
0N/AOTHERINFOS = fru_PS0_data.info fru_PS1_data.info
0N/AOTHERINFOS += fru_PSU0_data.info fru_PSU1_data.info fru_PSU2_data.info fru_PSU3_data.info
0N/AOTHERINFOS += fru_HDD0_data.info fru_HDD1_data.info
0N/AOTHERINFOS += fru_HDD2_data.info fru_HDD3_data.info
0N/AOTHERINFOS += fru_SC_data.info SB-tables.info
1123N/A
0N/AROOTLINTDIR = $(ROOTLIBDIR)
0N/A
0N/A.KEEP_STATE:
SUBDIRS =
all := TARGET= all
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
lint := TARGET= lint
all: $(LIBS) $(LIBLINKS) $(CONFS)
install: $(ROOTLIBDIR) $(ROOTCONF)
$(CONFS): $(MAININFO) $(OTHERINFOS)
@$(RM) -f $@
@echo "# Copyright 2002 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 $(@:%.conf=%.info) | \
$(SED) -e '/^[ ]*$$/d' >> $@
@$(CHMOD) 644 $@
# 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: