summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/builtin/Makefile.in
blob: 66e16ce69e896b271f38c3312722cf4b7853a014 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
mydir=lib$(S)crypto$(S)builtin
BUILDTOP=$(REL)..$(S)..$(S)..
SUBDIRS=camellia des aes md4 md5 sha1 sha2 enc_provider hash_provider
LOCALINCLUDES = -I$(srcdir)/../krb 			\
		-I$(srcdir)/../krb/hash_provider 	\
		-I$(srcdir)/des 	\
		-I$(srcdir)/aes 	\
		-I$(srcdir)/camellia 	\
		-I$(srcdir)/sha1 	\
		-I$(srcdir)/sha2 	\
		-I$(srcdir)/md4 	\
		-I$(srcdir)/md5	\
		-I$(srcdir)/enc_provider	\
		-I$(srcdir)/hash_provider 	
RUN_SETUP = @KRB5_RUN_ENV@
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
DEFS=

EXTRADEPSRCS= $(srcdir)/t_cf2.c 


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

STLIBOBJS=\
	hmac.o	\
	init.o	\
	pbkdf2.o

OBJS=\
	$(OUTPRE)hmac.$(OBJEXT)	\
	$(OUTPRE)init.$(OBJEXT)	\
	$(OUTPRE)pbkdf2.$(OBJEXT)

SRCS=\
	$(srcdir)/hmac.c	\
	$(srcdir)/init.c	\
	$(srcdir)/pbkdf2.c	

STOBJLISTS= des/OBJS.ST md4/OBJS.ST 	\
	md5/OBJS.ST sha1/OBJS.ST sha2/OBJS.ST	\
	enc_provider/OBJS.ST 		\
	hash_provider/OBJS.ST 		\
	aes/OBJS.ST 			\
	camellia/OBJS.ST 		\
	OBJS.ST

SUBDIROBJLISTS= des/OBJS.ST md4/OBJS.ST 	\
		md5/OBJS.ST sha1/OBJS.ST sha2/OBJS.ST 	\
		enc_provider/OBJS.ST 		\
		hash_provider/OBJS.ST 		\
		aes/OBJS.ST			\
		camellia/OBJS.ST 

##DOS##LIBOBJS = $(OBJS)

all-unix:: all-libobjs
includes:: depend

depend:: $(SRCS)

clean-unix:: clean-libobjs
check-unix:: t_cf2
	$(RUN_SETUP) $(VALGRIND) ./t_cf2 <$(srcdir)/t_cf2.in >t_cf2.output
	diff t_cf2.output $(srcdir)/t_cf2.expected

t_cf2$(EXEEXT): t_cf2.$(OBJEXT) $(SUPPORT_DEPLIB)
	$(CC_LINK) -o $@ t_cf2.$(OBJEXT)  -lkrb5 -lk5crypto -lcom_err $(SUPPORT_LIB)

clean::
	$(RM)  t_cf2 t_cf2.o  t_cf2.output

@lib_frag@
@libobj_frag@