mydir=lib$(S)crypto$(S)builtin$(S)sha2
BUILDTOP=$(REL)..$(S)..$(S)..$(S)..

##DOS##BUILDTOP = ..\..\..\..
##DOS##PREFIXDIR = builtin\sha2
##DOS##OBJFILE = ..\..\$(OUTPRE)sha2.lst

STLIBOBJS= sha256.o

OBJS= $(OUTPRE)sha256.$(OBJEXT) 

SRCS= $(srcdir)/sha256.c

##DOS##LIBOBJS = $(OBJS)

all-unix:: all-libobjs

includes:: depend

depend:: $(SRCS)

t_sha256: t_sha256.o sha256.o $(SUPPORT_DEPLIB)
	$(CC_LINK) -o t_sha256 t_sha256.o sha256.o $(SUPPORT_LIB)


$(OUTPRE)t_sha256.exe: $(OUTPRE)t_sha256.obj $(OUTPRE)sha256.obj
	link -out:$@ $**


check-unix:: t_sha256
	$(RUN_SETUP) $(VALGRIND) $(C)t_sha256

clean::
	$(RM) t_sha256$(EXEEXT) t_sha256.$(OBJEXT)

clean-unix:: clean-libobjs

@libobj_frag@

