2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A#
2N/A# Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/A
2N/ALIBRARY = libmd.a
2N/AVERS = .1
2N/A
2N/AOBJECTS = md4.o \
2N/A md5.o \
2N/A sha1.o \
2N/A sha2.o \
2N/A md5_amd64.o \
2N/A sha1-x86_64.o \
2N/A sha256-x86_64.o \
2N/A sha512-x86_64.o \
2N/A fips_sha1_util.o \
2N/A fips_sha2_util.o \
2N/A fips_test_vectors.o \
2N/A init.o
2N/A
2N/Ainclude $(SRC)/lib/Makefile.lib
2N/Ainclude $(SRC)/lib/Makefile.rootfs
2N/Ainclude $(SRC)/lib/Makefile.lib.64
2N/Ainclude ../Makefile.com
2N/A
2N/A# For lint:
2N/ASRCS += md5_amd64.s sha1-x86_64.s sha256-x86_64.s sha512-x86_64.s
2N/A
2N/A# Symbol capabilities objects are added for amd64.
2N/AEXTPICS = ../capabilities/intel-hwcap1/amd64/pics/symcap.o \
2N/A ../capabilities/intel-hwcap2/amd64/pics/symcap.o
2N/A
2N/ACLEANFILES += $(EXTPICS) \
2N/A $(EXTPICS:pics/%.o=%.s)
2N/A
2N/A# This prevents <sys/asm_linkage.h> from including C source:
2N/AAS_CPPFLAGS += -D_ASM
2N/A
2N/A.KEEP_STATE:
2N/A
2N/Aall: stub $(LIBS)
2N/A
2N/Ainstall: stubinstall all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
2N/A
2N/Astubinstall: stub $(STUBROOTLIBS64) $(STUBROOTLINKS64)
2N/A
2N/Alint: lintcheck
2N/A
2N/Apics/%.o: %.s
2N/A $(COMPILE.s) -o $@ ${@F:.o=.s}
2N/A $(POST_PROCESS_O)
2N/A
2N/Amd5_amd64.s: $(COMDIR)/md5/amd64/md5_amd64.pl
2N/A $(PERL) $? $@
2N/A
2N/Asha1-x86_64.s: $(COMDIR)/sha1/amd64/sha1-x86_64.pl
2N/A $(PERL) $? $@
2N/A
2N/Asha512-x86_64.s: $(COMDIR)/sha2/amd64/sha512-x86_64.pl
2N/A $(PERL) $? $@
2N/A
2N/Asha256-x86_64.s: $(COMDIR)/sha2/amd64/sha512-x86_64.pl
2N/A $(PERL) $? $@
2N/A
2N/Ainclude ../Makefile.targ