Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
48c0c81cd6fabac9d3386406d97633780365b839coar#
92e6727dad0094c5a049f903aef92c5caf3cd65fjim# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Common Development and Distribution License (the "License").
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# You may not use this file except in compliance with the License.
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe#
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d89c116f82699294ca744125723651c554bc5925wrowe# or http://www.opensolaris.org/os/licensing.
4214e98fc9045e5010e66f9a967bd6d68f40d342aaron# See the License for the specific language governing permissions
8721697e2aece27b0e738519329f7976c72b27bfjerenkrantz# and limitations under the License.
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe#
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# When distributing Covered Code, include this CDDL HEADER in each
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# If applicable, add the following below this CDDL HEADER, with the
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# fields enclosed by brackets "[]" replaced with your own identifying
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley# information: Portions Copyright [yyyy] [name of copyright owner]
571760de5e60c0b459cb11be45507b923cd023eejwoolley#
571760de5e60c0b459cb11be45507b923cd023eejwoolley# CDDL HEADER END
9180a5933673ffb1af633c255ceee029340f3b1erbb#
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe# Use is subject to license terms.
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# cmd/picl/plugins/sun4u/chalupa/frudr/Makefile
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbbinclude $(SRC)/Makefile.psm
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# include library definitions
35330e0d79ceb8027223bbb8330a381b1f989d6etrawickinclude $(SRC)/lib/Makefile.lib
6f6f4a4bca281779d196acbdd5c017bb90858305trawick
8dd4618c4709236b4ea297d7250d282e463ce2d8rbbROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Sun-Fire-V440
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbbinclude $(SRC)/cmd/picl/plugins/Makefile.com
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanojROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
af4c982a7cf4515f124935f99a329744035fc699sliveCONFS = fru_PS0.conf fru_PS1.conf
af4c982a7cf4515f124935f99a329744035fc699sliveCONFS += fru_PSU0.conf fru_PSU1.conf fru_PSU2.conf fru_PSU3.conf
af4c982a7cf4515f124935f99a329744035fc699sliveCONFS += fru_HDD0.conf fru_HDD1.conf fru_HDD2.conf
af4c982a7cf4515f124935f99a329744035fc699sliveCONFS += fru_HDD3.conf
af4c982a7cf4515f124935f99a329744035fc699sliveCONFS += fru_SC.conf
af4c982a7cf4515f124935f99a329744035fc699sliveROOTCONF= $(CONFS:%=$(ROOTLIBDIR)/%)
af4c982a7cf4515f124935f99a329744035fc699slive$(ROOTCONF) := FILEMODE = 0644
10270f6f94b2069d0d357805c140a9897449b9ccianhMAININFO= $(CONFS:%.conf=%.info)
4b62424416882687387923b3130b96241503cbe0jerenkrantzOTHERINFOS = fru_PS0_data.info fru_PS1_data.info
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantzOTHERINFOS += fru_PSU0_data.info fru_PSU1_data.info fru_PSU2_data.info fru_PSU3_data.info
0d2f57cf389a981efa5e98d9b451c6baf0af12bfjerenkrantzOTHERINFOS += fru_HDD0_data.info fru_HDD1_data.info
0d2f57cf389a981efa5e98d9b451c6baf0af12bfjerenkrantzOTHERINFOS += fru_HDD2_data.info fru_HDD3_data.info
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantzOTHERINFOS += fru_SC_data.info SB-tables.info
4b62424416882687387923b3130b96241503cbe0jerenkrantz
4b62424416882687387923b3130b96241503cbe0jerenkrantzROOTLINTDIR = $(ROOTLIBDIR)
0d2f57cf389a981efa5e98d9b451c6baf0af12bfjerenkrantz
0d2f57cf389a981efa5e98d9b451c6baf0af12bfjerenkrantz.KEEP_STATE:
0d2f57cf389a981efa5e98d9b451c6baf0af12bfjerenkrantz
a12b7938cf47a0017a70ba195bbce035aa040e38aaronSUBDIRS =
a12b7938cf47a0017a70ba195bbce035aa040e38aaron
a12b7938cf47a0017a70ba195bbce035aa040e38aaronall := TARGET= all
92e6727dad0094c5a049f903aef92c5caf3cd65fjiminstall := TARGET= install
f49387f556886ad6a6b4efc724ed9aa1d3412228jerenkrantzclean := TARGET= clean
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzclobber := TARGET= clobber
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzlint := TARGET= lint
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzall: $(LIBS) $(LIBLINKS) $(CONFS)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzinstall: $(ROOTLIBDIR) $(ROOTCONF)
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz$(CONFS): $(MAININFO) $(OTHERINFOS)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz @$(RM) -f $@
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz @echo "# Copyright 2002 Sun Microsystems, Inc. All rights reserved." \
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz > $@
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz @echo "# Use is subject to license terms." >> $@
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz @echo "# This is a generated file. #ident lines identify sources" >> $@
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz $(CPP) -P $(@:%.conf=%.info) | \
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz $(SED) -e '/^[ ]*$$/d' >> $@
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz @$(CHMOD) 644 $@
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz# include library targets
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzinclude $(SRC)/lib/Makefile.targ
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewroweinclude $(SRC)/cmd/picl/plugins/Makefile.targ
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz$(ROOTLINTDIR)/%: ../%
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz $(INS.file)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
bcca8071772ad81c16009aea3a7da3ef9da41173trawicklint:
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz$(SUBDIRS): FRC
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantz @cd $@; pwd; $(MAKE) $(TARGET)
984a1ce6391060f0eea811dbbdbc993250399aa1stoddard
984a1ce6391060f0eea811dbbdbc993250399aa1stoddardFRC:
a23b1c5a74208b03884c09a6f9dd5d6c97fa6415trawick