Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
911N/A# Common Development and Distribution License (the "License").
810N/A# You may not use this file except in compliance with the License.
0N/A#
0N/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 2009 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
919N/A#
0N/A# This makefile drives the production of the RSA KEF provider.
0N/A#
0N/A# intel implementation architecture dependent
156N/A#
493N/A
0N/A#
0N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
818N/A#
0N/AUTSBASE = ../..
911N/ACOM1_DIR = $(COMMONBASE)/bignum
911N/ACOM2_DIR = $(COMMONBASE)/crypto
911N/A
911N/A#
0N/A# Define the module and object file sets.
493N/A#
493N/AMODULE = rsa
156N/AOBJECTS = $(RSAPROV_OBJS:%=$(OBJS_DIR)/%)
0N/ALINTS = $(RSAPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
0N/AROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
156N/A
156N/A#
0N/A# Include common rules.
0N/A#
818N/Ainclude $(UTSBASE)/intel/Makefile.intel
818N/A
779N/A# set signing mode
364N/AELFSIGN_MOD = $(ELFSIGN_CRYPTO)
156N/A
156N/A#
0N/A# Define targets
591N/A#
591N/AALL_TARGET = $(BINARY)
591N/ALINT_TARGET = $(MODULE).lint
591N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
591N/A
591N/A#
591N/A# Linkage dependencies
0N/A#
156N/ALDFLAGS += -dy -Ncrypto/md5 -Ncrypto/sha2 -Nmisc/bignum -Nmisc/kcf
493N/A
493N/ACPPFLAGS += -I$(COM1_DIR) -I$(COM2_DIR)
156N/A
493N/A#
493N/A# For now, disable these lint checks; maintainers should endeavor
837N/A# to investigate and remove these for maximum lint coverage.
837N/A# Please do not carry these forward to new Makefiles.
846N/A#
493N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
493N/ALINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
156N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
493N/A
493N/ACERRWARN += -_gcc=-Wno-switch
493N/ACERRWARN += -_gcc=-Wno-uninitialized
364N/A
0N/A#
493N/A# Default build targets.
493N/A#
156N/A.KEEP_STATE:
493N/A
493N/Adef: $(DEF_DEPS)
0N/A
339N/Aall: $(ALL_DEPS)
0N/A
0N/Aclean: $(CLEAN_DEPS)
339N/A
339N/Aclobber: $(CLOBBER_DEPS)
0N/A
837N/Alint: $(LINT_DEPS)
837N/A
838N/Amodlintlib: $(MODLINTLIB_DEPS)
837N/A
837N/Aclean.lint: $(CLEAN_LINT_DEPS)
591N/A
591N/Ainstall: $(INSTALL_DEPS)
779N/A
838N/A#
591N/A# Include common targets.
493N/A#
493N/Ainclude $(UTSBASE)/intel/Makefile.targ
0N/A