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