summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/intel/amd64
diff options
context:
space:
mode:
authorGordon Ross <gwr@nexenta.com>2018-06-16 11:04:35 -0400
committerGordon Ross <gwr@nexenta.com>2019-05-28 13:34:10 -0400
commite0687fa3d7ea3b0bb17ed079bd9679fc2dffbf4b (patch)
treebcbd22579b236c3ebf9026ce795bdafd35fda169 /usr/src/cmd/mdb/intel/amd64
parentdb46347b25b03d61611dcb9b588ee786da62c918 (diff)
downloadillumos-joyent-e0687fa3d7ea3b0bb17ed079bd9679fc2dffbf4b.tar.gz
10983 add mdb walker for smbd share cache
Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/cmd/mdb/intel/amd64')
-rw-r--r--usr/src/cmd/mdb/intel/amd64/libmlsvc/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/usr/src/cmd/mdb/intel/amd64/libmlsvc/Makefile b/usr/src/cmd/mdb/intel/amd64/libmlsvc/Makefile
new file mode 100644
index 0000000000..33157930f7
--- /dev/null
+++ b/usr/src/cmd/mdb/intel/amd64/libmlsvc/Makefile
@@ -0,0 +1,46 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# Copyright 2018 Nexenta Systems, Inc. All rights reserved.
+#
+
+MODULE = libmlsvc.so
+MDBTGT = proc
+
+MODSRCS = mlsvc.c smb_ht.c
+
+include ../../../../Makefile.cmd
+include ../../../../Makefile.cmd.64
+include ../../Makefile.amd64
+include ../../../Makefile.module
+
+MODSRCS_DIR = ../../../common/modules/libmlsvc
+
+# CPPFLAGS += -I$(SRC)/lib/smbsrv/libmlsvc
+CPPFLAGS += -I$(SRC)/uts/common
+
+CSTD= $(CSTD_GNU99)
+C99MODE= -xc99=%all
+C99LMODE= -Xc99=%all