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