Makefile revision 3066:2a2af34f0642
153152Smarcel# 253152Smarcel# CDDL HEADER START 3156813Sru# 4156813Sru# The contents of this file are subject to the terms of the 5156813Sru# Common Development and Distribution License (the "License"). 6125117Sschweikh# You may not use this file except in compliance with the License. 740843Smsmith# 8110783Sbenno# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 938465Smsmith# or http://www.opensolaris.org/os/licensing. 10138001Smarcel# See the License for the specific language governing permissions 11186073Snyan# and limitations under the License. 12138001Smarcel# 13138001Smarcel# When distributing Covered Code, include this CDDL HEADER in each 14138001Smarcel# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15133862Smarius# If applicable, add the following below this CDDL HEADER, with the 1693307Sobrien# fields enclosed by brackets "[]" replaced with your own identifying 1768546Sbenno# information: Portions Copyright [yyyy] [name of copyright owner] 1868546Sbenno# 1968546Sbenno# CDDL HEADER END 20176371Smarcel# 21183878Sraj# 22176371Smarcel# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23176371Smarcel# Use is subject to license terms. 24176371Smarcel# 25199714Srnoland#ident "%Z%%M% %I% %E% SMI" 26185029Spjd# 27185029Spjd# This makefile drives the production of the swrand KEF provider. 28185029Spjd# 29208539Sraj# sparc implementation architecture dependent 30208539Sraj# 31208539Sraj 32208539Sraj# 33125117Sschweikh# Path to the base of the uts directory tree (usually /usr/src/uts). 34180733Simp# 35180733SimpUTSBASE = ../.. 36180733Simp 37180733Simp# 3840843Smsmith# Define the module and object file sets. 3938465Smsmith# 40MODULE = swrand 41OBJECTS = $(SWRANDPROV_OBJS:%=$(OBJS_DIR)/%) 42LINTS = $(SWRANDPROV_OBJS:%.o=$(LINTS_DIR)/%.ln) 43ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) 44 45# 46# Include common rules. 47# 48include $(UTSBASE)/sparc/Makefile.sparc 49 50# 51# Define targets 52# 53ALL_TARGET = $(BINARY) 54LINT_TARGET = $(MODULE).lint 55INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 56 57# 58# lint pass one enforcement 59# 60CFLAGS += $(CCVERBOSE) 61 62# 63# Linkage dependencies 64# 65LDFLAGS += -dy -Nmisc/kcf 66 67# 68# For now, disable these lint checks; maintainers should endeavor 69# to investigate and remove these for maximum lint coverage. 70# Please do not carry these forward to new Makefiles. 71# 72LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV 73LINTTAGS += -erroff=E_STATIC_UNUSED 74 75# 76# Default build targets. 77# 78.KEEP_STATE: 79 80def: $(DEF_DEPS) 81 82all: $(ALL_DEPS) 83 84clean: $(CLEAN_DEPS) 85 86clobber: $(CLOBBER_DEPS) 87 88lint: $(LINT_DEPS) 89 90modlintlib: $(MODLINTLIB_DEPS) 91 92clean.lint: $(CLEAN_LINT_DEPS) 93 94install: $(INSTALL_DEPS) 95 96# 97# Include common targets. 98# 99include $(UTSBASE)/sparc/Makefile.targ 100