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