4bff34e37def8a90f9194d81bc345c52ba20086athurlow# CDDL HEADER START
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# The contents of this file are subject to the terms of the
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Common Development and Distribution License (the "License").
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You may not use this file except in compliance with the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# See the License for the specific language governing permissions
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# and limitations under the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# When distributing Covered Code, include this CDDL HEADER in each
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If applicable, add the following below this CDDL HEADER, with the
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# fields enclosed by brackets "[]" replaced with your own identifying
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# information: Portions Copyright [yyyy] [name of copyright owner]
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# CDDL HEADER END
878eeb1b7b5326d4b564b97bcde1b89342878bebGordon Ross# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Use is subject to license terms.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# This makefile drives the production of the smbfs (Server
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# message block file system) kernel module.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# intel architecture dependent
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Path to the base of the uts directory tree (usually /usr/src/uts).
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Define the module and object file sets.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Include common rules.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Define targets
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Overrides.
878eeb1b7b5326d4b564b97bcde1b89342878bebGordon Ross# Until CR 4994570 is fixed...
878eeb1b7b5326d4b564b97bcde1b89342878bebGordon Ross# The mb_put/md_get functions are intentionally used with and without
878eeb1b7b5326d4b564b97bcde1b89342878bebGordon Ross# return value checks, so filter those out like LGREP.2 does.
02d09e03eb27f3a2dc299de704e45dae5173f43fGordon RossLGREP.nsmb = egrep -v ' ignored: (mb_init|mb_put|md_get)'
878eeb1b7b5326d4b564b97bcde1b89342878bebGordon RossLTAIL += 2>&1 | $(LGREP.2) | $(LGREP.nsmb) || true
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Default build targets.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Include common targets.