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