4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# CDDL HEADER START
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# The contents of this file are subject to the terms of the
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Common Development and Distribution License (the "License").
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You may not use this file except in compliance with the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# or http://www.opensolaris.org/os/licensing.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# See the License for the specific language governing permissions
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# and limitations under the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# When distributing Covered Code, include this CDDL HEADER in each
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If applicable, add the following below this CDDL HEADER, with the
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# fields enclosed by brackets "[]" replaced with your own identifying
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# information: Portions Copyright [yyyy] [name of copyright owner]
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# CDDL HEADER END
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
430b4c467020edf2445feb0c21db01c88b86243aGordon Ross# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Use is subject to license terms.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# ident "%Z%%M% %I% %E% SMI"
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# cmd/scadm/sparc/mpxu/Makefile
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Platform specific Makefile for the scadm command.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# PLATFORM is the target for the binary instalation.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
9c9af2590af49bb395bc8d2eace0f2d4ea16d165Gordon Ross# PLATLINKS is a list of platforms which are to be linked to this binary
9c9af2590af49bb395bc8d2eace0f2d4ea16d165Gordon Ross# at the file level.
9c9af2590af49bb395bc8d2eace0f2d4ea16d165Gordon Ross#
9c9af2590af49bb395bc8d2eace0f2d4ea16d165Gordon RossSRCDIR = ../..
4bff34e37def8a90f9194d81bc345c52ba20086athurlowPLATFORM = SUNW,Sun-Fire-V240
4bff34e37def8a90f9194d81bc345c52ba20086athurlowPLATLINKS = SUNW,Sun-Fire-V250
430b4c467020edf2445feb0c21db01c88b86243aGordon RossPLATLINKS += SUNW,Sun-Fire-V445
4bff34e37def8a90f9194d81bc345c52ba20086athurlowPLATLINKS += SUNW,Sun-Fire-V215
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
430b4c467020edf2445feb0c21db01c88b86243aGordon Rossinclude $(SRCDIR)/Makefile.com
430b4c467020edf2445feb0c21db01c88b86243aGordon Ross
9c9af2590af49bb395bc8d2eace0f2d4ea16d165Gordon RossCFLAGS += -R /usr/platform/$(PLATFORM)/lib
9c9af2590af49bb395bc8d2eace0f2d4ea16d165Gordon Ross
9c9af2590af49bb395bc8d2eace0f2d4ea16d165Gordon RossLDLIBS += -L$(ROOT)/usr/platform/$(PLATFORM)/lib
9c9af2590af49bb395bc8d2eace0f2d4ea16d165Gordon RossLDLIBS += -lrsc -lcurses
LINTFLAGS += -u
.KEEP_STATE:
all: librsc $(PROG)
librsc:
cd $(SRCDIR)/../../lib/librsc ; $(MAKE) install
include $(SRCDIR)/Makefile.targ