Makefile revision fe54a78e1aacf39261ad56e9903bce02e3fb6d21
551N/A#
551N/A# CDDL HEADER START
1451N/A#
551N/A# The contents of this file are subject to the terms of the
1493N/A# Common Development and Distribution License (the "License").
551N/A# You may not use this file except in compliance with the License.
551N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
551N/A#
551N/A# This makefile drives the production of the swrand KEF provider.
551N/A#
551N/A# sparc implementation architecture dependent
551N/A#
551N/A
1392N/A#
1392N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1392N/A#
1392N/AUTSBASE = ../..
1392N/ACOM_DIR = $(COMMONBASE)/crypto
1515N/A
1392N/A#
970N/A# Define the module and object file sets.
970N/A#
970N/AMODULE = swrand
970N/AOBJECTS = $(SWRANDPROV_OBJS:%=$(OBJS_DIR)/%)
970N/ALINTS = $(SWRANDPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
970N/AROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
970N/A
970N/A#
551N/A# Include common rules.
551N/A#
551N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
551N/A
551N/A#
551N/A# Define targets
551N/A#
1451N/AALL_TARGET = $(BINARY)
551N/ALINT_TARGET = $(MODULE).lint
551N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
1466N/A
1466N/A#
551N/A# lint pass one enforcement
551N/A#
1193N/ACFLAGS += $(CCVERBOSE) -I$(COM_DIR)
1193N/ALINTFLAGS += -I$(COM_DIR)
1193N/A
551N/A#
1466N/A# Linkage dependencies
1466N/A#
1466N/ALDFLAGS += -dy -Nmisc/kcf -Nmisc/sha1
1466N/A
1466N/A#
551N/A# For now, disable these lint checks; maintainers should endeavor
970N/A# to investigate and remove these for maximum lint coverage.
970N/A# Please do not carry these forward to new Makefiles.
970N/A#
551N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
LINTTAGS += -erroff=E_STATIC_UNUSED
#
# 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)
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ