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