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