Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
12723N/A#
12723N/A# CDDL HEADER START
12723N/A#
12723N/A# The contents of this file are subject to the terms of the
12723N/A# Common Development and Distribution License (the "License").
12723N/A# You may not use this file except in compliance with the License.
12723N/A#
12723N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12723N/A# or http://www.opensolaris.org/os/licensing.
12723N/A# See the License for the specific language governing permissions
12723N/A# and limitations under the License.
12723N/A#
12723N/A# When distributing Covered Code, include this CDDL HEADER in each
12723N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
12723N/A# If applicable, add the following below this CDDL HEADER, with the
12723N/A# fields enclosed by brackets "[]" replaced with your own identifying
12723N/A# information: Portions Copyright [yyyy] [name of copyright owner]
12723N/A#
12723N/A# CDDL HEADER END
12723N/A#
12723N/A#
12723N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
12723N/A# Use is subject to license terms.
12723N/A#
12723N/A
12723N/A#
12723N/A# This makefile drives the production of the object file system
12723N/A# kernel module.
12723N/A#
12723N/A# sparc architecture dependent
12723N/A#
12723N/A
12723N/A#
12723N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
12723N/A#
12723N/AUTSBASE = ../..
12723N/A
12723N/A#
12723N/A# Define the module and object file sets.
12723N/A#
12723N/AMODULE = objfs
12723N/AOBJECTS = $(OBJFS_OBJS:%=$(OBJS_DIR)/%)
12723N/ALINTS = $(OBJFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
12723N/AROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
12723N/A
12723N/A#
12723N/A# Include common rules.
12723N/A#
12723N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
12723N/A
12723N/A#
12723N/A# Define targets
12723N/A#
12723N/AALL_TARGET = $(BINARY)
12723N/ALINT_TARGET = $(MODULE).lint
12723N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
12723N/A
12723N/A#
12723N/A# Overrides.
12723N/A#
12723N/ACFLAGS += $(CCVERBOSE)
12723N/A
12723N/A#
12723N/A# For now, disable these lint checks; maintainers should endeavor
12723N/A# to investigate and remove these for maximum lint coverage.
12723N/A# Please do not carry these forward to new Makefiles.
12723N/A#
12723N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
12723N/ALINTTAGS += -erroff=E_STATIC_UNUSED
12723N/A
12723N/ACERRWARN += -_gcc=-Wno-parentheses
12723N/ACERRWARN += -_gcc=-Wno-unused-function
12723N/ACERRWARN += -_gcc=-Wno-uninitialized
12723N/A
12723N/A#
12723N/A# Default build targets.
12723N/A#
12723N/A.KEEP_STATE:
12723N/A
12723N/Adef: $(DEF_DEPS)
12723N/A
12723N/Aall: $(ALL_DEPS)
12723N/A
12723N/Aclean: $(CLEAN_DEPS)
12723N/A
12723N/Aclobber: $(CLOBBER_DEPS)
12723N/A
12723N/Alint: $(LINT_DEPS)
12723N/A
12723N/Amodlintlib: $(MODLINTLIB_DEPS)
12723N/A
12723N/Aclean.lint: $(CLEAN_LINT_DEPS)
12723N/A
12723N/Ainstall: $(INSTALL_DEPS)
12723N/A
12723N/A#
12723N/A# Include common targets.
12723N/A#
12723N/Ainclude $(UTSBASE)/sparc/Makefile.targ
12723N/A