10cd13cbfSwyllys# 20cd13cbfSwyllys# CDDL HEADER START 30cd13cbfSwyllys# 40cd13cbfSwyllys# The contents of this file are subject to the terms of the 50cd13cbfSwyllys# Common Development and Distribution License (the "License"). 60cd13cbfSwyllys# You may not use this file except in compliance with the License. 70cd13cbfSwyllys# 80cd13cbfSwyllys# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90cd13cbfSwyllys# or http://www.opensolaris.org/os/licensing. 100cd13cbfSwyllys# See the License for the specific language governing permissions 110cd13cbfSwyllys# and limitations under the License. 120cd13cbfSwyllys# 130cd13cbfSwyllys# When distributing Covered Code, include this CDDL HEADER in each 140cd13cbfSwyllys# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150cd13cbfSwyllys# If applicable, add the following below this CDDL HEADER, with the 160cd13cbfSwyllys# fields enclosed by brackets "[]" replaced with your own identifying 170cd13cbfSwyllys# information: Portions Copyright [yyyy] [name of copyright owner] 180cd13cbfSwyllys# 190cd13cbfSwyllys# CDDL HEADER END 200cd13cbfSwyllys# 210cd13cbfSwyllys# 220cd13cbfSwyllys# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 230cd13cbfSwyllys# Use is subject to license terms. 240cd13cbfSwyllys# 250cd13cbfSwyllys 260cd13cbfSwyllysLIBRARY= crypt_sha512.a 27*241c90a0SRichard LoweVERS= .1 280cd13cbfSwyllysOBJECTS= crypt_sha.o 290cd13cbfSwyllys 300cd13cbfSwyllysinclude ../../Makefile.crypt_modules 310cd13cbfSwyllys 320cd13cbfSwyllysCPPFLAGS += -DCRYPT_SHA512 33*241c90a0SRichard LoweLDLIBS += -lc -lmd 340cd13cbfSwyllys 350cd13cbfSwyllysSRCDIR = ../../sha256/ 360cd13cbfSwyllys 370cd13cbfSwyllysall: $(LIBS) 380cd13cbfSwyllys 390cd13cbfSwyllysinclude $(SRC)/lib/Makefile.targ 400cd13cbfSwyllys 410cd13cbfSwyllysCLOBBERFILES += test test.o 420cd13cbfSwyllys 430cd13cbfSwyllystest: $(LIBS) $(SRCDIR)/test.c 440cd13cbfSwyllys $(LINK.c) -o test $(SRCDIR)/test.c -R. $(DYNLIB) $(LDFLAGS) 450cd13cbfSwyllys ./test 46