14c06356bSdh#
24c06356bSdh# CDDL HEADER START
34c06356bSdh#
44c06356bSdh# The contents of this file are subject to the terms of the
54c06356bSdh# Common Development and Distribution License (the "License").
64c06356bSdh# You may not use this file except in compliance with the License.
74c06356bSdh#
84c06356bSdh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94c06356bSdh# or http://www.opensolaris.org/os/licensing.
104c06356bSdh# See the License for the specific language governing permissions
114c06356bSdh# and limitations under the License.
124c06356bSdh#
134c06356bSdh# When distributing Covered Code, include this CDDL HEADER in each
144c06356bSdh# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154c06356bSdh# If applicable, add the following below this CDDL HEADER, with the
164c06356bSdh# fields enclosed by brackets "[]" replaced with your own identifying
174c06356bSdh# information: Portions Copyright [yyyy] [name of copyright owner]
184c06356bSdh#
194c06356bSdh# CDDL HEADER END
204c06356bSdh#
214c06356bSdh#
224c06356bSdh# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
234c06356bSdh# Use is subject to license terms.
244c06356bSdh#
254c06356bSdh
264c06356bSdhMODULE = pmcs.so
274c06356bSdhMDBTGT = kvm
284c06356bSdh
294c06356bSdhMODSRCS = pmcs.c
304c06356bSdh
314c06356bSdhinclude $(SRC)/cmd/Makefile.cmd
324c06356bSdhinclude $(SRC)/cmd/Makefile.cmd.64
334c06356bSdhinclude $(SRC)/cmd/mdb/intel/Makefile.amd64
344c06356bSdhinclude $(SRC)/cmd/mdb/Makefile.module
354c06356bSdh
36bd0ce624SYuri PankovCSTD = $(CSTD_GNU99)
374c06356bSdh
384c06356bSdhCPPFLAGS += -I$(SRC)/uts/common
397014882cSRichard Lowe
407014882cSRichard LoweCERRWARN += -_gcc=-Wno-switch
417014882cSRichard LoweCERRWARN += -_gcc=-Wno-char-subscripts
42*d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT)
43