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