blob: 2a52a333792d1553b89cd0f548a948df44635ed5 (
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
thisconfigdir=./..
myfulldir=lib/crypto/aes
mydir=aes
BUILDTOP=$(REL)..$(S)..$(S)..
LOCALINCLUDES = -I$(srcdir)/.. -I$(srcdir)/../dk
DEFS=
##DOS##BUILDTOP = ..\..\..
##DOS##PREFIXDIR=aes
##DOS##OBJFILE=..\$(OUTPRE)aes.lst
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
RUN_SETUP = @KRB5_RUN_ENV@ KRB5_CONFIG=$(SRCTOP)/config-files/krb5.conf
STLIBOBJS=\
aescrypt.o \
aestab.o \
aeskey.o \
aes_s2k.o
OBJS=\
$(OUTPRE)aescrypt.$(OBJEXT) \
$(OUTPRE)aestab.$(OBJEXT) \
$(OUTPRE)aeskey.$(OBJEXT) \
$(OUTPRE)aes_s2k.$(OBJEXT)
SRCS=\
$(srcdir)/aescrypt.c \
$(srcdir)/aestab.c \
$(srcdir)/aeskey.c \
$(srcdir)/aes_s2k.c
GEN_OBJS=\
$(OUTPRE)aescrypt.$(OBJEXT) \
$(OUTPRE)aestab.$(OBJEXT) \
$(OUTPRE)aeskey.$(OBJEXT)
##DOS##LIBOBJS = $(OBJS)
all-unix:: all-libobjs # aes-gen
includes:: depend
depend:: $(SRCS)
aes-gen: aes-gen.o $(GEN_OBJS)
$(CC_LINK) -o aes-gen aes-gen.o $(GEN_OBJS)
run-aes-gen: aes-gen
./aes-gen > kresults.out
check:: run-aes-gen
aes-test: aes-test.$(OBJEXT) $(CRYPTO_DEPLIB)
$(CC_LINK) -o aes-test aes-test.$(OBJEXT) $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB)
check:: run-aes-test
run-aes-test: aes-test
$(RUN_SETUP) ./aes-test -k > vk.txt
cmp vk.txt $(srcdir)/expect-vk.txt
$(RUN_SETUP) ./aes-test > vt.txt
cmp vt.txt $(srcdir)/expect-vt.txt
clean-unix:: clean-libobjs
clean::
-$(RM) aes-gen aes-gen.o vt.txt vk.txt kresults.out aes-test aes-test.o
# @libobj_frag@
# +++ Dependency line eater +++
#
# Makefile dependencies follow. This must be the last section in
# the Makefile.in file
#
aescrypt.so aescrypt.po $(OUTPRE)aescrypt.$(OBJEXT): \
$(BUILDTOP)/include/autoconf.h aes.h aescrypt.c aesopt.h \
uitypes.h
aestab.so aestab.po $(OUTPRE)aestab.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
aes.h aesopt.h aestab.c uitypes.h
aeskey.so aeskey.po $(OUTPRE)aeskey.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
aes.h aeskey.c aesopt.h uitypes.h
aes_s2k.so aes_s2k.po $(OUTPRE)aes_s2k.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
$(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/osconf.h \
$(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/k5-err.h \
$(SRCTOP)/include/k5-int.h $(SRCTOP)/include/k5-locate.h \
$(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-plugin.h \
$(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/kdb.h \
$(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
$(srcdir)/../dk/dk.h aes_s2k.c aes_s2k.h
|