Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
0N/A#
328N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
180N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
180N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
180N/A#
180N/A# uts/sparc/smbfs/Makefile
180N/A#
0N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
5N/A#
5N/A# This makefile drives the production of the smbfs (Server
338N/A# message block file system) kernel module.
338N/A#
338N/A# sparc architecture dependent
338N/A#
338N/A
338N/A#
338N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
338N/A#
338N/AUTSBASE = ../..
338N/A
338N/A#
338N/A# Define the module and object file sets.
338N/A#
338N/AMODULE = smbfs
338N/AOBJECTS = $(SMBFS_OBJS:%=$(OBJS_DIR)/%)
338N/ALINTS = $(SMBFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
338N/AROOTMODULE = $(USR_FS_DIR)/$(MODULE)
338N/A
338N/A#
338N/A# Include common rules.
338N/A#
338N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
338N/A
338N/A#
338N/A# Define targets
338N/A#
338N/AALL_TARGET = $(BINARY)
338N/ALINT_TARGET = $(MODULE).lint
0N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
8N/A
0N/A#
0N/A# Overrides.
0N/A#
0N/AMODSTUBS_DIR = $(OBJS_DIR)
0N/A$(MODSTUBS_O) := AS_CPPFLAGS += -DSMBFS_MODULE
0N/ACLEANFILES += $(MODSTUBS_O)
0N/AC99MODE = $(C99_ENABLE)
0N/AINC_PATH += -I$(UTSBASE)/common/fs/smbclnt
0N/AINC_PATH += -I$(COMMONBASE)/smbclnt
27N/ALDFLAGS += -dy -Ndrv/nsmb
0N/A
27N/A# Until CR 4994570 is fixed...
27N/ALINTTAGS += -erroff=E_BAD_FORMAT_ARG_TYPE2
27N/ACERRWARN += -_gcc=-Wno-parentheses
0N/ACERRWARN += -_gcc=-Wno-uninitialized
0N/A
0N/A# The mb_put/md_get functions are intentionally used with and without
0N/A# return value checks, so filter those out like LGREP.2 does.
0N/ALGREP.nsmb = egrep -v ' ignored: (mb_init|mb_put|md_get)'
0N/ALTAIL += 2>&1 | $(LGREP.2) | $(LGREP.nsmb) || true
0N/A
0N/A#
0N/A# Default build targets.
0N/A#
286N/A.KEEP_STATE:
27N/A
27N/Adef: $(DEF_DEPS)
27N/A
27N/Aall: $(ALL_DEPS)
27N/A
27N/Aclean: $(CLEAN_DEPS)
27N/A
27N/Aclobber: $(CLOBBER_DEPS)
27N/A
32N/Alint: $(LINT_DEPS)
32N/A
315N/Amodlintlib: $(MODLINTLIB_DEPS)
315N/A
311N/Aclean.lint: $(CLEAN_LINT_DEPS)
311N/A
27N/Ainstall: $(INSTALL_DEPS)
27N/A
27N/A#
27N/A# Include common targets.
27N/A#
27N/Ainclude $(UTSBASE)/sparc/Makefile.targ
27N/A