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