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