14bff34e3Sthurlow# 24bff34e3Sthurlow# CDDL HEADER START 34bff34e3Sthurlow# 44bff34e3Sthurlow# The contents of this file are subject to the terms of the 54bff34e3Sthurlow# Common Development and Distribution License (the "License"). 64bff34e3Sthurlow# You may not use this file except in compliance with the License. 74bff34e3Sthurlow# 84bff34e3Sthurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 94bff34e3Sthurlow# or http://www.opensolaris.org/os/licensing. 104bff34e3Sthurlow# See the License for the specific language governing permissions 114bff34e3Sthurlow# and limitations under the License. 124bff34e3Sthurlow# 134bff34e3Sthurlow# When distributing Covered Code, include this CDDL HEADER in each 144bff34e3Sthurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 154bff34e3Sthurlow# If applicable, add the following below this CDDL HEADER, with the 164bff34e3Sthurlow# fields enclosed by brackets "[]" replaced with your own identifying 174bff34e3Sthurlow# information: Portions Copyright [yyyy] [name of copyright owner] 184bff34e3Sthurlow# 194bff34e3Sthurlow# CDDL HEADER END 204bff34e3Sthurlow# 214bff34e3Sthurlow# 22*430b4c46SGordon Ross# Copyright 2011 Nexenta Systems, Inc. All rights reserved. 234bff34e3Sthurlow# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 244bff34e3Sthurlow# Use is subject to license terms. 254bff34e3Sthurlow 264bff34e3SthurlowMDBTGT = kvm 274bff34e3SthurlowMODULE = nsmb.so 284bff34e3SthurlowMODSRCS_DIR = ../../../common/modules/nsmb 294bff34e3SthurlowMODSRCS = nsmb.c 304bff34e3Sthurlow 314bff34e3Sthurlowinclude ../../../../Makefile.cmd 324bff34e3Sthurlowinclude ../../../../Makefile.cmd.64 334bff34e3Sthurlowinclude ../../Makefile.sparcv9 349c9af259SGordon Ross 359c9af259SGordon Ross# This kmod goes in /usr/kernel/kmdb 369c9af259SGordon RossROOTKMOD = $(ROOT)/usr/kernel/kmdb$(MACHMODDIR) 379c9af259SGordon Ross 384bff34e3Sthurlowinclude ../../../Makefile.module 394bff34e3Sthurlow 40*430b4c46SGordon RossCPPFLAGS += -I$(SRC)/uts/common/fs/smbclnt 414bff34e3SthurlowCPPFLAGS += -I$(SRC)/uts/common 424bff34e3Sthurlow 43*430b4c46SGordon RossC99MODE= $(C99_ENABLE) 449c9af259SGordon Ross 459c9af259SGordon Ross# maybe not the best place for this, but 469c9af259SGordon Ross# we need to create this directory. 479c9af259SGordon Ross$(ROOTKMOD): 489c9af259SGordon Ross $(INS.dir) 49