xref: /onnv-gate/usr/src/lib/crypt_modules/sha256/Makefile.com (revision 6532:09f1081b8fb2)
1*6532Swyllys#
2*6532Swyllys# CDDL HEADER START
3*6532Swyllys#
4*6532Swyllys# The contents of this file are subject to the terms of the
5*6532Swyllys# Common Development and Distribution License (the "License").
6*6532Swyllys# You may not use this file except in compliance with the License.
7*6532Swyllys#
8*6532Swyllys# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*6532Swyllys# or http://www.opensolaris.org/os/licensing.
10*6532Swyllys# See the License for the specific language governing permissions
11*6532Swyllys# and limitations under the License.
12*6532Swyllys#
13*6532Swyllys# When distributing Covered Code, include this CDDL HEADER in each
14*6532Swyllys# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*6532Swyllys# If applicable, add the following below this CDDL HEADER, with the
16*6532Swyllys# fields enclosed by brackets "[]" replaced with your own identifying
17*6532Swyllys# information: Portions Copyright [yyyy] [name of copyright owner]
18*6532Swyllys#
19*6532Swyllys# CDDL HEADER END
20*6532Swyllys#
21*6532Swyllys# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
22*6532Swyllys# Use is subject to license terms.
23*6532Swyllys#
24*6532Swyllys#ident	"%Z%%M%	%I%	%E% SMI"
25*6532Swyllys
26*6532SwyllysLIBRARY=	crypt_sha256.a
27*6532SwyllysVERS= 		.1
28*6532SwyllysOBJECTS=	crypt_sha.o
29*6532Swyllys
30*6532Swyllysinclude		../../Makefile.crypt_modules
31*6532Swyllys
32*6532SwyllysCPPFLAGS	+= -DCRYPT_SHA256
33*6532SwyllysLDLIBS 		+= -lc -lmd
34*6532Swyllys
35*6532Swyllysall: $(LIBS)
36*6532Swyllys
37*6532Swyllyslint: lintcheck
38*6532Swyllys
39*6532Swyllysinclude $(SRC)/lib/Makefile.targ
40*6532Swyllys
41*6532SwyllysCLOBBERFILES += test test.o
42*6532Swyllys
43*6532Swyllystest: $(LIBS) ../test.c
44*6532Swyllys	$(LINK.c) -o test ../test.c -R. $(DYNLIB) $(LDFLAGS)
45*6532Swyllys	./test
46