Makefile revision 48bc00d6814e04ff3edb32cafe7d1bc580baff68
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# CDDL HEADER START
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# The contents of this file are subject to the terms of the
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Common Development and Distribution License (the "License").
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# You may not use this file except in compliance with the License.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# or http://www.opensolaris.org/os/licensing.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# See the License for the specific language governing permissions
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# and limitations under the License.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# When distributing Covered Code, include this CDDL HEADER in each
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# If applicable, add the following below this CDDL HEADER, with the
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# CDDL HEADER END
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Use is subject to license terms.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# cmd/sf880drd/Makefile
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncPROG = sf880drd
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncPLATFORM = SUNW,Sun-Fire-880
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncLINKED_PLATFORM = SUNW,Sun-Fire-V890
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncMANIFEST = sf880drd.xml
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncSVCMETHOD = sf880dr
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncinclude ../Makefile.cmd
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncinclude ../../Makefile.psm
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncROOTMANIFESTDIR = $(ROOTSVCPLATFORMSUN4U)
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncCPPFLAGS += -I$(ROOT)/usr/platform/sun4u/include
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncLDLIBS += -lcfgadm
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncPSMPROG = $(USR_PSM_LIB_DIR)/$(PROG)
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync$(PSMPROG) := FILEMODE = 0755
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync.KEEP_STATE:
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncall: $(PROG)
install: all $(PSMPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
check: $(CHKMANIFEST)
clean:
lint: lint_PROG
$(USR_PLAT_DIR):
-$(INS.dir)
$(USR_PSM_DIR): $(USR_PLAT_DIR)
-$(INS.dir)
$(USR_PSM_LIB_DIR): $(USR_PSM_DIR)
-$(INS.dir)
$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR)
$(INS.file)
cd $(USR_PLAT_DIR)/$(LINKED_PLATFORM)/lib; $(RM) $(PROG); \
$(SYMLINK) ../../$(PLATFORM)/lib/$(PROG) $(PROG)
include ../Makefile.targ