Makefile revision 8475e04352e630e4bd0f59a283286ee2475a14ce
4909N/A#
4909N/A# CDDL HEADER START
4909N/A#
4909N/A# The contents of this file are subject to the terms of the
4909N/A# Common Development and Distribution License (the "License").
4909N/A# You may not use this file except in compliance with the License.
4909N/A#
4909N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4909N/A# or http://www.opensolaris.org/os/licensing.
4909N/A# See the License for the specific language governing permissions
4909N/A# and limitations under the License.
4909N/A#
4909N/A# When distributing Covered Code, include this CDDL HEADER in each
4909N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4909N/A# If applicable, add the following below this CDDL HEADER, with the
4909N/A# fields enclosed by brackets "[]" replaced with your own identifying
4909N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4909N/A#
4909N/A# CDDL HEADER END
4909N/A#
4909N/A#
4909N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
4909N/A# Use is subject to license terms.
4909N/A#
4909N/A# lib/pkcs11/libsoftcrypto/amd64/Makefile
4909N/A#
4909N/A
4909N/ALIBRARY= libsoftcrypto.a
4909N/AVERS= .1
4909N/A
4909N/AAES_PSM_OBJS= aes_amd64.o aeskey.o
4909N/AAES_PSM_SRC= $(AES_DIR)/$(MACH64)/aes_amd64.s $(AES_DIR)/$(MACH64)/aeskey.c
4909N/A
4909N/AARCFOUR_PSM_OBJS= arcfour-x86_64.o
4909N/AARCFOUR_PSM_SRC= arcfour-x86_64.s
4909N/A
4909N/ABIGNUM_PSM_OBJS= bignum_amd64.o bignum_amd64_asm.o
4909N/ABIGNUM_PSM_SRC= $(BIGNUM_DIR)/$(MACH64)/bignum_amd64.c \
4909N/A $(BIGNUM_DIR)/$(MACH64)/bignum_amd64_asm.s
4909N/A
4909N/Ainclude ../Makefile.com
4909N/Ainclude $(SRC)/lib/Makefile.lib.64
4909N/A
4909N/ACFLAGS += -xO4 -xcrossfile
4909N/ABIGNUM_FLAGS += -DPSR_MUL
4909N/ALINTFLAGS64 += $(BIGNUM_FLAGS) $(AES_FLAGS)
4909N/ACLEANFILES += arcfour-x86_64.s
4909N/A
4909N/ALDLIBS += -lc
4909N/ALIBS += $(LINTLIB)
4909N/A
4909N/Ainstall: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
4909N/A
arcfour-x86_64.s: $(ARCFOUR_DIR)/amd64/arcfour-x86_64.pl
$(PERL) $? $@
pics/%.o: $(AES_DIR)/$(MACH64)/%.c
$(COMPILE.c) $(AES_FLAGS) -o $@ $<
$(POST_PROCESS_O)
pics/%.o: $(AES_DIR)/$(MACH64)/%.s
$(COMPILE.s) $(AES_FLAGS) -o $@ $<
$(POST_PROCESS_O)
pics/%.o: $(BIGNUM_DIR)/$(MACH64)/%.c
$(COMPILE.c) $(BIGNUM_FLAGS) -o $@ $<
$(POST_PROCESS_O)
pics/%.o: $(BIGNUM_DIR)/$(MACH64)/%.s
$(COMPILE64.s) $(BIGNUM_FLAGS) -o $@ $<
$(POST_PROCESS_O)
pics/%.o: arcfour-x86_64.s
$(COMPILE64.s) $(ARCFOUR_FLAGS) -o $@ $<
$(POST_PROCESS_O)