Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync#
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# CDDL HEADER START
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync#
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# The contents of this file are subject to the terms of the
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# Common Development and Distribution License (the "License").
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# You may not use this file except in compliance with the License.
4ad29c8f6cdb903e72162c3d5d0446b6798e712avboxsync#
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# or http://www.opensolaris.org/os/licensing.
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# See the License for the specific language governing permissions
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# and limitations under the License.
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync#
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# When distributing Covered Code, include this CDDL HEADER in each
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# If applicable, add the following below this CDDL HEADER, with the
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync#
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# CDDL HEADER END
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync#
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync#
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# Use is subject to license terms.
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync#
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync# cmd/sf880drd/Makefile
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync#
43747b1f0bc8302a238fb35e55857a5e9aa1933dvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncPROG = sf880drd
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncPLATFORM = SUNW,Sun-Fire-880
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncLINKED_PLATFORM = SUNW,Sun-Fire-V890
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncMANIFEST = sf880drd.xml
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncSVCMETHOD = sf880dr
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncinclude ../Makefile.cmd
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncinclude ../../Makefile.psm
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncROOTMANIFESTDIR = $(ROOTSVCPLATFORMSUN4U)
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncCPPFLAGS += -I$(ROOT)/usr/platform/sun4u/include
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncLDLIBS += -lcfgadm
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncPSMPROG = $(USR_PSM_LIB_DIR)/$(PROG)
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync$(PSMPROG) := FILEMODE = 0755
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync.KEEP_STATE:
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncall: $(PROG)
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncinstall: all $(PSMPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsynccheck: $(CHKMANIFEST)
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncclean:
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsynclint: lint_PROG
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync$(USR_PLAT_DIR):
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync -$(INS.dir.root.sys)
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync$(USR_PSM_DIR): $(USR_PLAT_DIR)
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync -$(INS.dir.root.sys)
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync$(USR_PSM_LIB_DIR): $(USR_PSM_DIR)
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync -$(INS.dir.root.sys)
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR)
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync $(INS.file)
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync cd $(USR_PLAT_DIR)/$(LINKED_PLATFORM)/lib; $(RM) $(PROG); \
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync $(SYMLINK) ../../$(PLATFORM)/lib/$(PROG) $(PROG)
a75c7589b84d8fe93d1039f7305298c22815185bvboxsync
a75c7589b84d8fe93d1039f7305298c22815185bvboxsyncinclude ../Makefile.targ
4ad29c8f6cdb903e72162c3d5d0446b6798e712avboxsync