make depend
[krb5.git] / src / lib / des425 / Makefile.in
1 thisconfigdir=.
2 myfulldir=lib/des425
3 mydir=.
4 BUILDTOP=$(REL)..$(S)..
5 LOCALINCLUDES = -I$(srcdir)/../crypto/des -I$(srcdir)/../../include/kerberosIV
6
7 ##DOS##BUILDTOP = ..\..
8 ##DOS##LIBNAME=$(OUTPRE)des425.lib
9 ##DOS##OBJFILE=$(OUTPRE)des425.lst
10 ##DOS##OBJFILEDEP=$(OUTPRE)des425.lst
11 ##DOS##OBJFILELIST=@$(OUTPRE)des425.lst
12
13 PROG_LIBPATH=-L$(TOPLIBD)
14 PROG_RPATH=$(KRB5_LIBDIR)
15
16 RUN_SETUP=@KRB5_RUN_ENV@
17
18 LIB=des425
19 LIBMAJOR=3
20 LIBMINOR=0
21 RELDIR=des425
22 # Depends on libk5crypto and libkrb5
23 SHLIB_EXPDEPS = \
24         $(TOPLIBD)/libk5crypto$(SHLIBEXT) \
25         $(TOPLIBD)/libkrb5$(SHLIBEXT)
26 SHLIB_EXPLIBS=-lkrb5 -lcom_err -lk5crypto
27 SHLIB_DIRS=-L$(TOPLIBD)
28 SHLIB_RDIRS=$(KRB5_LIBDIR)
29
30 STOBJLISTS=OBJS.ST
31 STLIBOBJS=cksum.o       \
32         des.o           \
33         enc_dec.o       \
34         key_parity.o    \
35         key_sched.o     \
36         new_rnd_key.o   \
37         pcbc_encrypt.o  \
38         quad_cksum.o    \
39         random_key.o    \
40         read_passwd.o  \
41         str_to_key.o    \
42         unix_time.o     \
43         util.o          \
44         weak_key.o
45
46
47 OBJS=   $(OUTPRE)cksum.$(OBJEXT)        \
48         $(OUTPRE)des.$(OBJEXT)          \
49         $(OUTPRE)enc_dec.$(OBJEXT)      \
50         $(OUTPRE)key_parity.$(OBJEXT)   \
51         $(OUTPRE)key_sched.$(OBJEXT)    \
52         $(OUTPRE)new_rnd_key.$(OBJEXT)  \
53         $(OUTPRE)pcbc_encrypt.$(OBJEXT) \
54         $(OUTPRE)quad_cksum.$(OBJEXT)   \
55         $(OUTPRE)random_key.$(OBJEXT)   \
56         $(OUTPRE)read_passwd.$(OBJEXT)  \
57         $(OUTPRE)str_to_key.$(OBJEXT)   \
58         $(OUTPRE)unix_time.$(OBJEXT)    \
59         $(OUTPRE)util.$(OBJEXT)         \
60         $(OUTPRE)weak_key.$(OBJEXT)
61
62 SRCS=   $(srcdir)/cksum.c       \
63         $(srcdir)/des.c         \
64         $(srcdir)/enc_dec.c     \
65         $(srcdir)/key_parity.c  \
66         $(srcdir)/key_sched.c   \
67         $(srcdir)/new_rnd_key.c \
68         $(srcdir)/pcbc_encrypt.c        \
69         $(srcdir)/quad_cksum.c  \
70         $(srcdir)/random_key.c  \
71         $(srcdir)/read_passwd.c \
72         $(srcdir)/str_to_key.c  \
73         $(srcdir)/unix_time.c   \
74         $(srcdir)/util.c        \
75         $(srcdir)/weak_key.c
76
77 all-unix:: all-liblinks
78 all-mac:: $(OBJS)
79
80 ##DOS##LIBOBJS = $(OBJS)
81
82 shared:
83         mkdir shared
84
85 verify: verify.o $(DES425_DEPLIB) $(KRB5_BASE_DEPLIBS)
86         $(CC_LINK) -o $@ verify.o $(DES425_LIB) $(KRB5_BASE_LIBS)
87
88 t_quad: t_quad.o quad_cksum.o
89         $(CC_LINK) -o $@ t_quad.o quad_cksum.o
90
91 t_pcbc: t_pcbc.o pcbc_encrypt.o key_sched.o $(KRB5_BASE_DEPLIBS)
92         $(CC_LINK) -o $@ t_pcbc.o pcbc_encrypt.o key_sched.o $(KRB5_BASE_LIBS)
93
94 check-unix:: verify t_quad t_pcbc
95         $(RUN_SETUP) ./verify -z
96         $(RUN_SETUP) ./verify -m
97         $(RUN_SETUP) ./verify
98         $(RUN_SETUP) ./t_quad
99         $(RUN_SETUP) ./t_pcbc
100
101 check-windows::
102
103 clean:: 
104         $(RM) $(OUTPRE)verify$(EXEEXT) $(OUTPRE)verify.$(OBJEXT) \
105                 $(OUTPRE)t_quad$(EXEEXT) $(OUTPRE)t_quad.$(OBJEXT) \
106                 $(OUTPRE)t_pcbc$(EXEEXT) $(OUTPRE)t_pcbc.$(OBJEXT)
107
108 clean-unix:: clean-liblinks clean-libs clean-libobjs
109
110 install-unix:: install-libs
111
112 # @lib_frag@
113 # @libobj_frag@
114
115 # +++ Dependency line eater +++
116
117 # Makefile dependencies follow.  This must be the last section in
118 # the Makefile.in file
119 #
120 cksum.so cksum.po $(OUTPRE)cksum.$(OBJEXT): cksum.c $(srcdir)/../crypto/des/des_int.h \
121   $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
122   $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-platform.h \
123   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
124   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
125   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/kerberosIV/des.h
126 des.so des.po $(OUTPRE)des.$(OBJEXT): des.c $(srcdir)/../crypto/des/des_int.h \
127   $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
128   $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-platform.h \
129   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
130   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
131   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/kerberosIV/des.h
132 enc_dec.so enc_dec.po $(OUTPRE)enc_dec.$(OBJEXT): enc_dec.c $(srcdir)/../crypto/des/des_int.h \
133   $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
134   $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-platform.h \
135   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
136   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
137   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/kerberosIV/des.h
138 key_parity.so key_parity.po $(OUTPRE)key_parity.$(OBJEXT): key_parity.c $(srcdir)/../crypto/des/des_int.h \
139   $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
140   $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-platform.h \
141   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
142   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
143   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/kerberosIV/des.h
144 key_sched.so key_sched.po $(OUTPRE)key_sched.$(OBJEXT): key_sched.c $(srcdir)/../crypto/des/des_int.h \
145   $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
146   $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-platform.h \
147   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
148   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
149   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/kerberosIV/des.h
150 new_rnd_key.so new_rnd_key.po $(OUTPRE)new_rnd_key.$(OBJEXT): new_rnd_key.c $(srcdir)/../crypto/des/des_int.h \
151   $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
152   $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-platform.h \
153   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
154   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
155   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/kerberosIV/des.h
156 pcbc_encrypt.so pcbc_encrypt.po $(OUTPRE)pcbc_encrypt.$(OBJEXT): pcbc_encrypt.c $(srcdir)/../crypto/des/des_int.h \
157   $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
158   $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-platform.h \
159   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
160   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
161   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/kerberosIV/des.h \
162   $(srcdir)/../crypto/des/f_tables.h
163 quad_cksum.so quad_cksum.po $(OUTPRE)quad_cksum.$(OBJEXT): quad_cksum.c $(srcdir)/../crypto/des/des_int.h \
164   $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
165   $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-platform.h \
166   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
167   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
168   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/kerberosIV/des.h
169 random_key.so random_key.po $(OUTPRE)random_key.$(OBJEXT): random_key.c $(srcdir)/../crypto/des/des_int.h \
170   $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
171   $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-platform.h \
172   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
173   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
174   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/kerberosIV/des.h
175 read_passwd.so read_passwd.po $(OUTPRE)read_passwd.$(OBJEXT): read_passwd.c $(srcdir)/../crypto/des/des_int.h \
176   $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
177   $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-platform.h \
178   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
179   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
180   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/kerberosIV/des.h
181 str_to_key.so str_to_key.po $(OUTPRE)str_to_key.$(OBJEXT): str_to_key.c $(srcdir)/../crypto/des/des_int.h \
182   $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
183   $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-platform.h \
184   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
185   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
186   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/kerberosIV/des.h
187 unix_time.so unix_time.po $(OUTPRE)unix_time.$(OBJEXT): unix_time.c $(SRCTOP)/include/k5-int.h \
188   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
189   $(SRCTOP)/include/k5-platform.h $(BUILDTOP)/include/krb5.h \
190   $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h $(SRCTOP)/include/port-sockets.h \
191   $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/krb5/kdb.h
192 util.so util.po $(OUTPRE)util.$(OBJEXT): util.c $(SRCTOP)/include/k5-int.h \
193   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
194   $(SRCTOP)/include/k5-platform.h $(BUILDTOP)/include/krb5.h \
195   $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h $(SRCTOP)/include/port-sockets.h \
196   $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/krb5/kdb.h \
197   $(srcdir)/../crypto/des/des_int.h $(SRCTOP)/include/kerberosIV/des.h
198 weak_key.so weak_key.po $(OUTPRE)weak_key.$(OBJEXT): weak_key.c $(srcdir)/../crypto/des/des_int.h \
199   $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
200   $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-platform.h \
201   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
202   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
203   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/kerberosIV/des.h
204