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