103831d35Sstevel# 203831d35Sstevel# CDDL HEADER START 303831d35Sstevel# 403831d35Sstevel# The contents of this file are subject to the terms of the 5*f841f6adSraf# Common Development and Distribution License (the "License"). 6*f841f6adSraf# You may not use this file except in compliance with the License. 703831d35Sstevel# 803831d35Sstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 903831d35Sstevel# or http://www.opensolaris.org/os/licensing. 1003831d35Sstevel# See the License for the specific language governing permissions 1103831d35Sstevel# and limitations under the License. 1203831d35Sstevel# 1303831d35Sstevel# When distributing Covered Code, include this CDDL HEADER in each 1403831d35Sstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1503831d35Sstevel# If applicable, add the following below this CDDL HEADER, with the 1603831d35Sstevel# fields enclosed by brackets "[]" replaced with your own identifying 1703831d35Sstevel# information: Portions Copyright [yyyy] [name of copyright owner] 1803831d35Sstevel# 1903831d35Sstevel# CDDL HEADER END 2003831d35Sstevel# 2103831d35Sstevel# 22*f841f6adSraf# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 2303831d35Sstevel# Use is subject to license terms. 2403831d35Sstevel# 2503831d35Sstevel# ident "%Z%%M% %I% %E% SMI" 2603831d35Sstevel# 2703831d35Sstevel# cmd/scadm/sparc/mpxu/Makefile 2803831d35Sstevel# 2903831d35Sstevel# Platform specific Makefile for the scadm command. 3003831d35Sstevel# 3103831d35Sstevel# PLATFORM is the target for the binary instalation. 3203831d35Sstevel# 3303831d35Sstevel# PLATLINKS is a list of platforms which are to be linked to this binary 3403831d35Sstevel# at the file level. 3503831d35Sstevel# 3603831d35SstevelSRCDIR = ../.. 3703831d35SstevelPLATFORM = SUNW,Sun-Fire-V240 3803831d35SstevelPLATLINKS = SUNW,Sun-Fire-V250 3903831d35SstevelPLATLINKS += SUNW,Sun-Fire-V445 4003831d35SstevelPLATLINKS += SUNW,Sun-Fire-V215 4103831d35Sstevel 4203831d35Sstevelinclude $(SRCDIR)/Makefile.com 4303831d35Sstevel 4403831d35SstevelCFLAGS += -R /usr/platform/$(PLATFORM)/lib 4503831d35Sstevel 4603831d35SstevelLDLIBS += -L$(ROOT)/usr/platform/$(PLATFORM)/lib 47*f841f6adSrafLDLIBS += -lrsc -lcurses 4803831d35SstevelLINTFLAGS += -u 4903831d35Sstevel 5003831d35Sstevel.KEEP_STATE: 5103831d35Sstevel 5203831d35Sstevelall: librsc $(PROG) 5303831d35Sstevel 5403831d35Sstevellibrsc: 5503831d35Sstevel cd $(SRCDIR)/../../lib/librsc ; $(MAKE) install 5603831d35Sstevel 5703831d35Sstevelinclude $(SRCDIR)/Makefile.targ 58