blob: 05c7bd505a0f51141d40b4983bd4f4859a0d0674 (
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
|
mydir=lib$(S)crypto$(S)builtin$(S)aes
BUILDTOP=$(REL)..$(S)..$(S)..$(S)..
##DOS##BUILDTOP = ..\..\..\..
##DOS##PREFIXDIR = builtin\aes
##DOS##OBJFILE = ..\..\$(OUTPRE)aes.lst
YASM=@YASM@
AESNI_OBJ=@AESNI_OBJ@
AESNI_FLAGS=@AESNI_FLAGS@
STLIBOBJS=\
aescrypt.o \
aestab.o \
aeskey.o \
@AESNI_OBJ@
OBJS=\
$(OUTPRE)aescrypt.$(OBJEXT) \
$(OUTPRE)aestab.$(OBJEXT) \
$(OUTPRE)aeskey.$(OBJEXT)
SRCS=\
$(srcdir)/aescrypt.c \
$(srcdir)/aestab.c \
$(srcdir)/aeskey.c \
GEN_OBJS=\
$(OUTPRE)aescrypt.$(OBJEXT) \
$(OUTPRE)aestab.$(OBJEXT) \
$(OUTPRE)aeskey.$(OBJEXT)
##DOS##LIBOBJS = $(OBJS)
all-unix: all-libobjs # aes-gen
iaesx64@SHOBJEXT@ iaesx64@STOBJEXT@: $(srcdir)/iaesx64.s
$(YASM) $(AESNI_FLAGS) -o $@ $(srcdir)/iaesx64.s
iaesx86@SHOBJEXT@ iaesx86@STOBJEXT@: $(srcdir)/iaesx86.s
$(YASM) $(AESNI_FLAGS) -o $@ $(srcdir)/iaesx86.s
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
cmp kresults.out $(srcdir)/kresults.expected
check: run-aes-gen
clean-unix:: clean-libobjs
clean:
-$(RM) aes-gen aes-gen.o kresults.out
@libobj_frag@
|