blob: 6f175047a5e3c5906f36a999bdf7da1c5f29dc9f (
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
|
thisconfigdir=./..
myfulldir=lib/crypto/des
mydir=des
BUILDTOP=$(REL)$(U)$(S)$(U)$(S)$(U)
##DOS##BUILDTOP = ..\..\..
##DOS##PREFIXDIR=des
##DOS##OBJFILE=..\$(OUTPRE)des.lst
##WIN16##LIBNAME=..\crypto.lib
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
RUN_SETUP = @KRB5_RUN_ENV@ KRB5_CONFIG=$(SRCTOP)/config-files/krb5.conf
STLIBOBJS=\
afsstring2key.o \
d3_cbc.o \
d3_kysched.o \
f_cbc.o \
f_cksum.o \
f_parity.o \
f_sched.o \
f_tables.o \
key_sched.o \
string2key.o \
weak_key.o
OBJS= $(OUTPRE)afsstring2key.$(OBJEXT) \
$(OUTPRE)d3_cbc.$(OBJEXT) \
$(OUTPRE)d3_kysched.$(OBJEXT) \
$(OUTPRE)f_cbc.$(OBJEXT) \
$(OUTPRE)f_cksum.$(OBJEXT) \
$(OUTPRE)f_parity.$(OBJEXT) \
$(OUTPRE)f_sched.$(OBJEXT) \
$(OUTPRE)f_tables.$(OBJEXT) \
$(OUTPRE)key_sched.$(OBJEXT) \
$(OUTPRE)string2key.$(OBJEXT) \
$(OUTPRE)weak_key.$(OBJEXT)
SRCS= $(srcdir)/afsstring2key.c \
$(srcdir)/d3_cbc.c \
$(srcdir)/d3_kysched.c \
$(srcdir)/f_cbc.c \
$(srcdir)/f_cksum.c \
$(srcdir)/f_parity.c \
$(srcdir)/f_sched.c \
$(srcdir)/f_tables.c \
$(srcdir)/key_sched.c \
$(srcdir)/weak_key.c \
$(srcdir)/string2key.c
##DOS##LIBOBJS = $(OBJS)
all-unix:: all-libobjs
includes:: depend
depend:: $(SRCS)
TOBJS = $(OUTPRE)key_sched.$(OBJEXT) $(OUTPRE)f_sched.$(OBJEXT) $(OUTPRE)f_cbc.$(OBJEXT) \
$(OUTPRE)f_tables.$(OBJEXT) $(OUTPRE)f_cksum.$(OBJEXT)
verify$(EXEEXT): t_verify.$(OBJEXT) $(TOBJS) f_parity.$(OBJEXT) \
$(COM_ERR_DEPLIB)
$(CC_LINK) -o $@ t_verify.$(OBJEXT) $(TOBJS) f_parity.$(OBJEXT) \
-lcom_err
destest$(EXEEXT): destest.$(OBJEXT) $(TOBJS)
$(CC_LINK) -o $@ destest.$(OBJEXT) $(TOBJS)
TAFSS2KOBJS = \
t_afss2k.$(OBJEXT) $(TOBJS) \
afsstring2key.$(OBJEXT) f_parity.$(OBJEXT) weak_key.$(OBJEXT)
t_afss2k$(EXEEXT): $(TAFSS2KOBJS) $(COM_ERR_DEPLIB)
$(CC_LINK) -o $@ $(TAFSS2KOBJS) -lcom_err
check-unix:: verify destest t_afss2k
$(RUN_SETUP) ./verify -z
$(RUN_SETUP) ./verify -m
$(RUN_SETUP) ./verify
$(RUN_SETUP) ./destest < $(srcdir)/keytest.data
$(RUN_SETUP) ./t_afss2k
check-windows::
clean::
$(RM) destest$(EXEEXT) verify$(EXEEXT) destest.$(OBJEXT) \
t_verify.$(OBJEXT) t_afss2k.$(OBJEXT) t_afss2k$(EXEEXT)
clean-unix:: clean-libobjs
# +++ Dependency line eater +++
#
# Makefile dependencies follow. This must be the last section in
# the Makefile.in file
#
afsstring2key.o: afsstring2key.c $(SRCTOP)/include/k5-int.h \
$(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
$(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \
$(BUILDTOP)/include/com_err.h $(SRCTOP)/include/krb5/kdb.h \
des_int.h
d3_cbc.o: d3_cbc.c des_int.h $(SRCTOP)/include/k5-int.h \
$(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
$(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \
$(BUILDTOP)/include/com_err.h $(SRCTOP)/include/krb5/kdb.h \
f_tables.h
d3_kysched.o: d3_kysched.c $(SRCTOP)/include/k5-int.h \
$(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
$(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \
$(BUILDTOP)/include/com_err.h $(SRCTOP)/include/krb5/kdb.h \
des_int.h
f_cbc.o: f_cbc.c des_int.h $(SRCTOP)/include/k5-int.h \
$(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
$(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \
$(BUILDTOP)/include/com_err.h $(SRCTOP)/include/krb5/kdb.h \
f_tables.h
f_cksum.o: f_cksum.c des_int.h $(SRCTOP)/include/k5-int.h \
$(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
$(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \
$(BUILDTOP)/include/com_err.h $(SRCTOP)/include/krb5/kdb.h \
f_tables.h
f_parity.o: f_parity.c des_int.h $(SRCTOP)/include/k5-int.h \
$(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
$(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \
$(BUILDTOP)/include/com_err.h $(SRCTOP)/include/krb5/kdb.h
f_sched.o: f_sched.c $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
$(BUILDTOP)/include/krb5/autoconf.h $(BUILDTOP)/include/krb5.h \
$(BUILDTOP)/include/profile.h $(BUILDTOP)/include/com_err.h \
$(SRCTOP)/include/krb5/kdb.h des_int.h
f_tables.o: f_tables.c des_int.h $(SRCTOP)/include/k5-int.h \
$(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
$(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \
$(BUILDTOP)/include/com_err.h $(SRCTOP)/include/krb5/kdb.h \
f_tables.h
key_sched.o: key_sched.c $(SRCTOP)/include/k5-int.h \
$(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
$(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \
$(BUILDTOP)/include/com_err.h $(SRCTOP)/include/krb5/kdb.h \
des_int.h
weak_key.o: weak_key.c $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
$(BUILDTOP)/include/krb5/autoconf.h $(BUILDTOP)/include/krb5.h \
$(BUILDTOP)/include/profile.h $(BUILDTOP)/include/com_err.h \
$(SRCTOP)/include/krb5/kdb.h des_int.h
string2key.o: string2key.c $(SRCTOP)/include/k5-int.h \
$(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
$(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \
$(BUILDTOP)/include/com_err.h $(SRCTOP)/include/krb5/kdb.h \
des_int.h
|