xref: /illumos-gate/usr/src/cmd/mdb/i86pc/modules/uppc/amd64/Makefile (revision 7b1019a6d29ccb7999dc76cba3dde1c627e8e609)
1c69906bdSanish#
2c69906bdSanish# CDDL HEADER START
3c69906bdSanish#
4c69906bdSanish# The contents of this file are subject to the terms of the
5d7b41ca4Sanish# Common Development and Distribution License (the "License").
6d7b41ca4Sanish# You may not use this file except in compliance with the License.
7c69906bdSanish#
8c69906bdSanish# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9c69906bdSanish# or http://www.opensolaris.org/os/licensing.
10c69906bdSanish# See the License for the specific language governing permissions
11c69906bdSanish# and limitations under the License.
12c69906bdSanish#
13c69906bdSanish# When distributing Covered Code, include this CDDL HEADER in each
14c69906bdSanish# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15c69906bdSanish# If applicable, add the following below this CDDL HEADER, with the
16c69906bdSanish# fields enclosed by brackets "[]" replaced with your own identifying
17c69906bdSanish# information: Portions Copyright [yyyy] [name of copyright owner]
18c69906bdSanish#
19c69906bdSanish# CDDL HEADER END
20c69906bdSanish#
21c69906bdSanish#
22ae115bc7Smrj# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23c69906bdSanish# Use is subject to license terms.
24c69906bdSanish#
25*7b1019a6SJerry Jelinek# Copyright 2016 Joyent, Inc.
26c69906bdSanish
27c69906bdSanishMODULE = uppc.so
28c69906bdSanishMDBTGT = kvm
29c69906bdSanish
30d7b41ca4SanishMODSRCS = uppc.c intr_common.c
31c69906bdSanish
32c69906bdSanishinclude ../../../../../Makefile.cmd
33c69906bdSanishinclude ../../../../../Makefile.cmd.64
34c69906bdSanishinclude ../../../../intel/Makefile.amd64
35c69906bdSanishinclude ../../../Makefile.i86pc
36c69906bdSanishinclude ../../../../Makefile.module
37c69906bdSanish
38ae115bc7SmrjMODSRCS_DIR = ../../common
39ae115bc7Smrj
40c69906bdSanishCPPFLAGS += -DMP -D_MACHDEP
41ae115bc7SmrjCPPFLAGS += -I../../common
42c69906bdSanishCPPFLAGS += -I../../../../common
43c69906bdSanishCPPFLAGS += -I$(SRC)/uts/intel
44c69906bdSanishCPPFLAGS += -I$(SRC)/uts/i86pc
45*7b1019a6SJerry Jelinek
46*7b1019a6SJerry JelinekCERRWARN += -_gcc=-Wno-unused-function
47