1*1bdd6c0eSSue Gleeson# 2*1bdd6c0eSSue Gleeson# CDDL HEADER START 3*1bdd6c0eSSue Gleeson# 4*1bdd6c0eSSue Gleeson# The contents of this file are subject to the terms of the 5*1bdd6c0eSSue Gleeson# Common Development and Distribution License (the "License"). 6*1bdd6c0eSSue Gleeson# You may not use this file except in compliance with the License. 7*1bdd6c0eSSue Gleeson# 8*1bdd6c0eSSue Gleeson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*1bdd6c0eSSue Gleeson# or http://www.opensolaris.org/os/licensing. 10*1bdd6c0eSSue Gleeson# See the License for the specific language governing permissions 11*1bdd6c0eSSue Gleeson# and limitations under the License. 12*1bdd6c0eSSue Gleeson# 13*1bdd6c0eSSue Gleeson# When distributing Covered Code, include this CDDL HEADER in each 14*1bdd6c0eSSue Gleeson# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*1bdd6c0eSSue Gleeson# If applicable, add the following below this CDDL HEADER, with the 16*1bdd6c0eSSue Gleeson# fields enclosed by brackets "[]" replaced with your own identifying 17*1bdd6c0eSSue Gleeson# information: Portions Copyright [yyyy] [name of copyright owner] 18*1bdd6c0eSSue Gleeson# 19*1bdd6c0eSSue Gleeson# CDDL HEADER END 20*1bdd6c0eSSue Gleeson# 21*1bdd6c0eSSue Gleeson# 22*1bdd6c0eSSue Gleeson# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23*1bdd6c0eSSue Gleeson# Use is subject to license terms. 24*1bdd6c0eSSue Gleeson# 25*1bdd6c0eSSue Gleeson 26*1bdd6c0eSSue GleesonMODULE = srpt.so 27*1bdd6c0eSSue GleesonMDBTGT = kvm 28*1bdd6c0eSSue Gleeson 29*1bdd6c0eSSue GleesonMODSRCS = srpt.c 30*1bdd6c0eSSue Gleeson 31*1bdd6c0eSSue GleesonUTSBASE = ../../../../../uts 32*1bdd6c0eSSue GleesonCOMSTARBASE = $(UTSBASE)/common/io/comstar 33*1bdd6c0eSSue GleesonSRPTBASE = $(COMSTARBASE)/port/srpt 34*1bdd6c0eSSue Gleeson 35*1bdd6c0eSSue Gleesoninclude ../../../../Makefile.cmd 36*1bdd6c0eSSue Gleesoninclude ../../../../Makefile.cmd.64 37*1bdd6c0eSSue Gleesoninclude ../../Makefile.amd64 38*1bdd6c0eSSue Gleesoninclude ../../../Makefile.module 39*1bdd6c0eSSue Gleeson 40*1bdd6c0eSSue GleesonCPPFLAGS += -I$(UTSBASE)/common -I$(UTSBASE)/common/sys -I$(SRPTBASE) 41*1bdd6c0eSSue Gleeson 42*1bdd6c0eSSue GleesonC99MODE= -xc99=%all 43*1bdd6c0eSSue GleesonC99LMODE= -Xc99=%all 44