Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
4d237bbe075b1d2c19428cd954d721d65b31f67cwrowe#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# CDDL HEADER START
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# The contents of this file are subject to the terms of the
1af2b28846e2647963db788b081676884fb7df8crpluem# Common Development and Distribution License, Version 1.0 only
1af2b28846e2647963db788b081676884fb7df8crpluem# (the "License"). You may not use this file except in compliance
1af2b28846e2647963db788b081676884fb7df8crpluem# with the License.
845258fbf5102b8b09fe9b7f4cb4ea4c089344c3poirier#
845258fbf5102b8b09fe9b7f4cb4ea4c089344c3poirier# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
845258fbf5102b8b09fe9b7f4cb4ea4c089344c3poirier# or http://www.opensolaris.org/os/licensing.
5d36cddfe00d5c6ad18845fcc04e6f7662050fafminfrin# See the License for the specific language governing permissions
5d36cddfe00d5c6ad18845fcc04e6f7662050fafminfrin# and limitations under the License.
5d36cddfe00d5c6ad18845fcc04e6f7662050fafminfrin#
20aa41f86a5b451529d26d9b901eea69989e5c0aminfrin# When distributing Covered Code, include this CDDL HEADER in each
20aa41f86a5b451529d26d9b901eea69989e5c0aminfrin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20aa41f86a5b451529d26d9b901eea69989e5c0aminfrin# If applicable, add the following below this CDDL HEADER, with the
8c92aeeb75b1b393f61a3e01c495484737a0ff8cminfrin# fields enclosed by brackets "[]" replaced with your own identifying
8c92aeeb75b1b393f61a3e01c495484737a0ff8cminfrin# information: Portions Copyright [yyyy] [name of copyright owner]
8c92aeeb75b1b393f61a3e01c495484737a0ff8cminfrin#
1018201f5223624476334c6e23aead02db7c4040minfrin# CDDL HEADER END
1018201f5223624476334c6e23aead02db7c4040minfrin#
e5db2522dbe503cbf5399094b6239c88c246a8c5poirier#
e5db2522dbe503cbf5399094b6239c88c246a8c5poirier# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
e5db2522dbe503cbf5399094b6239c88c246a8c5poirier# Use is subject to license terms.
e5db2522dbe503cbf5399094b6239c88c246a8c5poirier#
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin#ident "%Z%%M% %I% %E% SMI"
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin#
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin# This makefile drives the production of the AES KEF provider.
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin#
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin# sparc implementation architecture dependent
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin#
59cb8d601b8c44476e59310f68b9c373d8fc62a6minfrin
59cb8d601b8c44476e59310f68b9c373d8fc62a6minfrin#
59cb8d601b8c44476e59310f68b9c373d8fc62a6minfrin# Path to the base of the uts directory tree (usually /usr/src/uts).
59cb8d601b8c44476e59310f68b9c373d8fc62a6minfrin#
ec8b1faa56744b338f6d6421144b56c2bb3faae6poirierUTSBASE = ../..
ec8b1faa56744b338f6d6421144b56c2bb3faae6poirierCOM_DIR = $(SRC)/common/crypto/aes
10abdcbd7b30d957d15c61ea8100ba97a627ac95minfrin
10abdcbd7b30d957d15c61ea8100ba97a627ac95minfrin#
87e0bf269cc3386ee8e6ab561ff00770151f4f53niq# Define the module and object file sets.
87e0bf269cc3386ee8e6ab561ff00770151f4f53niq#
87e0bf269cc3386ee8e6ab561ff00770151f4f53niqMODULE = aes256
3c67b7956d44501360506a9f13a5011be73b30ecminfrinOBJECTS = $(AES_OBJS:%=$(OBJS_DIR)/%)
3c67b7956d44501360506a9f13a5011be73b30ecminfrinLINTS = $(AES_OBJS:%.o=$(LINTS_DIR)/%.ln)
3c67b7956d44501360506a9f13a5011be73b30ecminfrinROOTMODULE = $(ROOT_US3_CRYPTO_DIR)/$(MODULE)
3c67b7956d44501360506a9f13a5011be73b30ecminfrin
97d20d37d21b8d427a920e211858172f0a82427epoirier#
97d20d37d21b8d427a920e211858172f0a82427epoirier# Include common rules.
97d20d37d21b8d427a920e211858172f0a82427epoirier#
8e04e8ec7d682bff5e6dccdd70c082971a88cb8bniqinclude $(UTSBASE)/sun4u/Makefile.sun4u
8e04e8ec7d682bff5e6dccdd70c082971a88cb8bniq
8e04e8ec7d682bff5e6dccdd70c082971a88cb8bniq# set signing mode
53c999a82fcca729dabc8a512b3fb996d61fd814niqELFSIGN_MOD = $(ELFSIGN_CRYPTO)
53c999a82fcca729dabc8a512b3fb996d61fd814niq
53c999a82fcca729dabc8a512b3fb996d61fd814niq#
53c999a82fcca729dabc8a512b3fb996d61fd814niq# Define targets
25d0f8adcab13255494a3572edff1a25f6fbeea3rpluem#
25d0f8adcab13255494a3572edff1a25f6fbeea3rpluemALL_TARGET = $(BINARY)
25d0f8adcab13255494a3572edff1a25f6fbeea3rpluemLINT_TARGET = $(MODULE).lint
25d0f8adcab13255494a3572edff1a25f6fbeea3rpluemINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
dd9ae259e1578c4388739c880ede97c55cec543frpluem
dd9ae259e1578c4388739c880ede97c55cec543frpluem#
dd9ae259e1578c4388739c880ede97c55cec543frpluem# Linkage dependencies
0938450cadc9a083d112a86bc7dd7ae34f791364trawick#
0938450cadc9a083d112a86bc7dd7ae34f791364trawickLDFLAGS += -dy
0938450cadc9a083d112a86bc7dd7ae34f791364trawick
8bed7ee6d97933b958e97e222f37154d83e384e5jorton#
8bed7ee6d97933b958e97e222f37154d83e384e5jorton# lint pass one enforcement
8bed7ee6d97933b958e97e222f37154d83e384e5jorton#
8bed7ee6d97933b958e97e222f37154d83e384e5jortonCFLAGS += $(CCVERBOSE) -I$(COM_DIR)
8bed7ee6d97933b958e97e222f37154d83e384e5jortonLINTFLAGS += -I$(COM_DIR)
d33ddda47790d3295f4218f87e3a296cf51a9becmjcCPPFLAGS += -DCRYPTO_UNLIMITED -DCRYPTO_PROVIDER_NAME=\"$(MODULE)\"
c7d46b58052fe666c74a47bd26b6cb1e351492adrpluem
4e08c8c1a91e2887b41d8cacd3aa532355d0237drpluem#
7a25b029b69f169bd22718165dff3b271114f92eniq# Turn on doubleword alignment for 64 bit registers
43d051c8401a1f3b4f7853cd897d3565ab814ea7poirier#
43d051c8401a1f3b4f7853cd897d3565ab814ea7poirierCFLAGS += -dalign
43d051c8401a1f3b4f7853cd897d3565ab814ea7poirier
2f34374f6e04b9094a1d13a5ed823f331ba841a3rpluem#
2f34374f6e04b9094a1d13a5ed823f331ba841a3rpluem# Default build targets.
2f34374f6e04b9094a1d13a5ed823f331ba841a3rpluem#
7a25b029b69f169bd22718165dff3b271114f92eniq.KEEP_STATE:
7a25b029b69f169bd22718165dff3b271114f92eniq
7a25b029b69f169bd22718165dff3b271114f92eniqdef: $(DEF_DEPS)
2f34374f6e04b9094a1d13a5ed823f331ba841a3rpluem
3e6a46d2fecf446daf0e280a49fa5565f5f635eajortonall: $(ALL_DEPS)
3e6a46d2fecf446daf0e280a49fa5565f5f635eajorton
3e6a46d2fecf446daf0e280a49fa5565f5f635eajortonclean: $(CLEAN_DEPS)
137e484e5f984ceff1102e1212dda8ac0413231aniq
0df8f79d2324b131c36955d7e474a735a762f9eeniqclobber: $(CLOBBER_DEPS)
0df8f79d2324b131c36955d7e474a735a762f9eeniq
0df8f79d2324b131c36955d7e474a735a762f9eeniqlint: $(LINT_DEPS)
30e3e760b737f13ce800fa02c5930ade7659ba66niq
30e3e760b737f13ce800fa02c5930ade7659ba66niqmodlintlib: $(MODLINTLIB_DEPS)
30e3e760b737f13ce800fa02c5930ade7659ba66niq
e991c6fc032c59eb6cb751d9d382e933a53a2866niqclean.lint: $(CLEAN_LINT_DEPS)
e991c6fc032c59eb6cb751d9d382e933a53a2866niq
e991c6fc032c59eb6cb751d9d382e933a53a2866niqinstall: $(INSTALL_DEPS)
e991c6fc032c59eb6cb751d9d382e933a53a2866niq
9a00e2d46c44c111d6952e553a2f1a61b7594eb3rpluem#
9a00e2d46c44c111d6952e553a2f1a61b7594eb3rpluem# Include common targets.
9a00e2d46c44c111d6952e553a2f1a61b7594eb3rpluem#
33d9be77cc6f5fc8734e9c1f526b82d359955152rplueminclude $(UTSBASE)/sun4u/Makefile.targ
9a00e2d46c44c111d6952e553a2f1a61b7594eb3rpluem
33d9be77cc6f5fc8734e9c1f526b82d359955152rpluem$(ROOT_US3_DIR): $(ROOT_PLAT_DIR)
da128c59ec571c4dff70f41ecba9c8a9974c6cd6niq -$(INS.dir.root.sys)
172e83c0f024fe6396dd1f3ca3492fd83c304db5jim
da128c59ec571c4dff70f41ecba9c8a9974c6cd6niq$(ROOT_US3_MOD_DIR): $(ROOT_US3_DIR)
45932a847f237b4d8f0667b138bd3f8a15fb53ffniq -$(INS.dir.root.sys)
45932a847f237b4d8f0667b138bd3f8a15fb53ffniq
45932a847f237b4d8f0667b138bd3f8a15fb53ffniq$(ROOT_US3_CRYPTO_DIR): $(ROOT_US3_MOD_DIR)
186e9d990f453d16826ab87a87df7b87e6e05921rpluem -$(INS.dir.root.sys)
186e9d990f453d16826ab87a87df7b87e6e05921rpluem
186e9d990f453d16826ab87a87df7b87e6e05921rpluem$(ROOT_US3_CRYPTO_DIR)/%: $(OBJS_DIR)/% $(ROOT_US3_CRYPTO_DIR)
186e9d990f453d16826ab87a87df7b87e6e05921rpluem -$(INS.file)
6861702c2d883e5c0744d5f7528d2060671ad24dtakashi
6861702c2d883e5c0744d5f7528d2060671ad24dtakashi