Makefile revision 430b4c467020edf2445feb0c21db01c88b86243a
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# CDDL HEADER START
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# The contents of this file are subject to the terms of the
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# Common Development and Distribution License (the "License").
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# You may not use this file except in compliance with the License.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# or http://www.opensolaris.org/os/licensing.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# See the License for the specific language governing permissions
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# and limitations under the License.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# When distributing Covered Code, include this CDDL HEADER in each
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# If applicable, add the following below this CDDL HEADER, with the
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# fields enclosed by brackets "[]" replaced with your own identifying
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# information: Portions Copyright [yyyy] [name of copyright owner]
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# CDDL HEADER END
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
6f269e977ae7318d374676a38d516ed59c43135eMark J. Nelson# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# Use is subject to license terms.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaMDBTGT = kvm
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaMODULE = nsmb.so
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaMODSRCS_DIR = ../../../common/modules/nsmb
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaMODSRCS = nsmb.c
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Prazainclude ../../../../Makefile.cmd
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Prazainclude ../../../../Makefile.cmd.64
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Prazainclude ../../Makefile.amd64
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# This kmod goes in /usr/kernel/kmdb
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaROOTKMOD = $(ROOT)/usr/kernel/kmdb$(MACHMODDIR)
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Prazainclude ../../../Makefile.module
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza
ae39239e04452933e89d03a1fb502e3e2836a332Mark J. NelsonCPPFLAGS += -I$(SRC)/uts/common/fs/smbclnt
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCPPFLAGS += -I$(SRC)/uts/common
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaC99MODE= $(C99_ENABLE)
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# maybe not the best place for this, but
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# we need to create this directory.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza$(ROOTKMOD):
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza $(INS.dir)
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza