Makefile revision 4cb70d33a0347eb8a72054ff37d58fb4b7fb185f
d0cd4568592f103a454ac647f4961af293f88f4ejim#
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# CDDL HEADER START
6aa2272cc4af77e605ba2c4a4781f8567408b7e3pquerna#
ed0d39878e79220baaa50c15b79b1fdf877cb919niq# The contents of this file are subject to the terms of the
ed0d39878e79220baaa50c15b79b1fdf877cb919niq# Common Development and Distribution License, Version 1.0 only
ed0d39878e79220baaa50c15b79b1fdf877cb919niq# (the "License"). You may not use this file except in compliance
ed0d39878e79220baaa50c15b79b1fdf877cb919niq# with the License.
ed0d39878e79220baaa50c15b79b1fdf877cb919niq#
ed0d39878e79220baaa50c15b79b1fdf877cb919niq# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f85bcbc579bb47de4d3f7d72ccaacc8ad4525238gregames# or http://www.opensolaris.org/os/licensing.
f85bcbc579bb47de4d3f7d72ccaacc8ad4525238gregames# See the License for the specific language governing permissions
f85bcbc579bb47de4d3f7d72ccaacc8ad4525238gregames# and limitations under the License.
f85bcbc579bb47de4d3f7d72ccaacc8ad4525238gregames#
f85bcbc579bb47de4d3f7d72ccaacc8ad4525238gregames# When distributing Covered Code, include this CDDL HEADER in each
ee508128c414648982d1cca7801f63b01a0a4f8aminfrin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5d4512d8c3a70094ff3e941667007a42925f73e2jorton# If applicable, add the following below this CDDL HEADER, with the
5d4512d8c3a70094ff3e941667007a42925f73e2jorton# fields enclosed by brackets "[]" replaced with your own identifying
5d4512d8c3a70094ff3e941667007a42925f73e2jorton# information: Portions Copyright [yyyy] [name of copyright owner]
5d4512d8c3a70094ff3e941667007a42925f73e2jorton#
f2e009134c7e279f99dfca5bd421f721bf1f7840jorton# CDDL HEADER END
f2e009134c7e279f99dfca5bd421f721bf1f7840jorton#
f2e009134c7e279f99dfca5bd421f721bf1f7840jorton#
f2e009134c7e279f99dfca5bd421f721bf1f7840jorton# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
f2e009134c7e279f99dfca5bd421f721bf1f7840jorton# Use is subject to license terms.
135402675e89e6df0e17735e48f428a1e1d8eb16pquerna#
135402675e89e6df0e17735e48f428a1e1d8eb16pquerna#ident "%Z%%M% %I% %E% SMI"
135402675e89e6df0e17735e48f428a1e1d8eb16pquerna#
135402675e89e6df0e17735e48f428a1e1d8eb16pquerna# This makefile drives the production of the arcfour KEF provider.
e4b96ba15dc8b2b27d251d53e29b86da32cd5066pquerna#
e4b96ba15dc8b2b27d251d53e29b86da32cd5066pquerna# sparc implementation architecture dependent
4233b18553d723a4e22d6126866f05e3d842f781covener#
4233b18553d723a4e22d6126866f05e3d842f781covener
4233b18553d723a4e22d6126866f05e3d842f781covener#
4233b18553d723a4e22d6126866f05e3d842f781covener# Path to the base of the uts directory tree (usually /usr/src/uts).
4233b18553d723a4e22d6126866f05e3d842f781covener#
c4313e35bed51fd5525e60333eb5d64021ab5057jerenkrantzUTSBASE = ../..
c4313e35bed51fd5525e60333eb5d64021ab5057jerenkrantzCOM_DIR = $(SRC)/common/crypto/arcfour
c4313e35bed51fd5525e60333eb5d64021ab5057jerenkrantz
5b4d25005978c3667f44fbd5dcbd4cc34e9c714djerenkrantz#
5b4d25005978c3667f44fbd5dcbd4cc34e9c714djerenkrantz# Define the module and object file sets.
5b4d25005978c3667f44fbd5dcbd4cc34e9c714djerenkrantz#
236675b0526bbf82edb9a34e9b10be56cc10b9cdjimMODULE = arcfour2048
236675b0526bbf82edb9a34e9b10be56cc10b9cdjimOBJECTS = $(ARCFOUR_OBJS:%=$(OBJS_DIR)/%)
236675b0526bbf82edb9a34e9b10be56cc10b9cdjimLINTS = $(ARCFOUR_OBJS:%.o=$(LINTS_DIR)/%.ln)
7e852fc77c66ea1edb4e88808bb75ecd3603a2e5wroweROOTMODULE = $(ROOT_PSM_CRYPTO_DIR)/$(MODULE)
7e852fc77c66ea1edb4e88808bb75ecd3603a2e5wrowe
7e852fc77c66ea1edb4e88808bb75ecd3603a2e5wrowe#
7e852fc77c66ea1edb4e88808bb75ecd3603a2e5wrowe# Include common rules.
7e852fc77c66ea1edb4e88808bb75ecd3603a2e5wrowe#
e5106092b7fae78cec4898042a78a10acccb4cacwroweinclude $(UTSBASE)/sun4v/Makefile.sun4v
e5106092b7fae78cec4898042a78a10acccb4cacwrowe
e5106092b7fae78cec4898042a78a10acccb4cacwrowe# set signing mode
e5106092b7fae78cec4898042a78a10acccb4cacwroweELFSIGN_MOD = $(ELFSIGN_CRYPTO)
e5106092b7fae78cec4898042a78a10acccb4cacwrowe
e5106092b7fae78cec4898042a78a10acccb4cacwrowe#
e5106092b7fae78cec4898042a78a10acccb4cacwrowe# Define targets
470d223738c1dfc4e07c7fae5d186e9dfadd9643jorton#
470d223738c1dfc4e07c7fae5d186e9dfadd9643jortonALL_TARGET = $(BINARY)
470d223738c1dfc4e07c7fae5d186e9dfadd9643jortonLINT_TARGET = $(MODULE).lint
81bd9331da3bd0f53255d52b1475480ff3a4b395trawickINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick#
cd3bbd6d2df78d6c75e5d159a81ef8bdd5f70df9trawick# lint pass one enforcement
cd3bbd6d2df78d6c75e5d159a81ef8bdd5f70df9trawick#
cd3bbd6d2df78d6c75e5d159a81ef8bdd5f70df9trawickCFLAGS += $(CCVERBOSE) -I$(COM_DIR)
cd3bbd6d2df78d6c75e5d159a81ef8bdd5f70df9trawickLINTFLAGS += -I$(COM_DIR)
c7c8dd19c90c5ee7205ccdf443585d14da3daecechrisdCPPFLAGS += -DCRYPTO_UNLIMITED
c7c8dd19c90c5ee7205ccdf443585d14da3daecechrisdCOPTIMIZE = -xO5 -xbuiltin=%all
c7c8dd19c90c5ee7205ccdf443585d14da3daecechrisd
c7c8dd19c90c5ee7205ccdf443585d14da3daecechrisd#
13ce20bba632871d7ceb413f39dc73c718ddec7dchrisd# Override the default -xspace setting
c7c8dd19c90c5ee7205ccdf443585d14da3daecechrisd#
421e0a5d1c49de76406f61e9abef271af2336c31rpluemsparc_SPACEFLAG = -W0,-Lt -W2,-Rcond_elim
421e0a5d1c49de76406f61e9abef271af2336c31rpluem
421e0a5d1c49de76406f61e9abef271af2336c31rpluem#
108ebbb87b2a46f4416ec507824471a483c39fe1sctemme# Turn on doubleword alignment for 64 bit registers
108ebbb87b2a46f4416ec507824471a483c39fe1sctemme#
108ebbb87b2a46f4416ec507824471a483c39fe1sctemmeCFLAGS += -dalign
108ebbb87b2a46f4416ec507824471a483c39fe1sctemme
bed7fc979e00a75f76ed79245f003b52e91d40abchrisd#
bed7fc979e00a75f76ed79245f003b52e91d40abchrisd# Default build targets.
bed7fc979e00a75f76ed79245f003b52e91d40abchrisd#
bed7fc979e00a75f76ed79245f003b52e91d40abchrisd.KEEP_STATE:
bed7fc979e00a75f76ed79245f003b52e91d40abchrisd
bed7fc979e00a75f76ed79245f003b52e91d40abchrisddef: $(DEF_DEPS)
bed7fc979e00a75f76ed79245f003b52e91d40abchrisd
bed7fc979e00a75f76ed79245f003b52e91d40abchrisdall: $(ALL_DEPS)
7abe34dd5a20fc8fde09dca9116b88e6ddfd55ddjorton
7abe34dd5a20fc8fde09dca9116b88e6ddfd55ddjortonclean: $(CLEAN_DEPS)
7abe34dd5a20fc8fde09dca9116b88e6ddfd55ddjorton
10d486b9267800c5e376c22f6c0d45dc2ae86f67chrisdclobber: $(CLOBBER_DEPS)
10d486b9267800c5e376c22f6c0d45dc2ae86f67chrisd
10d486b9267800c5e376c22f6c0d45dc2ae86f67chrisdlint: $(LINT_DEPS)
10d486b9267800c5e376c22f6c0d45dc2ae86f67chrisd
3e155218733389e7b1ea3a9ffd0aea533fd929cechrisdmodlintlib: $(MODLINTLIB_DEPS)
3e155218733389e7b1ea3a9ffd0aea533fd929cechrisd
3e155218733389e7b1ea3a9ffd0aea533fd929cechrisdclean.lint: $(CLEAN_LINT_DEPS)
3e155218733389e7b1ea3a9ffd0aea533fd929cechrisd
e4edb2d4252459327f6edd834de6825873e60134chrisdinstall: $(INSTALL_DEPS)
e4edb2d4252459327f6edd834de6825873e60134chrisd
e4edb2d4252459327f6edd834de6825873e60134chrisd#
e4edb2d4252459327f6edd834de6825873e60134chrisd# Include common targets.
e4edb2d4252459327f6edd834de6825873e60134chrisd#
e4edb2d4252459327f6edd834de6825873e60134chrisdinclude $(UTSBASE)/sun4v/Makefile.targ
e4edb2d4252459327f6edd834de6825873e60134chrisd