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