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