summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/builtin/sha2/Makefile.in
blob: ffb9b7480a97ce065eb9d56f76829f3f5af503bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
mydir=lib$(S)crypto$(S)builtin$(S)sha2
BUILDTOP=$(REL)..$(S)..$(S)..$(S)..
DEFS=

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

RUN_SETUP = @KRB5_RUN_ENV@
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)

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@