Makefile revision 5151fb1220e0ceafdc172203863c73da4285c170
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# CDDL HEADER START
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# The contents of this file are subject to the terms of the
5151fb1220e0ceafdc172203863c73da4285c170darrenm# Common Development and Distribution License (the "License").
5151fb1220e0ceafdc172203863c73da4285c170darrenm# You may not use this file except in compliance with the License.
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5151fb1220e0ceafdc172203863c73da4285c170darrenm# or http://www.opensolaris.org/os/licensing.
5151fb1220e0ceafdc172203863c73da4285c170darrenm# See the License for the specific language governing permissions
5151fb1220e0ceafdc172203863c73da4285c170darrenm# and limitations under the License.
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# When distributing Covered Code, include this CDDL HEADER in each
5151fb1220e0ceafdc172203863c73da4285c170darrenm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5151fb1220e0ceafdc172203863c73da4285c170darrenm# If applicable, add the following below this CDDL HEADER, with the
5151fb1220e0ceafdc172203863c73da4285c170darrenm# fields enclosed by brackets "[]" replaced with your own identifying
5151fb1220e0ceafdc172203863c73da4285c170darrenm# information: Portions Copyright [yyyy] [name of copyright owner]
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# CDDL HEADER END
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# uts/intel/md4/Makefile
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
5151fb1220e0ceafdc172203863c73da4285c170darrenm# Use is subject to license terms.
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm#ident "%Z%%M% %I% %E% SMI"
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# This makefile drives the production of the md4 crypto kernel module.
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# intel architecture dependent
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# Path to the base of the uts directory tree (usually /usr/src/uts).
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenmUTSBASE = ../..
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# Define the module and object file sets.
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenmMODULE = md4
5151fb1220e0ceafdc172203863c73da4285c170darrenmOBJECTS = $(MD4_OBJS:%=$(OBJS_DIR)/%)
5151fb1220e0ceafdc172203863c73da4285c170darrenmLINTS = $(MD4_OBJS:%.o=$(LINTS_DIR)/%.ln)
5151fb1220e0ceafdc172203863c73da4285c170darrenmROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# Include common rules.
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenminclude $(UTSBASE)/intel/Makefile.intel
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# Override defaults
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# Define targets
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenmALL_TARGET = $(BINARY)
5151fb1220e0ceafdc172203863c73da4285c170darrenmLINT_TARGET = $(MODULE).lint
5151fb1220e0ceafdc172203863c73da4285c170darrenmINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenmLDFLAGS += -dy
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# For now, disable these lint checks; maintainers should endeavor
5151fb1220e0ceafdc172203863c73da4285c170darrenm# to investigate and remove these for maximum lint coverage.
5151fb1220e0ceafdc172203863c73da4285c170darrenm# Please do not carry these forward to new Makefiles.
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenmLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# Default build targets.
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm.KEEP_STATE:
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenmdef: $(DEF_DEPS)
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenmall: $(ALL_DEPS)
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenmclean: $(CLEAN_DEPS)
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenmclobber: $(CLOBBER_DEPS)
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenmlint: $(LINT_DEPS)
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenmmodlintlib: $(MODLINTLIB_DEPS)
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenmclean.lint: $(CLEAN_LINT_DEPS)
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenminstall: $(INSTALL_DEPS)
5151fb1220e0ceafdc172203863c73da4285c170darrenm
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenm# Include common targets.
5151fb1220e0ceafdc172203863c73da4285c170darrenm#
5151fb1220e0ceafdc172203863c73da4285c170darrenminclude $(UTSBASE)/intel/Makefile.targ