#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#
# This makefile drives the production of the generic
# unix kernel module.
#
# sparc implementation architecture dependent
#
#
#
UTSBASE = ../..
#
# Define the module and object file sets.
#
# LINTFLAGS will be set to include definitions so that the cpu_t
# structure is expanded. However this could be set to look at the
# sun4u version which is not correct for sun4v. Therefore we only
# want to use the LINTFLAGS modification in this Makefile and so
# suppress the usage of the LINTFLAGS setting in the Makefile.sparc
# file.
#
#
# Include common rules.
#
#
# Define targets
#
#
# Override defaults
#
BINARY =
CLOBBERFILES += $(GENUNIX)
#
# Non-patch genunix builds merge a version of the ip module called ipctf. This
# is to ensure that the common network-related types are included in genunix and
# can thus be uniquified out of other modules. We don't want to do this for
# patch builds, since we can't guarantee that ip and genunix will be in the same
# patch.
#
#
# lint pass one enforcement
#
#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
#
# Ensure that lint sees 'struct cpu' containing a fully declared
# embedded 'struct machcpu'.
#
#
# Default build targets.
#
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
install: $(INSTALL_DEPS)
@pwd
$(POST_PROCESS)
#
# Include common targets.
#
#
# Include workarounds.
#
ALL_DEFS += $(WORKAROUND_DEFS)