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