Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# CDDL HEADER START
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# The contents of this file are subject to the terms of the
b34025e1e963e60c0f81c01af0f25f1984b9ca54James Phillpotts# Common Development and Distribution License, Version 1.0 only
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# (the "License"). You may not use this file except in compliance
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# with the License.
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
685810e390056c123842842f5104daa3179cf2c9Phill Cunnington# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0d29d2c9c206eb1652fa951dd55bcc0cfa4b48feNeil Madden# or http://www.opensolaris.org/os/licensing.
685810e390056c123842842f5104daa3179cf2c9Phill Cunnington# See the License for the specific language governing permissions
685810e390056c123842842f5104daa3179cf2c9Phill Cunnington# and limitations under the License.
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
4f39fae2f8671f7389a26412a6203c455b80f06dDavid Luna# When distributing Covered Code, include this CDDL HEADER in each
4f39fae2f8671f7389a26412a6203c455b80f06dDavid Luna# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4f39fae2f8671f7389a26412a6203c455b80f06dDavid Luna# If applicable, add the following below this CDDL HEADER, with the
685810e390056c123842842f5104daa3179cf2c9Phill Cunnington# fields enclosed by brackets "[]" replaced with your own identifying
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# information: Portions Copyright [yyyy] [name of copyright owner]
685810e390056c123842842f5104daa3179cf2c9Phill Cunnington#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# CDDL HEADER END
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# Use is subject to license terms.
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#ident "%Z%%M% %I% %E% SMI"
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
4f39fae2f8671f7389a26412a6203c455b80f06dDavid Luna# This makefile drives the production of the ARCFOUR KEF provider.
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# sparc implementation architecture dependent
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# Path to the base of the uts directory tree (usually /usr/src/uts).
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno LavitUTSBASE = ../..
80802511792d4e59a4ac67ad19677009d332b37dBruno LavitCOM_DIR = $(SRC)/common/crypto/arcfour
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# Define the module and object file sets.
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno LavitMODULE = arcfour2048
80802511792d4e59a4ac67ad19677009d332b37dBruno LavitOBJECTS = $(ARCFOURPROV_OBJS:%=$(OBJS_DIR)/%)
80802511792d4e59a4ac67ad19677009d332b37dBruno LavitLINTS = $(ARCFOURPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
685810e390056c123842842f5104daa3179cf2c9Phill CunningtonROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit
#
# Include common rules.
#
include $(UTSBASE)/sparc/Makefile.sparc
# set signing mode
ELFSIGN_MOD = $(ELFSIGN_CRYPTO)
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# lint pass one enforcement
#
CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
LINTFLAGS += -I$(COM_DIR)
CPPFLAGS += -DCRYPTO_UNLIMITED
#
# 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)/sparc/Makefile.targ