xref: /titanic_51/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
1822fb41dStsien#
2822fb41dStsien# CDDL HEADER START
3822fb41dStsien#
4822fb41dStsien# The contents of this file are subject to the terms of the
531e37bb4Svn83148# Common Development and Distribution License (the "License").
631e37bb4Svn83148# You may not use this file except in compliance with the License.
7822fb41dStsien#
8822fb41dStsien# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9822fb41dStsien# or http://www.opensolaris.org/os/licensing.
10822fb41dStsien# See the License for the specific language governing permissions
11822fb41dStsien# and limitations under the License.
12822fb41dStsien#
13822fb41dStsien# When distributing Covered Code, include this CDDL HEADER in each
14822fb41dStsien# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15822fb41dStsien# If applicable, add the following below this CDDL HEADER, with the
16822fb41dStsien# fields enclosed by brackets "[]" replaced with your own identifying
17822fb41dStsien# information: Portions Copyright [yyyy] [name of copyright owner]
18822fb41dStsien#
19822fb41dStsien# CDDL HEADER END
20822fb41dStsien#
21822fb41dStsien#
22e9713012Stsien# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23822fb41dStsien# Use is subject to license terms.
24822fb41dStsien#
25822fb41dStsien
26822fb41dStsienARCH = sun4v
27822fb41dStsien
28fbd1c0daSsd77468sun4v_SRCS = cmd_hc_sun4v.c \
29fbd1c0daSsd77468	     cmd_branch.c
30e9713012Stsien
3131e37bb4Svn83148INCDIRS = $(SRC)/uts/sun4v \
3231e37bb4Svn83148	$(ROOT)/usr/platform/sun4v/include
33822fb41dStsien
34822fb41dStsieninclude ../../sun4/cpumem-diagnosis/Makefile.cpumem
3531e37bb4Svn83148
3662e61469Sdb35262LDLIBS += -L$(ROOTLIB)/fm -lmdesc -lldom
3762e61469Sdb35262LDFLAGS += -R/usr/lib/fm
38*7014882cSRichard Lowe
39*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-switch
40*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses
41