xref: /freebsd/crypto/heimdal/appl/ftp/ftpd/Makefile.in (revision 7aa383846770374466b1dcb2cefd71bde9acf463)
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 21031 2007-06-09 05:00:27Z 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 ftpcmd.c
44libexec_PROGRAMS = ftpd$(EXEEXT)
45subdir = appl/ftp/ftpd
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)$(man5dir)" \
94	"$(DESTDIR)$(man8dir)"
95libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
96PROGRAMS = $(libexec_PROGRAMS)
97am__ftpd_SOURCES_DIST = extern.h ftpcmd.y ftpd.c ftpd_locl.h logwtmp.c \
98	ls.c pathnames.h popen.c security.c kauth.c klist.c krb4.c \
99	gssapi.c gss_userok.c
100@KRB4_TRUE@am__objects_1 = krb4.$(OBJEXT)
101@KRB5_TRUE@am__objects_2 = gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
102am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) logwtmp.$(OBJEXT) \
103	ls.$(OBJEXT) popen.$(OBJEXT) security.$(OBJEXT) \
104	kauth.$(OBJEXT) klist.$(OBJEXT) $(am__objects_1) \
105	$(am__objects_2)
106ftpd_OBJECTS = $(am_ftpd_OBJECTS)
107ftpd_LDADD = $(LDADD)
108am__DEPENDENCIES_1 =
109am__DEPENDENCIES_2 = $(top_builddir)/lib/kafs/libkafs.la \
110	$(am__DEPENDENCIES_1)
111ftpd_DEPENDENCIES = ../common/libcommon.a $(am__DEPENDENCIES_1) \
112	$(LIB_gssapi) $(LIB_krb5) $(am__DEPENDENCIES_2) \
113	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
114	$(am__DEPENDENCIES_1)
115DEFAULT_INCLUDES = -I. -I$(top_builddir)/include@am__isrc@
116depcomp =
117am__depfiles_maybe =
118COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
119	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
120LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
121	--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
122	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
123CCLD = $(CC)
124LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
125	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
126	$(LDFLAGS) -o $@
127@MAINTAINER_MODE_FALSE@am__skipyacc = test -f $@ ||
128YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
129LTYACCCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
130	--mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
131YLWRAP = $(top_srcdir)/ylwrap
132SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
133DIST_SOURCES = $(am__ftpd_SOURCES_DIST) $(EXTRA_ftpd_SOURCES)
134man5dir = $(mandir)/man5
135man8dir = $(mandir)/man8
136MANS = $(man_MANS)
137ETAGS = etags
138CTAGS = ctags
139DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
140ACLOCAL = @ACLOCAL@
141AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
142AMTAR = @AMTAR@
143AR = @AR@
144AUTOCONF = @AUTOCONF@
145AUTOHEADER = @AUTOHEADER@
146AUTOMAKE = @AUTOMAKE@
147AWK = @AWK@
148CANONICAL_HOST = @CANONICAL_HOST@
149CATMAN = @CATMAN@
150CATMANEXT = @CATMANEXT@
151CC = @CC@
152CFLAGS = @CFLAGS@
153COMPILE_ET = @COMPILE_ET@
154CPP = @CPP@
155CPPFLAGS = @CPPFLAGS@
156CXX = @CXX@
157CXXCPP = @CXXCPP@
158CXXFLAGS = @CXXFLAGS@
159CYGPATH_W = @CYGPATH_W@
160DBLIB = @DBLIB@
161DEFS = @DEFS@
162DIR_com_err = @DIR_com_err@
163DIR_hcrypto = @DIR_hcrypto@
164DIR_hdbdir = @DIR_hdbdir@
165DIR_roken = @DIR_roken@
166ECHO = @ECHO@
167ECHO_C = @ECHO_C@
168ECHO_N = @ECHO_N@
169ECHO_T = @ECHO_T@
170EGREP = @EGREP@
171EXEEXT = @EXEEXT@
172F77 = @F77@
173FFLAGS = @FFLAGS@
174GREP = @GREP@
175GROFF = @GROFF@
176INCLUDES_roken = @INCLUDES_roken@
177INCLUDE_hcrypto = @INCLUDE_hcrypto@
178INCLUDE_hesiod = @INCLUDE_hesiod@
179INCLUDE_krb4 = @INCLUDE_krb4@
180INCLUDE_openldap = @INCLUDE_openldap@
181INCLUDE_readline = @INCLUDE_readline@
182INSTALL = @INSTALL@
183INSTALL_DATA = @INSTALL_DATA@
184INSTALL_PROGRAM = @INSTALL_PROGRAM@
185INSTALL_SCRIPT = @INSTALL_SCRIPT@
186INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
187LDFLAGS = @LDFLAGS@
188LDFLAGS_VERSION_SCRIPT = @LDFLAGS_VERSION_SCRIPT@
189LEX = @LEX@
190LEXLIB = @LEXLIB@
191LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
192LIBADD_roken = @LIBADD_roken@
193LIBOBJS = @LIBOBJS@
194LIBS = @LIBS@
195LIBTOOL = @LIBTOOL@
196LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
197LIB_NDBM = @LIB_NDBM@
198LIB_XauFileName = @LIB_XauFileName@
199LIB_XauReadAuth = @LIB_XauReadAuth@
200LIB_XauWriteAuth = @LIB_XauWriteAuth@
201LIB_bswap16 = @LIB_bswap16@
202LIB_bswap32 = @LIB_bswap32@
203LIB_com_err = @LIB_com_err@
204LIB_com_err_a = @LIB_com_err_a@
205LIB_com_err_so = @LIB_com_err_so@
206LIB_crypt = @LIB_crypt@
207LIB_db_create = @LIB_db_create@
208LIB_dbm_firstkey = @LIB_dbm_firstkey@
209LIB_dbopen = @LIB_dbopen@
210LIB_dlopen = @LIB_dlopen@
211LIB_dn_expand = @LIB_dn_expand@
212LIB_door_create = @LIB_door_create@
213LIB_el_init = @LIB_el_init@
214LIB_freeaddrinfo = @LIB_freeaddrinfo@
215LIB_gai_strerror = @LIB_gai_strerror@
216LIB_getaddrinfo = @LIB_getaddrinfo@
217LIB_gethostbyname = @LIB_gethostbyname@
218LIB_gethostbyname2 = @LIB_gethostbyname2@
219LIB_getnameinfo = @LIB_getnameinfo@
220LIB_getpwnam_r = @LIB_getpwnam_r@
221LIB_getsockopt = @LIB_getsockopt@
222LIB_hcrypto = @LIB_hcrypto@
223LIB_hcrypto_a = @LIB_hcrypto_a@
224LIB_hcrypto_appl = @LIB_hcrypto_appl@
225LIB_hcrypto_so = @LIB_hcrypto_so@
226LIB_hesiod = @LIB_hesiod@
227LIB_hstrerror = @LIB_hstrerror@
228LIB_kdb = @LIB_kdb@
229LIB_krb4 = @LIB_krb4@
230LIB_loadquery = @LIB_loadquery@
231LIB_logout = @LIB_logout@
232LIB_logwtmp = @LIB_logwtmp@
233LIB_openldap = @LIB_openldap@
234LIB_openpty = @LIB_openpty@
235LIB_otp = @LIB_otp@
236LIB_pidfile = @LIB_pidfile@
237LIB_readline = @LIB_readline@
238LIB_res_ndestroy = @LIB_res_ndestroy@
239LIB_res_nsearch = @LIB_res_nsearch@
240LIB_res_search = @LIB_res_search@
241LIB_roken = @LIB_roken@
242LIB_security = @LIB_security@
243LIB_setsockopt = @LIB_setsockopt@
244LIB_socket = @LIB_socket@
245LIB_syslog = @LIB_syslog@
246LIB_tgetent = @LIB_tgetent@
247LN_S = @LN_S@
248LTLIBOBJS = @LTLIBOBJS@
249MAINT = @MAINT@
250MAKEINFO = @MAKEINFO@
251MKDIR_P = @MKDIR_P@
252NROFF = @NROFF@
253OBJEXT = @OBJEXT@
254PACKAGE = @PACKAGE@
255PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
256PACKAGE_NAME = @PACKAGE_NAME@
257PACKAGE_STRING = @PACKAGE_STRING@
258PACKAGE_TARNAME = @PACKAGE_TARNAME@
259PACKAGE_VERSION = @PACKAGE_VERSION@
260PATH_SEPARATOR = @PATH_SEPARATOR@
261PTHREADS_CFLAGS = @PTHREADS_CFLAGS@
262PTHREADS_LIBS = @PTHREADS_LIBS@
263RANLIB = @RANLIB@
264SET_MAKE = @SET_MAKE@
265SHELL = @SHELL@
266STRIP = @STRIP@
267VERSION = @VERSION@
268VERSIONING = @VERSIONING@
269VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
270WFLAGS = @WFLAGS@
271WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
272WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
273XMKMF = @XMKMF@
274X_CFLAGS = @X_CFLAGS@
275X_EXTRA_LIBS = @X_EXTRA_LIBS@
276X_LIBS = @X_LIBS@
277X_PRE_LIBS = @X_PRE_LIBS@
278YACC = @YACC@
279YFLAGS = @YFLAGS@
280abs_builddir = @abs_builddir@
281abs_srcdir = @abs_srcdir@
282abs_top_builddir = @abs_top_builddir@
283abs_top_srcdir = @abs_top_srcdir@
284ac_ct_CC = @ac_ct_CC@
285ac_ct_CXX = @ac_ct_CXX@
286ac_ct_F77 = @ac_ct_F77@
287am__leading_dot = @am__leading_dot@
288am__tar = @am__tar@
289am__untar = @am__untar@
290bindir = @bindir@
291build = @build@
292build_alias = @build_alias@
293build_cpu = @build_cpu@
294build_os = @build_os@
295build_vendor = @build_vendor@
296builddir = @builddir@
297datadir = @datadir@
298datarootdir = @datarootdir@
299docdir = @docdir@
300dpagaix_cflags = @dpagaix_cflags@
301dpagaix_ldadd = @dpagaix_ldadd@
302dpagaix_ldflags = @dpagaix_ldflags@
303dvidir = @dvidir@
304exec_prefix = @exec_prefix@
305host = @host@
306host_alias = @host_alias@
307host_cpu = @host_cpu@
308host_os = @host_os@
309host_vendor = @host_vendor@
310htmldir = @htmldir@
311includedir = @includedir@
312infodir = @infodir@
313install_sh = @install_sh@
314libdir = @libdir@
315libexecdir = @libexecdir@
316localedir = @localedir@
317localstatedir = @localstatedir@
318mandir = @mandir@
319mkdir_p = @mkdir_p@
320oldincludedir = @oldincludedir@
321pdfdir = @pdfdir@
322prefix = @prefix@
323program_transform_name = @program_transform_name@
324psdir = @psdir@
325sbindir = @sbindir@
326sharedstatedir = @sharedstatedir@
327srcdir = @srcdir@
328sysconfdir = @sysconfdir@
329target_alias = @target_alias@
330top_builddir = @top_builddir@
331top_srcdir = @top_srcdir@
332SUFFIXES = .et .h .x .z .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
333AM_CPPFLAGS = -I$(top_builddir)/include $(INCLUDES_roken) \
334	-I$(srcdir)/../common $(INCLUDE_krb4) -DFTP_SERVER
335@do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
336AM_CFLAGS = $(WFLAGS)
337CP = cp
338buildinclude = $(top_builddir)/include
339LIB_getattr = @LIB_getattr@
340LIB_getpwent_r = @LIB_getpwent_r@
341LIB_odm_initialize = @LIB_odm_initialize@
342LIB_setpcred = @LIB_setpcred@
343HESIODLIB = @HESIODLIB@
344HESIODINCLUDE = @HESIODINCLUDE@
345NROFF_MAN = groff -mandoc -Tascii
346LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
347@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
348@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
349
350@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
351@KRB5_TRUE@LIB_tsasl = $(top_builddir)/lib/tsasl/libtsasl.la
352@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
353CHECK_LOCAL =
354@KRB4_TRUE@krb4_sources = krb4.c
355@KRB5_TRUE@krb5_sources = gssapi.c gss_userok.c
356ftpd_SOURCES = \
357	extern.h	\
358	ftpcmd.y	\
359	ftpd.c		\
360	ftpd_locl.h	\
361	logwtmp.c	\
362	ls.c		\
363	pathnames.h	\
364	popen.c		\
365	security.c	\
366	kauth.c		\
367	klist.c		\
368	$(krb4_sources) \
369	$(krb5_sources)
370
371EXTRA_ftpd_SOURCES = krb4.c kauth.c gssapi.c gss_userok.c
372CLEANFILES = security.c security.h krb4.c gssapi.c
373man_MANS = ftpd.8 ftpusers.5
374LDADD = ../common/libcommon.a \
375	$(LIB_otp) \
376	$(LIB_gssapi) \
377	$(LIB_krb5) \
378	$(LIB_kafs) \
379	$(LIB_krb4) \
380	$(LIB_hcrypto) \
381	$(LIB_roken)
382
383EXTRA_DIST = $(man_MANS)
384all: all-am
385
386.SUFFIXES:
387.SUFFIXES: .et .h .x .z .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj .y
388$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
389	@for dep in $?; do \
390	  case '$(am__configure_deps)' in \
391	    *$$dep*) \
392	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
393		&& exit 0; \
394	      exit 1;; \
395	  esac; \
396	done; \
397	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/ftp/ftpd/Makefile'; \
398	cd $(top_srcdir) && \
399	  $(AUTOMAKE) --foreign  --ignore-deps appl/ftp/ftpd/Makefile
400.PRECIOUS: Makefile
401Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
402	@case '$?' in \
403	  *config.status*) \
404	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
405	  *) \
406	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
407	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
408	esac;
409
410$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
411	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
412
413$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
414	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
415$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
416	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
417install-libexecPROGRAMS: $(libexec_PROGRAMS)
418	@$(NORMAL_INSTALL)
419	test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
420	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
421	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
422	  if test -f $$p \
423	     || test -f $$p1 \
424	  ; then \
425	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
426	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
427	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
428	  else :; fi; \
429	done
430
431uninstall-libexecPROGRAMS:
432	@$(NORMAL_UNINSTALL)
433	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
434	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
435	  echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
436	  rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
437	done
438
439clean-libexecPROGRAMS:
440	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
441	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
442	  echo " rm -f $$p $$f"; \
443	  rm -f $$p $$f ; \
444	done
445ftpd$(EXEEXT): $(ftpd_OBJECTS) $(ftpd_DEPENDENCIES)
446	@rm -f ftpd$(EXEEXT)
447	$(LINK) $(ftpd_OBJECTS) $(ftpd_LDADD) $(LIBS)
448
449mostlyclean-compile:
450	-rm -f *.$(OBJEXT)
451
452distclean-compile:
453	-rm -f *.tab.c
454
455.c.o:
456	$(COMPILE) -c $<
457
458.c.obj:
459	$(COMPILE) -c `$(CYGPATH_W) '$<'`
460
461.c.lo:
462	$(LTCOMPILE) -c -o $@ $<
463
464.y.c:
465	$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
466
467mostlyclean-libtool:
468	-rm -f *.lo
469
470clean-libtool:
471	-rm -rf .libs _libs
472install-man5: $(man5_MANS) $(man_MANS)
473	@$(NORMAL_INSTALL)
474	test -z "$(man5dir)" || $(MKDIR_P) "$(DESTDIR)$(man5dir)"
475	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
476	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
477	for i in $$l2; do \
478	  case "$$i" in \
479	    *.5*) list="$$list $$i" ;; \
480	  esac; \
481	done; \
482	for i in $$list; do \
483	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
484	  else file=$$i; fi; \
485	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
486	  case "$$ext" in \
487	    5*) ;; \
488	    *) ext='5' ;; \
489	  esac; \
490	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
491	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
492	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
493	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
494	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst"; \
495	done
496uninstall-man5:
497	@$(NORMAL_UNINSTALL)
498	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
499	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
500	for i in $$l2; do \
501	  case "$$i" in \
502	    *.5*) list="$$list $$i" ;; \
503	  esac; \
504	done; \
505	for i in $$list; do \
506	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
507	  case "$$ext" in \
508	    5*) ;; \
509	    *) ext='5' ;; \
510	  esac; \
511	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
512	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
513	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
514	  echo " rm -f '$(DESTDIR)$(man5dir)/$$inst'"; \
515	  rm -f "$(DESTDIR)$(man5dir)/$$inst"; \
516	done
517install-man8: $(man8_MANS) $(man_MANS)
518	@$(NORMAL_INSTALL)
519	test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
520	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
521	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
522	for i in $$l2; do \
523	  case "$$i" in \
524	    *.8*) list="$$list $$i" ;; \
525	  esac; \
526	done; \
527	for i in $$list; do \
528	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
529	  else file=$$i; fi; \
530	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
531	  case "$$ext" in \
532	    8*) ;; \
533	    *) ext='8' ;; \
534	  esac; \
535	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
536	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
537	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
538	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
539	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
540	done
541uninstall-man8:
542	@$(NORMAL_UNINSTALL)
543	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
544	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
545	for i in $$l2; do \
546	  case "$$i" in \
547	    *.8*) list="$$list $$i" ;; \
548	  esac; \
549	done; \
550	for i in $$list; do \
551	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
552	  case "$$ext" in \
553	    8*) ;; \
554	    *) ext='8' ;; \
555	  esac; \
556	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
557	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
558	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
559	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
560	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
561	done
562
563ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
564	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
565	unique=`for i in $$list; do \
566	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
567	  done | \
568	  $(AWK) '    { files[$$0] = 1; } \
569	       END { for (i in files) print i; }'`; \
570	mkid -fID $$unique
571tags: TAGS
572
573TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
574		$(TAGS_FILES) $(LISP)
575	tags=; \
576	here=`pwd`; \
577	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
578	unique=`for i in $$list; do \
579	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
580	  done | \
581	  $(AWK) '    { files[$$0] = 1; } \
582	       END { for (i in files) print i; }'`; \
583	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
584	  test -n "$$unique" || unique=$$empty_fix; \
585	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
586	    $$tags $$unique; \
587	fi
588ctags: CTAGS
589CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
590		$(TAGS_FILES) $(LISP)
591	tags=; \
592	here=`pwd`; \
593	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
594	unique=`for i in $$list; do \
595	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
596	  done | \
597	  $(AWK) '    { files[$$0] = 1; } \
598	       END { for (i in files) print i; }'`; \
599	test -z "$(CTAGS_ARGS)$$tags$$unique" \
600	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
601	     $$tags $$unique
602
603GTAGS:
604	here=`$(am__cd) $(top_builddir) && pwd` \
605	  && cd $(top_srcdir) \
606	  && gtags -i $(GTAGS_ARGS) $$here
607
608distclean-tags:
609	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
610
611distdir: $(DISTFILES)
612	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
613	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
614	list='$(DISTFILES)'; \
615	  dist_files=`for file in $$list; do echo $$file; done | \
616	  sed -e "s|^$$srcdirstrip/||;t" \
617	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
618	case $$dist_files in \
619	  */*) $(MKDIR_P) `echo "$$dist_files" | \
620			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
621			   sort -u` ;; \
622	esac; \
623	for file in $$dist_files; do \
624	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
625	  if test -d $$d/$$file; then \
626	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
627	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
628	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
629	    fi; \
630	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
631	  else \
632	    test -f $(distdir)/$$file \
633	    || cp -p $$d/$$file $(distdir)/$$file \
634	    || exit 1; \
635	  fi; \
636	done
637	$(MAKE) $(AM_MAKEFLAGS) \
638	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
639	  dist-hook
640check-am: all-am
641	$(MAKE) $(AM_MAKEFLAGS) check-local
642check: check-am
643all-am: Makefile $(PROGRAMS) $(MANS) all-local
644installdirs:
645	for dir in "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)"; do \
646	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
647	done
648install: install-am
649install-exec: install-exec-am
650install-data: install-data-am
651uninstall: uninstall-am
652
653install-am: all-am
654	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
655
656installcheck: installcheck-am
657install-strip:
658	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
659	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
660	  `test -z '$(STRIP)' || \
661	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
662mostlyclean-generic:
663
664clean-generic:
665	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
666
667distclean-generic:
668	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
669
670maintainer-clean-generic:
671	@echo "This command is intended for maintainers to use"
672	@echo "it deletes files that may require special tools to rebuild."
673	-rm -f ftpcmd.c
674clean: clean-am
675
676clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
677	mostlyclean-am
678
679distclean: distclean-am
680	-rm -f Makefile
681distclean-am: clean-am distclean-compile distclean-generic \
682	distclean-tags
683
684dvi: dvi-am
685
686dvi-am:
687
688html: html-am
689
690info: info-am
691
692info-am:
693
694install-data-am: install-man
695	@$(NORMAL_INSTALL)
696	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
697
698install-dvi: install-dvi-am
699
700install-exec-am: install-libexecPROGRAMS
701	@$(NORMAL_INSTALL)
702	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
703
704install-html: install-html-am
705
706install-info: install-info-am
707
708install-man: install-man5 install-man8
709
710install-pdf: install-pdf-am
711
712install-ps: install-ps-am
713
714installcheck-am:
715
716maintainer-clean: maintainer-clean-am
717	-rm -f Makefile
718maintainer-clean-am: distclean-am maintainer-clean-generic
719
720mostlyclean: mostlyclean-am
721
722mostlyclean-am: mostlyclean-compile mostlyclean-generic \
723	mostlyclean-libtool
724
725pdf: pdf-am
726
727pdf-am:
728
729ps: ps-am
730
731ps-am:
732
733uninstall-am: uninstall-libexecPROGRAMS uninstall-man
734	@$(NORMAL_INSTALL)
735	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
736
737uninstall-man: uninstall-man5 uninstall-man8
738
739.MAKE: install-am install-data-am install-exec-am install-strip \
740	uninstall-am
741
742.PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
743	clean clean-generic clean-libexecPROGRAMS clean-libtool ctags \
744	dist-hook distclean distclean-compile distclean-generic \
745	distclean-libtool distclean-tags distdir dvi dvi-am html \
746	html-am info info-am install install-am install-data \
747	install-data-am install-data-hook install-dvi install-dvi-am \
748	install-exec install-exec-am install-exec-hook install-html \
749	install-html-am install-info install-info-am \
750	install-libexecPROGRAMS install-man install-man5 install-man8 \
751	install-pdf install-pdf-am install-ps install-ps-am \
752	install-strip installcheck installcheck-am installdirs \
753	maintainer-clean maintainer-clean-generic mostlyclean \
754	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
755	pdf pdf-am ps ps-am tags uninstall uninstall-am uninstall-hook \
756	uninstall-libexecPROGRAMS uninstall-man uninstall-man5 \
757	uninstall-man8
758
759
760install-suid-programs:
761	@foo='$(bin_SUIDS)'; \
762	for file in $$foo; do \
763	x=$(DESTDIR)$(bindir)/$$file; \
764	if chown 0:0 $$x && chmod u+s $$x; then :; else \
765	echo "*"; \
766	echo "* Failed to install $$x setuid root"; \
767	echo "*"; \
768	fi; done
769
770install-exec-hook: install-suid-programs
771
772install-build-headers:: $(include_HEADERS) $(dist_include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ) $(nobase_include_HEADERS)
773	@foo='$(include_HEADERS) $(dist_include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ)'; \
774	for f in $$foo; do \
775		f=`basename $$f`; \
776		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
777		else file="$$f"; fi; \
778		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
779		: ; else \
780			echo " $(CP) $$file $(buildinclude)/$$f"; \
781			$(CP) $$file $(buildinclude)/$$f; \
782		fi ; \
783	done ; \
784	foo='$(nobase_include_HEADERS)'; \
785	for f in $$foo; do \
786		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
787		else file="$$f"; fi; \
788		$(mkdir_p) $(buildinclude)/`dirname $$f` ; \
789		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
790		: ; else \
791			echo " $(CP) $$file $(buildinclude)/$$f"; \
792			$(CP) $$file $(buildinclude)/$$f; \
793		fi ; \
794	done
795
796all-local: install-build-headers
797
798check-local::
799	@if test '$(CHECK_LOCAL)' = "no-check-local"; then \
800	  foo=''; elif test '$(CHECK_LOCAL)'; then \
801	  foo='$(CHECK_LOCAL)'; else \
802	  foo='$(PROGRAMS)'; fi; \
803	  if test "$$foo"; then \
804	  failed=0; all=0; \
805	  for i in $$foo; do \
806	    all=`expr $$all + 1`; \
807	    if (./$$i --version && ./$$i --help) > /dev/null 2>&1; then \
808	      echo "PASS: $$i"; \
809	    else \
810	      echo "FAIL: $$i"; \
811	      failed=`expr $$failed + 1`; \
812	    fi; \
813	  done; \
814	  if test "$$failed" -eq 0; then \
815	    banner="All $$all tests passed"; \
816	  else \
817	    banner="$$failed of $$all tests failed"; \
818	  fi; \
819	  dashes=`echo "$$banner" | sed s/./=/g`; \
820	  echo "$$dashes"; \
821	  echo "$$banner"; \
822	  echo "$$dashes"; \
823	  test "$$failed" -eq 0 || exit 1; \
824	fi
825
826.x.c:
827	@cmp -s $< $@ 2> /dev/null || cp $< $@
828#NROFF_MAN = nroff -man
829.1.cat1:
830	$(NROFF_MAN) $< > $@
831.3.cat3:
832	$(NROFF_MAN) $< > $@
833.5.cat5:
834	$(NROFF_MAN) $< > $@
835.8.cat8:
836	$(NROFF_MAN) $< > $@
837
838dist-cat1-mans:
839	@foo='$(man1_MANS)'; \
840	bar='$(man_MANS)'; \
841	for i in $$bar; do \
842	case $$i in \
843	*.1) foo="$$foo $$i";; \
844	esac; done ;\
845	for i in $$foo; do \
846		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
847		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
848		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
849	done
850
851dist-cat3-mans:
852	@foo='$(man3_MANS)'; \
853	bar='$(man_MANS)'; \
854	for i in $$bar; do \
855	case $$i in \
856	*.3) foo="$$foo $$i";; \
857	esac; done ;\
858	for i in $$foo; do \
859		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
860		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
861		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
862	done
863
864dist-cat5-mans:
865	@foo='$(man5_MANS)'; \
866	bar='$(man_MANS)'; \
867	for i in $$bar; do \
868	case $$i in \
869	*.5) foo="$$foo $$i";; \
870	esac; done ;\
871	for i in $$foo; do \
872		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
873		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
874		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
875	done
876
877dist-cat8-mans:
878	@foo='$(man8_MANS)'; \
879	bar='$(man_MANS)'; \
880	for i in $$bar; do \
881	case $$i in \
882	*.8) foo="$$foo $$i";; \
883	esac; done ;\
884	for i in $$foo; do \
885		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
886		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
887		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
888	done
889
890dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
891
892install-cat-mans:
893	$(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)
894
895uninstall-cat-mans:
896	$(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)
897
898install-data-hook: install-cat-mans
899uninstall-hook: uninstall-cat-mans
900
901.et.h:
902	$(COMPILE_ET) $<
903.et.c:
904	$(COMPILE_ET) $<
905
906#
907# Useful target for debugging
908#
909
910check-valgrind:
911	tobjdir=`cd $(top_builddir) && pwd` ; \
912	tsrcdir=`cd $(top_srcdir) && pwd` ; \
913	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
914
915#
916# Target to please samba build farm, builds distfiles in-tree.
917# Will break when automake changes...
918#
919
920distdir-in-tree: $(DISTFILES) $(INFO_DEPS)
921	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
922	  if test "$$subdir" != .; then \
923	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) distdir-in-tree) ; \
924	  fi ; \
925	done
926
927$(ftpd_OBJECTS): security.h
928
929security.c:
930	@test -f security.c || $(LN_S) $(srcdir)/../ftp/security.c .
931security.h:
932	@test -f security.h || $(LN_S) $(srcdir)/../ftp/security.h .
933krb4.c:
934	@test -f krb4.c || $(LN_S) $(srcdir)/../ftp/krb4.c .
935gssapi.c:
936	@test -f gssapi.c || $(LN_S) $(srcdir)/../ftp/gssapi.c .
937# Tell versions [3.59,3.63) of GNU make to not export all variables.
938# Otherwise a system limit (for SysV at least) may be exceeded.
939.NOEXPORT:
940