Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
2284N/A#
2284N/A# CDDL HEADER START
2284N/A#
2284N/A# The contents of this file are subject to the terms of the
2284N/A# Common Development and Distribution License, Version 1.0 only
2284N/A# (the "License"). You may not use this file except in compliance
2284N/A# with the License.
2284N/A#
2284N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2284N/A# or http://www.opensolaris.org/os/licensing.
2284N/A# See the License for the specific language governing permissions
2284N/A# and limitations under the License.
2284N/A#
2284N/A# When distributing Covered Code, include this CDDL HEADER in each
2284N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2284N/A# If applicable, add the following below this CDDL HEADER, with the
2284N/A# fields enclosed by brackets "[]" replaced with your own identifying
2284N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2284N/A#
2284N/A# CDDL HEADER END
2284N/A#
2284N/A#
2284N/A# uts/sparc/nfs/Makefile
2284N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
2284N/A# Use is subject to license terms.
2284N/A#
2284N/A#ident "%Z%%M% %I% %E% SMI"
2284N/A#
2284N/A# This makefile drives the production of the nfs file system
2284N/A# kernel module.
2284N/A#
2284N/A# sparc architecture dependent
2284N/A#
2284N/A
2284N/A#
2284N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
2284N/A#
2284N/AUTSBASE = ../..
2284N/A
2284N/A#
2284N/A# Define the module and object file sets.
2284N/A#
2284N/AMODULE = nfs
2284N/AOBJECTS = $(NFS_OBJS:%=$(OBJS_DIR)/%)
2284N/ALINTS = $(NFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
2284N/AROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
2284N/AROOTLINK = $(ROOT_SYS_DIR)/$(MODULE)
2284N/A
2284N/A#
2284N/A# Include common rules.
2284N/A#
2284N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
2284N/A
2284N/A#
2284N/A# Define targets
2284N/A#
2284N/AALL_TARGET = $(BINARY)
2284N/ALINT_TARGET = $(MODULE).lint
2284N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
2284N/A
2284N/A#
2284N/A# Overrides.
2284N/A#
2284N/AMODSTUBS_DIR = $(OBJS_DIR)
2284N/A$(MODSTUBS_O) := AS_CPPFLAGS += -DNFS_MODULE
2284N/ACLEANFILES += $(MODSTUBS_O)
2284N/ACFLAGS += $(CCVERBOSE)
2284N/A
2284N/A#
2284N/A# Default build targets.
2284N/A#
2284N/A.KEEP_STATE:
2284N/A
2284N/Adef: $(DEF_DEPS)
2284N/A
2284N/Aall: $(ALL_DEPS)
2284N/A
2284N/Aclean: $(CLEAN_DEPS)
2284N/A
2284N/Aclobber: $(CLOBBER_DEPS)
2284N/A
2284N/Alint: $(LINT_DEPS)
2284N/A
2284N/Amodlintlib: $(MODLINTLIB_DEPS)
2284N/A
2284N/Aclean.lint: $(CLEAN_LINT_DEPS)
2284N/A
2284N/Ainstall: $(INSTALL_DEPS)
2284N/A
2284N/A$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE)
2284N/A -$(RM) $@; ln $(ROOTMODULE) $@
2284N/A
2284N/A#
2284N/A# Include common targets.
2284N/A#
2284N/Ainclude $(UTSBASE)/sparc/Makefile.targ
2284N/A