Makefile revision 54034eb2d6e7d811adf4a1fe5105eac6fea6b0b5
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet#
f062ed7bd262a37a909dd77ce5fc23b446818823fielding# CDDL HEADER START
f062ed7bd262a37a909dd77ce5fc23b446818823fielding#
b99dbaab171d91e1b664397cc40e039d0c087c65fielding# The contents of this file are subject to the terms of the
f062ed7bd262a37a909dd77ce5fc23b446818823fielding# Common Development and Distribution License (the "License").
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet# You may not use this file except in compliance with the License.
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet#
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet# or http://www.opensolaris.org/os/licensing.
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet# See the License for the specific language governing permissions
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet# and limitations under the License.
f062ed7bd262a37a909dd77ce5fc23b446818823fielding#
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet# When distributing Covered Code, include this CDDL HEADER in each
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet# If applicable, add the following below this CDDL HEADER, with the
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet# fields enclosed by brackets "[]" replaced with your own identifying
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet# information: Portions Copyright [yyyy] [name of copyright owner]
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet#
f062ed7bd262a37a909dd77ce5fc23b446818823fielding# CDDL HEADER END
f062ed7bd262a37a909dd77ce5fc23b446818823fielding#
f062ed7bd262a37a909dd77ce5fc23b446818823fielding#
f062ed7bd262a37a909dd77ce5fc23b446818823fielding# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
f062ed7bd262a37a909dd77ce5fc23b446818823fielding# Use is subject to license terms.
f062ed7bd262a37a909dd77ce5fc23b446818823fielding#
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet# lib/pkcs11/libsoftcrypto/amd64/Makefile
f062ed7bd262a37a909dd77ce5fc23b446818823fielding#
f062ed7bd262a37a909dd77ce5fc23b446818823fielding
f062ed7bd262a37a909dd77ce5fc23b446818823fieldingLIBRARY= libsoftcrypto.a
f062ed7bd262a37a909dd77ce5fc23b446818823fieldingVERS= .1
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet
f062ed7bd262a37a909dd77ce5fc23b446818823fieldingAES_PSM_OBJS= aes_amd64.o aes_intel.o aeskey.o
f062ed7bd262a37a909dd77ce5fc23b446818823fieldingAES_PSM_SRC= $(AES_DIR)/$(MACH64)/aes_amd64.s $(AES_DIR)/$(MACH64)/aes_intel.s \
64185f9824e42f21ca7b9ae6c004484215c031a7rbb $(AES_DIR)/$(MACH64)/aeskey.c
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet
f062ed7bd262a37a909dd77ce5fc23b446818823fieldingARCFOUR_PSM_OBJS= arcfour-x86_64.o
f062ed7bd262a37a909dd77ce5fc23b446818823fieldingARCFOUR_PSM_SRC= arcfour-x86_64.s
f062ed7bd262a37a909dd77ce5fc23b446818823fielding
f062ed7bd262a37a909dd77ce5fc23b446818823fieldingBIGNUM_PSM_OBJS= bignum_amd64.o bignum_amd64_asm.o
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudetBIGNUM_PSM_SRC= $(BIGNUM_DIR)/$(MACH64)/bignum_amd64.c \
f062ed7bd262a37a909dd77ce5fc23b446818823fielding $(BIGNUM_DIR)/$(MACH64)/bignum_amd64_asm.s
f062ed7bd262a37a909dd77ce5fc23b446818823fielding
f062ed7bd262a37a909dd77ce5fc23b446818823fieldinginclude ../Makefile.com
f062ed7bd262a37a909dd77ce5fc23b446818823fieldinginclude $(SRC)/lib/Makefile.lib.64
f062ed7bd262a37a909dd77ce5fc23b446818823fielding
f062ed7bd262a37a909dd77ce5fc23b446818823fieldingCFLAGS += -xO4 -xcrossfile
f062ed7bd262a37a909dd77ce5fc23b446818823fieldingBIGNUM_FLAGS += -DPSR_MUL
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudetLINTFLAGS64 += $(BIGNUM_FLAGS) $(AES_FLAGS) $(ARCFOUR_FLAGS)
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudetCLEANFILES += arcfour-x86_64.s
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet
f062ed7bd262a37a909dd77ce5fc23b446818823fieldingLDLIBS += -lc
f062ed7bd262a37a909dd77ce5fc23b446818823fieldingLIBS += $(LINTLIB)
f062ed7bd262a37a909dd77ce5fc23b446818823fielding
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudetinstall: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudetarcfour-x86_64.s: $(ARCFOUR_DIR)/amd64/arcfour-x86_64.pl
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet $(PERL) $? $@
7f235c0d101d71224c8e498ac8f7fde1f98596c7dgaudet
ff47cb235b4f43ef57b8b5e9f9775ea472e8afecrbbpics/%.o: $(AES_DIR)/$(MACH64)/%.c
ff47cb235b4f43ef57b8b5e9f9775ea472e8afecrbb $(COMPILE.c) $(AES_FLAGS) -o $@ $<
ff47cb235b4f43ef57b8b5e9f9775ea472e8afecrbb $(POST_PROCESS_O)
ff47cb235b4f43ef57b8b5e9f9775ea472e8afecrbb
badd892102405c12e3a9216e67d199339bc80aaadgaudetpics/%.o: $(AES_DIR)/$(MACH64)/%.s
badd892102405c12e3a9216e67d199339bc80aaadgaudet $(COMPILE.s) $(AES_FLAGS) -o $@ $<
badd892102405c12e3a9216e67d199339bc80aaadgaudet $(POST_PROCESS_O)
badd892102405c12e3a9216e67d199339bc80aaadgaudet
badd892102405c12e3a9216e67d199339bc80aaadgaudetpics/%.o: $(BIGNUM_DIR)/$(MACH64)/%.c
badd892102405c12e3a9216e67d199339bc80aaadgaudet $(COMPILE.c) $(BIGNUM_FLAGS) -o $@ $<
badd892102405c12e3a9216e67d199339bc80aaadgaudet $(POST_PROCESS_O)
badd892102405c12e3a9216e67d199339bc80aaadgaudet
badd892102405c12e3a9216e67d199339bc80aaadgaudetpics/%.o: $(BIGNUM_DIR)/$(MACH64)/%.s
badd892102405c12e3a9216e67d199339bc80aaadgaudet $(COMPILE64.s) $(BIGNUM_FLAGS) -o $@ $<
cb5a017cbad1e36dc501d8afc65636b8c2edf2d8rbb $(POST_PROCESS_O)
badd892102405c12e3a9216e67d199339bc80aaadgaudet
badd892102405c12e3a9216e67d199339bc80aaadgaudetpics/%.o: arcfour-x86_64.s
badd892102405c12e3a9216e67d199339bc80aaadgaudet $(COMPILE64.s) $(ARCFOUR_FLAGS) -o $@ $<
badd892102405c12e3a9216e67d199339bc80aaadgaudet $(POST_PROCESS_O)
badd892102405c12e3a9216e67d199339bc80aaadgaudet