xref: /freebsd/crypto/heimdal/appl/su/Makefile.in (revision 5bda878e3e95c125f9bead8f22cee8cf2a298555)
1# Makefile.in generated by automake 1.6.1 from Makefile.am.
2# @configure_input@
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5# Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17# $Id: Makefile.am,v 1.7 2001/08/28 08:31:22 assar Exp $
18
19# $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
20
21# $Id: Makefile.am.common,v 1.36 2002/08/19 16:10:25 joda Exp $
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
42pkgdatadir = $(datadir)/@PACKAGE@
43pkglibdir = $(libdir)/@PACKAGE@
44pkgincludedir = $(includedir)/@PACKAGE@
45top_builddir = ../..
46
47ACLOCAL = @ACLOCAL@
48AUTOCONF = @AUTOCONF@
49AUTOMAKE = @AUTOMAKE@
50AUTOHEADER = @AUTOHEADER@
51
52am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
53INSTALL = @INSTALL@
54INSTALL_PROGRAM = @INSTALL_PROGRAM@
55INSTALL_DATA = @INSTALL_DATA@
56install_sh_DATA = $(install_sh) -c -m 644
57install_sh_PROGRAM = $(install_sh) -c
58INSTALL_SCRIPT = @INSTALL_SCRIPT@
59INSTALL_HEADER = $(INSTALL_DATA)
60transform = @program_transform_name@
61NORMAL_INSTALL = :
62PRE_INSTALL = :
63POST_INSTALL = :
64NORMAL_UNINSTALL = :
65PRE_UNINSTALL = :
66POST_UNINSTALL = :
67host_alias = @host_alias@
68host_triplet = @host@
69
70EXEEXT = @EXEEXT@
71OBJEXT = @OBJEXT@
72PATH_SEPARATOR = @PATH_SEPARATOR@
73AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
74AMTAR = @AMTAR@
75AS = @AS@
76AWK = @AWK@
77CANONICAL_HOST = @CANONICAL_HOST@
78CATMAN = @CATMAN@
79CATMANEXT = @CATMANEXT@
80CC = @CC@
81COMPILE_ET = @COMPILE_ET@
82CPP = @CPP@
83DBLIB = @DBLIB@
84DEPDIR = @DEPDIR@
85DIR_com_err = @DIR_com_err@
86DIR_des = @DIR_des@
87DIR_roken = @DIR_roken@
88DLLTOOL = @DLLTOOL@
89ECHO = @ECHO@
90EXTRA_LIB45 = @EXTRA_LIB45@
91GROFF = @GROFF@
92INCLUDES_roken = @INCLUDES_roken@
93INCLUDE_ = @INCLUDE_@
94INCLUDE_des = @INCLUDE_des@
95INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
96LEX = @LEX@
97
98LEXLIB = @LEXLIB@
99LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
100LIBTOOL = @LIBTOOL@
101LIB_ = @LIB_@
102LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
103LIB_NDBM = @LIB_NDBM@
104LIB_com_err = @LIB_com_err@
105LIB_com_err_a = @LIB_com_err_a@
106LIB_com_err_so = @LIB_com_err_so@
107LIB_des = @LIB_des@
108LIB_des_a = @LIB_des_a@
109LIB_des_appl = @LIB_des_appl@
110LIB_des_so = @LIB_des_so@
111LIB_kdb = @LIB_kdb@
112LIB_otp = @LIB_otp@
113LIB_roken = @LIB_roken@
114LIB_security = @LIB_security@
115LN_S = @LN_S@
116LTLIBOBJS = @LTLIBOBJS@
117NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
118NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
119NROFF = @NROFF@
120OBJDUMP = @OBJDUMP@
121PACKAGE = @PACKAGE@
122RANLIB = @RANLIB@
123STRIP = @STRIP@
124VERSION = @VERSION@
125VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
126WFLAGS = @WFLAGS@
127WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
128WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
129X_CFLAGS = @X_CFLAGS@
130X_EXTRA_LIBS = @X_EXTRA_LIBS@
131X_LIBS = @X_LIBS@
132X_PRE_LIBS = @X_PRE_LIBS@
133YACC = @YACC@
134am__include = @am__include@
135am__quote = @am__quote@
136dpagaix_cflags = @dpagaix_cflags@
137dpagaix_ldadd = @dpagaix_ldadd@
138dpagaix_ldflags = @dpagaix_ldflags@
139install_sh = @install_sh@
140
141AUTOMAKE_OPTIONS = foreign no-dependencies 1.6
142
143SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
144
145INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) $(INCLUDE_des)
146
147@do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
148
149AM_CFLAGS = $(WFLAGS)
150
151CP = cp
152
153buildinclude = $(top_builddir)/include
154
155LIB_XauReadAuth = @LIB_XauReadAuth@
156LIB_crypt = @LIB_crypt@
157LIB_dbm_firstkey = @LIB_dbm_firstkey@
158LIB_dbopen = @LIB_dbopen@
159LIB_dlopen = @LIB_dlopen@
160LIB_dn_expand = @LIB_dn_expand@
161LIB_el_init = @LIB_el_init@
162LIB_getattr = @LIB_getattr@
163LIB_gethostbyname = @LIB_gethostbyname@
164LIB_getpwent_r = @LIB_getpwent_r@
165LIB_getpwnam_r = @LIB_getpwnam_r@
166LIB_getsockopt = @LIB_getsockopt@
167LIB_logout = @LIB_logout@
168LIB_logwtmp = @LIB_logwtmp@
169LIB_odm_initialize = @LIB_odm_initialize@
170LIB_openpty = @LIB_openpty@
171LIB_pidfile = @LIB_pidfile@
172LIB_res_search = @LIB_res_search@
173LIB_setpcred = @LIB_setpcred@
174LIB_setsockopt = @LIB_setsockopt@
175LIB_socket = @LIB_socket@
176LIB_syslog = @LIB_syslog@
177LIB_tgetent = @LIB_tgetent@
178
179HESIODLIB = @HESIODLIB@
180HESIODINCLUDE = @HESIODINCLUDE@
181INCLUDE_hesiod = @INCLUDE_hesiod@
182LIB_hesiod = @LIB_hesiod@
183
184INCLUDE_krb4 = @INCLUDE_krb4@
185LIB_krb4 = @LIB_krb4@
186
187INCLUDE_openldap = @INCLUDE_openldap@
188LIB_openldap = @LIB_openldap@
189
190INCLUDE_readline = @INCLUDE_readline@
191LIB_readline = @LIB_readline@
192
193NROFF_MAN = groff -mandoc -Tascii
194
195@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
196
197@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
198@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
199
200@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
201
202@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
203
204bin_PROGRAMS = su
205bin_SUIDS = su
206su_SOURCES = su.c
207
208LDADD = $(LIB_kafs) \
209	$(top_builddir)/lib/krb5/libkrb5.la \
210	$(LIB_krb4) \
211	$(LIB_des) \
212	$(top_builddir)/lib/asn1/libasn1.la \
213	$(LIB_roken)
214
215subdir = appl/su
216mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
217CONFIG_HEADER = $(top_builddir)/include/config.h
218CONFIG_CLEAN_FILES =
219bin_PROGRAMS = su$(EXEEXT)
220PROGRAMS = $(bin_PROGRAMS)
221
222am_su_OBJECTS = su.$(OBJEXT)
223su_OBJECTS = $(am_su_OBJECTS)
224su_LDADD = $(LDADD)
225@KRB4_TRUE@su_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
226@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
227@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
228@KRB4_FALSE@su_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
229@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
230su_LDFLAGS =
231
232DEFS = @DEFS@
233DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
234CPPFLAGS = @CPPFLAGS@
235LDFLAGS = @LDFLAGS@
236LIBS = @LIBS@
237depcomp =
238am__depfiles_maybe =
239COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
240	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
241LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
242	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
243CCLD = $(CC)
244LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
245	$(AM_LDFLAGS) $(LDFLAGS) -o $@
246CFLAGS = @CFLAGS@
247DIST_SOURCES = $(su_SOURCES)
248DIST_COMMON = ChangeLog Makefile.am Makefile.in
249SOURCES = $(su_SOURCES)
250
251all: all-am
252
253.SUFFIXES:
254.SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
255$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
256	cd $(top_srcdir) && \
257	  $(AUTOMAKE) --foreign  appl/su/Makefile
258Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
259	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
260binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
261install-binPROGRAMS: $(bin_PROGRAMS)
262	@$(NORMAL_INSTALL)
263	$(mkinstalldirs) $(DESTDIR)$(bindir)
264	@list='$(bin_PROGRAMS)'; for p in $$list; do \
265	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
266	  if test -f $$p \
267	     || test -f $$p1 \
268	  ; then \
269	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
270	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
271	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
272	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
273	  else :; fi; \
274	done
275
276uninstall-binPROGRAMS:
277	@$(NORMAL_UNINSTALL)
278	@list='$(bin_PROGRAMS)'; for p in $$list; do \
279	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
280	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
281	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
282	  rm -f $(DESTDIR)$(bindir)/$$f; \
283	done
284
285clean-binPROGRAMS:
286	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
287su$(EXEEXT): $(su_OBJECTS) $(su_DEPENDENCIES)
288	@rm -f su$(EXEEXT)
289	$(LINK) $(su_LDFLAGS) $(su_OBJECTS) $(su_LDADD) $(LIBS)
290
291mostlyclean-compile:
292	-rm -f *.$(OBJEXT) core *.core
293
294distclean-compile:
295	-rm -f *.tab.c
296
297.c.o:
298	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
299
300.c.obj:
301	$(COMPILE) -c `cygpath -w $<`
302
303.c.lo:
304	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
305
306mostlyclean-libtool:
307	-rm -f *.lo
308
309clean-libtool:
310	-rm -rf .libs _libs
311
312distclean-libtool:
313	-rm -f libtool
314uninstall-info-am:
315
316ETAGS = etags
317ETAGSFLAGS =
318
319tags: TAGS
320
321ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
322	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
323	unique=`for i in $$list; do \
324	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
325	  done | \
326	  $(AWK) '    { files[$$0] = 1; } \
327	       END { for (i in files) print i; }'`; \
328	mkid -fID $$unique
329
330TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
331		$(TAGS_FILES) $(LISP)
332	tags=; \
333	here=`pwd`; \
334	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
335	unique=`for i in $$list; do \
336	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
337	  done | \
338	  $(AWK) '    { files[$$0] = 1; } \
339	       END { for (i in files) print i; }'`; \
340	test -z "$(ETAGS_ARGS)$$tags$$unique" \
341	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
342	     $$tags $$unique
343
344GTAGS:
345	here=`$(am__cd) $(top_builddir) && pwd` \
346	  && cd $(top_srcdir) \
347	  && gtags -i $(GTAGS_ARGS) $$here
348
349distclean-tags:
350	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
351DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
352
353top_distdir = ../..
354distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
355
356distdir: $(DISTFILES)
357	@for file in $(DISTFILES); do \
358	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
359	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
360	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
361	    dir="/$$dir"; \
362	    $(mkinstalldirs) "$(distdir)$$dir"; \
363	  else \
364	    dir=''; \
365	  fi; \
366	  if test -d $$d/$$file; then \
367	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
368	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
369	    fi; \
370	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
371	  else \
372	    test -f $(distdir)/$$file \
373	    || cp -p $$d/$$file $(distdir)/$$file \
374	    || exit 1; \
375	  fi; \
376	done
377	$(MAKE) $(AM_MAKEFLAGS) \
378	  top_distdir="${top_distdir}" distdir="$(distdir)" \
379	  dist-hook
380check-am: all-am
381	$(MAKE) $(AM_MAKEFLAGS) check-local
382check: check-am
383all-am: Makefile $(PROGRAMS) all-local
384
385installdirs:
386	$(mkinstalldirs) $(DESTDIR)$(bindir)
387
388install: install-am
389install-exec: install-exec-am
390install-data: install-data-am
391uninstall: uninstall-am
392
393install-am: all-am
394	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
395
396installcheck: installcheck-am
397install-strip:
398	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
399	  INSTALL_STRIP_FLAG=-s \
400	  `test -z '$(STRIP)' || \
401	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
402mostlyclean-generic:
403
404clean-generic:
405
406distclean-generic:
407	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
408
409maintainer-clean-generic:
410	@echo "This command is intended for maintainers to use"
411	@echo "it deletes files that may require special tools to rebuild."
412clean: clean-am
413
414clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
415
416distclean: distclean-am
417
418distclean-am: clean-am distclean-compile distclean-generic \
419	distclean-libtool distclean-tags
420
421dvi: dvi-am
422
423dvi-am:
424
425info: info-am
426
427info-am:
428
429install-data-am: install-data-local
430
431install-exec-am: install-binPROGRAMS
432	@$(NORMAL_INSTALL)
433	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
434
435install-info: install-info-am
436
437install-man:
438
439installcheck-am:
440
441maintainer-clean: maintainer-clean-am
442
443maintainer-clean-am: distclean-am maintainer-clean-generic
444
445mostlyclean: mostlyclean-am
446
447mostlyclean-am: mostlyclean-compile mostlyclean-generic \
448	mostlyclean-libtool
449
450uninstall-am: uninstall-binPROGRAMS uninstall-info-am
451
452.PHONY: GTAGS all all-am all-local check check-am check-local clean \
453	clean-binPROGRAMS clean-generic clean-libtool distclean \
454	distclean-compile distclean-generic distclean-libtool \
455	distclean-tags distdir dvi dvi-am info info-am install \
456	install-am install-binPROGRAMS install-data install-data-am \
457	install-data-local install-exec install-exec-am install-info \
458	install-info-am install-man install-strip installcheck \
459	installcheck-am installdirs maintainer-clean \
460	maintainer-clean-generic mostlyclean mostlyclean-compile \
461	mostlyclean-generic mostlyclean-libtool tags uninstall \
462	uninstall-am uninstall-binPROGRAMS uninstall-info-am
463
464
465install-suid-programs:
466	@foo='$(bin_SUIDS)'; \
467	for file in $$foo; do \
468	x=$(DESTDIR)$(bindir)/$$file; \
469	if chown 0:0 $$x && chmod u+s $$x; then :; else \
470	echo "*"; \
471	echo "* Failed to install $$x setuid root"; \
472	echo "*"; \
473	fi; done
474
475install-exec-hook: install-suid-programs
476
477install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
478	@foo='$(include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ)'; \
479	for f in $$foo; do \
480		f=`basename $$f`; \
481		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
482		else file="$$f"; fi; \
483		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
484		: ; else \
485			echo " $(CP) $$file $(buildinclude)/$$f"; \
486			$(CP) $$file $(buildinclude)/$$f; \
487		fi ; \
488	done
489
490all-local: install-build-headers
491
492check-local::
493	@if test '$(CHECK_LOCAL)'; then \
494	  foo='$(CHECK_LOCAL)'; else \
495	  foo='$(PROGRAMS)'; fi; \
496	  if test "$$foo"; then \
497	  failed=0; all=0; \
498	  for i in $$foo; do \
499	    all=`expr $$all + 1`; \
500	    if ./$$i --version > /dev/null 2>&1; then \
501	      echo "PASS: $$i"; \
502	    else \
503	      echo "FAIL: $$i"; \
504	      failed=`expr $$failed + 1`; \
505	    fi; \
506	  done; \
507	  if test "$$failed" -eq 0; then \
508	    banner="All $$all tests passed"; \
509	  else \
510	    banner="$$failed of $$all tests failed"; \
511	  fi; \
512	  dashes=`echo "$$banner" | sed s/./=/g`; \
513	  echo "$$dashes"; \
514	  echo "$$banner"; \
515	  echo "$$dashes"; \
516	  test "$$failed" -eq 0; \
517	fi
518
519.x.c:
520	@cmp -s $< $@ 2> /dev/null || cp $< $@
521#NROFF_MAN = nroff -man
522.1.cat1:
523	$(NROFF_MAN) $< > $@
524.3.cat3:
525	$(NROFF_MAN) $< > $@
526.5.cat5:
527	$(NROFF_MAN) $< > $@
528.8.cat8:
529	$(NROFF_MAN) $< > $@
530
531dist-cat1-mans:
532	@foo='$(man1_MANS)'; \
533	bar='$(man_MANS)'; \
534	for i in $$bar; do \
535	case $$i in \
536	*.1) foo="$$foo $$i";; \
537	esac; done ;\
538	for i in $$foo; do \
539		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
540		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
541		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
542	done
543
544dist-cat3-mans:
545	@foo='$(man3_MANS)'; \
546	bar='$(man_MANS)'; \
547	for i in $$bar; do \
548	case $$i in \
549	*.3) foo="$$foo $$i";; \
550	esac; done ;\
551	for i in $$foo; do \
552		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
553		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
554		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
555	done
556
557dist-cat5-mans:
558	@foo='$(man5_MANS)'; \
559	bar='$(man_MANS)'; \
560	for i in $$bar; do \
561	case $$i in \
562	*.5) foo="$$foo $$i";; \
563	esac; done ;\
564	for i in $$foo; do \
565		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
566		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
567		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
568	done
569
570dist-cat8-mans:
571	@foo='$(man8_MANS)'; \
572	bar='$(man_MANS)'; \
573	for i in $$bar; do \
574	case $$i in \
575	*.8) foo="$$foo $$i";; \
576	esac; done ;\
577	for i in $$foo; do \
578		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
579		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
580		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
581	done
582
583dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
584
585install-cat-mans:
586	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
587
588install-data-local: install-cat-mans
589
590.et.h:
591	$(COMPILE_ET) $<
592.et.c:
593	$(COMPILE_ET) $<
594# Tell versions [3.59,3.63) of GNU make to not export all variables.
595# Otherwise a system limit (for SysV at least) may be exceeded.
596.NOEXPORT:
597