Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# CDDL HEADER START
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# The contents of this file are subject to the terms of the
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# Common Development and Distribution License (the "License").
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# You may not use this file except in compliance with the License.
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# or http://www.opensolaris.org/os/licensing.
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# See the License for the specific language governing permissions
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# and limitations under the License.
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# When distributing Covered Code, include this CDDL HEADER in each
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# If applicable, add the following below this CDDL HEADER, with the
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# fields enclosed by brackets "[]" replaced with your own identifying
78add226e8da271dde8f3b5a91d340d1bf010151jmcp# information: Portions Copyright [yyyy] [name of copyright owner]
605a716e6d38b3af09034c254382d0ae3b7d5f70Richard Lowe#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# CDDL HEADER END
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# Use is subject to license terms.
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson# cmd/sf880drd/Makefile
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson#
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonPROG = sf880drd
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonPLATFORM = SUNW,Sun-Fire-880
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonLINKED_PLATFORM = SUNW,Sun-Fire-V890
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonMANIFEST = sf880drd.xml
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonSVCMETHOD = sf880dr
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsoninclude ../Makefile.cmd
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsoninclude ../../Makefile.psm
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonROOTMANIFESTDIR = $(ROOTSVCPLATFORMSUN4U)
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonCPPFLAGS += -I$(ROOT)/usr/platform/sun4u/include
605a716e6d38b3af09034c254382d0ae3b7d5f70Richard LoweLDLIBS += -lcfgadm
605a716e6d38b3af09034c254382d0ae3b7d5f70Richard Lowe
605a716e6d38b3af09034c254382d0ae3b7d5f70Richard LoweCERRWARN += -_gcc=-Wno-switch
605a716e6d38b3af09034c254382d0ae3b7d5f70Richard LoweCERRWARN += -_gcc=-Wno-unused-variable
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonCERRWARN += -_gcc=-Wno-unused-function
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonCERRWARN += -_gcc=-Wno-uninitialized
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonPSMPROG = $(USR_PSM_LIB_DIR)/$(PROG)
8703921742d9c7d4d3724f89a39ff0e2725cbe7bRichard Lowe
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson$(PSMPROG) := FILEMODE = 0755
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
2b5878de2735cb61d008168e1f27e390d2edf915Rich Lowe.KEEP_STATE:
2b5878de2735cb61d008168e1f27e390d2edf915Rich Lowe
605a716e6d38b3af09034c254382d0ae3b7d5f70Richard Loweall: $(PROG)
c959a081a8aebb76386b6d8ea3afa850e328f6c7Richard Lowe
8703921742d9c7d4d3724f89a39ff0e2725cbe7bRichard Loweinstall: all $(PSMPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
c959a081a8aebb76386b6d8ea3afa850e328f6c7Richard Lowe
8703921742d9c7d4d3724f89a39ff0e2725cbe7bRichard Lowecheck: $(CHKMANIFEST)
8703921742d9c7d4d3724f89a39ff0e2725cbe7bRichard Lowe
c959a081a8aebb76386b6d8ea3afa850e328f6c7Richard Loweclean:
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelsonlint: lint_PROG
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson$(USR_PLAT_DIR):
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson -$(INS.dir)
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson$(USR_PSM_DIR): $(USR_PLAT_DIR)
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson -$(INS.dir)
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson$(USR_PSM_LIB_DIR): $(USR_PSM_DIR)
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson -$(INS.dir)
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR)
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson $(INS.file)
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson cd $(USR_PLAT_DIR)/$(LINKED_PLATFORM)/lib; $(RM) $(PROG); \
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson $(SYMLINK) ../../$(PLATFORM)/lib/$(PROG) $(PROG)
cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0mjnelson
605a716e6d38b3af09034c254382d0ae3b7d5f70Richard Loweinclude ../Makefile.targ
605a716e6d38b3af09034c254382d0ae3b7d5f70Richard Lowe