xref: /freebsd/crypto/heimdal/lib/gssapi/Makefile.in (revision 50d8893512e3c7160398bff7e3f9f056e1220fc1)
1# Makefile.in generated automatically by automake 1.5 from Makefile.am.
2
3# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
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
14@SET_MAKE@
15
16# $Id: Makefile.am,v 1.36 2001/08/28 11:21:17 joda Exp $
17
18
19# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
20
21
22# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
23
24SHELL = @SHELL@
25
26srcdir = @srcdir@
27top_srcdir = @top_srcdir@
28VPATH = @srcdir@
29prefix = @prefix@
30exec_prefix = @exec_prefix@
31
32bindir = @bindir@
33sbindir = @sbindir@
34libexecdir = @libexecdir@
35datadir = @datadir@
36sysconfdir = @sysconfdir@
37sharedstatedir = @sharedstatedir@
38localstatedir = @localstatedir@
39libdir = @libdir@
40infodir = @infodir@
41mandir = @mandir@
42includedir = @includedir@
43oldincludedir = /usr/include
44pkgdatadir = $(datadir)/@PACKAGE@
45pkglibdir = $(libdir)/@PACKAGE@
46pkgincludedir = $(includedir)/@PACKAGE@
47top_builddir = ../..
48
49ACLOCAL = @ACLOCAL@
50AUTOCONF = @AUTOCONF@
51AUTOMAKE = @AUTOMAKE@
52AUTOHEADER = @AUTOHEADER@
53
54INSTALL = @INSTALL@
55INSTALL_PROGRAM = @INSTALL_PROGRAM@
56INSTALL_DATA = @INSTALL_DATA@
57INSTALL_SCRIPT = @INSTALL_SCRIPT@
58INSTALL_HEADER = $(INSTALL_DATA)
59transform = @program_transform_name@
60NORMAL_INSTALL = :
61PRE_INSTALL = :
62POST_INSTALL = :
63NORMAL_UNINSTALL = :
64PRE_UNINSTALL = :
65POST_UNINSTALL = :
66host_alias = @host_alias@
67host_triplet = @host@
68AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
69AMTAR = @AMTAR@
70AS = @AS@
71AWK = @AWK@
72CANONICAL_HOST = @CANONICAL_HOST@
73CATMAN = @CATMAN@
74CATMANEXT = @CATMANEXT@
75CC = @CC@
76COMPILE_ET = @COMPILE_ET@
77CPP = @CPP@
78DBLIB = @DBLIB@
79DEPDIR = @DEPDIR@
80DIR_com_err = @DIR_com_err@
81DIR_des = @DIR_des@
82DIR_roken = @DIR_roken@
83DLLTOOL = @DLLTOOL@
84EXEEXT = @EXEEXT@
85EXTRA_LIB45 = @EXTRA_LIB45@
86GROFF = @GROFF@
87INCLUDES_roken = @INCLUDES_roken@
88INCLUDE_ = @INCLUDE_@
89INCLUDE_des = @INCLUDE_des@
90INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
91LEX = @LEX@
92LIBOBJS = @LIBOBJS@
93LIBTOOL = @LIBTOOL@
94LIB_ = @LIB_@
95LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
96LIB_NDBM = @LIB_NDBM@
97LIB_com_err = @LIB_com_err@
98LIB_com_err_a = @LIB_com_err_a@
99LIB_com_err_so = @LIB_com_err_so@
100LIB_des = @LIB_des@
101LIB_des_a = @LIB_des_a@
102LIB_des_appl = @LIB_des_appl@
103LIB_des_so = @LIB_des_so@
104LIB_kdb = @LIB_kdb@
105LIB_otp = @LIB_otp@
106LIB_roken = @LIB_roken@
107LIB_security = @LIB_security@
108LN_S = @LN_S@
109LTLIBOBJS = @LTLIBOBJS@
110NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
111NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
112NROFF = @NROFF@
113OBJDUMP = @OBJDUMP@
114OBJEXT = @OBJEXT@
115PACKAGE = @PACKAGE@
116RANLIB = @RANLIB@
117VERSION = @VERSION@
118VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
119WFLAGS = @WFLAGS@
120WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
121WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
122X_CFLAGS = @X_CFLAGS@
123X_EXTRA_LIBS = @X_EXTRA_LIBS@
124X_LIBS = @X_LIBS@
125X_PRE_LIBS = @X_PRE_LIBS@
126YACC = @YACC@
127am__include = @am__include@
128am__quote = @am__quote@
129dpagaix_CFLAGS = @dpagaix_CFLAGS@
130dpagaix_LDADD = @dpagaix_LDADD@
131install_sh = @install_sh@
132
133AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
134
135SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
136
137INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../krb5 $(INCLUDE_des) $(INCLUDE_krb4)
138
139AM_CFLAGS = $(WFLAGS)
140
141CP = cp
142
143buildinclude = $(top_builddir)/include
144
145LIB_XauReadAuth = @LIB_XauReadAuth@
146LIB_crypt = @LIB_crypt@
147LIB_dbm_firstkey = @LIB_dbm_firstkey@
148LIB_dbopen = @LIB_dbopen@
149LIB_dlopen = @LIB_dlopen@
150LIB_dn_expand = @LIB_dn_expand@
151LIB_el_init = @LIB_el_init@
152LIB_getattr = @LIB_getattr@
153LIB_gethostbyname = @LIB_gethostbyname@
154LIB_getpwent_r = @LIB_getpwent_r@
155LIB_getpwnam_r = @LIB_getpwnam_r@
156LIB_getsockopt = @LIB_getsockopt@
157LIB_logout = @LIB_logout@
158LIB_logwtmp = @LIB_logwtmp@
159LIB_odm_initialize = @LIB_odm_initialize@
160LIB_openpty = @LIB_openpty@
161LIB_pidfile = @LIB_pidfile@
162LIB_res_search = @LIB_res_search@
163LIB_setpcred = @LIB_setpcred@
164LIB_setsockopt = @LIB_setsockopt@
165LIB_socket = @LIB_socket@
166LIB_syslog = @LIB_syslog@
167LIB_tgetent = @LIB_tgetent@
168
169LIBS = @LIBS@
170
171HESIODLIB = @HESIODLIB@
172HESIODINCLUDE = @HESIODINCLUDE@
173INCLUDE_hesiod = @INCLUDE_hesiod@
174LIB_hesiod = @LIB_hesiod@
175
176INCLUDE_krb4 = @INCLUDE_krb4@
177LIB_krb4 = @LIB_krb4@
178
179INCLUDE_openldap = @INCLUDE_openldap@
180LIB_openldap = @LIB_openldap@
181
182INCLUDE_readline = @INCLUDE_readline@
183LIB_readline = @LIB_readline@
184
185LEXLIB = @LEXLIB@
186
187NROFF_MAN = groff -mandoc -Tascii
188
189@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
190
191@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
192@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
193
194@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
195
196@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
197
198CHECK_LOCAL = $(PROGRAMS)
199
200lib_LTLIBRARIES = libgssapi.la
201libgssapi_la_LDFLAGS = -version-info 3:4:2
202libgssapi_la_LIBADD = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la ../roken/libroken.la
203
204include_HEADERS = gssapi.h
205
206libgssapi_la_SOURCES = \
207	8003.c			\
208	accept_sec_context.c	\
209	acquire_cred.c		\
210	add_oid_set_member.c	\
211	canonicalize_name.c	\
212	compare_name.c		\
213	context_time.c		\
214	copy_ccache.c		\
215	create_emtpy_oid_set.c	\
216	decapsulate.c		\
217	delete_sec_context.c	\
218	display_name.c		\
219	display_status.c	\
220	duplicate_name.c	\
221	encapsulate.c		\
222	export_sec_context.c	\
223	export_name.c		\
224	external.c		\
225	get_mic.c		\
226	gssapi.h		\
227	gssapi_locl.h		\
228	import_name.c		\
229	import_sec_context.c	\
230	indicate_mechs.c	\
231	init.c			\
232	init_sec_context.c	\
233	inquire_context.c	\
234	inquire_cred.c		\
235	release_buffer.c	\
236	release_cred.c		\
237	release_name.c		\
238	release_oid_set.c	\
239	test_oid_set_member.c	\
240	unwrap.c		\
241	v1.c			\
242	verify_mic.c		\
243        wrap.c                  \
244        address_to_krb5addr.c
245
246subdir = lib/gssapi
247mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
248CONFIG_HEADER = $(top_builddir)/include/config.h
249CONFIG_CLEAN_FILES =
250LTLIBRARIES = $(lib_LTLIBRARIES)
251
252libgssapi_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la \
253	../roken/libroken.la
254am_libgssapi_la_OBJECTS = 8003.lo accept_sec_context.lo acquire_cred.lo \
255	add_oid_set_member.lo canonicalize_name.lo compare_name.lo \
256	context_time.lo copy_ccache.lo create_emtpy_oid_set.lo \
257	decapsulate.lo delete_sec_context.lo display_name.lo \
258	display_status.lo duplicate_name.lo encapsulate.lo \
259	export_sec_context.lo export_name.lo external.lo get_mic.lo \
260	import_name.lo import_sec_context.lo indicate_mechs.lo init.lo \
261	init_sec_context.lo inquire_context.lo inquire_cred.lo \
262	release_buffer.lo release_cred.lo release_name.lo \
263	release_oid_set.lo test_oid_set_member.lo unwrap.lo v1.lo \
264	verify_mic.lo wrap.lo address_to_krb5addr.lo
265libgssapi_la_OBJECTS = $(am_libgssapi_la_OBJECTS)
266
267DEFS = @DEFS@
268DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
269CPPFLAGS = @CPPFLAGS@
270LDFLAGS = @LDFLAGS@
271depcomp =
272COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
273	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
274LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
275	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
276CCLD = $(CC)
277LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
278	$(AM_LDFLAGS) $(LDFLAGS) -o $@
279CFLAGS = @CFLAGS@
280DIST_SOURCES = $(libgssapi_la_SOURCES)
281HEADERS = $(include_HEADERS)
282
283DIST_COMMON = $(include_HEADERS) ChangeLog Makefile.am Makefile.in
284SOURCES = $(libgssapi_la_SOURCES)
285
286all: all-am
287
288.SUFFIXES:
289.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
290
291mostlyclean-libtool:
292	-rm -f *.lo
293
294clean-libtool:
295	-rm -rf .libs _libs
296
297distclean-libtool:
298	-rm -f libtool
299$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
300	cd $(top_srcdir) && \
301	  $(AUTOMAKE) --foreign  lib/gssapi/Makefile
302Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
303	cd $(top_builddir) && \
304	  CONFIG_HEADERS= CONFIG_LINKS= \
305	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
306install-libLTLIBRARIES: $(lib_LTLIBRARIES)
307	@$(NORMAL_INSTALL)
308	$(mkinstalldirs) $(DESTDIR)$(libdir)
309	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
310	  if test -f $$p; then \
311	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
312	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
313	  else :; fi; \
314	done
315
316uninstall-libLTLIBRARIES:
317	@$(NORMAL_UNINSTALL)
318	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
319	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
320	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
321	done
322
323clean-libLTLIBRARIES:
324	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
325libgssapi.la: $(libgssapi_la_OBJECTS) $(libgssapi_la_DEPENDENCIES)
326	$(LINK) -rpath $(libdir) $(libgssapi_la_LDFLAGS) $(libgssapi_la_OBJECTS) $(libgssapi_la_LIBADD) $(LIBS)
327
328mostlyclean-compile:
329	-rm -f *.$(OBJEXT) core *.core
330
331distclean-compile:
332	-rm -f *.tab.c
333
334.c.o:
335	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
336
337.c.obj:
338	$(COMPILE) -c `cygpath -w $<`
339
340.c.lo:
341	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
342uninstall-info-am:
343install-includeHEADERS: $(include_HEADERS)
344	@$(NORMAL_INSTALL)
345	$(mkinstalldirs) $(DESTDIR)$(includedir)
346	@list='$(include_HEADERS)'; for p in $$list; do \
347	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
348	  f="`echo $$p | sed -e 's|^.*/||'`"; \
349	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
350	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
351	done
352
353uninstall-includeHEADERS:
354	@$(NORMAL_UNINSTALL)
355	@list='$(include_HEADERS)'; for p in $$list; do \
356	  f="`echo $$p | sed -e 's|^.*/||'`"; \
357	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
358	  rm -f $(DESTDIR)$(includedir)/$$f; \
359	done
360
361tags: TAGS
362
363ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
364	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
365	unique=`for i in $$list; do \
366	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
367	  done | \
368	  $(AWK) '    { files[$$0] = 1; } \
369	       END { for (i in files) print i; }'`; \
370	mkid -fID $$unique $(LISP)
371
372TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
373		$(TAGS_FILES) $(LISP)
374	tags=; \
375	here=`pwd`; \
376	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
377	unique=`for i in $$list; do \
378	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
379	  done | \
380	  $(AWK) '    { files[$$0] = 1; } \
381	       END { for (i in files) print i; }'`; \
382	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
383	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
384
385GTAGS:
386	here=`CDPATH=: && cd $(top_builddir) && pwd` \
387	  && cd $(top_srcdir) \
388	  && gtags -i $(GTAGS_ARGS) $$here
389
390distclean-tags:
391	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
392
393DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
394
395top_distdir = ../..
396distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
397
398distdir: $(DISTFILES)
399	@for file in $(DISTFILES); do \
400	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
401	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
402	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
403	    $(mkinstalldirs) "$(distdir)/$$dir"; \
404	  fi; \
405	  if test -d $$d/$$file; then \
406	    cp -pR $$d/$$file $(distdir) \
407	    || exit 1; \
408	  else \
409	    test -f $(distdir)/$$file \
410	    || cp -p $$d/$$file $(distdir)/$$file \
411	    || exit 1; \
412	  fi; \
413	done
414	$(MAKE) $(AM_MAKEFLAGS) \
415	  top_distdir="${top_distdir}" distdir="$(distdir)" \
416	  dist-hook
417check-am: all-am
418	$(MAKE) $(AM_MAKEFLAGS) check-local
419check: check-am
420all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local
421
422installdirs:
423	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
424
425install: install-am
426install-exec: install-exec-am
427install-data: install-data-am
428uninstall: uninstall-am
429
430install-am: all-am
431	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
432
433installcheck: installcheck-am
434install-strip:
435	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
436	  `test -z '$(STRIP)' || \
437	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
438mostlyclean-generic:
439
440clean-generic:
441
442distclean-generic:
443	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
444
445maintainer-clean-generic:
446	@echo "This command is intended for maintainers to use"
447	@echo "it deletes files that may require special tools to rebuild."
448clean: clean-am
449
450clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
451	mostlyclean-am
452
453distclean: distclean-am
454
455distclean-am: clean-am distclean-compile distclean-generic \
456	distclean-libtool distclean-tags
457
458dvi: dvi-am
459
460dvi-am:
461
462info: info-am
463
464info-am:
465
466install-data-am: install-data-local install-includeHEADERS
467
468install-exec-am: install-libLTLIBRARIES
469	@$(NORMAL_INSTALL)
470	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
471
472install-info: install-info-am
473
474install-man:
475
476installcheck-am:
477
478maintainer-clean: maintainer-clean-am
479
480maintainer-clean-am: distclean-am maintainer-clean-generic
481
482mostlyclean: mostlyclean-am
483
484mostlyclean-am: mostlyclean-compile mostlyclean-generic \
485	mostlyclean-libtool
486
487uninstall-am: uninstall-includeHEADERS uninstall-info-am \
488	uninstall-libLTLIBRARIES
489
490.PHONY: GTAGS all all-am all-local check check-am check-local clean \
491	clean-generic clean-libLTLIBRARIES clean-libtool distclean \
492	distclean-compile distclean-generic distclean-libtool \
493	distclean-tags distdir dvi dvi-am info info-am install \
494	install-am install-data install-data-am install-data-local \
495	install-exec install-exec-am install-includeHEADERS \
496	install-info install-info-am install-libLTLIBRARIES install-man \
497	install-strip installcheck installcheck-am installdirs \
498	maintainer-clean maintainer-clean-generic mostlyclean \
499	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
500	tags uninstall uninstall-am uninstall-includeHEADERS \
501	uninstall-info-am uninstall-libLTLIBRARIES
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# Tell versions [3.59,3.63) of GNU make to not export all variables.
632# Otherwise a system limit (for SysV at least) may be exceeded.
633.NOEXPORT:
634