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