xref: /onnv-gate/usr/src/cmd/mdb/intel/ia32/nsmb/Makefile (revision 8271:792589b3384f)
16007Sthurlow#
26007Sthurlow# CDDL HEADER START
36007Sthurlow#
46007Sthurlow# The contents of this file are subject to the terms of the
56007Sthurlow# Common Development and Distribution License (the "License").
66007Sthurlow# You may not use this file except in compliance with the License.
76007Sthurlow#
86007Sthurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
96007Sthurlow# or http://www.opensolaris.org/os/licensing.
106007Sthurlow# See the License for the specific language governing permissions
116007Sthurlow# and limitations under the License.
126007Sthurlow#
136007Sthurlow# When distributing Covered Code, include this CDDL HEADER in each
146007Sthurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
156007Sthurlow# If applicable, add the following below this CDDL HEADER, with the
166007Sthurlow# fields enclosed by brackets "[]" replaced with your own identifying
176007Sthurlow# information: Portions Copyright [yyyy] [name of copyright owner]
186007Sthurlow#
196007Sthurlow# CDDL HEADER END
206007Sthurlow#
216007Sthurlow#
226007Sthurlow# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
236007Sthurlow# Use is subject to license terms.
246007Sthurlow
256007SthurlowMDBTGT		= kvm
266007SthurlowMODULE		= nsmb.so
276007SthurlowMODSRCS_DIR	= ../../../common/modules/nsmb
286007SthurlowMODSRCS		= nsmb.c
296007Sthurlow
306007Sthurlowinclude ../../../../Makefile.cmd
316007Sthurlowinclude ../../Makefile.ia32
32*8271SGordon.Ross@Sun.COM
33*8271SGordon.Ross@Sun.COM# This kmod goes in /usr/kernel/kmdb
34*8271SGordon.Ross@Sun.COMROOTKMOD = $(ROOT)/usr/kernel/kmdb
35*8271SGordon.Ross@Sun.COM
366007Sthurlowinclude ../../../Makefile.module
376007Sthurlow
386007SthurlowCPPFLAGS	+= -I$(SRC)/uts/common/fs/smbclnt/netsmb
396007SthurlowCPPFLAGS	+= -I$(SRC)/uts/common
406007Sthurlow
416007SthurlowC99MODE=	-xc99=%all
426007SthurlowC99LMODE=	-Xc99=%all
43*8271SGordon.Ross@Sun.COM
44*8271SGordon.Ross@Sun.COM# maybe not the best place for this, but
45*8271SGordon.Ross@Sun.COM# we need to create this directory.
46*8271SGordon.Ross@Sun.COM$(ROOTKMOD):
47*8271SGordon.Ross@Sun.COM	$(INS.dir)
48