15cff7825Smh# 25cff7825Smh# CDDL HEADER START 35cff7825Smh# 45cff7825Smh# The contents of this file are subject to the terms of the 55cff7825Smh# Common Development and Distribution License (the "License"). 65cff7825Smh# You may not use this file except in compliance with the License. 75cff7825Smh# 85cff7825Smh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 95cff7825Smh# or http://www.opensolaris.org/os/licensing. 105cff7825Smh# See the License for the specific language governing permissions 115cff7825Smh# and limitations under the License. 125cff7825Smh# 135cff7825Smh# When distributing Covered Code, include this CDDL HEADER in each 145cff7825Smh# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 155cff7825Smh# If applicable, add the following below this CDDL HEADER, with the 165cff7825Smh# fields enclosed by brackets "[]" replaced with your own identifying 175cff7825Smh# information: Portions Copyright [yyyy] [name of copyright owner] 185cff7825Smh# 195cff7825Smh# CDDL HEADER END 205cff7825Smh# 215cff7825Smh# 225cff7825Smh# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 235cff7825Smh# Use is subject to license terms. 245cff7825Smh# 259c3024a3SHans Rosenfeld# Copyright 2019 Joyent, Inc. 265cff7825Smh 27843e1988SjohnlevMODULE = unix.so 28843e1988SjohnlevMDBTGT = kvm 295cff7825Smh 30a8ea0c9dSJohn LevonMODSRCS = unix.c i86mmu.c xcall.c 31*5d9d9091SRichard LoweMODASMSRCS = unix_sup.S 325cff7825Smh 33843e1988Sjohnlevinclude ../../../../../Makefile.cmd 34843e1988Sjohnlevinclude ../../../../../Makefile.cmd.64 35843e1988Sjohnlevinclude ../../../../intel/Makefile.amd64 36843e1988Sjohnlevinclude ../../../Makefile.i86xpv 37843e1988Sjohnlevinclude ../../../../Makefile.module 385cff7825Smh 39843e1988SjohnlevMODSRCS_DIR = ../../../../i86pc/modules/unix/ 405cff7825Smh 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