Makefile.in revision 55682
1# Makefile.in generated automatically by automake 1.4 from Makefile.am
2
3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4# This Makefile.in is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11# PARTICULAR PURPOSE.
12
13# $Id: Makefile.am,v 1.30 1999/12/21 17:03:11 assar Exp $
14
15
16# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
17
18
19# $Id: Makefile.am.common,v 1.13 1999/11/01 03:19:58 assar Exp $
20
21
22SHELL = @SHELL@
23
24srcdir = @srcdir@
25top_srcdir = @top_srcdir@
26VPATH = @srcdir@
27prefix = @prefix@
28exec_prefix = @exec_prefix@
29
30bindir = @bindir@
31sbindir = @sbindir@
32libexecdir = @libexecdir@
33datadir = @datadir@
34sysconfdir = @sysconfdir@
35sharedstatedir = @sharedstatedir@
36localstatedir = @localstatedir@
37libdir = @libdir@
38infodir = @infodir@
39mandir = @mandir@
40includedir = @includedir@
41oldincludedir = /usr/include
42
43DESTDIR =
44
45pkgdatadir = $(datadir)/@PACKAGE@
46pkglibdir = $(libdir)/@PACKAGE@
47pkgincludedir = $(includedir)/@PACKAGE@
48
49top_builddir = ..
50
51ACLOCAL = @ACLOCAL@
52AUTOCONF = @AUTOCONF@
53AUTOMAKE = @AUTOMAKE@
54AUTOHEADER = @AUTOHEADER@
55
56INSTALL = @INSTALL@
57INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
58INSTALL_DATA = @INSTALL_DATA@
59INSTALL_SCRIPT = @INSTALL_SCRIPT@
60transform = @program_transform_name@
61
62NORMAL_INSTALL = :
63PRE_INSTALL = :
64POST_INSTALL = :
65NORMAL_UNINSTALL = :
66PRE_UNINSTALL = :
67POST_UNINSTALL = :
68host_alias = @host_alias@
69host_triplet = @host@
70AFS_EXTRA_LD = @AFS_EXTRA_LD@
71AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
72AWK = @AWK@
73CANONICAL_HOST = @CANONICAL_HOST@
74CATMAN = @CATMAN@
75CATMANEXT = @CATMANEXT@
76CC = @CC@
77DBLIB = @DBLIB@
78EXEEXT = @EXEEXT@
79EXTRA_LIB45 = @EXTRA_LIB45@
80GROFF = @GROFF@
81INCLUDE_ = @INCLUDE_@
82LD = @LD@
83LEX = @LEX@
84LIBOBJS = @LIBOBJS@
85LIBTOOL = @LIBTOOL@
86LIB_ = @LIB_@
87LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
88LIB_kdb = @LIB_kdb@
89LIB_otp = @LIB_otp@
90LIB_roken = @LIB_roken@
91LIB_security = @LIB_security@
92LN_S = @LN_S@
93LTLIBOBJS = @LTLIBOBJS@
94MAKEINFO = @MAKEINFO@
95MAKE_X_PROGS_BIN_PROGS = @MAKE_X_PROGS_BIN_PROGS@
96MAKE_X_PROGS_BIN_SCRPTS = @MAKE_X_PROGS_BIN_SCRPTS@
97MAKE_X_PROGS_LIBEXEC_PROGS = @MAKE_X_PROGS_LIBEXEC_PROGS@
98NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
99NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
100NM = @NM@
101NROFF = @NROFF@
102OBJEXT = @OBJEXT@
103PACKAGE = @PACKAGE@
104RANLIB = @RANLIB@
105VERSION = @VERSION@
106VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
107WFLAGS = @WFLAGS@
108WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
109WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
110YACC = @YACC@
111
112AUTOMAKE_OPTIONS = foreign no-dependencies
113
114SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
115
116INCLUDES = -DHOST=\"$(CANONICAL_HOST)\"
117
118AM_CFLAGS =  $(WFLAGS)
119
120COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
121
122buildinclude = $(top_builddir)/include
123
124LIB_XauReadAuth = @LIB_XauReadAuth@
125LIB_crypt = @LIB_crypt@
126LIB_dbm_firstkey = @LIB_dbm_firstkey@
127LIB_dbopen = @LIB_dbopen@
128LIB_dlopen = @LIB_dlopen@
129LIB_dn_expand = @LIB_dn_expand@
130LIB_el_init = @LIB_el_init@
131LIB_getattr = @LIB_getattr@
132LIB_gethostbyname = @LIB_gethostbyname@
133LIB_getpwent_r = @LIB_getpwent_r@
134LIB_getpwnam_r = @LIB_getpwnam_r@
135LIB_getsockopt = @LIB_getsockopt@
136LIB_logout = @LIB_logout@
137LIB_logwtmp = @LIB_logwtmp@
138LIB_odm_initialize = @LIB_odm_initialize@
139LIB_readline = @LIB_readline@
140LIB_res_search = @LIB_res_search@
141LIB_setpcred = @LIB_setpcred@
142LIB_setsockopt = @LIB_setsockopt@
143LIB_socket = @LIB_socket@
144LIB_syslog = @LIB_syslog@
145LIB_tgetent = @LIB_tgetent@
146
147HESIODLIB = @HESIODLIB@
148HESIODINCLUDE = @HESIODINCLUDE@
149INCLUDE_hesiod = @INCLUDE_hesiod@
150LIB_hesiod = @LIB_hesiod@
151
152INCLUDE_krb4 = @INCLUDE_krb4@
153LIB_krb4 = @LIB_krb4@
154
155INCLUDE_readline = @INCLUDE_readline@
156
157LEXLIB = @LEXLIB@
158
159cat1dir = $(mandir)/cat1
160cat3dir = $(mandir)/cat3
161cat5dir = $(mandir)/cat5
162cat8dir = $(mandir)/cat8
163
164MANRX = \(.*\)\.\([0-9]\)
165CATSUFFIX = @CATSUFFIX@
166
167NROFF_MAN = groff -mandoc -Tascii
168
169@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
170
171@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la 	$(top_builddir)/lib/asn1/libasn1.la
172@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
173CHECK_LOCAL = 
174
175SUBDIRS = kadm5
176
177noinst_PROGRAMS = bits
178
179include_HEADERS = krb5-types.h
180
181CLEANFILES =  	asn1.h			asn1_err.h		base64.h		com_err.h		com_right.h		der.h			des.h			editline.h		err.h			getarg.h		glob.h			gssapi.h		hdb.h			hdb_asn1.h		hdb_err.h		heim_err.h		kafs.h			krb5-protos.h		krb5-private.h		krb5-types.h		krb5.h			krb5_err.h		md4.h			md5.h			otp.h			parse_time.h		parse_units.h		resolve.h		roken-common.h		roken.h			sha.h			sl.h			xdbm.h
182
183mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
184CONFIG_HEADER = config.h
185CONFIG_CLEAN_FILES = 
186noinst_PROGRAMS =  bits$(EXEEXT)
187PROGRAMS =  $(noinst_PROGRAMS)
188
189
190DEFS = @DEFS@ -I. -I$(srcdir) -I.
191CPPFLAGS = @CPPFLAGS@
192LDFLAGS = @LDFLAGS@
193LIBS = @LIBS@
194X_CFLAGS = @X_CFLAGS@
195X_LIBS = @X_LIBS@
196X_EXTRA_LIBS = @X_EXTRA_LIBS@
197X_PRE_LIBS = @X_PRE_LIBS@
198bits_SOURCES = bits.c
199bits_OBJECTS =  bits.$(OBJEXT)
200bits_LDADD = $(LDADD)
201bits_DEPENDENCIES = 
202bits_LDFLAGS = 
203CFLAGS = @CFLAGS@
204COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
205LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
206CCLD = $(CC)
207LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
208HEADERS =  $(include_HEADERS)
209
210DIST_COMMON =  ./stamp-h.in Makefile.am Makefile.in config.h.in
211
212
213DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
214
215TAR = tar
216GZIP_ENV = --best
217SOURCES = bits.c
218OBJECTS = bits.$(OBJEXT)
219
220all: all-redirect
221.SUFFIXES:
222.SUFFIXES: .1 .3 .5 .8 .S .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .s .x
223$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
224	cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile
225
226Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
227	cd $(top_builddir) \
228	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
229
230
231config.h: stamp-h
232	@if test ! -f $@; then \
233		rm -f stamp-h; \
234		$(MAKE) stamp-h; \
235	else :; fi
236stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
237	cd $(top_builddir) \
238	  && CONFIG_FILES= CONFIG_HEADERS=include/config.h \
239	     $(SHELL) ./config.status
240	@echo timestamp > stamp-h 2> /dev/null
241$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
242	@if test ! -f $@; then \
243		rm -f $(srcdir)/stamp-h.in; \
244		$(MAKE) $(srcdir)/stamp-h.in; \
245	else :; fi
246$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 
247	cd $(top_srcdir) && $(AUTOHEADER)
248	@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
249
250mostlyclean-hdr:
251
252clean-hdr:
253
254distclean-hdr:
255	-rm -f config.h
256
257maintainer-clean-hdr:
258
259mostlyclean-noinstPROGRAMS:
260
261clean-noinstPROGRAMS:
262	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
263
264distclean-noinstPROGRAMS:
265
266maintainer-clean-noinstPROGRAMS:
267
268.c.o:
269	$(COMPILE) -c $<
270
271# FIXME: We should only use cygpath when building on Windows,
272# and only if it is available.
273.c.obj:
274	$(COMPILE) -c `cygpath -w $<`
275
276.s.o:
277	$(COMPILE) -c $<
278
279.S.o:
280	$(COMPILE) -c $<
281
282mostlyclean-compile:
283	-rm -f *.o core *.core
284	-rm -f *.$(OBJEXT)
285
286clean-compile:
287
288distclean-compile:
289	-rm -f *.tab.c
290
291maintainer-clean-compile:
292
293.c.lo:
294	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
295
296.s.lo:
297	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
298
299.S.lo:
300	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
301
302mostlyclean-libtool:
303	-rm -f *.lo
304
305clean-libtool:
306	-rm -rf .libs _libs
307
308distclean-libtool:
309
310maintainer-clean-libtool:
311
312bits$(EXEEXT): $(bits_OBJECTS) $(bits_DEPENDENCIES)
313	@rm -f bits$(EXEEXT)
314	$(LINK) $(bits_LDFLAGS) $(bits_OBJECTS) $(bits_LDADD) $(LIBS)
315
316install-includeHEADERS: $(include_HEADERS)
317	@$(NORMAL_INSTALL)
318	$(mkinstalldirs) $(DESTDIR)$(includedir)
319	@list='$(include_HEADERS)'; for p in $$list; do \
320	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
321	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
322	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
323	done
324
325uninstall-includeHEADERS:
326	@$(NORMAL_UNINSTALL)
327	list='$(include_HEADERS)'; for p in $$list; do \
328	  rm -f $(DESTDIR)$(includedir)/$$p; \
329	done
330
331# This directory's subdirectories are mostly independent; you can cd
332# into them and run `make' without going through this Makefile.
333# To change the values of `make' variables: instead of editing Makefiles,
334# (1) if the variable is set in `config.status', edit `config.status'
335#     (which will cause the Makefiles to be regenerated when you run `make');
336# (2) otherwise, pass the desired values on the `make' command line.
337
338@SET_MAKE@
339
340all-recursive install-data-recursive install-exec-recursive \
341installdirs-recursive install-recursive uninstall-recursive  \
342check-recursive installcheck-recursive info-recursive dvi-recursive:
343	@set fnord $(MAKEFLAGS); amf=$$2; \
344	dot_seen=no; \
345	target=`echo $@ | sed s/-recursive//`; \
346	list='$(SUBDIRS)'; for subdir in $$list; do \
347	  echo "Making $$target in $$subdir"; \
348	  if test "$$subdir" = "."; then \
349	    dot_seen=yes; \
350	    local_target="$$target-am"; \
351	  else \
352	    local_target="$$target"; \
353	  fi; \
354	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
355	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
356	done; \
357	if test "$$dot_seen" = "no"; then \
358	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
359	fi; test -z "$$fail"
360
361mostlyclean-recursive clean-recursive distclean-recursive \
362maintainer-clean-recursive:
363	@set fnord $(MAKEFLAGS); amf=$$2; \
364	dot_seen=no; \
365	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
366	  rev="$$subdir $$rev"; \
367	  test "$$subdir" = "." && dot_seen=yes; \
368	done; \
369	test "$$dot_seen" = "no" && rev=". $$rev"; \
370	target=`echo $@ | sed s/-recursive//`; \
371	for subdir in $$rev; do \
372	  echo "Making $$target in $$subdir"; \
373	  if test "$$subdir" = "."; then \
374	    local_target="$$target-am"; \
375	  else \
376	    local_target="$$target"; \
377	  fi; \
378	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
379	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
380	done && test -z "$$fail"
381tags-recursive:
382	list='$(SUBDIRS)'; for subdir in $$list; do \
383	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
384	done
385
386tags: TAGS
387
388ID: $(HEADERS) $(SOURCES) $(LISP)
389	list='$(SOURCES) $(HEADERS)'; \
390	unique=`for i in $$list; do echo $$i; done | \
391	  awk '    { files[$$0] = 1; } \
392	       END { for (i in files) print i; }'`; \
393	here=`pwd` && cd $(srcdir) \
394	  && mkid -f$$here/ID $$unique $(LISP)
395
396TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
397	tags=; \
398	here=`pwd`; \
399	list='$(SUBDIRS)'; for subdir in $$list; do \
400   if test "$$subdir" = .; then :; else \
401	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
402   fi; \
403	done; \
404	list='$(SOURCES) $(HEADERS)'; \
405	unique=`for i in $$list; do echo $$i; done | \
406	  awk '    { files[$$0] = 1; } \
407	       END { for (i in files) print i; }'`; \
408	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
409	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
410
411mostlyclean-tags:
412
413clean-tags:
414
415distclean-tags:
416	-rm -f TAGS ID
417
418maintainer-clean-tags:
419
420distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
421
422subdir = include
423
424distdir: $(DISTFILES)
425	@for file in $(DISTFILES); do \
426	  d=$(srcdir); \
427	  if test -d $$d/$$file; then \
428	    cp -pr $$/$$file $(distdir)/$$file; \
429	  else \
430	    test -f $(distdir)/$$file \
431	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
432	    || cp -p $$d/$$file $(distdir)/$$file || :; \
433	  fi; \
434	done
435	for subdir in $(SUBDIRS); do \
436	  if test "$$subdir" = .; then :; else \
437	    test -d $(distdir)/$$subdir \
438	    || mkdir $(distdir)/$$subdir \
439	    || exit 1; \
440	    chmod 777 $(distdir)/$$subdir; \
441	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
442	      || exit 1; \
443	  fi; \
444	done
445	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
446info-am:
447info: info-recursive
448dvi-am:
449dvi: dvi-recursive
450check-am: all-am
451	$(MAKE) $(AM_MAKEFLAGS) check-local
452check: check-recursive
453installcheck-am:
454installcheck: installcheck-recursive
455all-recursive-am: config.h
456	$(MAKE) $(AM_MAKEFLAGS) all-recursive
457
458install-exec-am:
459	@$(NORMAL_INSTALL)
460	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
461install-exec: install-exec-recursive
462
463install-data-am: install-includeHEADERS install-data-local
464install-data: install-data-recursive
465
466install-am: all-am
467	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
468install: install-recursive
469uninstall-am: uninstall-includeHEADERS
470uninstall: uninstall-recursive
471all-am: Makefile $(PROGRAMS) $(HEADERS) config.h all-local
472all-redirect: all-recursive-am
473install-strip:
474	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
475installdirs: installdirs-recursive
476installdirs-am:
477	$(mkinstalldirs)  $(DESTDIR)$(includedir)
478
479
480mostlyclean-generic:
481
482clean-generic:
483	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
484
485distclean-generic:
486	-rm -f Makefile $(CONFIG_CLEAN_FILES)
487	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
488
489maintainer-clean-generic:
490mostlyclean-am:  mostlyclean-hdr mostlyclean-noinstPROGRAMS \
491		mostlyclean-compile mostlyclean-libtool \
492		mostlyclean-tags mostlyclean-generic
493
494mostlyclean: mostlyclean-recursive
495
496clean-am:  clean-hdr clean-noinstPROGRAMS clean-compile clean-libtool \
497		clean-tags clean-generic mostlyclean-am
498
499clean: clean-recursive
500
501distclean-am:  distclean-hdr distclean-noinstPROGRAMS distclean-compile \
502		distclean-libtool distclean-tags distclean-generic \
503		clean-am
504	-rm -f libtool
505
506distclean: distclean-recursive
507
508maintainer-clean-am:  maintainer-clean-hdr \
509		maintainer-clean-noinstPROGRAMS \
510		maintainer-clean-compile maintainer-clean-libtool \
511		maintainer-clean-tags maintainer-clean-generic \
512		distclean-am
513	@echo "This command is intended for maintainers to use;"
514	@echo "it deletes files that may require special tools to rebuild."
515
516maintainer-clean: maintainer-clean-recursive
517
518.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
519mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
520clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
521mostlyclean-compile distclean-compile clean-compile \
522maintainer-clean-compile mostlyclean-libtool distclean-libtool \
523clean-libtool maintainer-clean-libtool uninstall-includeHEADERS \
524install-includeHEADERS install-data-recursive uninstall-data-recursive \
525install-exec-recursive uninstall-exec-recursive installdirs-recursive \
526uninstalldirs-recursive all-recursive check-recursive \
527installcheck-recursive info-recursive dvi-recursive \
528mostlyclean-recursive distclean-recursive clean-recursive \
529maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
530distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
531dvi-am dvi check-local check check-am installcheck-am installcheck \
532all-recursive-am install-exec-am install-exec install-data-local \
533install-data-am install-data install-am install uninstall-am uninstall \
534all-local all-redirect all-am all installdirs-am installdirs \
535mostlyclean-generic distclean-generic clean-generic \
536maintainer-clean-generic clean mostlyclean distclean maintainer-clean
537
538
539install-suid-programs:
540	@foo='$(bin_SUIDS)'; \
541	for file in $$foo; do \
542	x=$(DESTDIR)$(bindir)/$$file; \
543	if chown 0:0 $$x && chmod u+s $$x; then :; else \
544	chmod 0 $$x; fi; done
545
546install-exec-hook: install-suid-programs
547
548install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
549	@foo='$(include_HEADERS) $(build_HEADERZ)'; \
550	for f in $$foo; do \
551		f=`basename $$f`; \
552		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
553		else file="$$f"; fi; \
554		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
555		: ; else \
556			echo " cp $$file $(buildinclude)/$$f"; \
557			cp $$file $(buildinclude)/$$f; \
558		fi ; \
559	done
560
561all-local: install-build-headers
562#NROFF_MAN = nroff -man
563.1.cat1:
564	$(NROFF_MAN) $< > $@
565.3.cat3:
566	$(NROFF_MAN) $< > $@
567.5.cat5:
568	$(NROFF_MAN) $< > $@
569.8.cat8:
570	$(NROFF_MAN) $< > $@
571
572dist-cat1-mans:
573	@foo='$(man1_MANS)'; \
574	bar='$(man_MANS)'; \
575	for i in $$bar; do \
576	case $$i in \
577	*.1) foo="$$foo $$i";; \
578	esac; done ;\
579	for i in $$foo; do \
580		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
581		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
582		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
583	done
584
585dist-cat3-mans:
586	@foo='$(man3_MANS)'; \
587	bar='$(man_MANS)'; \
588	for i in $$bar; do \
589	case $$i in \
590	*.3) foo="$$foo $$i";; \
591	esac; done ;\
592	for i in $$foo; do \
593		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
594		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
595		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
596	done
597
598dist-cat5-mans:
599	@foo='$(man5_MANS)'; \
600	bar='$(man_MANS)'; \
601	for i in $$bar; do \
602	case $$i in \
603	*.5) foo="$$foo $$i";; \
604	esac; done ;\
605	for i in $$foo; do \
606		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
607		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
608		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
609	done
610
611dist-cat8-mans:
612	@foo='$(man8_MANS)'; \
613	bar='$(man_MANS)'; \
614	for i in $$bar; do \
615	case $$i in \
616	*.8) foo="$$foo $$i";; \
617	esac; done ;\
618	for i in $$foo; do \
619		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
620		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
621		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
622	done
623
624dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
625
626install-cat1-mans:
627	@ext=1;\
628	foo='$(man1_MANS)'; \
629	bar='$(man_MANS)'; \
630	for i in $$bar; do \
631	case $$i in \
632	*.1) foo="$$foo $$i";; \
633	esac; done; \
634	if test "$$foo"; then \
635		$(mkinstalldirs) $(DESTDIR)$(cat1dir); \
636		for x in $$foo; do \
637			f=`echo $$x | sed 's/\.[^.]*$$/.cat1/'`; \
638			if test -f "$(srcdir)/$$f"; then \
639				b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
640				echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat1dir)/$$b.$(CATSUFFIX)";\
641				$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat1dir)/$$b.$(CATSUFFIX);\
642			 fi; \
643		done ;\
644	fi
645
646install-cat3-mans:
647	@ext=3;\
648	foo='$(man3_MANS)'; \
649	bar='$(man_MANS)'; \
650	for i in $$bar; do \
651	case $$i in \
652	*.3) foo="$$foo $$i";; \
653	esac; done; \
654	if test "$$foo"; then \
655		$(mkinstalldirs) $(DESTDIR)$(cat3dir); \
656		for x in $$foo; do \
657			f=`echo $$x | sed 's/\.[^.]*$$/.cat3/'`; \
658			if test -f "$(srcdir)/$$f"; then \
659				b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
660				echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat3dir)/$$b.$(CATSUFFIX)";\
661				$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat3dir)/$$b.$(CATSUFFIX);\
662			 fi; \
663		done ;\
664	fi
665
666install-cat5-mans:
667	@ext=5;\
668	foo='$(man5_MANS)'; \
669	bar='$(man_MANS)'; \
670	for i in $$bar; do \
671	case $$i in \
672	*.5) foo="$$foo $$i";; \
673	esac; done; \
674	if test "$$foo"; then \
675		$(mkinstalldirs) $(DESTDIR)$(cat5dir); \
676		for x in $$foo; do \
677			f=`echo $$x | sed 's/\.[^.]*$$/.cat5/'`; \
678			if test -f "$(srcdir)/$$f"; then \
679				b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
680				echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat5dir)/$$b.$(CATSUFFIX)";\
681				$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat5dir)/$$b.$(CATSUFFIX);\
682			 fi; \
683		done ;\
684	fi
685
686install-cat8-mans:
687	@ext=8;\
688	foo='$(man8_MANS)'; \
689	bar='$(man_MANS)'; \
690	for i in $$bar; do \
691	case $$i in \
692	*.8) foo="$$foo $$i";; \
693	esac; done; \
694	if test "$$foo"; then \
695		$(mkinstalldirs) $(DESTDIR)$(cat8dir); \
696		for x in $$foo; do \
697			f=`echo $$x | sed 's/\.[^.]*$$/.cat8/'`; \
698			if test -f "$(srcdir)/$$f"; then \
699				b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
700				echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat8dir)/$$b.$(CATSUFFIX)";\
701				$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat8dir)/$$b.$(CATSUFFIX);\
702			 fi; \
703		done ;\
704	fi
705
706install-cat-mans: install-cat1-mans install-cat3-mans install-cat5-mans install-cat8-mans
707
708install-data-local: install-cat-mans
709
710.et.h:
711	$(COMPILE_ET) $<
712.et.c:
713	$(COMPILE_ET) $<
714
715.x.c:
716	@cmp -s $< $@ 2> /dev/null || cp $< $@
717
718check-local::
719	@foo='$(CHECK_LOCAL)'; \
720	  if test "$$foo"; then \
721	  failed=0; all=0; \
722	  for i in $$foo; do \
723	    all=`expr $$all + 1`; \
724	    if ./$$i --version > /dev/null 2>&1; then \
725	      echo "PASS: $$i"; \
726	    else \
727	      echo "FAIL: $$i"; \
728	      failed=`expr $$failed + 1`; \
729	    fi; \
730	  done; \
731	  if test "$$failed" -eq 0; then \
732	    banner="All $$all tests passed"; \
733	  else \
734	    banner="$$failed of $$all tests failed"; \
735	  fi; \
736	  dashes=`echo "$$banner" | sed s/./=/g`; \
737	  echo "$$dashes"; \
738	  echo "$$banner"; \
739	  echo "$$dashes"; \
740	  test "$$failed" -eq 0; \
741	fi
742
743krb5-types.h: bits$(EXEEXT)
744	./bits$(EXEEXT) krb5-types.h
745
746# Tell versions [3.59,3.63) of GNU make to not export all variables.
747# Otherwise a system limit (for SysV at least) may be exceeded.
748.NOEXPORT:
749