xref: /titanic_41/usr/src/cmd/mdb/intel/ia32/pmcs/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
14c06356bSdh142964#
24c06356bSdh142964# CDDL HEADER START
34c06356bSdh142964#
44c06356bSdh142964# The contents of this file are subject to the terms of the
54c06356bSdh142964# Common Development and Distribution License (the "License").
64c06356bSdh142964# You may not use this file except in compliance with the License.
74c06356bSdh142964#
84c06356bSdh142964# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94c06356bSdh142964# or http://www.opensolaris.org/os/licensing.
104c06356bSdh142964# See the License for the specific language governing permissions
114c06356bSdh142964# and limitations under the License.
124c06356bSdh142964#
134c06356bSdh142964# When distributing Covered Code, include this CDDL HEADER in each
144c06356bSdh142964# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154c06356bSdh142964# If applicable, add the following below this CDDL HEADER, with the
164c06356bSdh142964# fields enclosed by brackets "[]" replaced with your own identifying
174c06356bSdh142964# information: Portions Copyright [yyyy] [name of copyright owner]
184c06356bSdh142964#
194c06356bSdh142964# CDDL HEADER END
204c06356bSdh142964#
214c06356bSdh142964#
224c06356bSdh142964# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
234c06356bSdh142964# Use is subject to license terms.
244c06356bSdh142964#
254c06356bSdh142964
264c06356bSdh142964MODULE = pmcs.so
274c06356bSdh142964MDBTGT = kvm
284c06356bSdh142964
294c06356bSdh142964MODSRCS = pmcs.c
304c06356bSdh142964
314c06356bSdh142964include $(SRC)/cmd/Makefile.cmd
324c06356bSdh142964include $(SRC)/cmd/mdb/intel/Makefile.ia32
334c06356bSdh142964include $(SRC)/cmd/mdb/Makefile.module
344c06356bSdh142964
354c06356bSdh142964C99MODE = -xc99=%all
364c06356bSdh142964
374c06356bSdh142964CPPFLAGS += -I$(SRC)/uts/common
38*7014882cSRichard Lowe
39*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-switch
40*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-char-subscripts
41*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized
42