Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
98N/A#
98N/A# CDDL HEADER START
606N/A#
98N/A# The contents of this file are subject to the terms of the
98N/A# Common Development and Distribution License (the "License").
98N/A# You may not use this file except in compliance with the License.
98N/A#
98N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
98N/A# or http://www.opensolaris.org/os/licensing.
98N/A# See the License for the specific language governing permissions
98N/A# and limitations under the License.
98N/A#
98N/A# When distributing Covered Code, include this CDDL HEADER in each
98N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
98N/A# If applicable, add the following below this CDDL HEADER, with the
98N/A# fields enclosed by brackets "[]" replaced with your own identifying
98N/A# information: Portions Copyright [yyyy] [name of copyright owner]
98N/A#
98N/A# CDDL HEADER END
98N/A#
98N/A#
98N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
98N/A# Use is subject to license terms.
98N/A#
98N/A#ident "%Z%%M% %I% %E% SMI"
98N/A#
98N/A# This makefile drives the production of the RSA KEF provider.
98N/A#
98N/A# sparc implementation architecture dependent
98N/A#
606N/A
98N/A#
98N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
493N/A#
493N/AUTSBASE = ../..
98N/ACOM1_DIR = $(SRC)/common/bignum
98N/ACOM2_DIR = $(SRC)/common/crypto/rsa
606N/A
98N/A#
98N/A# Define the module and object file sets.
493N/A#
493N/AMODULE = rsa
98N/AOBJECTS = $(RSAPROV_OBJS:%=$(OBJS_DIR)/%)
98N/ALINTS = $(RSAPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
156N/AROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
156N/A
493N/A#
493N/A# Include common rules.
493N/A#
493N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
493N/A
493N/A# set signing mode
493N/AELFSIGN_MOD = $(ELFSIGN_CRYPTO)
98N/A
98N/A#
98N/A# Define targets
606N/A#
606N/AALL_TARGET = $(BINARY)
606N/ALINT_TARGET = $(MODULE).lint
606N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
606N/A
606N/A#
606N/A# Linkage dependencies
606N/A#
606N/ALDFLAGS += -dy -Ncrypto/md5 -Ncrypto/sha2
606N/A
606N/A#
606N/A# lint pass one enforcement
606N/A#
606N/ACFLAGS += $(CCVERBOSE) -I$(COM1_DIR) -I$(COM2_DIR)
606N/ACFLAGS += -DUMUL64
606N/ALINTFLAGS += -I$(COM1_DIR) -I$(COM2_DIR)
606N/A
606N/A#
606N/A# For now, disable these lint checks; maintainers should endeavor
606N/A# to investigate and remove these for maximum lint coverage.
606N/A# Please do not carry these forward to new Makefiles.
606N/A#
606N/ALINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
606N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
606N/ALINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
98N/ALINTTAGS += -erroff=E_STATIC_UNUSED
493N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
493N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
493N/A
98N/A#
606N/A# Default build targets.
606N/A#
606N/A.KEEP_STATE:
98N/A
606N/Adef: $(DEF_DEPS)
606N/A
98N/Aall: $(ALL_DEPS)
606N/A
606N/Aclean: $(CLEAN_DEPS)
98N/A
493N/Aclobber: $(CLOBBER_DEPS)
493N/A
98N/Alint: $(LINT_DEPS)
493N/A
493N/Amodlintlib: $(MODLINTLIB_DEPS)
493N/A
493N/Aclean.lint: $(CLEAN_LINT_DEPS)
98N/A
606N/Ainstall: $(INSTALL_DEPS)
606N/A
606N/A#
493N/A# Include common targets.
606N/A#
606N/Ainclude $(UTSBASE)/sparc/Makefile.targ
606N/A