1*0cd13cbfSwyllys# 2*0cd13cbfSwyllys# CDDL HEADER START 3*0cd13cbfSwyllys# 4*0cd13cbfSwyllys# The contents of this file are subject to the terms of the 5*0cd13cbfSwyllys# Common Development and Distribution License (the "License"). 6*0cd13cbfSwyllys# You may not use this file except in compliance with the License. 7*0cd13cbfSwyllys# 8*0cd13cbfSwyllys# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*0cd13cbfSwyllys# or http://www.opensolaris.org/os/licensing. 10*0cd13cbfSwyllys# See the License for the specific language governing permissions 11*0cd13cbfSwyllys# and limitations under the License. 12*0cd13cbfSwyllys# 13*0cd13cbfSwyllys# When distributing Covered Code, include this CDDL HEADER in each 14*0cd13cbfSwyllys# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*0cd13cbfSwyllys# If applicable, add the following below this CDDL HEADER, with the 16*0cd13cbfSwyllys# fields enclosed by brackets "[]" replaced with your own identifying 17*0cd13cbfSwyllys# information: Portions Copyright [yyyy] [name of copyright owner] 18*0cd13cbfSwyllys# 19*0cd13cbfSwyllys# CDDL HEADER END 20*0cd13cbfSwyllys# 21*0cd13cbfSwyllys# 22*0cd13cbfSwyllys# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23*0cd13cbfSwyllys# Use is subject to license terms. 24*0cd13cbfSwyllys# 25*0cd13cbfSwyllys 26*0cd13cbfSwyllysLIBRARY= crypt_sha512.a 27*0cd13cbfSwyllysVERS= .1 28*0cd13cbfSwyllysOBJECTS= crypt_sha.o 29*0cd13cbfSwyllys 30*0cd13cbfSwyllysinclude ../../Makefile.crypt_modules 31*0cd13cbfSwyllys 32*0cd13cbfSwyllysCPPFLAGS += -DCRYPT_SHA512 33*0cd13cbfSwyllysLDLIBS += -lc -lmd 34*0cd13cbfSwyllys 35*0cd13cbfSwyllysSRCDIR = ../../sha256/ 36*0cd13cbfSwyllys 37*0cd13cbfSwyllysall: $(LIBS) 38*0cd13cbfSwyllys 39*0cd13cbfSwyllysinclude $(SRC)/lib/Makefile.targ 40*0cd13cbfSwyllys 41*0cd13cbfSwyllysCLOBBERFILES += test test.o 42*0cd13cbfSwyllys 43*0cd13cbfSwyllystest: $(LIBS) $(SRCDIR)/test.c 44*0cd13cbfSwyllys $(LINK.c) -o test $(SRCDIR)/test.c -R. $(DYNLIB) $(LDFLAGS) 45*0cd13cbfSwyllys ./test 46