xref: /freebsd/crypto/heimdal/admin/Makefile.in (revision 6990ffd8a95caaba6858ad44ff1b3157d1efba8f)
1# Makefile.in generated automatically by automake 1.4b from Makefile.am
2
3# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
4# Free Software Foundation, Inc.
5# This Makefile.in is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
14SHELL = @SHELL@
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
20exec_prefix = @exec_prefix@
21
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
30infodir = @infodir@
31mandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
34
35pkgdatadir = $(datadir)/@PACKAGE@
36pkglibdir = $(libdir)/@PACKAGE@
37pkgincludedir = $(includedir)/@PACKAGE@
38
39top_builddir = ..
40
41ACLOCAL = @ACLOCAL@
42AUTOCONF = @AUTOCONF@
43AUTOMAKE = @AUTOMAKE@
44AUTOHEADER = @AUTOHEADER@
45
46INSTALL = @INSTALL@
47INSTALL_PROGRAM = @INSTALL_PROGRAM@
48INSTALL_DATA = @INSTALL_DATA@
49INSTALL_SCRIPT = @INSTALL_SCRIPT@
50INSTALL_STRIP_FLAG =
51transform = @program_transform_name@
52
53NORMAL_INSTALL = :
54PRE_INSTALL = :
55POST_INSTALL = :
56NORMAL_UNINSTALL = :
57PRE_UNINSTALL = :
58POST_UNINSTALL = :
59
60@SET_MAKE@
61host_alias = @host_alias@
62host_triplet = @host@
63AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
64AMDEP = @AMDEP@
65AMTAR = @AMTAR@
66AS = @AS@
67AWK = @AWK@
68CANONICAL_HOST = @CANONICAL_HOST@
69CATMAN = @CATMAN@
70CATMANEXT = @CATMANEXT@
71CC = @CC@
72CPP = @CPP@
73CXX = @CXX@
74CXXCPP = @CXXCPP@
75DBLIB = @DBLIB@
76DEPDIR = @DEPDIR@
77DIR_des = @DIR_des@
78DIR_roken = @DIR_roken@
79DLLTOOL = @DLLTOOL@
80EXEEXT = @EXEEXT@
81EXTRA_LIB45 = @EXTRA_LIB45@
82GROFF = @GROFF@
83INCLUDES_roken = @INCLUDES_roken@
84INCLUDE_ = @INCLUDE_@
85LEX = @LEX@
86LIBOBJS = @LIBOBJS@
87LIBTOOL = @LIBTOOL@
88LIB_ = @LIB_@
89LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
90LIB_des = @LIB_des@
91LIB_des_appl = @LIB_des_appl@
92LIB_kdb = @LIB_kdb@
93LIB_otp = @LIB_otp@
94LIB_roken = @LIB_roken@
95LIB_security = @LIB_security@
96LN_S = @LN_S@
97LTLIBOBJS = @LTLIBOBJS@
98MAKEINFO = @MAKEINFO@
99NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
100NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
101NROFF = @NROFF@
102OBJDUMP = @OBJDUMP@
103OBJEXT = @OBJEXT@
104PACKAGE = @PACKAGE@
105RANLIB = @RANLIB@
106STRIP = @STRIP@
107VERSION = @VERSION@
108VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
109WFLAGS = @WFLAGS@
110WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
111WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
112YACC = @YACC@
113dpagaix_CFLAGS = @dpagaix_CFLAGS@
114dpagaix_LDADD = @dpagaix_LDADD@
115install_sh = @install_sh@
116
117# $Id: Makefile.am,v 1.33 2000/12/16 00:16:45 joda Exp $
118
119
120# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
121
122
123# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
124
125
126AUTOMAKE_OPTIONS = foreign no-dependencies
127
128SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
129
130INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline)
131
132AM_CFLAGS =  $(WFLAGS)
133
134CP = cp
135
136COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
137
138buildinclude = $(top_builddir)/include
139
140LIB_XauReadAuth = @LIB_XauReadAuth@
141LIB_crypt = @LIB_crypt@
142LIB_dbm_firstkey = @LIB_dbm_firstkey@
143LIB_dbopen = @LIB_dbopen@
144LIB_dlopen = @LIB_dlopen@
145LIB_dn_expand = @LIB_dn_expand@
146LIB_el_init = @LIB_el_init@
147LIB_getattr = @LIB_getattr@
148LIB_gethostbyname = @LIB_gethostbyname@
149LIB_getpwent_r = @LIB_getpwent_r@
150LIB_getpwnam_r = @LIB_getpwnam_r@
151LIB_getsockopt = @LIB_getsockopt@
152LIB_logout = @LIB_logout@
153LIB_logwtmp = @LIB_logwtmp@
154LIB_odm_initialize = @LIB_odm_initialize@
155LIB_pidfile = @LIB_pidfile@
156LIB_readline = @LIB_readline@
157LIB_res_search = @LIB_res_search@
158LIB_setpcred = @LIB_setpcred@
159LIB_setsockopt = @LIB_setsockopt@
160LIB_socket = @LIB_socket@
161LIB_syslog = @LIB_syslog@
162LIB_tgetent = @LIB_tgetent@
163
164LIBS = @LIBS@
165
166HESIODLIB = @HESIODLIB@
167HESIODINCLUDE = @HESIODINCLUDE@
168INCLUDE_hesiod = @INCLUDE_hesiod@
169LIB_hesiod = @LIB_hesiod@
170
171INCLUDE_krb4 = @INCLUDE_krb4@
172LIB_krb4 = @LIB_krb4@
173
174INCLUDE_openldap = @INCLUDE_openldap@
175LIB_openldap = @LIB_openldap@
176
177INCLUDE_readline = @INCLUDE_readline@
178
179LEXLIB = @LEXLIB@
180
181NROFF_MAN = groff -mandoc -Tascii
182
183@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
184
185@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
186@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
187@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
188
189@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
190
191CHECK_LOCAL = $(PROGRAMS)
192
193man_MANS = ktutil.8
194
195sbin_PROGRAMS = ktutil
196
197ktutil_SOURCES = add.c				\
198		 change.c			\
199		 copy.c				\
200		 get.c				\
201		 ktutil.c			\
202		 list.c				\
203		 purge.c			\
204		 remove.c
205
206
207LDADD = \
208	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
209	$(top_builddir)/lib/krb5/libkrb5.la \
210	$(LIB_des) \
211	$(top_builddir)/lib/asn1/libasn1.la \
212	$(top_builddir)/lib/sl/libsl.la \
213	$(LIB_readline) \
214	$(LIB_roken)
215
216subdir = admin
217mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
218CONFIG_HEADER = ../include/config.h
219CONFIG_CLEAN_FILES =
220sbin_PROGRAMS =  ktutil$(EXEEXT)
221PROGRAMS =  $(sbin_PROGRAMS)
222
223
224DEFS = @DEFS@ -I. -I$(srcdir) -I../include
225CPPFLAGS = @CPPFLAGS@
226LDFLAGS = @LDFLAGS@
227X_CFLAGS = @X_CFLAGS@
228X_LIBS = @X_LIBS@
229X_EXTRA_LIBS = @X_EXTRA_LIBS@
230X_PRE_LIBS = @X_PRE_LIBS@
231am_ktutil_OBJECTS =  add.$(OBJEXT) change.$(OBJEXT) copy.$(OBJEXT) \
232get.$(OBJEXT) ktutil.$(OBJEXT) list.$(OBJEXT) purge.$(OBJEXT) \
233remove.$(OBJEXT)
234ktutil_OBJECTS =  $(am_ktutil_OBJECTS)
235ktutil_LDADD = $(LDADD)
236ktutil_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
237$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la \
238$(top_builddir)/lib/sl/libsl.la
239ktutil_LDFLAGS =
240COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
241LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
242CFLAGS = @CFLAGS@
243CCLD = $(CC)
244LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
245DIST_SOURCES =  $(ktutil_SOURCES)
246man8dir = $(mandir)/man8
247MANS = $(man_MANS)
248depcomp =
249DIST_COMMON =  Makefile.am Makefile.in
250
251
252DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
253
254GZIP_ENV = --best
255SOURCES = $(ktutil_SOURCES)
256OBJECTS = $(am_ktutil_OBJECTS)
257
258all: all-redirect
259.SUFFIXES:
260.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
261$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
262	cd $(top_srcdir) && $(AUTOMAKE) --foreign admin/Makefile
263
264Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
265	cd $(top_builddir) \
266	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
267
268
269mostlyclean-sbinPROGRAMS:
270
271clean-sbinPROGRAMS:
272	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
273
274distclean-sbinPROGRAMS:
275
276maintainer-clean-sbinPROGRAMS:
277
278install-sbinPROGRAMS: $(sbin_PROGRAMS)
279	@$(NORMAL_INSTALL)
280	$(mkinstalldirs) $(DESTDIR)$(sbindir)
281	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
282	  if test -f $$p; then \
283	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
284	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f"; \
285	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f; \
286	  else :; fi; \
287	done
288
289uninstall-sbinPROGRAMS:
290	@$(NORMAL_UNINSTALL)
291	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
292	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
293	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
294	  rm -f $(DESTDIR)$(sbindir)/$$f; \
295	done
296
297mostlyclean-compile:
298	-rm -f *.o core *.core
299	-rm -f *.$(OBJEXT)
300
301clean-compile:
302
303distclean-compile:
304	-rm -f *.tab.c
305
306maintainer-clean-compile:
307
308mostlyclean-libtool:
309	-rm -f *.lo
310
311clean-libtool:
312	-rm -rf .libs _libs
313
314distclean-libtool:
315
316maintainer-clean-libtool:
317
318ktutil$(EXEEXT): $(ktutil_OBJECTS) $(ktutil_DEPENDENCIES)
319	@rm -f ktutil$(EXEEXT)
320	$(LINK) $(ktutil_LDFLAGS) $(ktutil_OBJECTS) $(ktutil_LDADD) $(LIBS)
321.c.o:
322	$(COMPILE) -c $<
323.c.obj:
324	$(COMPILE) -c `cygpath -w $<`
325.c.lo:
326	$(LTCOMPILE) -c -o $@ $<
327
328install-man8:
329	$(mkinstalldirs) $(DESTDIR)$(man8dir)
330	@list='$(man8_MANS)'; \
331	l2='$(man_MANS)'; for i in $$l2; do \
332	  case "$$i" in \
333	    *.8*) list="$$list $$i" ;; \
334	  esac; \
335	done; \
336	for i in $$list; do \
337	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
338	  else file=$$i; fi; \
339	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
340	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
341	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
342	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
343	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
344	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
345	done
346
347uninstall-man8:
348	@list='$(man8_MANS)'; \
349	l2='$(man_MANS)'; for i in $$l2; do \
350	  case "$$i" in \
351	    *.8*) list="$$list $$i" ;; \
352	  esac; \
353	done; \
354	for i in $$list; do \
355	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
356	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
357	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
358	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
359	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
360	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
361	done
362install-man: $(MANS)
363	@$(NORMAL_INSTALL)
364	$(MAKE) $(AM_MAKEFLAGS) install-man8
365uninstall-man:
366	@$(NORMAL_UNINSTALL)
367	$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
368
369tags: TAGS
370
371ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
372	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
373	unique=`for i in $$list; do \
374	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
375	  done | \
376	  $(AWK) '    { files[$$0] = 1; } \
377	       END { for (i in files) print i; }'`; \
378	mkid -fID $$unique $(LISP)
379
380TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
381		$(TAGS_FILES) $(LISP)
382	tags=; \
383	here=`pwd`; \
384	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
385	unique=`for i in $$list; do \
386	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
387	  done | \
388	  $(AWK) '    { files[$$0] = 1; } \
389	       END { for (i in files) print i; }'`; \
390	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
391	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
392
393GTAGS:
394	here=`CDPATH=: && cd $(top_builddir) && pwd` \
395	  && cd $(top_srcdir) \
396	  && gtags -i $$here
397
398mostlyclean-tags:
399
400clean-tags:
401
402distclean-tags:
403	-rm -f TAGS ID
404
405maintainer-clean-tags:
406
407distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
408
409distdir: $(DISTFILES)
410	@for file in $(DISTFILES); do \
411	  d=$(srcdir); \
412	  if test -d $$d/$$file; then \
413	    cp -pR $$d/$$file $(distdir) \
414	    || exit 1; \
415	  else \
416	    test -f $(distdir)/$$file \
417	    || cp -p $$d/$$file $(distdir)/$$file \
418	    || exit 1; \
419	  fi; \
420	done
421	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
422info-am:
423info: info-am
424dvi-am:
425dvi: dvi-am
426check-am: all-am
427	$(MAKE) $(AM_MAKEFLAGS) check-local
428check: check-am
429installcheck-am:
430installcheck: installcheck-am
431install-exec-am: install-sbinPROGRAMS
432	@$(NORMAL_INSTALL)
433	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
434install-exec: install-exec-am
435
436install-data-am: install-man install-data-local
437install-data: install-data-am
438
439install-am: all-am
440	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
441install: install-am
442uninstall-am: uninstall-sbinPROGRAMS uninstall-man
443uninstall: uninstall-am
444all-am: Makefile $(PROGRAMS) $(MANS) all-local
445all-redirect: all-am
446install-strip:
447	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
448installdirs:
449	$(mkinstalldirs)  $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man8
450
451
452mostlyclean-generic:
453
454clean-generic:
455
456distclean-generic:
457	-rm -f Makefile $(CONFIG_CLEAN_FILES)
458	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
459
460maintainer-clean-generic:
461	-rm -f Makefile.in
462mostlyclean-am:  mostlyclean-sbinPROGRAMS mostlyclean-compile \
463		mostlyclean-libtool mostlyclean-tags \
464		mostlyclean-generic
465
466mostlyclean: mostlyclean-am
467
468clean-am:  clean-sbinPROGRAMS clean-compile clean-libtool clean-tags \
469		clean-generic mostlyclean-am
470
471clean: clean-am
472
473distclean-am:  distclean-sbinPROGRAMS distclean-compile \
474		distclean-libtool distclean-tags distclean-generic \
475		clean-am
476	-rm -f libtool
477
478distclean: distclean-am
479
480maintainer-clean-am:  maintainer-clean-sbinPROGRAMS \
481		maintainer-clean-compile maintainer-clean-libtool \
482		maintainer-clean-tags maintainer-clean-generic \
483		distclean-am
484	@echo "This command is intended for maintainers to use;"
485	@echo "it deletes files that may require special tools to rebuild."
486
487maintainer-clean: maintainer-clean-am
488
489.PHONY: mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS \
490clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
491install-sbinPROGRAMS mostlyclean-compile distclean-compile \
492clean-compile maintainer-clean-compile mostlyclean-libtool \
493distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
494uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
495distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
496dvi-am dvi check-local check check-am installcheck-am installcheck \
497install-exec-am install-exec install-data-local install-data-am \
498install-data install-am install uninstall-am uninstall all-local \
499all-redirect all-am all install-strip installdirs mostlyclean-generic \
500distclean-generic clean-generic maintainer-clean-generic clean \
501mostlyclean distclean maintainer-clean
502
503
504install-suid-programs:
505	@foo='$(bin_SUIDS)'; \
506	for file in $$foo; do \
507	x=$(DESTDIR)$(bindir)/$$file; \
508	if chown 0:0 $$x && chmod u+s $$x; then :; else \
509	echo "*"; \
510	echo "* Failed to install $$x setuid root"; \
511	echo "*"; \
512	fi; done
513
514install-exec-hook: install-suid-programs
515
516install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
517	@foo='$(include_HEADERS) $(build_HEADERZ)'; \
518	for f in $$foo; do \
519		f=`basename $$f`; \
520		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
521		else file="$$f"; fi; \
522		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
523		: ; else \
524			echo " $(CP) $$file $(buildinclude)/$$f"; \
525			$(CP) $$file $(buildinclude)/$$f; \
526		fi ; \
527	done
528
529all-local: install-build-headers
530#NROFF_MAN = nroff -man
531.1.cat1:
532	$(NROFF_MAN) $< > $@
533.3.cat3:
534	$(NROFF_MAN) $< > $@
535.5.cat5:
536	$(NROFF_MAN) $< > $@
537.8.cat8:
538	$(NROFF_MAN) $< > $@
539
540dist-cat1-mans:
541	@foo='$(man1_MANS)'; \
542	bar='$(man_MANS)'; \
543	for i in $$bar; do \
544	case $$i in \
545	*.1) foo="$$foo $$i";; \
546	esac; done ;\
547	for i in $$foo; do \
548		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
549		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
550		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
551	done
552
553dist-cat3-mans:
554	@foo='$(man3_MANS)'; \
555	bar='$(man_MANS)'; \
556	for i in $$bar; do \
557	case $$i in \
558	*.3) foo="$$foo $$i";; \
559	esac; done ;\
560	for i in $$foo; do \
561		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
562		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
563		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
564	done
565
566dist-cat5-mans:
567	@foo='$(man5_MANS)'; \
568	bar='$(man_MANS)'; \
569	for i in $$bar; do \
570	case $$i in \
571	*.5) foo="$$foo $$i";; \
572	esac; done ;\
573	for i in $$foo; do \
574		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
575		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
576		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
577	done
578
579dist-cat8-mans:
580	@foo='$(man8_MANS)'; \
581	bar='$(man_MANS)'; \
582	for i in $$bar; do \
583	case $$i in \
584	*.8) foo="$$foo $$i";; \
585	esac; done ;\
586	for i in $$foo; do \
587		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
588		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
589		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
590	done
591
592dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
593
594install-cat-mans:
595	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
596
597install-data-local: install-cat-mans
598
599.et.h:
600	$(COMPILE_ET) $<
601.et.c:
602	$(COMPILE_ET) $<
603
604.x.c:
605	@cmp -s $< $@ 2> /dev/null || cp $< $@
606
607check-local::
608	@foo='$(CHECK_LOCAL)'; \
609	  if test "$$foo"; then \
610	  failed=0; all=0; \
611	  for i in $$foo; do \
612	    all=`expr $$all + 1`; \
613	    if ./$$i --version > /dev/null 2>&1; then \
614	      echo "PASS: $$i"; \
615	    else \
616	      echo "FAIL: $$i"; \
617	      failed=`expr $$failed + 1`; \
618	    fi; \
619	  done; \
620	  if test "$$failed" -eq 0; then \
621	    banner="All $$all tests passed"; \
622	  else \
623	    banner="$$failed of $$all tests failed"; \
624	  fi; \
625	  dashes=`echo "$$banner" | sed s/./=/g`; \
626	  echo "$$dashes"; \
627	  echo "$$banner"; \
628	  echo "$$dashes"; \
629	  test "$$failed" -eq 0; \
630	fi
631
632# Tell versions [3.59,3.63) of GNU make to not export all variables.
633# Otherwise a system limit (for SysV at least) may be exceeded.
634.NOEXPORT:
635