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