xref: /freebsd/crypto/heimdal/lib/Makefile.in (revision daf1cffce2e07931f27c6c6998652e90df6ba87e)
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.16 1999/04/01 15:03:37 joda 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 = -I$(top_builddir)/include
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
173
174CHECK_LOCAL = $(PROGRAMS)
175
176@KRB4_TRUE@dir_45 = 45
177@OTP_TRUE@dir_otp = otp
178
179SUBDIRS = roken editline com_err sl asn1 des krb5 	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp)
180
181mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
182CONFIG_HEADER = ../include/config.h
183CONFIG_CLEAN_FILES =
184CFLAGS = @CFLAGS@
185COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
186LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
187CCLD = $(CC)
188LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
189DIST_COMMON =  Makefile.am Makefile.in
190
191
192DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
193
194TAR = tar
195GZIP_ENV = --best
196DIST_SUBDIRS =  roken editline com_err sl asn1 des krb5 kafs hdb kadm5 \
197gssapi auth 45 otp
198all: all-redirect
199.SUFFIXES:
200.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
201$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
202	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/Makefile
203
204Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
205	cd $(top_builddir) \
206	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
207
208
209# This directory's subdirectories are mostly independent; you can cd
210# into them and run `make' without going through this Makefile.
211# To change the values of `make' variables: instead of editing Makefiles,
212# (1) if the variable is set in `config.status', edit `config.status'
213#     (which will cause the Makefiles to be regenerated when you run `make');
214# (2) otherwise, pass the desired values on the `make' command line.
215
216@SET_MAKE@
217
218all-recursive install-data-recursive install-exec-recursive \
219installdirs-recursive install-recursive uninstall-recursive  \
220check-recursive installcheck-recursive info-recursive dvi-recursive:
221	@set fnord $(MAKEFLAGS); amf=$$2; \
222	dot_seen=no; \
223	target=`echo $@ | sed s/-recursive//`; \
224	list='$(SUBDIRS)'; for subdir in $$list; do \
225	  echo "Making $$target in $$subdir"; \
226	  if test "$$subdir" = "."; then \
227	    dot_seen=yes; \
228	    local_target="$$target-am"; \
229	  else \
230	    local_target="$$target"; \
231	  fi; \
232	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
233	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
234	done; \
235	if test "$$dot_seen" = "no"; then \
236	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
237	fi; test -z "$$fail"
238
239mostlyclean-recursive clean-recursive distclean-recursive \
240maintainer-clean-recursive:
241	@set fnord $(MAKEFLAGS); amf=$$2; \
242	dot_seen=no; \
243	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
244	  rev="$$subdir $$rev"; \
245	  test "$$subdir" = "." && dot_seen=yes; \
246	done; \
247	test "$$dot_seen" = "no" && rev=". $$rev"; \
248	target=`echo $@ | sed s/-recursive//`; \
249	for subdir in $$rev; do \
250	  echo "Making $$target in $$subdir"; \
251	  if test "$$subdir" = "."; then \
252	    local_target="$$target-am"; \
253	  else \
254	    local_target="$$target"; \
255	  fi; \
256	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
257	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
258	done && test -z "$$fail"
259tags-recursive:
260	list='$(SUBDIRS)'; for subdir in $$list; do \
261	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
262	done
263
264tags: TAGS
265
266ID: $(HEADERS) $(SOURCES) $(LISP)
267	list='$(SOURCES) $(HEADERS)'; \
268	unique=`for i in $$list; do echo $$i; done | \
269	  awk '    { files[$$0] = 1; } \
270	       END { for (i in files) print i; }'`; \
271	here=`pwd` && cd $(srcdir) \
272	  && mkid -f$$here/ID $$unique $(LISP)
273
274TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
275	tags=; \
276	here=`pwd`; \
277	list='$(SUBDIRS)'; for subdir in $$list; do \
278   if test "$$subdir" = .; then :; else \
279	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
280   fi; \
281	done; \
282	list='$(SOURCES) $(HEADERS)'; \
283	unique=`for i in $$list; do echo $$i; done | \
284	  awk '    { files[$$0] = 1; } \
285	       END { for (i in files) print i; }'`; \
286	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
287	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
288
289mostlyclean-tags:
290
291clean-tags:
292
293distclean-tags:
294	-rm -f TAGS ID
295
296maintainer-clean-tags:
297
298distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
299
300subdir = lib
301
302distdir: $(DISTFILES)
303	@for file in $(DISTFILES); do \
304	  d=$(srcdir); \
305	  if test -d $$d/$$file; then \
306	    cp -pr $$/$$file $(distdir)/$$file; \
307	  else \
308	    test -f $(distdir)/$$file \
309	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
310	    || cp -p $$d/$$file $(distdir)/$$file || :; \
311	  fi; \
312	done
313	for subdir in $(DIST_SUBDIRS); do \
314	  if test "$$subdir" = .; then :; else \
315	    test -d $(distdir)/$$subdir \
316	    || mkdir $(distdir)/$$subdir \
317	    || exit 1; \
318	    chmod 777 $(distdir)/$$subdir; \
319	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
320	      || exit 1; \
321	  fi; \
322	done
323	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
324info-am:
325info: info-recursive
326dvi-am:
327dvi: dvi-recursive
328check-am: all-am
329	$(MAKE) $(AM_MAKEFLAGS) check-local
330check: check-recursive
331installcheck-am:
332installcheck: installcheck-recursive
333install-exec-am:
334	@$(NORMAL_INSTALL)
335	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
336install-exec: install-exec-recursive
337
338install-data-am: install-data-local
339install-data: install-data-recursive
340
341install-am: all-am
342	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
343install: install-recursive
344uninstall-am:
345uninstall: uninstall-recursive
346all-am: Makefile all-local
347all-redirect: all-recursive
348install-strip:
349	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
350installdirs: installdirs-recursive
351installdirs-am:
352
353
354mostlyclean-generic:
355
356clean-generic:
357
358distclean-generic:
359	-rm -f Makefile $(CONFIG_CLEAN_FILES)
360	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
361
362maintainer-clean-generic:
363mostlyclean-am:  mostlyclean-tags mostlyclean-generic
364
365mostlyclean: mostlyclean-recursive
366
367clean-am:  clean-tags clean-generic mostlyclean-am
368
369clean: clean-recursive
370
371distclean-am:  distclean-tags distclean-generic clean-am
372	-rm -f libtool
373
374distclean: distclean-recursive
375
376maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
377		distclean-am
378	@echo "This command is intended for maintainers to use;"
379	@echo "it deletes files that may require special tools to rebuild."
380
381maintainer-clean: maintainer-clean-recursive
382
383.PHONY: install-data-recursive uninstall-data-recursive \
384install-exec-recursive uninstall-exec-recursive installdirs-recursive \
385uninstalldirs-recursive all-recursive check-recursive \
386installcheck-recursive info-recursive dvi-recursive \
387mostlyclean-recursive distclean-recursive clean-recursive \
388maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
389distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
390dvi-am dvi check-local check check-am installcheck-am installcheck \
391install-exec-am install-exec install-data-local install-data-am \
392install-data install-am install uninstall-am uninstall all-local \
393all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
394distclean-generic clean-generic maintainer-clean-generic clean \
395mostlyclean distclean maintainer-clean
396
397
398install-suid-programs:
399	@foo='$(bin_SUIDS)'; \
400	for file in $$foo; do \
401	x=$(DESTDIR)$(bindir)/$$file; \
402	if chown 0:0 $$x && chmod u+s $$x; then :; else \
403	chmod 0 $$x; fi; done
404
405install-exec-hook: install-suid-programs
406
407install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
408	@foo='$(include_HEADERS) $(build_HEADERZ)'; \
409	for f in $$foo; do \
410		f=`basename $$f`; \
411		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
412		else file="$$f"; fi; \
413		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
414		: ; else \
415			echo " cp $$file $(buildinclude)/$$f"; \
416			cp $$file $(buildinclude)/$$f; \
417		fi ; \
418	done
419
420all-local: install-build-headers
421#NROFF_MAN = nroff -man
422.1.cat1:
423	$(NROFF_MAN) $< > $@
424.3.cat3:
425	$(NROFF_MAN) $< > $@
426.5.cat5:
427	$(NROFF_MAN) $< > $@
428.8.cat8:
429	$(NROFF_MAN) $< > $@
430
431dist-cat1-mans:
432	@foo='$(man1_MANS)'; \
433	bar='$(man_MANS)'; \
434	for i in $$bar; do \
435	case $$i in \
436	*.1) foo="$$foo $$i";; \
437	esac; done ;\
438	for i in $$foo; do \
439		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
440		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
441		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
442	done
443
444dist-cat3-mans:
445	@foo='$(man3_MANS)'; \
446	bar='$(man_MANS)'; \
447	for i in $$bar; do \
448	case $$i in \
449	*.3) foo="$$foo $$i";; \
450	esac; done ;\
451	for i in $$foo; do \
452		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
453		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
454		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
455	done
456
457dist-cat5-mans:
458	@foo='$(man5_MANS)'; \
459	bar='$(man_MANS)'; \
460	for i in $$bar; do \
461	case $$i in \
462	*.5) foo="$$foo $$i";; \
463	esac; done ;\
464	for i in $$foo; do \
465		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
466		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
467		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
468	done
469
470dist-cat8-mans:
471	@foo='$(man8_MANS)'; \
472	bar='$(man_MANS)'; \
473	for i in $$bar; do \
474	case $$i in \
475	*.8) foo="$$foo $$i";; \
476	esac; done ;\
477	for i in $$foo; do \
478		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
479		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
480		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
481	done
482
483dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
484
485install-cat1-mans:
486	@ext=1;\
487	foo='$(man1_MANS)'; \
488	bar='$(man_MANS)'; \
489	for i in $$bar; do \
490	case $$i in \
491	*.1) foo="$$foo $$i";; \
492	esac; done; \
493	if test "$$foo"; then \
494		$(mkinstalldirs) $(DESTDIR)$(cat1dir); \
495		for x in $$foo; do \
496			f=`echo $$x | sed 's/\.[^.]*$$/.cat1/'`; \
497			if test -f "$(srcdir)/$$f"; then \
498				b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
499				echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat1dir)/$$b.$(CATSUFFIX)";\
500				$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat1dir)/$$b.$(CATSUFFIX);\
501			 fi; \
502		done ;\
503	fi
504
505install-cat3-mans:
506	@ext=3;\
507	foo='$(man3_MANS)'; \
508	bar='$(man_MANS)'; \
509	for i in $$bar; do \
510	case $$i in \
511	*.3) foo="$$foo $$i";; \
512	esac; done; \
513	if test "$$foo"; then \
514		$(mkinstalldirs) $(DESTDIR)$(cat3dir); \
515		for x in $$foo; do \
516			f=`echo $$x | sed 's/\.[^.]*$$/.cat3/'`; \
517			if test -f "$(srcdir)/$$f"; then \
518				b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
519				echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat3dir)/$$b.$(CATSUFFIX)";\
520				$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat3dir)/$$b.$(CATSUFFIX);\
521			 fi; \
522		done ;\
523	fi
524
525install-cat5-mans:
526	@ext=5;\
527	foo='$(man5_MANS)'; \
528	bar='$(man_MANS)'; \
529	for i in $$bar; do \
530	case $$i in \
531	*.5) foo="$$foo $$i";; \
532	esac; done; \
533	if test "$$foo"; then \
534		$(mkinstalldirs) $(DESTDIR)$(cat5dir); \
535		for x in $$foo; do \
536			f=`echo $$x | sed 's/\.[^.]*$$/.cat5/'`; \
537			if test -f "$(srcdir)/$$f"; then \
538				b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
539				echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat5dir)/$$b.$(CATSUFFIX)";\
540				$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat5dir)/$$b.$(CATSUFFIX);\
541			 fi; \
542		done ;\
543	fi
544
545install-cat8-mans:
546	@ext=8;\
547	foo='$(man8_MANS)'; \
548	bar='$(man_MANS)'; \
549	for i in $$bar; do \
550	case $$i in \
551	*.8) foo="$$foo $$i";; \
552	esac; done; \
553	if test "$$foo"; then \
554		$(mkinstalldirs) $(DESTDIR)$(cat8dir); \
555		for x in $$foo; do \
556			f=`echo $$x | sed 's/\.[^.]*$$/.cat8/'`; \
557			if test -f "$(srcdir)/$$f"; then \
558				b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
559				echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat8dir)/$$b.$(CATSUFFIX)";\
560				$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat8dir)/$$b.$(CATSUFFIX);\
561			 fi; \
562		done ;\
563	fi
564
565install-cat-mans: install-cat1-mans install-cat3-mans install-cat5-mans install-cat8-mans
566
567install-data-local: install-cat-mans
568
569.et.h:
570	$(COMPILE_ET) $<
571.et.c:
572	$(COMPILE_ET) $<
573
574.x.c:
575	@cmp -s $< $@ 2> /dev/null || cp $< $@
576
577check-local::
578	@foo='$(CHECK_LOCAL)'; \
579	  if test "$$foo"; then \
580	  failed=0; all=0; \
581	  for i in $$foo; do \
582	    all=`expr $$all + 1`; \
583	    if ./$$i --version > /dev/null 2>&1; then \
584	      echo "PASS: $$i"; \
585	    else \
586	      echo "FAIL: $$i"; \
587	      failed=`expr $$failed + 1`; \
588	    fi; \
589	  done; \
590	  if test "$$failed" -eq 0; then \
591	    banner="All $$all tests passed"; \
592	  else \
593	    banner="$$failed of $$all tests failed"; \
594	  fi; \
595	  dashes=`echo "$$banner" | sed s/./=/g`; \
596	  echo "$$dashes"; \
597	  echo "$$banner"; \
598	  echo "$$dashes"; \
599	  test "$$failed" -eq 0; \
600	fi
601
602# Tell versions [3.59,3.63) of GNU make to not export all variables.
603# Otherwise a system limit (for SysV at least) may be exceeded.
604.NOEXPORT:
605