Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
4133N/A#
4133N/A# CDDL HEADER START
4133N/A#
4133N/A# The contents of this file are subject to the terms of the
4133N/A# Common Development and Distribution License (the "License").
4133N/A# You may not use this file except in compliance with the License.
4133N/A#
4133N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4133N/A# or http://www.opensolaris.org/os/licensing.
4133N/A# See the License for the specific language governing permissions
4133N/A# and limitations under the License.
4133N/A#
4133N/A# When distributing Covered Code, include this CDDL HEADER in each
4133N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4133N/A# If applicable, add the following below this CDDL HEADER, with the
4133N/A# fields enclosed by brackets "[]" replaced with your own identifying
4133N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4133N/A#
4133N/A# CDDL HEADER END
4133N/A#
4133N/A#
4133N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
4133N/A# Use is subject to license terms.
4133N/A#
4133N/A#
4133N/A# This makefile drives the production of the ECc kef provider.
4133N/A#
4133N/A# intel implementation architecture dependent
4133N/A#
4133N/A
4133N/A#
4133N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
4133N/A#
4133N/AUTSBASE = ../..
4133N/ACOM1_DIR = $(COMMONBASE)/mpi
4133N/ACOM2_DIR = $(COMMONBASE)/crypto
4133N/A
4133N/A#
4133N/A# Define the module and object file sets.
4133N/A#
4133N/AMODULE = ecc
4133N/AOBJECTS = $(ECCPROV_OBJS:%=$(OBJS_DIR)/%)
4133N/ALINTS = $(LINTS_DIR)/ecc.ln
4133N/AROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
4133N/A
4133N/A#
4133N/A# Include common rules.
4133N/A#
4133N/Ainclude $(UTSBASE)/intel/Makefile.intel
4133N/A
4133N/A# set signing mode
4133N/AELFSIGN_MOD = $(ELFSIGN_CRYPTO)
4133N/A
4133N/A#
4133N/A# Define targets
4133N/A#
4133N/AALL_TARGET = $(BINARY)
4133N/ALINT_TARGET = $(MODULE).lint
4133N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
4133N/A
4133N/A#
4133N/A# Linkage dependencies
4133N/A#
4133N/ALDFLAGS += -dy -Nmisc/kcf
4133N/A
4133N/ACPPFLAGS += -I$(COM1_DIR) -I$(COM2_DIR)
4133N/A
4133N/ACFLAGS += -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B
4133N/A
4133N/ALINTFLAGS += -I$(COM1_DIR) -I$(COM2_DIR)
4133N/A
4133N/ACERRWARN += -_gcc=-Wno-switch
4133N/ACERRWARN += -_gcc=-Wno-unused-label
4133N/ACERRWARN += -_gcc=-Wno-uninitialized
4133N/ACERRWARN += -_gcc=-Wno-type-limits
4133N/ACERRWARN += -_gcc=-Wno-empty-body
4133N/ACERRWARN += -_gcc=-Wno-unused-variable
4133N/ACERRWARN += -_gcc=-Wno-parentheses
4133N/A
4133N/A#
4133N/A# Default build targets.
4133N/A#
4133N/A.KEEP_STATE:
4133N/A
4133N/Adef: $(DEF_DEPS)
4133N/A
4133N/Aall: $(ALL_DEPS)
4133N/A
4133N/Aclean: $(CLEAN_DEPS)
4133N/A
4133N/Aclobber: $(CLOBBER_DEPS)
4133N/A
4133N/Alint: $(LINT_DEPS)
4133N/A
4133N/Amodlintlib: $(MODLINTLIB_DEPS)
4133N/A
4133N/Aclean.lint: $(CLEAN_LINT_DEPS)
4133N/A
4133N/Ainstall: $(INSTALL_DEPS)
4133N/A
4133N/A#
4133N/A# Include common targets.
4133N/A#
4133N/Ainclude $(UTSBASE)/intel/Makefile.targ
4133N/A
4133N/Ainclude Makefile.$(CLASS)
4133N/A