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