1*5151fb12Sdarrenm# 2*5151fb12Sdarrenm# CDDL HEADER START 3*5151fb12Sdarrenm# 4*5151fb12Sdarrenm# The contents of this file are subject to the terms of the 5*5151fb12Sdarrenm# Common Development and Distribution License (the "License"). 6*5151fb12Sdarrenm# You may not use this file except in compliance with the License. 7*5151fb12Sdarrenm# 8*5151fb12Sdarrenm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*5151fb12Sdarrenm# or http://www.opensolaris.org/os/licensing. 10*5151fb12Sdarrenm# See the License for the specific language governing permissions 11*5151fb12Sdarrenm# and limitations under the License. 12*5151fb12Sdarrenm# 13*5151fb12Sdarrenm# When distributing Covered Code, include this CDDL HEADER in each 14*5151fb12Sdarrenm# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*5151fb12Sdarrenm# If applicable, add the following below this CDDL HEADER, with the 16*5151fb12Sdarrenm# fields enclosed by brackets "[]" replaced with your own identifying 17*5151fb12Sdarrenm# information: Portions Copyright [yyyy] [name of copyright owner] 18*5151fb12Sdarrenm# 19*5151fb12Sdarrenm# CDDL HEADER END 20*5151fb12Sdarrenm# 21*5151fb12Sdarrenm# 22*5151fb12Sdarrenm# uts/intel/md4/Makefile 23*5151fb12Sdarrenm# 24*5151fb12Sdarrenm# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 25*5151fb12Sdarrenm# Use is subject to license terms. 26*5151fb12Sdarrenm# 27*5151fb12Sdarrenm#ident "%Z%%M% %I% %E% SMI" 28*5151fb12Sdarrenm# 29*5151fb12Sdarrenm# This makefile drives the production of the md4 crypto kernel module. 30*5151fb12Sdarrenm# 31*5151fb12Sdarrenm# intel architecture dependent 32*5151fb12Sdarrenm# 33*5151fb12Sdarrenm 34*5151fb12Sdarrenm# 35*5151fb12Sdarrenm# Path to the base of the uts directory tree (usually /usr/src/uts). 36*5151fb12Sdarrenm# 37*5151fb12SdarrenmUTSBASE = ../.. 38*5151fb12Sdarrenm 39*5151fb12Sdarrenm# 40*5151fb12Sdarrenm# Define the module and object file sets. 41*5151fb12Sdarrenm# 42*5151fb12SdarrenmMODULE = md4 43*5151fb12SdarrenmOBJECTS = $(MD4_OBJS:%=$(OBJS_DIR)/%) 44*5151fb12SdarrenmLINTS = $(MD4_OBJS:%.o=$(LINTS_DIR)/%.ln) 45*5151fb12SdarrenmROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) 46*5151fb12Sdarrenm 47*5151fb12Sdarrenm# 48*5151fb12Sdarrenm# Include common rules. 49*5151fb12Sdarrenm# 50*5151fb12Sdarrenminclude $(UTSBASE)/intel/Makefile.intel 51*5151fb12Sdarrenm 52*5151fb12Sdarrenm# 53*5151fb12Sdarrenm# Override defaults 54*5151fb12Sdarrenm# 55*5151fb12Sdarrenm 56*5151fb12Sdarrenm 57*5151fb12Sdarrenm# 58*5151fb12Sdarrenm# Define targets 59*5151fb12Sdarrenm# 60*5151fb12SdarrenmALL_TARGET = $(BINARY) 61*5151fb12SdarrenmLINT_TARGET = $(MODULE).lint 62*5151fb12SdarrenmINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 63*5151fb12Sdarrenm 64*5151fb12SdarrenmLDFLAGS += -dy 65*5151fb12Sdarrenm 66*5151fb12Sdarrenm# 67*5151fb12Sdarrenm# For now, disable these lint checks; maintainers should endeavor 68*5151fb12Sdarrenm# to investigate and remove these for maximum lint coverage. 69*5151fb12Sdarrenm# Please do not carry these forward to new Makefiles. 70*5151fb12Sdarrenm# 71*5151fb12SdarrenmLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW 72*5151fb12Sdarrenm 73*5151fb12Sdarrenm# 74*5151fb12Sdarrenm# Default build targets. 75*5151fb12Sdarrenm# 76*5151fb12Sdarrenm.KEEP_STATE: 77*5151fb12Sdarrenm 78*5151fb12Sdarrenmdef: $(DEF_DEPS) 79*5151fb12Sdarrenm 80*5151fb12Sdarrenmall: $(ALL_DEPS) 81*5151fb12Sdarrenm 82*5151fb12Sdarrenmclean: $(CLEAN_DEPS) 83*5151fb12Sdarrenm 84*5151fb12Sdarrenmclobber: $(CLOBBER_DEPS) 85*5151fb12Sdarrenm 86*5151fb12Sdarrenmlint: $(LINT_DEPS) 87*5151fb12Sdarrenm 88*5151fb12Sdarrenmmodlintlib: $(MODLINTLIB_DEPS) 89*5151fb12Sdarrenm 90*5151fb12Sdarrenmclean.lint: $(CLEAN_LINT_DEPS) 91*5151fb12Sdarrenm 92*5151fb12Sdarrenminstall: $(INSTALL_DEPS) 93*5151fb12Sdarrenm 94*5151fb12Sdarrenm# 95*5151fb12Sdarrenm# Include common targets. 96*5151fb12Sdarrenm# 97*5151fb12Sdarrenminclude $(UTSBASE)/intel/Makefile.targ 98