66d0dcdfd7f4978825a6b8ad33cff438120e6c0f
[krb5.git] / src / lib / krb5 / os / Makefile.in
1 thisconfigdir=./..
2 myfulldir=lib/krb5/os
3 mydir=os
4 BUILDTOP=$(REL)..$(S)..$(S)..
5 KRB5_RUN_ENV = @KRB5_RUN_ENV@
6 PROG_LIBPATH=-L$(TOPLIBD)
7 PROG_RPATH=$(KRB5_LIBDIR)
8
9 ##DOS##BUILDTOP = ..\..\..
10 ##DOS##PREFIXDIR=os
11 ##DOS##OBJFILE=..\$(OUTPRE)$(PREFIXDIR).lst
12
13 STLIBOBJS= \
14         accessor.o      \
15         an_to_ln.o      \
16         c_ustime.o      \
17         def_realm.o     \
18         ccdefname.o     \
19         changepw.o      \
20         dnsglue.o       \
21         dnssrv.o        \
22         free_krbhs.o    \
23         free_hstrl.o    \
24         full_ipadr.o    \
25         get_krbhst.o    \
26         gen_port.o      \
27         genaddrs.o      \
28         gen_rname.o     \
29         gmt_mktime.o    \
30         hostaddr.o      \
31         hst_realm.o     \
32         init_os_ctx.o   \
33         krbfileio.o     \
34         ktdefname.o     \
35         kuserok.o       \
36         mk_faddr.o      \
37         localaddr.o     \
38         locate_kdc.o    \
39         lock_file.o     \
40         net_read.o      \
41         net_write.o     \
42         osconfig.o      \
43         port2ip.o       \
44         prompter.o      \
45         read_msg.o      \
46         read_pwd.o      \
47         realm_dom.o     \
48         realm_iter.o    \
49         send524.o       \
50         sendto_kdc.o    \
51         sn2princ.o      \
52         timeofday.o     \
53         toffset.o       \
54         unlck_file.o    \
55         ustime.o        \
56         write_msg.o
57
58 OBJS= \
59         $(OUTPRE)accessor.$(OBJEXT)     \
60         $(OUTPRE)an_to_ln.$(OBJEXT)     \
61         $(OUTPRE)c_ustime.$(OBJEXT)     \
62         $(OUTPRE)def_realm.$(OBJEXT)    \
63         $(OUTPRE)ccdefname.$(OBJEXT)    \
64         $(OUTPRE)changepw.$(OBJEXT)     \
65         $(OUTPRE)dnsglue.$(OBJEXT)      \
66         $(OUTPRE)dnssrv.$(OBJEXT)       \
67         $(OUTPRE)free_krbhs.$(OBJEXT)   \
68         $(OUTPRE)free_hstrl.$(OBJEXT)   \
69         $(OUTPRE)full_ipadr.$(OBJEXT)   \
70         $(OUTPRE)get_krbhst.$(OBJEXT)   \
71         $(OUTPRE)gen_port.$(OBJEXT)     \
72         $(OUTPRE)genaddrs.$(OBJEXT)     \
73         $(OUTPRE)gen_rname.$(OBJEXT)    \
74         $(OUTPRE)gmt_mktime.$(OBJEXT)   \
75         $(OUTPRE)hostaddr.$(OBJEXT)     \
76         $(OUTPRE)hst_realm.$(OBJEXT)    \
77         $(OUTPRE)init_os_ctx.$(OBJEXT)  \
78         $(OUTPRE)krbfileio.$(OBJEXT)    \
79         $(OUTPRE)ktdefname.$(OBJEXT)    \
80         $(OUTPRE)kuserok.$(OBJEXT)      \
81         $(OUTPRE)mk_faddr.$(OBJEXT)     \
82         $(OUTPRE)localaddr.$(OBJEXT)    \
83         $(OUTPRE)locate_kdc.$(OBJEXT)   \
84         $(OUTPRE)lock_file.$(OBJEXT)    \
85         $(OUTPRE)net_read.$(OBJEXT)     \
86         $(OUTPRE)net_write.$(OBJEXT)    \
87         $(OUTPRE)osconfig.$(OBJEXT)     \
88         $(OUTPRE)port2ip.$(OBJEXT)      \
89         $(OUTPRE)prompter.$(OBJEXT)     \
90         $(OUTPRE)read_msg.$(OBJEXT)     \
91         $(OUTPRE)read_pwd.$(OBJEXT)     \
92         $(OUTPRE)realm_dom.$(OBJEXT)    \
93         $(OUTPRE)realm_iter.$(OBJEXT)   \
94         $(OUTPRE)send524.$(OBJEXT)      \
95         $(OUTPRE)sendto_kdc.$(OBJEXT)   \
96         $(OUTPRE)sn2princ.$(OBJEXT)     \
97         $(OUTPRE)timeofday.$(OBJEXT)    \
98         $(OUTPRE)toffset.$(OBJEXT)      \
99         $(OUTPRE)unlck_file.$(OBJEXT)   \
100         $(OUTPRE)ustime.$(OBJEXT)       \
101         $(OUTPRE)write_msg.$(OBJEXT)
102
103 SRCS= \
104         $(srcdir)/accessor.c    \
105         $(srcdir)/an_to_ln.c    \
106         $(srcdir)/c_ustime.c    \
107         $(srcdir)/def_realm.c   \
108         $(srcdir)/ccdefname.c   \
109         $(srcdir)/changepw.c    \
110         $(srcdir)/dnsglue.c     \
111         $(srcdir)/dnssrv.c      \
112         $(srcdir)/free_krbhs.c  \
113         $(srcdir)/free_hstrl.c  \
114         $(srcdir)/full_ipadr.c  \
115         $(srcdir)/get_krbhst.c  \
116         $(srcdir)/gen_port.c    \
117         $(srcdir)/genaddrs.c    \
118         $(srcdir)/gen_rname.c   \
119         $(srcdir)/gmt_mktime.c  \
120         $(srcdir)/hostaddr.c    \
121         $(srcdir)/hst_realm.c   \
122         $(srcdir)/init_os_ctx.c \
123         $(srcdir)/krbfileio.c   \
124         $(srcdir)/ktdefname.c   \
125         $(srcdir)/kuserok.c     \
126         $(srcdir)/mk_faddr.c    \
127         $(srcdir)/localaddr.c   \
128         $(srcdir)/locate_kdc.c  \
129         $(srcdir)/lock_file.c   \
130         $(srcdir)/net_read.c    \
131         $(srcdir)/net_write.c   \
132         $(srcdir)/osconfig.c    \
133         $(srcdir)/prompter.c    \
134         $(srcdir)/read_msg.c    \
135         $(srcdir)/read_pwd.c    \
136         $(srcdir)/realm_dom.c   \
137         $(srcdir)/realm_iter.c  \
138         $(srcdir)/port2ip.c     \
139         $(srcdir)/send524.c     \
140         $(srcdir)/sendto_kdc.c  \
141         $(srcdir)/sn2princ.c    \
142         $(srcdir)/timeofday.c   \
143         $(srcdir)/toffset.c     \
144         $(srcdir)/unlck_file.c  \
145         $(srcdir)/ustime.c      \
146         $(srcdir)/write_msg.c
147
148 EXTRADEPSRCS = \
149         t_an_to_ln.c t_gifconf.c t_locate_kdc.c t_realm_iter.c \
150         t_std_conf.c
151
152 ##DOS##LIBOBJS = $(OBJS)
153
154 all-unix:: all-libobjs
155 clean-unix:: clean-libobjs
156
157 shared:
158         mkdir shared
159
160 TEST_PROGS= t_std_conf t_an_to_ln t_locate_kdc
161
162 T_STD_CONF_OBJS= t_std_conf.o def_realm.o get_krbhst.o realm_dom.o \
163                 hst_realm.o init_os_ctx.o locate_kdc.o dnsglue.o 
164
165 T_AN_TO_LN_OBJS = t_an_to_ln.o an_to_ln.o 
166
167 T_REALM_ITER_OBJS = t_realm_iter.o realm_iter.o
168
169 t_std_conf: $(T_STD_CONF_OBJS) $(KRB5_BASE_DEPLIBS)
170         $(CC_LINK) -o t_std_conf $(T_STD_CONF_OBJS) $(KRB5_BASE_LIBS)
171
172 t_an_to_ln: $(T_AN_TO_LN_OBJS) $(KRB5_BASE_DEPLIBS)
173         $(CC_LINK) -o t_an_to_ln $(T_AN_TO_LN_OBJS) $(KRB5_BASE_LIBS)
174
175 t_realm_iter: $(T_REALM_ITER_OBJS) $(KRB5_BASE_DEPLIBS)
176         $(CC_LINK) -o t_realm_iter $(T_REALM_ITER_OBJS) $(KRB5_BASE_LIBS)
177
178 t_mktime: gmt_mktime.c
179         $(CC) $(ALL_CFLAGS) -DTEST_LEAP -o t_mktime $(srcdir)/gmt_mktime.c
180
181 t_localaddr: localaddr.c
182         $(CC) $(ALL_CFLAGS) -DTEST -o t_localaddr $(srcdir)/localaddr.c $(LIBS)
183
184 t_locate_kdc: t_locate_kdc.o
185         $(CC_LINK) $(ALL_CFLAGS) -o t_locate_kdc t_locate_kdc.o \
186                 $(KRB5_BASE_LIBS)
187 t_locate_kdc.o: t_locate_kdc.c locate_kdc.c
188
189 LCLINT=lclint
190 LCLINTOPTS= -warnposix \
191         -usedef +charintliteral +ignoresigns -predboolint +boolint \
192         -exportlocal -retvalint \
193         +mod-uncon +modinternalstrict +modfilesys
194 lclint-localaddr: localaddr.c
195         $(LCLINT) $(LCLINTOPTS) $(CPPFLAGS) $(LOCALINCLUDES) $(DEFS) \
196                 -DTEST $(srcdir)/localaddr.c
197
198 check-unix:: $(TEST_PROGS)
199         KRB5_CONFIG=$(srcdir)/td_krb5.conf ; export KRB5_CONFIG ;\
200         $(KRB5_RUN_ENV) ./t_std_conf  -d -s NEW.DEFAULT.REALM -d \
201                 -k IGGY.ORG -k DEFAULT_REALM.TST \
202                 -D DEFAULT_REALM.TST -r bad.idea -r itar.bad.idea \
203                 -r really.BAD.IDEA. -r clipper.bad.idea -r KeYEsCrOW.BaD.IDea \
204                 -r pgp.good.idea -r no_domain > test.out
205         cmp test.out $(srcdir)/ref_std_conf.out
206         $(RM) test.out
207         KRB5_CONFIG=$(srcdir)/td_krb5.conf ; export KRB5_CONFIG ;\
208         $(KRB5_RUN_ENV) ./t_locate_kdc ATHENA.MIT.EDU
209
210 #
211 # Do some aname-to-lname testing.
212 #
213 check-unix::
214         echo '[libdefaults]' > ./t_an.conf
215         echo '  default_realm = r' >> ./t_an.conf
216         echo '[realms]' >> ./t_an.conf
217         echo 'r = {' >> ./t_an.conf
218 #       if test -r ../../../admin/aname/kdb5_anadd ; then \
219 #               $(KRB5_RUN_ENV) ../../../admin/aname/kdb5_anadd -a -n ./t_an p/i/i/i@r piii; \
220 #               ../../../admin/aname/kdb5_anadd -a -n ./t_an p/a/b/c@r pabc; \
221 #               echo 'auth_to_local = DB:./t_an' >> ./t_an.conf; \
222 #       fi
223         echo 'auth_to_local = RULE:[3:$$1$$3$$2](rule.*)s/rule//g' \
224                 >> ./t_an.conf
225         echo 'auth_to_local = DEFAULT' >> ./t_an.conf
226         echo '}' >> ./t_an.conf
227 #       if test -r ../../../admin/aname/kdb5_anadd ; then \
228 #               KRB5_CONFIG=./t_an.conf ; export KRB5_CONFIG ; \
229 #               $(KRB5_RUN_ENV) ./t_an_to_ln p/i/i/i@r p/a/b/c@r; \
230 #       fi
231         KRB5_CONFIG=./t_an.conf ; export KRB5_CONFIG ; \
232         $(KRB5_RUN_ENV) ./t_an_to_ln rul/helpme/e@r ru/123/le@r
233         KRB5_CONFIG=./t_an.conf ; export KRB5_CONFIG ; \
234         $(KRB5_RUN_ENV) ./t_an_to_ln fred/r@r barney/r@r
235         $(RM) ./t_an.*
236
237 clean:: 
238         $(RM) $(TEST_PROGS) test.out t_std_conf.o t_an_to_ln.o
239
240 # @libobj_frag@
241
242 # +++ Dependency line eater +++
243
244 # Makefile dependencies follow.  This must be the last section in
245 # the Makefile.in file
246 #
247 accessor.so accessor.po $(OUTPRE)accessor.$(OBJEXT): accessor.c $(SRCTOP)/include/k5-int.h \
248   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
249   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
250   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
251   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
252   $(SRCTOP)/include/krb5/kdb.h os-proto.h
253 an_to_ln.so an_to_ln.po $(OUTPRE)an_to_ln.$(OBJEXT): an_to_ln.c $(SRCTOP)/include/k5-int.h \
254   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
255   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
256   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
257   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
258   $(SRCTOP)/include/krb5/kdb.h
259 c_ustime.so c_ustime.po $(OUTPRE)c_ustime.$(OBJEXT): c_ustime.c $(SRCTOP)/include/k5-int.h \
260   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
261   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
262   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
263   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
264   $(SRCTOP)/include/krb5/kdb.h
265 def_realm.so def_realm.po $(OUTPRE)def_realm.$(OBJEXT): def_realm.c $(SRCTOP)/include/k5-int.h \
266   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
267   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
268   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
269   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
270   $(SRCTOP)/include/krb5/kdb.h os-proto.h
271 ccdefname.so ccdefname.po $(OUTPRE)ccdefname.$(OBJEXT): ccdefname.c $(SRCTOP)/include/k5-int.h \
272   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
273   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
274   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
275   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
276   $(SRCTOP)/include/krb5/kdb.h
277 changepw.so changepw.po $(OUTPRE)changepw.$(OBJEXT): changepw.c $(SRCTOP)/include/fake-addrinfo.h \
278   $(SRCTOP)/include/port-sockets.h $(BUILDTOP)/include/krb5/autoconf.h \
279   $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/k5-platform.h \
280   $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/k5-int.h \
281   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5.h \
282   $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h $(SRCTOP)/include/krb5/kdb.h \
283   os-proto.h
284 dnsglue.so dnsglue.po $(OUTPRE)dnsglue.$(OBJEXT): dnsglue.c dnsglue.h $(SRCTOP)/include/k5-int.h \
285   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
286   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
287   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
288   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
289   $(SRCTOP)/include/krb5/kdb.h os-proto.h
290 dnssrv.so dnssrv.po $(OUTPRE)dnssrv.$(OBJEXT): dnssrv.c dnsglue.h $(SRCTOP)/include/k5-int.h \
291   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
292   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
293   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
294   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
295   $(SRCTOP)/include/krb5/kdb.h os-proto.h
296 free_krbhs.so free_krbhs.po $(OUTPRE)free_krbhs.$(OBJEXT): free_krbhs.c $(SRCTOP)/include/k5-int.h \
297   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
298   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
299   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
300   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
301   $(SRCTOP)/include/krb5/kdb.h
302 free_hstrl.so free_hstrl.po $(OUTPRE)free_hstrl.$(OBJEXT): free_hstrl.c $(SRCTOP)/include/k5-int.h \
303   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
304   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
305   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
306   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
307   $(SRCTOP)/include/krb5/kdb.h
308 full_ipadr.so full_ipadr.po $(OUTPRE)full_ipadr.$(OBJEXT): full_ipadr.c $(SRCTOP)/include/k5-int.h \
309   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
310   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
311   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
312   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
313   $(SRCTOP)/include/krb5/kdb.h os-proto.h
314 get_krbhst.so get_krbhst.po $(OUTPRE)get_krbhst.$(OBJEXT): get_krbhst.c $(SRCTOP)/include/k5-int.h \
315   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
316   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
317   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
318   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
319   $(SRCTOP)/include/krb5/kdb.h
320 gen_port.so gen_port.po $(OUTPRE)gen_port.$(OBJEXT): gen_port.c $(SRCTOP)/include/k5-int.h \
321   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
322   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
323   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
324   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
325   $(SRCTOP)/include/krb5/kdb.h os-proto.h
326 genaddrs.so genaddrs.po $(OUTPRE)genaddrs.$(OBJEXT): genaddrs.c $(SRCTOP)/include/k5-int.h \
327   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
328   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
329   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
330   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
331   $(SRCTOP)/include/krb5/kdb.h os-proto.h
332 gen_rname.so gen_rname.po $(OUTPRE)gen_rname.$(OBJEXT): gen_rname.c $(SRCTOP)/include/k5-int.h \
333   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
334   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
335   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
336   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
337   $(SRCTOP)/include/krb5/kdb.h os-proto.h
338 gmt_mktime.so gmt_mktime.po $(OUTPRE)gmt_mktime.$(OBJEXT): gmt_mktime.c $(SRCTOP)/include/k5-int.h \
339   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
340   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
341   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
342   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
343   $(SRCTOP)/include/krb5/kdb.h
344 hostaddr.so hostaddr.po $(OUTPRE)hostaddr.$(OBJEXT): hostaddr.c $(SRCTOP)/include/k5-int.h \
345   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
346   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
347   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
348   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
349   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/fake-addrinfo.h
350 hst_realm.so hst_realm.po $(OUTPRE)hst_realm.$(OBJEXT): hst_realm.c $(SRCTOP)/include/k5-int.h \
351   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
352   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
353   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
354   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
355   $(SRCTOP)/include/krb5/kdb.h os-proto.h $(SRCTOP)/include/fake-addrinfo.h \
356   dnsglue.h
357 init_os_ctx.so init_os_ctx.po $(OUTPRE)init_os_ctx.$(OBJEXT): init_os_ctx.c $(SRCTOP)/include/k5-int.h \
358   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
359   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
360   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
361   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
362   $(SRCTOP)/include/krb5/kdb.h os-proto.h
363 krbfileio.so krbfileio.po $(OUTPRE)krbfileio.$(OBJEXT): krbfileio.c $(SRCTOP)/include/k5-int.h \
364   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
365   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
366   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
367   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
368   $(SRCTOP)/include/krb5/kdb.h
369 ktdefname.so ktdefname.po $(OUTPRE)ktdefname.$(OBJEXT): ktdefname.c $(SRCTOP)/include/k5-int.h \
370   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
371   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
372   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
373   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
374   $(SRCTOP)/include/krb5/kdb.h
375 kuserok.so kuserok.po $(OUTPRE)kuserok.$(OBJEXT): kuserok.c $(SRCTOP)/include/k5-int.h \
376   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
377   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
378   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
379   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
380   $(SRCTOP)/include/krb5/kdb.h
381 mk_faddr.so mk_faddr.po $(OUTPRE)mk_faddr.$(OBJEXT): mk_faddr.c $(SRCTOP)/include/k5-int.h \
382   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
383   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
384   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
385   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
386   $(SRCTOP)/include/krb5/kdb.h os-proto.h
387 localaddr.so localaddr.po $(OUTPRE)localaddr.$(OBJEXT): localaddr.c $(SRCTOP)/include/k5-int.h \
388   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
389   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
390   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
391   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
392   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/foreachaddr.h
393 locate_kdc.so locate_kdc.po $(OUTPRE)locate_kdc.$(OBJEXT): locate_kdc.c $(SRCTOP)/include/fake-addrinfo.h \
394   $(SRCTOP)/include/port-sockets.h $(BUILDTOP)/include/krb5/autoconf.h \
395   $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/k5-platform.h \
396   $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/k5-int.h \
397   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5.h \
398   $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h $(SRCTOP)/include/krb5/kdb.h \
399   os-proto.h
400 lock_file.so lock_file.po $(OUTPRE)lock_file.$(OBJEXT): lock_file.c $(SRCTOP)/include/k5-int.h \
401   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
402   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
403   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
404   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
405   $(SRCTOP)/include/krb5/kdb.h
406 net_read.so net_read.po $(OUTPRE)net_read.$(OBJEXT): net_read.c $(SRCTOP)/include/k5-int.h \
407   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
408   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
409   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
410   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
411   $(SRCTOP)/include/krb5/kdb.h
412 net_write.so net_write.po $(OUTPRE)net_write.$(OBJEXT): net_write.c $(SRCTOP)/include/k5-int.h \
413   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
414   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
415   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
416   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
417   $(SRCTOP)/include/krb5/kdb.h
418 osconfig.so osconfig.po $(OUTPRE)osconfig.$(OBJEXT): osconfig.c $(SRCTOP)/include/k5-int.h \
419   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
420   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
421   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
422   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
423   $(SRCTOP)/include/krb5/kdb.h
424 prompter.so prompter.po $(OUTPRE)prompter.$(OBJEXT): prompter.c $(SRCTOP)/include/k5-int.h \
425   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
426   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
427   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
428   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
429   $(SRCTOP)/include/krb5/kdb.h
430 read_msg.so read_msg.po $(OUTPRE)read_msg.$(OBJEXT): read_msg.c $(SRCTOP)/include/k5-int.h \
431   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
432   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
433   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
434   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
435   $(SRCTOP)/include/krb5/kdb.h
436 read_pwd.so read_pwd.po $(OUTPRE)read_pwd.$(OBJEXT): read_pwd.c $(SRCTOP)/include/k5-int.h \
437   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
438   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
439   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
440   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
441   $(SRCTOP)/include/krb5/kdb.h
442 realm_dom.so realm_dom.po $(OUTPRE)realm_dom.$(OBJEXT): realm_dom.c $(SRCTOP)/include/k5-int.h \
443   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
444   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
445   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
446   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
447   $(SRCTOP)/include/krb5/kdb.h
448 realm_iter.so realm_iter.po $(OUTPRE)realm_iter.$(OBJEXT): realm_iter.c $(SRCTOP)/include/k5-int.h \
449   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
450   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
451   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
452   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
453   $(SRCTOP)/include/krb5/kdb.h
454 port2ip.so port2ip.po $(OUTPRE)port2ip.$(OBJEXT): port2ip.c $(SRCTOP)/include/k5-int.h \
455   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
456   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
457   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
458   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
459   $(SRCTOP)/include/krb5/kdb.h os-proto.h
460 send524.so send524.po $(OUTPRE)send524.$(OBJEXT): send524.c $(SRCTOP)/include/fake-addrinfo.h \
461   $(SRCTOP)/include/port-sockets.h $(BUILDTOP)/include/krb5/autoconf.h \
462   $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/k5-platform.h \
463   $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/k5-int.h \
464   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5.h \
465   $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h $(SRCTOP)/include/krb5/kdb.h \
466   os-proto.h
467 sendto_kdc.so sendto_kdc.po $(OUTPRE)sendto_kdc.$(OBJEXT): sendto_kdc.c $(SRCTOP)/include/fake-addrinfo.h \
468   $(SRCTOP)/include/port-sockets.h $(BUILDTOP)/include/krb5/autoconf.h \
469   $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/k5-platform.h \
470   $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/k5-int.h \
471   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5.h \
472   $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h $(SRCTOP)/include/krb5/kdb.h \
473   os-proto.h $(SRCTOP)/include/cm.h
474 sn2princ.so sn2princ.po $(OUTPRE)sn2princ.$(OBJEXT): sn2princ.c $(SRCTOP)/include/k5-int.h \
475   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
476   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
477   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
478   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
479   $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/fake-addrinfo.h
480 timeofday.so timeofday.po $(OUTPRE)timeofday.$(OBJEXT): timeofday.c $(SRCTOP)/include/k5-int.h \
481   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
482   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
483   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
484   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
485   $(SRCTOP)/include/krb5/kdb.h
486 toffset.so toffset.po $(OUTPRE)toffset.$(OBJEXT): toffset.c $(SRCTOP)/include/k5-int.h \
487   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
488   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
489   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
490   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
491   $(SRCTOP)/include/krb5/kdb.h
492 unlck_file.so unlck_file.po $(OUTPRE)unlck_file.$(OBJEXT): unlck_file.c $(SRCTOP)/include/k5-int.h \
493   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
494   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
495   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
496   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
497   $(SRCTOP)/include/krb5/kdb.h
498 ustime.so ustime.po $(OUTPRE)ustime.$(OBJEXT): ustime.c $(SRCTOP)/include/k5-int.h \
499   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
500   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
501   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
502   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
503   $(SRCTOP)/include/krb5/kdb.h
504 write_msg.so write_msg.po $(OUTPRE)write_msg.$(OBJEXT): write_msg.c $(SRCTOP)/include/k5-int.h \
505   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
506   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
507   $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
508   $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
509   $(SRCTOP)/include/krb5/kdb.h
510 t_an_to_ln.so t_an_to_ln.po $(OUTPRE)t_an_to_ln.$(OBJEXT): t_an_to_ln.c $(BUILDTOP)/include/krb5.h \
511   $(COM_ERR_DEPS)
512 t_gifconf.so t_gifconf.po $(OUTPRE)t_gifconf.$(OBJEXT): t_gifconf.c
513 t_locate_kdc.so t_locate_kdc.po $(OUTPRE)t_locate_kdc.$(OBJEXT): t_locate_kdc.c $(COM_ERR_DEPS) \
514   locate_kdc.c $(SRCTOP)/include/fake-addrinfo.h $(SRCTOP)/include/port-sockets.h \
515   $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/socket-utils.h \
516   $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
517   $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
518   $(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \
519   $(SRCTOP)/include/krb5/kdb.h os-proto.h
520 t_realm_iter.so t_realm_iter.po $(OUTPRE)t_realm_iter.$(OBJEXT): t_realm_iter.c $(BUILDTOP)/include/krb5.h \
521   $(COM_ERR_DEPS)
522 t_std_conf.so t_std_conf.po $(OUTPRE)t_std_conf.$(OBJEXT): t_std_conf.c $(SRCTOP)/include/fake-addrinfo.h \
523   $(SRCTOP)/include/port-sockets.h $(BUILDTOP)/include/krb5/autoconf.h \
524   $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/k5-platform.h \
525   $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/k5-int.h \
526   $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5.h \
527   $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h $(SRCTOP)/include/krb5/kdb.h \
528   os-proto.h
529