Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
10139N/A#
10139N/A# CDDL HEADER START
10139N/A#
10139N/A# The contents of this file are subject to the terms of the
10139N/A# Common Development and Distribution License (the "License").
10139N/A# You may not use this file except in compliance with the License.
10139N/A#
17185N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10139N/A# or http://www.opensolaris.org/os/licensing.
17180N/A# See the License for the specific language governing permissions
17180N/A# and limitations under the License.
17180N/A#
10139N/A# When distributing Covered Code, include this CDDL HEADER in each
10139N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
10139N/A# If applicable, add the following below this CDDL HEADER, with the
10139N/A# fields enclosed by brackets "[]" replaced with your own identifying
18292N/A# information: Portions Copyright [yyyy] [name of copyright owner]
10139N/A#
10139N/A# CDDL HEADER END
10139N/A#
10139N/A
17401N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
10139N/A# Use is subject to license terms.
10139N/A#
10139N/A
10139N/A#
10139N/A# cmd/picl/plugins/sun4u/seattle/frudr/Makefile
10139N/A#
10139N/A
10139N/Ainclude $(SRC)/Makefile.psm
10139N/A
10139N/AVERS = .1
10139N/A
10139N/A# include library definitions
10139N/Ainclude $(SRC)/lib/Makefile.lib
10139N/A
10139N/AROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Sun-Fire-V215
10139N/AFRUDR_LINKTO_PLATFORM = SUNW,Sun-Fire-V240
10139N/A
10139N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.com
10139N/A
10139N/AROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
10139N/A
10139N/ACONFS = fru_PS0.conf fru_PS1.conf
10139N/ACONFS += fru_HDD0.conf fru_HDD1.conf
10139N/ACONFS += fru_HDD2.conf fru_HDD3.conf
10139N/ACONFS += fru_SC.conf
10139N/ACONFS += fru_usb-a-1.conf fru_usb-a-2.conf
10139N/ACONFS += fru_usb-a-3.conf fru_usb-a-4.conf
10139N/ACONFS += fru_FT0.conf fru_FT1.conf fru_FT2.conf
10139N/ACONFS += fru_FT3.conf fru_FT4.conf fru_FT5.conf
10139N/ACONFS += fru_FT6.conf
10139N/AROOTCONF= $(CONFS:%=$(ROOTLIBDIR)/%)
10139N/A$(ROOTCONF) := FILEMODE = 0644
10139N/AMAININFO= $(CONFS:%.conf=%.info)
10139N/AOTHERINFOS = fru_PS0_data.info fru_PS1_data.info
10139N/AOTHERINFOS += fru_HDD0_data.info fru_HDD1_data.info
10139N/AOTHERINFOS += fru_HDD2_data.info fru_HDD3_data.info
10139N/AOTHERINFOS += fru_SC_data.info SB-tables.info
10139N/AOTHERINFOS += fru_usb-a-1_data.info fru_usb-a-2_data.info
10139N/AOTHERINFOS += fru_usb-a-3_data.info fru_usb-a-4_data.info
10139N/AOTHERINFOS += fru_FT0_data.info fru_FT1_data.info fru_FT2_data.info
10139N/AOTHERINFOS += fru_FT3_data.info fru_FT4_data.info fru_FT5_data.info
10139N/AOTHERINFOS += fru_FT6_data.info
10139N/A
10139N/ACLEANFILES = $(LINTOUT) $(LINTLIB)
10139N/A
10139N/A.KEEP_STATE:
10139N/A
10139N/Aall: $(CONFS)
10139N/A
10139N/Ainstall: all $(ROOTCONF); $(MAKE) $(FRUDR_LINK)
10139N/A
10139N/A$(CONFS): $(MAININFO) $(OTHERINFOS)
10139N/A @$(RM) -f $@
10139N/A @echo "# Copyright 2006 Sun Microsystems, Inc. " \
10139N/A "All rights reserved." > $@
10139N/A @echo "# Use is subject to license terms." >> $@
10139N/A @echo "# This is a generated file. #ident lines identify sources" >> $@
10139N/A $(CPP) -P $(@:%.conf=%.info) | \
10139N/A $(SED) -e '/^[ ]*$$/d' >> $@
10139N/A @$(CHMOD) 644 $@
10139N/A
18292N/A$(LIBLINKS): FRC
18292N/A $(RM) $@; $(SYMLINK) $(DYNLIB) $@
18225N/A
18225N/A# include library targets
18123N/Ainclude $(SRC)/lib/Makefile.targ
18123N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.targ
17401N/A
17401N/A$(ROOTLINTDIR)/%: ../%
17315N/A $(INS.file)
17315N/A
17147N/Alint:
17147N/A @echo "nothing to lint"
16630N/A
16630N/AFRC:
16379N/A
16630N/AFRUDR_LINK=`cd $(ROOT_PLATFORM)/lib/picl/plugins/; \
16160N/Arm -f libpiclfrudr.so.1; \
16630N/Arm -f libpiclfrudr.so; \
16149N/Aln -s ../../../../$(FRUDR_LINKTO_PLATFORM)/lib/picl/plugins/libpiclfrudr.so.1 libpiclfrudr.so.1; \
16630N/Aln -s ../../../../$(FRUDR_LINKTO_PLATFORM)/lib/picl/plugins/libpiclfrudr.so libpiclfrudr.so;`
16103N/A