xref: /titanic_51/usr/src/cmd/fm/modules/sun4v/etm/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
1733a5356Srb144127#
2733a5356Srb144127# CDDL HEADER START
3733a5356Srb144127#
4733a5356Srb144127# The contents of this file are subject to the terms of the
534709573Sraf# Common Development and Distribution License (the "License").
634709573Sraf# You may not use this file except in compliance with the License.
7733a5356Srb144127#
8733a5356Srb144127# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9733a5356Srb144127# or http://www.opensolaris.org/os/licensing.
10733a5356Srb144127# See the License for the specific language governing permissions
11733a5356Srb144127# and limitations under the License.
12733a5356Srb144127#
13733a5356Srb144127# When distributing Covered Code, include this CDDL HEADER in each
14733a5356Srb144127# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15733a5356Srb144127# If applicable, add the following below this CDDL HEADER, with the
16733a5356Srb144127# fields enclosed by brackets "[]" replaced with your own identifying
17733a5356Srb144127# information: Portions Copyright [yyyy] [name of copyright owner]
18733a5356Srb144127#
19733a5356Srb144127# CDDL HEADER END
20733a5356Srb144127#
21733a5356Srb144127#
2225351652SVuong Nguyen# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23733a5356Srb144127# Use is subject to license terms.
24733a5356Srb144127#
25733a5356Srb144127
26733a5356Srb144127MODULE = etm
27733a5356Srb144127CLASS = arch
28733a5356Srb144127ARCH = sun4v
29733a5356Srb144127
3025351652SVuong NguyenSRCS = etm.c etm_xport_api_dd.c etm_filter.c etm_ckpt.c
31733a5356Srb144127
32733a5356Srb144127include ../../Makefile.plugin
3334709573Sraf
3425351652SVuong NguyenCPPFLAGS += -I$(SRC)/uts/sun4v  \
3525351652SVuong Nguyen	    -I$(SRC)/uts/common \
3625351652SVuong Nguyen	    -I$(ROOT)/usr/platform/sun4v/include
3725351652SVuong NguyenLDLIBS += -L$(ROOT)/usr/lib/fm -lldom -ltopo
3862e61469Sdb35262LDFLAGS += -R/usr/lib/fm
3925351652SVuong Nguyen
4025351652SVuong NguyenDYNFLAGS += -R/usr/lib
41*7014882cSRichard Lowe
42*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-value
43*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses
44*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized
45