xref: /freebsd/crypto/heimdal/appl/telnet/Makefile.in (revision 830940567b49bb0c08dfaed40418999e76616909)
1# Makefile.in generated by automake 1.10 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006  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 5652 1999-03-20 13:58:20Z joda $
18
19# $Id: Makefile.am.common 10998 2002-05-19 18:35:37Z joda $
20
21# $Id: Makefile.am.common 22488 2008-01-21 11:47:22Z lha $
22VPATH = @srcdir@
23pkgdatadir = $(datadir)/@PACKAGE@
24pkglibdir = $(libdir)/@PACKAGE@
25pkgincludedir = $(includedir)/@PACKAGE@
26am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38build_triplet = @build@
39host_triplet = @host@
40DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
41	$(top_srcdir)/Makefile.am.common \
42	$(top_srcdir)/cf/Makefile.am.common ChangeLog
43subdir = appl/telnet
44ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
45am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
46	$(top_srcdir)/cf/auth-modules.m4 $(top_srcdir)/cf/autobuild.m4 \
47	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
48	$(top_srcdir)/cf/broken-glob.m4 \
49	$(top_srcdir)/cf/broken-realloc.m4 \
50	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
51	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
52	$(top_srcdir)/cf/capabilities.m4 \
53	$(top_srcdir)/cf/check-compile-et.m4 \
54	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
55	$(top_srcdir)/cf/check-man.m4 \
56	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
57	$(top_srcdir)/cf/check-type-extra.m4 \
58	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
59	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
60	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
61	$(top_srcdir)/cf/dlopen.m4 \
62	$(top_srcdir)/cf/find-func-no-libs.m4 \
63	$(top_srcdir)/cf/find-func-no-libs2.m4 \
64	$(top_srcdir)/cf/find-func.m4 \
65	$(top_srcdir)/cf/find-if-not-broken.m4 \
66	$(top_srcdir)/cf/framework-security.m4 \
67	$(top_srcdir)/cf/have-struct-field.m4 \
68	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
69	$(top_srcdir)/cf/krb-bigendian.m4 \
70	$(top_srcdir)/cf/krb-func-getlogin.m4 \
71	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
72	$(top_srcdir)/cf/krb-readline.m4 \
73	$(top_srcdir)/cf/krb-struct-spwd.m4 \
74	$(top_srcdir)/cf/krb-struct-winsize.m4 \
75	$(top_srcdir)/cf/largefile.m4 $(top_srcdir)/cf/mips-abi.m4 \
76	$(top_srcdir)/cf/misc.m4 $(top_srcdir)/cf/need-proto.m4 \
77	$(top_srcdir)/cf/osfc2.m4 $(top_srcdir)/cf/otp.m4 \
78	$(top_srcdir)/cf/proto-compat.m4 $(top_srcdir)/cf/pthreads.m4 \
79	$(top_srcdir)/cf/resolv.m4 $(top_srcdir)/cf/retsigtype.m4 \
80	$(top_srcdir)/cf/roken-frag.m4 \
81	$(top_srcdir)/cf/socket-wrapper.m4 $(top_srcdir)/cf/sunos.m4 \
82	$(top_srcdir)/cf/telnet.m4 $(top_srcdir)/cf/test-package.m4 \
83	$(top_srcdir)/cf/version-script.m4 $(top_srcdir)/cf/wflags.m4 \
84	$(top_srcdir)/cf/win32.m4 $(top_srcdir)/cf/with-all.m4 \
85	$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
86am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
87	$(ACLOCAL_M4)
88mkinstalldirs = $(install_sh) -d
89CONFIG_HEADER = $(top_builddir)/include/config.h
90CONFIG_CLEAN_FILES =
91depcomp =
92am__depfiles_maybe =
93SOURCES =
94DIST_SOURCES =
95RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
96	html-recursive info-recursive install-data-recursive \
97	install-dvi-recursive install-exec-recursive \
98	install-html-recursive install-info-recursive \
99	install-pdf-recursive install-ps-recursive install-recursive \
100	installcheck-recursive installdirs-recursive pdf-recursive \
101	ps-recursive uninstall-recursive
102RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
103  distclean-recursive maintainer-clean-recursive
104ETAGS = etags
105CTAGS = ctags
106DIST_SUBDIRS = $(SUBDIRS)
107DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
108ACLOCAL = @ACLOCAL@
109AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
110AMTAR = @AMTAR@
111AR = @AR@
112AUTOCONF = @AUTOCONF@
113AUTOHEADER = @AUTOHEADER@
114AUTOMAKE = @AUTOMAKE@
115AWK = @AWK@
116CANONICAL_HOST = @CANONICAL_HOST@
117CATMAN = @CATMAN@
118CATMANEXT = @CATMANEXT@
119CC = @CC@
120CFLAGS = @CFLAGS@
121COMPILE_ET = @COMPILE_ET@
122CPP = @CPP@
123CPPFLAGS = @CPPFLAGS@
124CXX = @CXX@
125CXXCPP = @CXXCPP@
126CXXFLAGS = @CXXFLAGS@
127CYGPATH_W = @CYGPATH_W@
128DBLIB = @DBLIB@
129DEFS = @DEFS@
130DIR_com_err = @DIR_com_err@
131DIR_hcrypto = @DIR_hcrypto@
132DIR_hdbdir = @DIR_hdbdir@
133DIR_roken = @DIR_roken@
134ECHO = @ECHO@
135ECHO_C = @ECHO_C@
136ECHO_N = @ECHO_N@
137ECHO_T = @ECHO_T@
138EGREP = @EGREP@
139EXEEXT = @EXEEXT@
140F77 = @F77@
141FFLAGS = @FFLAGS@
142GREP = @GREP@
143GROFF = @GROFF@
144INCLUDES_roken = @INCLUDES_roken@
145INCLUDE_hcrypto = @INCLUDE_hcrypto@
146INCLUDE_hesiod = @INCLUDE_hesiod@
147INCLUDE_krb4 = @INCLUDE_krb4@
148INCLUDE_openldap = @INCLUDE_openldap@
149INCLUDE_readline = @INCLUDE_readline@
150INSTALL = @INSTALL@
151INSTALL_DATA = @INSTALL_DATA@
152INSTALL_PROGRAM = @INSTALL_PROGRAM@
153INSTALL_SCRIPT = @INSTALL_SCRIPT@
154INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
155LDFLAGS = @LDFLAGS@
156LDFLAGS_VERSION_SCRIPT = @LDFLAGS_VERSION_SCRIPT@
157LEX = @LEX@
158LEXLIB = @LEXLIB@
159LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
160LIBADD_roken = @LIBADD_roken@
161LIBOBJS = @LIBOBJS@
162LIBS = @LIBS@
163LIBTOOL = @LIBTOOL@
164LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
165LIB_NDBM = @LIB_NDBM@
166LIB_XauFileName = @LIB_XauFileName@
167LIB_XauReadAuth = @LIB_XauReadAuth@
168LIB_XauWriteAuth = @LIB_XauWriteAuth@
169LIB_bswap16 = @LIB_bswap16@
170LIB_bswap32 = @LIB_bswap32@
171LIB_com_err = @LIB_com_err@
172LIB_com_err_a = @LIB_com_err_a@
173LIB_com_err_so = @LIB_com_err_so@
174LIB_crypt = @LIB_crypt@
175LIB_db_create = @LIB_db_create@
176LIB_dbm_firstkey = @LIB_dbm_firstkey@
177LIB_dbopen = @LIB_dbopen@
178LIB_dlopen = @LIB_dlopen@
179LIB_dn_expand = @LIB_dn_expand@
180LIB_door_create = @LIB_door_create@
181LIB_el_init = @LIB_el_init@
182LIB_freeaddrinfo = @LIB_freeaddrinfo@
183LIB_gai_strerror = @LIB_gai_strerror@
184LIB_getaddrinfo = @LIB_getaddrinfo@
185LIB_gethostbyname = @LIB_gethostbyname@
186LIB_gethostbyname2 = @LIB_gethostbyname2@
187LIB_getnameinfo = @LIB_getnameinfo@
188LIB_getpwnam_r = @LIB_getpwnam_r@
189LIB_getsockopt = @LIB_getsockopt@
190LIB_hcrypto = @LIB_hcrypto@
191LIB_hcrypto_a = @LIB_hcrypto_a@
192LIB_hcrypto_appl = @LIB_hcrypto_appl@
193LIB_hcrypto_so = @LIB_hcrypto_so@
194LIB_hesiod = @LIB_hesiod@
195LIB_hstrerror = @LIB_hstrerror@
196LIB_kdb = @LIB_kdb@
197LIB_krb4 = @LIB_krb4@
198LIB_loadquery = @LIB_loadquery@
199LIB_logout = @LIB_logout@
200LIB_logwtmp = @LIB_logwtmp@
201LIB_openldap = @LIB_openldap@
202LIB_openpty = @LIB_openpty@
203LIB_otp = @LIB_otp@
204LIB_pidfile = @LIB_pidfile@
205LIB_readline = @LIB_readline@
206LIB_res_ndestroy = @LIB_res_ndestroy@
207LIB_res_nsearch = @LIB_res_nsearch@
208LIB_res_search = @LIB_res_search@
209LIB_roken = @LIB_roken@
210LIB_security = @LIB_security@
211LIB_setsockopt = @LIB_setsockopt@
212LIB_socket = @LIB_socket@
213LIB_syslog = @LIB_syslog@
214LIB_tgetent = @LIB_tgetent@
215LN_S = @LN_S@
216LTLIBOBJS = @LTLIBOBJS@
217MAINT = @MAINT@
218MAKEINFO = @MAKEINFO@
219MKDIR_P = @MKDIR_P@
220NROFF = @NROFF@
221OBJEXT = @OBJEXT@
222PACKAGE = @PACKAGE@
223PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
224PACKAGE_NAME = @PACKAGE_NAME@
225PACKAGE_STRING = @PACKAGE_STRING@
226PACKAGE_TARNAME = @PACKAGE_TARNAME@
227PACKAGE_VERSION = @PACKAGE_VERSION@
228PATH_SEPARATOR = @PATH_SEPARATOR@
229PTHREADS_CFLAGS = @PTHREADS_CFLAGS@
230PTHREADS_LIBS = @PTHREADS_LIBS@
231RANLIB = @RANLIB@
232SET_MAKE = @SET_MAKE@
233SHELL = @SHELL@
234STRIP = @STRIP@
235VERSION = @VERSION@
236VERSIONING = @VERSIONING@
237VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
238WFLAGS = @WFLAGS@
239WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
240WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
241XMKMF = @XMKMF@
242X_CFLAGS = @X_CFLAGS@
243X_EXTRA_LIBS = @X_EXTRA_LIBS@
244X_LIBS = @X_LIBS@
245X_PRE_LIBS = @X_PRE_LIBS@
246YACC = @YACC@
247YFLAGS = @YFLAGS@
248abs_builddir = @abs_builddir@
249abs_srcdir = @abs_srcdir@
250abs_top_builddir = @abs_top_builddir@
251abs_top_srcdir = @abs_top_srcdir@
252ac_ct_CC = @ac_ct_CC@
253ac_ct_CXX = @ac_ct_CXX@
254ac_ct_F77 = @ac_ct_F77@
255am__leading_dot = @am__leading_dot@
256am__tar = @am__tar@
257am__untar = @am__untar@
258bindir = @bindir@
259build = @build@
260build_alias = @build_alias@
261build_cpu = @build_cpu@
262build_os = @build_os@
263build_vendor = @build_vendor@
264builddir = @builddir@
265datadir = @datadir@
266datarootdir = @datarootdir@
267docdir = @docdir@
268dpagaix_cflags = @dpagaix_cflags@
269dpagaix_ldadd = @dpagaix_ldadd@
270dpagaix_ldflags = @dpagaix_ldflags@
271dvidir = @dvidir@
272exec_prefix = @exec_prefix@
273host = @host@
274host_alias = @host_alias@
275host_cpu = @host_cpu@
276host_os = @host_os@
277host_vendor = @host_vendor@
278htmldir = @htmldir@
279includedir = @includedir@
280infodir = @infodir@
281install_sh = @install_sh@
282libdir = @libdir@
283libexecdir = @libexecdir@
284localedir = @localedir@
285localstatedir = @localstatedir@
286mandir = @mandir@
287mkdir_p = @mkdir_p@
288oldincludedir = @oldincludedir@
289pdfdir = @pdfdir@
290prefix = @prefix@
291program_transform_name = @program_transform_name@
292psdir = @psdir@
293sbindir = @sbindir@
294sharedstatedir = @sharedstatedir@
295srcdir = @srcdir@
296sysconfdir = @sysconfdir@
297target_alias = @target_alias@
298top_builddir = @top_builddir@
299top_srcdir = @top_srcdir@
300SUFFIXES = .et .h .x .z .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
301AM_CPPFLAGS = -I$(top_builddir)/include $(INCLUDES_roken)
302@do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
303AM_CFLAGS = $(WFLAGS)
304CP = cp
305buildinclude = $(top_builddir)/include
306LIB_getattr = @LIB_getattr@
307LIB_getpwent_r = @LIB_getpwent_r@
308LIB_odm_initialize = @LIB_odm_initialize@
309LIB_setpcred = @LIB_setpcred@
310HESIODLIB = @HESIODLIB@
311HESIODINCLUDE = @HESIODINCLUDE@
312NROFF_MAN = groff -mandoc -Tascii
313LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
314@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
315@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
316
317@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
318@KRB5_TRUE@LIB_tsasl = $(top_builddir)/lib/tsasl/libtsasl.la
319@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
320SUBDIRS = libtelnet telnet telnetd
321EXTRA_DIST = README.ORIG telnet.state
322all: all-recursive
323
324.SUFFIXES:
325.SUFFIXES: .et .h .x .z .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
326$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
327	@for dep in $?; do \
328	  case '$(am__configure_deps)' in \
329	    *$$dep*) \
330	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
331		&& exit 0; \
332	      exit 1;; \
333	  esac; \
334	done; \
335	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/telnet/Makefile'; \
336	cd $(top_srcdir) && \
337	  $(AUTOMAKE) --foreign  --ignore-deps appl/telnet/Makefile
338.PRECIOUS: Makefile
339Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
340	@case '$?' in \
341	  *config.status*) \
342	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
343	  *) \
344	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
345	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
346	esac;
347
348$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
349	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
350
351$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
352	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
353$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
354	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
355
356mostlyclean-libtool:
357	-rm -f *.lo
358
359clean-libtool:
360	-rm -rf .libs _libs
361
362# This directory's subdirectories are mostly independent; you can cd
363# into them and run `make' without going through this Makefile.
364# To change the values of `make' variables: instead of editing Makefiles,
365# (1) if the variable is set in `config.status', edit `config.status'
366#     (which will cause the Makefiles to be regenerated when you run `make');
367# (2) otherwise, pass the desired values on the `make' command line.
368$(RECURSIVE_TARGETS):
369	@failcom='exit 1'; \
370	for f in x $$MAKEFLAGS; do \
371	  case $$f in \
372	    *=* | --[!k]*);; \
373	    *k*) failcom='fail=yes';; \
374	  esac; \
375	done; \
376	dot_seen=no; \
377	target=`echo $@ | sed s/-recursive//`; \
378	list='$(SUBDIRS)'; for subdir in $$list; do \
379	  echo "Making $$target in $$subdir"; \
380	  if test "$$subdir" = "."; then \
381	    dot_seen=yes; \
382	    local_target="$$target-am"; \
383	  else \
384	    local_target="$$target"; \
385	  fi; \
386	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
387	  || eval $$failcom; \
388	done; \
389	if test "$$dot_seen" = "no"; then \
390	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
391	fi; test -z "$$fail"
392
393$(RECURSIVE_CLEAN_TARGETS):
394	@failcom='exit 1'; \
395	for f in x $$MAKEFLAGS; do \
396	  case $$f in \
397	    *=* | --[!k]*);; \
398	    *k*) failcom='fail=yes';; \
399	  esac; \
400	done; \
401	dot_seen=no; \
402	case "$@" in \
403	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
404	  *) list='$(SUBDIRS)' ;; \
405	esac; \
406	rev=''; for subdir in $$list; do \
407	  if test "$$subdir" = "."; then :; else \
408	    rev="$$subdir $$rev"; \
409	  fi; \
410	done; \
411	rev="$$rev ."; \
412	target=`echo $@ | sed s/-recursive//`; \
413	for subdir in $$rev; do \
414	  echo "Making $$target in $$subdir"; \
415	  if test "$$subdir" = "."; then \
416	    local_target="$$target-am"; \
417	  else \
418	    local_target="$$target"; \
419	  fi; \
420	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
421	  || eval $$failcom; \
422	done && test -z "$$fail"
423tags-recursive:
424	list='$(SUBDIRS)'; for subdir in $$list; do \
425	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
426	done
427ctags-recursive:
428	list='$(SUBDIRS)'; for subdir in $$list; do \
429	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
430	done
431
432ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
433	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
434	unique=`for i in $$list; do \
435	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
436	  done | \
437	  $(AWK) '    { files[$$0] = 1; } \
438	       END { for (i in files) print i; }'`; \
439	mkid -fID $$unique
440tags: TAGS
441
442TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
443		$(TAGS_FILES) $(LISP)
444	tags=; \
445	here=`pwd`; \
446	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
447	  include_option=--etags-include; \
448	  empty_fix=.; \
449	else \
450	  include_option=--include; \
451	  empty_fix=; \
452	fi; \
453	list='$(SUBDIRS)'; for subdir in $$list; do \
454	  if test "$$subdir" = .; then :; else \
455	    test ! -f $$subdir/TAGS || \
456	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
457	  fi; \
458	done; \
459	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
460	unique=`for i in $$list; do \
461	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
462	  done | \
463	  $(AWK) '    { files[$$0] = 1; } \
464	       END { for (i in files) print i; }'`; \
465	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
466	  test -n "$$unique" || unique=$$empty_fix; \
467	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
468	    $$tags $$unique; \
469	fi
470ctags: CTAGS
471CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
472		$(TAGS_FILES) $(LISP)
473	tags=; \
474	here=`pwd`; \
475	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
476	unique=`for i in $$list; do \
477	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
478	  done | \
479	  $(AWK) '    { files[$$0] = 1; } \
480	       END { for (i in files) print i; }'`; \
481	test -z "$(CTAGS_ARGS)$$tags$$unique" \
482	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
483	     $$tags $$unique
484
485GTAGS:
486	here=`$(am__cd) $(top_builddir) && pwd` \
487	  && cd $(top_srcdir) \
488	  && gtags -i $(GTAGS_ARGS) $$here
489
490distclean-tags:
491	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
492
493distdir: $(DISTFILES)
494	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
495	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
496	list='$(DISTFILES)'; \
497	  dist_files=`for file in $$list; do echo $$file; done | \
498	  sed -e "s|^$$srcdirstrip/||;t" \
499	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
500	case $$dist_files in \
501	  */*) $(MKDIR_P) `echo "$$dist_files" | \
502			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
503			   sort -u` ;; \
504	esac; \
505	for file in $$dist_files; do \
506	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
507	  if test -d $$d/$$file; then \
508	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
509	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
510	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
511	    fi; \
512	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
513	  else \
514	    test -f $(distdir)/$$file \
515	    || cp -p $$d/$$file $(distdir)/$$file \
516	    || exit 1; \
517	  fi; \
518	done
519	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
520	  if test "$$subdir" = .; then :; else \
521	    test -d "$(distdir)/$$subdir" \
522	    || $(MKDIR_P) "$(distdir)/$$subdir" \
523	    || exit 1; \
524	    distdir=`$(am__cd) $(distdir) && pwd`; \
525	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
526	    (cd $$subdir && \
527	      $(MAKE) $(AM_MAKEFLAGS) \
528	        top_distdir="$$top_distdir" \
529	        distdir="$$distdir/$$subdir" \
530		am__remove_distdir=: \
531		am__skip_length_check=: \
532	        distdir) \
533	      || exit 1; \
534	  fi; \
535	done
536	$(MAKE) $(AM_MAKEFLAGS) \
537	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
538	  dist-hook
539check-am: all-am
540	$(MAKE) $(AM_MAKEFLAGS) check-local
541check: check-recursive
542all-am: Makefile all-local
543installdirs: installdirs-recursive
544installdirs-am:
545install: install-recursive
546install-exec: install-exec-recursive
547install-data: install-data-recursive
548uninstall: uninstall-recursive
549
550install-am: all-am
551	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
552
553installcheck: installcheck-recursive
554install-strip:
555	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
556	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
557	  `test -z '$(STRIP)' || \
558	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
559mostlyclean-generic:
560
561clean-generic:
562
563distclean-generic:
564	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
565
566maintainer-clean-generic:
567	@echo "This command is intended for maintainers to use"
568	@echo "it deletes files that may require special tools to rebuild."
569clean: clean-recursive
570
571clean-am: clean-generic clean-libtool mostlyclean-am
572
573distclean: distclean-recursive
574	-rm -f Makefile
575distclean-am: clean-am distclean-generic distclean-tags
576
577dvi: dvi-recursive
578
579dvi-am:
580
581html: html-recursive
582
583info: info-recursive
584
585info-am:
586
587install-data-am:
588	@$(NORMAL_INSTALL)
589	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
590
591install-dvi: install-dvi-recursive
592
593install-exec-am:
594	@$(NORMAL_INSTALL)
595	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
596
597install-html: install-html-recursive
598
599install-info: install-info-recursive
600
601install-man:
602
603install-pdf: install-pdf-recursive
604
605install-ps: install-ps-recursive
606
607installcheck-am:
608
609maintainer-clean: maintainer-clean-recursive
610	-rm -f Makefile
611maintainer-clean-am: distclean-am maintainer-clean-generic
612
613mostlyclean: mostlyclean-recursive
614
615mostlyclean-am: mostlyclean-generic mostlyclean-libtool
616
617pdf: pdf-recursive
618
619pdf-am:
620
621ps: ps-recursive
622
623ps-am:
624
625uninstall-am:
626	@$(NORMAL_INSTALL)
627	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
628
629.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
630	install-data-am install-exec-am install-strip uninstall-am
631
632.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
633	all all-am all-local check check-am check-local clean \
634	clean-generic clean-libtool ctags ctags-recursive dist-hook \
635	distclean distclean-generic distclean-libtool distclean-tags \
636	distdir dvi dvi-am html html-am info info-am install \
637	install-am install-data install-data-am install-data-hook \
638	install-dvi install-dvi-am install-exec install-exec-am \
639	install-exec-hook install-html install-html-am install-info \
640	install-info-am install-man install-pdf install-pdf-am \
641	install-ps install-ps-am install-strip installcheck \
642	installcheck-am installdirs installdirs-am maintainer-clean \
643	maintainer-clean-generic mostlyclean mostlyclean-generic \
644	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
645	uninstall uninstall-am uninstall-hook
646
647
648install-suid-programs:
649	@foo='$(bin_SUIDS)'; \
650	for file in $$foo; do \
651	x=$(DESTDIR)$(bindir)/$$file; \
652	if chown 0:0 $$x && chmod u+s $$x; then :; else \
653	echo "*"; \
654	echo "* Failed to install $$x setuid root"; \
655	echo "*"; \
656	fi; done
657
658install-exec-hook: install-suid-programs
659
660install-build-headers:: $(include_HEADERS) $(dist_include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ) $(nobase_include_HEADERS)
661	@foo='$(include_HEADERS) $(dist_include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ)'; \
662	for f in $$foo; do \
663		f=`basename $$f`; \
664		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
665		else file="$$f"; fi; \
666		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
667		: ; else \
668			echo " $(CP) $$file $(buildinclude)/$$f"; \
669			$(CP) $$file $(buildinclude)/$$f; \
670		fi ; \
671	done ; \
672	foo='$(nobase_include_HEADERS)'; \
673	for f in $$foo; do \
674		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
675		else file="$$f"; fi; \
676		$(mkdir_p) $(buildinclude)/`dirname $$f` ; \
677		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
678		: ; else \
679			echo " $(CP) $$file $(buildinclude)/$$f"; \
680			$(CP) $$file $(buildinclude)/$$f; \
681		fi ; \
682	done
683
684all-local: install-build-headers
685
686check-local::
687	@if test '$(CHECK_LOCAL)' = "no-check-local"; then \
688	  foo=''; elif test '$(CHECK_LOCAL)'; then \
689	  foo='$(CHECK_LOCAL)'; else \
690	  foo='$(PROGRAMS)'; fi; \
691	  if test "$$foo"; then \
692	  failed=0; all=0; \
693	  for i in $$foo; do \
694	    all=`expr $$all + 1`; \
695	    if (./$$i --version && ./$$i --help) > /dev/null 2>&1; then \
696	      echo "PASS: $$i"; \
697	    else \
698	      echo "FAIL: $$i"; \
699	      failed=`expr $$failed + 1`; \
700	    fi; \
701	  done; \
702	  if test "$$failed" -eq 0; then \
703	    banner="All $$all tests passed"; \
704	  else \
705	    banner="$$failed of $$all tests failed"; \
706	  fi; \
707	  dashes=`echo "$$banner" | sed s/./=/g`; \
708	  echo "$$dashes"; \
709	  echo "$$banner"; \
710	  echo "$$dashes"; \
711	  test "$$failed" -eq 0 || exit 1; \
712	fi
713
714.x.c:
715	@cmp -s $< $@ 2> /dev/null || cp $< $@
716#NROFF_MAN = nroff -man
717.1.cat1:
718	$(NROFF_MAN) $< > $@
719.3.cat3:
720	$(NROFF_MAN) $< > $@
721.5.cat5:
722	$(NROFF_MAN) $< > $@
723.8.cat8:
724	$(NROFF_MAN) $< > $@
725
726dist-cat1-mans:
727	@foo='$(man1_MANS)'; \
728	bar='$(man_MANS)'; \
729	for i in $$bar; do \
730	case $$i in \
731	*.1) foo="$$foo $$i";; \
732	esac; done ;\
733	for i in $$foo; do \
734		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
735		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
736		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
737	done
738
739dist-cat3-mans:
740	@foo='$(man3_MANS)'; \
741	bar='$(man_MANS)'; \
742	for i in $$bar; do \
743	case $$i in \
744	*.3) foo="$$foo $$i";; \
745	esac; done ;\
746	for i in $$foo; do \
747		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
748		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
749		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
750	done
751
752dist-cat5-mans:
753	@foo='$(man5_MANS)'; \
754	bar='$(man_MANS)'; \
755	for i in $$bar; do \
756	case $$i in \
757	*.5) foo="$$foo $$i";; \
758	esac; done ;\
759	for i in $$foo; do \
760		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
761		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
762		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
763	done
764
765dist-cat8-mans:
766	@foo='$(man8_MANS)'; \
767	bar='$(man_MANS)'; \
768	for i in $$bar; do \
769	case $$i in \
770	*.8) foo="$$foo $$i";; \
771	esac; done ;\
772	for i in $$foo; do \
773		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
774		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
775		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
776	done
777
778dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
779
780install-cat-mans:
781	$(SHELL) $(top_srcdir)/cf/install-catman.sh install "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
782
783uninstall-cat-mans:
784	$(SHELL) $(top_srcdir)/cf/install-catman.sh uninstall "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
785
786install-data-hook: install-cat-mans
787uninstall-hook: uninstall-cat-mans
788
789.et.h:
790	$(COMPILE_ET) $<
791.et.c:
792	$(COMPILE_ET) $<
793
794#
795# Useful target for debugging
796#
797
798check-valgrind:
799	tobjdir=`cd $(top_builddir) && pwd` ; \
800	tsrcdir=`cd $(top_srcdir) && pwd` ; \
801	env TESTS_ENVIRONMENT="$${tobjdir}/libtool --mode execute valgrind --leak-check=full --trace-children=yes --quiet -q --num-callers=30 --suppressions=$${tsrcdir}/cf/valgrind-suppressions" make check
802
803#
804# Target to please samba build farm, builds distfiles in-tree.
805# Will break when automake changes...
806#
807
808distdir-in-tree: $(DISTFILES) $(INFO_DEPS)
809	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
810	  if test "$$subdir" != .; then \
811	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) distdir-in-tree) ; \
812	  fi ; \
813	done
814
815dist-hook:
816	$(mkinstalldirs) $(distdir)/arpa
817	$(INSTALL_DATA) $(srcdir)/arpa/telnet.h $(distdir)/arpa
818# Tell versions [3.59,3.63) of GNU make to not export all variables.
819# Otherwise a system limit (for SysV at least) may be exceeded.
820.NOEXPORT:
821