xref: /illumos-gate/usr/src/cmd/mdb/i86xpv/modules/unix/amd64/Makefile (revision 5d9d9091f564c198a760790b0bfa72c44e17912b)
1843e1988Sjohnlev#
2843e1988Sjohnlev# CDDL HEADER START
3843e1988Sjohnlev#
4843e1988Sjohnlev# The contents of this file are subject to the terms of the
5843e1988Sjohnlev# Common Development and Distribution License (the "License").
6843e1988Sjohnlev# You may not use this file except in compliance with the License.
7843e1988Sjohnlev#
8843e1988Sjohnlev# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9843e1988Sjohnlev# or http://www.opensolaris.org/os/licensing.
10843e1988Sjohnlev# See the License for the specific language governing permissions
11843e1988Sjohnlev# and limitations under the License.
12843e1988Sjohnlev#
13843e1988Sjohnlev# When distributing Covered Code, include this CDDL HEADER in each
14843e1988Sjohnlev# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15843e1988Sjohnlev# If applicable, add the following below this CDDL HEADER, with the
16843e1988Sjohnlev# fields enclosed by brackets "[]" replaced with your own identifying
17843e1988Sjohnlev# information: Portions Copyright [yyyy] [name of copyright owner]
18843e1988Sjohnlev#
19843e1988Sjohnlev# CDDL HEADER END
20843e1988Sjohnlev#
21843e1988Sjohnlev#
22843e1988Sjohnlev# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23843e1988Sjohnlev# Use is subject to license terms.
24843e1988Sjohnlev#
259c3024a3SHans Rosenfeld# Copyright 2019 Joyent, Inc.
26843e1988Sjohnlev
27843e1988SjohnlevMODULE = unix.so
28843e1988SjohnlevMDBTGT = kvm
29843e1988Sjohnlev
30a8ea0c9dSJohn LevonMODSRCS = unix.c i86mmu.c xcall.c
31*5d9d9091SRichard LoweMODASMSRCS = unix_sup.S
32843e1988Sjohnlev
33843e1988Sjohnlevinclude ../../../../../Makefile.cmd
34843e1988Sjohnlevinclude ../../../../../Makefile.cmd.64
35843e1988Sjohnlevinclude ../../../../intel/Makefile.amd64
36843e1988Sjohnlevinclude ../../../Makefile.i86xpv
37843e1988Sjohnlevinclude ../../../../Makefile.module
38843e1988Sjohnlev
39843e1988SjohnlevMODSRCS_DIR = ../../../../i86pc/modules/unix/
40843e1988Sjohnlev
41843e1988SjohnlevCPPFLAGS += -DMP -D_MACHDEP -D__xpv
42843e1988SjohnlevCPPFLAGS += -I../../../../common
439c3024a3SHans RosenfeldCPPFLAGS += -I../../../../intel
44843e1988SjohnlevCPPFLAGS += -I$(SRC)/uts/common
45843e1988SjohnlevCPPFLAGS += -I$(SRC)/uts/i86xpv
46843e1988SjohnlevCPPFLAGS += -I$(SRC)/uts/i86pc
47843e1988SjohnlevCPPFLAGS += -I$(SRC)/uts/intel
487014882cSRichard Lowe
497014882cSRichard LoweCERRWARN += -_gcc=-Wno-char-subscripts
507014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses
517014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-label
52d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT)
537b1019a6SJerry Jelinek
547b1019a6SJerry JelinekCERRWARN += -_gcc=-Wno-unused-function
55