Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
124N/A#
124N/A# CDDL HEADER START
124N/A#
124N/A# The contents of this file are subject to the terms of the
124N/A# Common Development and Distribution License (the "License").
124N/A# You may not use this file except in compliance with the License.
124N/A#
124N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
124N/A# or http://www.opensolaris.org/os/licensing.
124N/A# See the License for the specific language governing permissions
124N/A# and limitations under the License.
124N/A#
124N/A# When distributing Covered Code, include this CDDL HEADER in each
124N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
124N/A# If applicable, add the following below this CDDL HEADER, with the
124N/A# fields enclosed by brackets "[]" replaced with your own identifying
124N/A# information: Portions Copyright [yyyy] [name of copyright owner]
124N/A#
124N/A# CDDL HEADER END
124N/A#
2317N/A#
124N/A# uts/sparc/nfs/Makefile
124N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
124N/A# Use is subject to license terms.
124N/A#
3069N/A#ident "%Z%%M% %I% %E% SMI"
618N/A#
124N/A# This makefile drives the production of the nfs file system
124N/A# kernel module.
844N/A#
3069N/A# sparc architecture dependent
618N/A#
1258N/A
124N/A#
3069N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
2899N/A#
124N/AUTSBASE = ../..
124N/A
124N/A#
124N/A# Define the module and object file sets.
2960N/A#
2960N/AMODULE = nfs
2960N/AOBJECTS = $(NFS_OBJS:%=$(OBJS_DIR)/%)
2960N/ALINTS = $(NFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
1776N/AROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
1776N/AROOTLINK = $(ROOT_SYS_DIR)/$(MODULE)
1776N/A
124N/A#
124N/A# Include common rules.
3069N/A#
3069N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
3069N/A
124N/A#
124N/A# Define targets
124N/A#
124N/AALL_TARGET = $(BINARY)
124N/ALINT_TARGET = $(MODULE).lint
124N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
124N/A
124N/A#
1792N/A# Overrides.
1792N/A#
1792N/AMODSTUBS_DIR = $(OBJS_DIR)
1776N/A$(MODSTUBS_O) := AS_CPPFLAGS += -DNFS_MODULE
1776N/ACLEANFILES += $(MODSTUBS_O)
1776N/ACFLAGS += $(CCVERBOSE)
765N/A
765N/A#
765N/A# For now, disable these lint checks; maintainers should endeavor
765N/A# to investigate and remove these for maximum lint coverage.
765N/A# Please do not carry these forward to new Makefiles.
1792N/A#
1792N/ALINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
1792N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
765N/ALINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
765N/ALINTTAGS += -erroff=E_STATIC_UNUSED
765N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
765N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
765N/A
1776N/A#
124N/A# Default build targets.
1776N/A#
124N/A.KEEP_STATE:
181N/A
124N/Adef: $(DEF_DEPS)
124N/A
124N/Aall: $(ALL_DEPS)
124N/A
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE)
-$(RM) $@; ln $(ROOTMODULE) $@
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ