xref: /titanic_50/usr/src/lib/libmd/sparc/Makefile (revision 59809f4b954b2b9b06cdf40f4705ad0f7b6bbce5)
1734b6a94Sdarrenm#
2734b6a94Sdarrenm# CDDL HEADER START
3734b6a94Sdarrenm#
4734b6a94Sdarrenm# The contents of this file are subject to the terms of the
5734b6a94Sdarrenm# Common Development and Distribution License (the "License").
6734b6a94Sdarrenm# You may not use this file except in compliance with the License.
7734b6a94Sdarrenm#
8734b6a94Sdarrenm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9734b6a94Sdarrenm# or http://www.opensolaris.org/os/licensing.
10734b6a94Sdarrenm# See the License for the specific language governing permissions
11734b6a94Sdarrenm# and limitations under the License.
12734b6a94Sdarrenm#
13734b6a94Sdarrenm# When distributing Covered Code, include this CDDL HEADER in each
14734b6a94Sdarrenm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15734b6a94Sdarrenm# If applicable, add the following below this CDDL HEADER, with the
16734b6a94Sdarrenm# fields enclosed by brackets "[]" replaced with your own identifying
17734b6a94Sdarrenm# information: Portions Copyright [yyyy] [name of copyright owner]
18734b6a94Sdarrenm#
19734b6a94Sdarrenm# CDDL HEADER END
20734b6a94Sdarrenm#
21734b6a94Sdarrenm#
221e49577aSRod Evans# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
2345818ee1SMatthew Ahrens# Copyright 2013 Saso Kiselkov. All rights reserved.
24*59809f4bSGary Mills# Copyright 2015 Gary Mills
251e49577aSRod Evans#
26734b6a94Sdarrenm
27734b6a94SdarrenmLIBRARY =	libmd.a
281e49577aSRod EvansVERS =		.1
29734b6a94Sdarrenm
3045818ee1SMatthew AhrensOBJECTS =	edonr.o md4.o md5.o sha1.o sha2.o \
3145818ee1SMatthew Ahrens		skein.o skein_block.o skein_iv.o
321e49577aSRod Evans
331e49577aSRod Evansinclude		$(SRC)/lib/Makefile.lib
341e49577aSRod Evansinclude		$(SRC)/lib/Makefile.rootfs
35734b6a94Sdarrenminclude		../Makefile.com
36734b6a94Sdarrenm
371e49577aSRod Evans# Symbol capabilities objects are added for sun4u and sun4v.
381e49577aSRod EvansEXTPICS =	../capabilities/sun4u/sparc/pics/symcap.o \
391e49577aSRod Evans		../capabilities/sun4v/sparc/pics/symcap.o
401e49577aSRod Evans
41*59809f4bSGary Mills# Suppress error for edonr.c __asm__ code
42*59809f4bSGary Millspics/edonr.o := CERRWARN +=	-_gcc=-Wno-uninitialized
43*59809f4bSGary Mills
441e49577aSRod Evans.KEEP_STATE:
451e49577aSRod Evans
461e49577aSRod Evansall:		$(LIBS)
47734b6a94Sdarrenm
48734b6a94Sdarrenminstall:	all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
491e49577aSRod Evans
501e49577aSRod Evanslint:		lintcheck
511e49577aSRod Evans
521e49577aSRod Evansinclude		../Makefile.targ
53