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