Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
5713N/A#
5713N/A# CDDL HEADER START
5713N/A#
5713N/A# The contents of this file are subject to the terms of the
5713N/A# Common Development and Distribution License (the "License").
5713N/A# You may not use this file except in compliance with the License.
5713N/A#
5713N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5713N/A# or http://www.opensolaris.org/os/licensing.
5713N/A# See the License for the specific language governing permissions
5713N/A# and limitations under the License.
5713N/A#
5713N/A# When distributing Covered Code, include this CDDL HEADER in each
5713N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5713N/A# If applicable, add the following below this CDDL HEADER, with the
5713N/A# fields enclosed by brackets "[]" replaced with your own identifying
5713N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5713N/A#
5713N/A# CDDL HEADER END
5713N/A#
5713N/A#
5713N/A# uts/sun4v/arcfour/Makefile
5713N/A#
5713N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5713N/A# Use is subject to license terms.
5713N/A#
5713N/A#ident "%Z%%M% %I% %E% SMI"
5713N/A#
5713N/A# This makefile drives the production of the arcfour kernel module.
5713N/A#
5713N/A# sun4v implementation architecture dependent
5713N/A#
5713N/A
5713N/A#
5713N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
5713N/A#
5713N/AUTSBASE = ../..
5713N/ACOM_DIR = $(SRC)/common/crypto/arcfour
5713N/A
5713N/A#
5713N/A# Define the module and object file sets.
5713N/A#
5713N/AMODULE = arcfour
5713N/AOBJECTS = $(ARCFOUR_OBJS:%=$(OBJS_DIR)/%)
5713N/ALINTS = $(ARCFOUR_OBJS:%.o=$(LINTS_DIR)/%.ln)
5713N/AROOTMODULE = $(ROOT_PSM_CRYPTO_DIR)/$(MODULE)
5713N/A
5713N/A#
5713N/A# Include common rules.
5713N/A#
5713N/Ainclude $(UTSBASE)/sun4v/Makefile.sun4v
5713N/A
5713N/A# set signing mode
5713N/AELFSIGN_MOD = $(ELFSIGN_CRYPTO)
5713N/A
5713N/A#
5713N/A# Define targets
5713N/A#
5713N/AALL_TARGET = $(BINARY)
5713N/ALINT_TARGET = $(MODULE).lint
5713N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
5713N/A
5713N/A#
5713N/A# lint pass one enforcement
5713N/A#
CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
LINTFLAGS += -I$(COM_DIR)
#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
#
# For niagara specific optimizations
#
COPTIMIZE = -xO5 -xbuiltin=%all
#
# Override the default -xspace setting
#
sparc_SPACEFLAG = -W0,-Lt
#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
#
LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(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