Makefile revision 554ff184129088135ad2643c1c9832174a17be88
830N/A#
830N/A# CDDL HEADER START
830N/A#
830N/A# The contents of this file are subject to the terms of the
830N/A# Common Development and Distribution License, Version 1.0 only
830N/A# (the "License"). You may not use this file except in compliance
830N/A# with the License.
830N/A#
830N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
830N/A# or http://www.opensolaris.org/os/licensing.
830N/A# See the License for the specific language governing permissions
830N/A# and limitations under the License.
830N/A#
830N/A# When distributing Covered Code, include this CDDL HEADER in each
830N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
830N/A# If applicable, add the following below this CDDL HEADER, with the
830N/A# fields enclosed by brackets "[]" replaced with your own identifying
830N/A# information: Portions Copyright [yyyy] [name of copyright owner]
830N/A#
830N/A# CDDL HEADER END
3817N/A#
830N/A#
839N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
830N/A# Use is subject to license terms.
830N/A#
1300N/A#ident "%Z%%M% %I% %E% SMI"
1258N/A#
830N/A# This makefile drives the production of the arcfour KEF provider.
830N/A#
830N/A# sparc implementation architecture dependent
4303N/A#
830N/A
830N/A#
830N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
830N/A#
830N/AUTSBASE = ../..
1244N/ACOM_DIR = $(SRC)/common/crypto/arcfour
1244N/A
4303N/A#
1244N/A# Define the module and object file sets.
1244N/A#
844N/AMODULE = arcfour2048
4303N/AOBJECTS = $(ARCFOUR_OBJS:%=$(OBJS_DIR)/%)
4303N/ALINTS = $(ARCFOUR_OBJS:%.o=$(LINTS_DIR)/%.ln)
830N/AROOTMODULE = $(ROOT_PSM_CRYPTO_DIR)/$(MODULE)
4303N/A
2899N/A#
830N/A# Include common rules.
830N/A#
830N/Ainclude $(UTSBASE)/sun4v/Makefile.sun4v
830N/A
830N/A# set signing mode
830N/AELFSIGN_MOD = $(ELFSIGN_CRYPTO)
830N/A
830N/A#
4303N/A# Define targets
830N/A#
830N/AALL_TARGET = $(BINARY)
844N/ALINT_TARGET = $(MODULE).lint
4303N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
4303N/A
854N/A#
902N/A# lint pass one enforcement
902N/A#
902N/ACFLAGS += $(CCVERBOSE) -I$(COM_DIR)
830N/ALINTFLAGS += -I$(COM_DIR)
830N/ACPPFLAGS += -xarch=v9a -DCRYPTO_UNLIMITED
830N/ACOPTIMIZE = -fast
830N/A
830N/A#
830N/A# Override the default -xspace setting
830N/A#
830N/Asparc_SPACEFLAG = -W0,-Lt -W2,-Rcond_elim
830N/A
830N/A#
830N/A# Turn on doubleword alignment for 64 bit registers
830N/A#
830N/ACFLAGS += -dalign
830N/A
830N/A#
902N/A# Default build targets.
902N/A#
902N/A.KEEP_STATE:
830N/A
902N/Adef: $(DEF_DEPS)
830N/A
830N/Aall: $(ALL_DEPS)
830N/A
830N/Aclean: $(CLEAN_DEPS)
902N/A
830N/Aclobber: $(CLOBBER_DEPS)
830N/A
830N/Alint: $(LINT_DEPS)
830N/A
830N/Amodlintlib: $(MODLINTLIB_DEPS)
830N/A
830N/Aclean.lint: $(CLEAN_LINT_DEPS)
830N/A
830N/Ainstall: $(INSTALL_DEPS)
830N/A
830N/A#
830N/A# Include common targets.
830N/A#
830N/Ainclude $(UTSBASE)/sun4v/Makefile.targ
830N/A