xref: /freebsd/crypto/heimdal/appl/ftp/ftpd/Makefile.in (revision 1c43270ada91f3473174c2bf81fba64963b7e4ac)
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# @configure_input@
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17# $Id: Makefile.am,v 1.26 2001/09/06 12:18:34 assar Exp $
18
19# $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
20
21# $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
22
23srcdir = @srcdir@
24top_srcdir = @top_srcdir@
25VPATH = @srcdir@
26pkgdatadir = $(datadir)/@PACKAGE@
27pkglibdir = $(libdir)/@PACKAGE@
28pkgincludedir = $(includedir)/@PACKAGE@
29top_builddir = ../../..
30
31am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
32INSTALL = @INSTALL@
33install_sh_DATA = $(install_sh) -c -m 644
34install_sh_PROGRAM = $(install_sh) -c
35install_sh_SCRIPT = $(install_sh) -c
36INSTALL_HEADER = $(INSTALL_DATA)
37transform = $(program_transform_name)
38NORMAL_INSTALL = :
39PRE_INSTALL = :
40POST_INSTALL = :
41NORMAL_UNINSTALL = :
42PRE_UNINSTALL = :
43POST_UNINSTALL = :
44host_triplet = @host@
45ACLOCAL = @ACLOCAL@
46AIX4_FALSE = @AIX4_FALSE@
47AIX4_TRUE = @AIX4_TRUE@
48AIX_DYNAMIC_AFS_FALSE = @AIX_DYNAMIC_AFS_FALSE@
49AIX_DYNAMIC_AFS_TRUE = @AIX_DYNAMIC_AFS_TRUE@
50AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
51AIX_FALSE = @AIX_FALSE@
52AIX_TRUE = @AIX_TRUE@
53AMTAR = @AMTAR@
54AR = @AR@
55AUTOCONF = @AUTOCONF@
56AUTOHEADER = @AUTOHEADER@
57AUTOMAKE = @AUTOMAKE@
58AWK = @AWK@
59CANONICAL_HOST = @CANONICAL_HOST@
60CATMAN = @CATMAN@
61CATMANEXT = @CATMANEXT@
62CATMAN_FALSE = @CATMAN_FALSE@
63CATMAN_TRUE = @CATMAN_TRUE@
64CC = @CC@
65CFLAGS = @CFLAGS@
66COMPILE_ET = @COMPILE_ET@
67CPP = @CPP@
68CPPFLAGS = @CPPFLAGS@
69CXX = @CXX@
70CXXCPP = @CXXCPP@
71CXXFLAGS = @CXXFLAGS@
72CYGPATH_W = @CYGPATH_W@
73DBLIB = @DBLIB@
74DCE_FALSE = @DCE_FALSE@
75DCE_TRUE = @DCE_TRUE@
76DEFS = @DEFS@
77DIR_com_err = @DIR_com_err@
78DIR_des = @DIR_des@
79DIR_roken = @DIR_roken@
80ECHO = @ECHO@
81ECHO_C = @ECHO_C@
82ECHO_N = @ECHO_N@
83ECHO_T = @ECHO_T@
84EGREP = @EGREP@
85EXEEXT = @EXEEXT@
86EXTRA_LIB45 = @EXTRA_LIB45@
87F77 = @F77@
88FFLAGS = @FFLAGS@
89GROFF = @GROFF@
90HAVE_DB1_FALSE = @HAVE_DB1_FALSE@
91HAVE_DB1_TRUE = @HAVE_DB1_TRUE@
92HAVE_DB3_FALSE = @HAVE_DB3_FALSE@
93HAVE_DB3_TRUE = @HAVE_DB3_TRUE@
94HAVE_DLOPEN_FALSE = @HAVE_DLOPEN_FALSE@
95HAVE_DLOPEN_TRUE = @HAVE_DLOPEN_TRUE@
96HAVE_NDBM_FALSE = @HAVE_NDBM_FALSE@
97HAVE_NDBM_TRUE = @HAVE_NDBM_TRUE@
98HAVE_OPENSSL_FALSE = @HAVE_OPENSSL_FALSE@
99HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
100HAVE_X_FALSE = @HAVE_X_FALSE@
101HAVE_X_TRUE = @HAVE_X_TRUE@
102INCLUDES_roken = @INCLUDES_roken@
103INCLUDE_des = @INCLUDE_des@
104INCLUDE_hesiod = @INCLUDE_hesiod@
105
106INCLUDE_krb4 = @INCLUDE_krb4@
107
108INCLUDE_openldap = @INCLUDE_openldap@
109
110INCLUDE_readline = @INCLUDE_readline@
111INSTALL_DATA = @INSTALL_DATA@
112INSTALL_PROGRAM = @INSTALL_PROGRAM@
113INSTALL_SCRIPT = @INSTALL_SCRIPT@
114INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
115IRIX_FALSE = @IRIX_FALSE@
116IRIX_TRUE = @IRIX_TRUE@
117KRB4_FALSE = @KRB4_FALSE@
118KRB4_TRUE = @KRB4_TRUE@
119KRB5_FALSE = @KRB5_FALSE@
120KRB5_TRUE = @KRB5_TRUE@
121LDFLAGS = @LDFLAGS@
122LEX = @LEX@
123
124LEXLIB = @LEXLIB@
125LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
126LIBOBJS = @LIBOBJS@
127LIBS = @LIBS@
128LIBTOOL = @LIBTOOL@
129LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
130LIB_NDBM = @LIB_NDBM@
131LIB_XauFileName = @LIB_XauFileName@
132
133LIB_XauReadAuth = @LIB_XauReadAuth@
134LIB_XauWriteAuth = @LIB_XauWriteAuth@
135LIB_bswap16 = @LIB_bswap16@
136LIB_bswap32 = @LIB_bswap32@
137LIB_com_err = @LIB_com_err@
138LIB_com_err_a = @LIB_com_err_a@
139LIB_com_err_so = @LIB_com_err_so@
140LIB_crypt = @LIB_crypt@
141LIB_db_create = @LIB_db_create@
142LIB_dbm_firstkey = @LIB_dbm_firstkey@
143LIB_dbopen = @LIB_dbopen@
144LIB_des = @LIB_des@
145LIB_des_a = @LIB_des_a@
146LIB_des_appl = @LIB_des_appl@
147LIB_des_so = @LIB_des_so@
148LIB_dlopen = @LIB_dlopen@
149LIB_dn_expand = @LIB_dn_expand@
150LIB_el_init = @LIB_el_init@
151LIB_freeaddrinfo = @LIB_freeaddrinfo@
152LIB_gai_strerror = @LIB_gai_strerror@
153LIB_getaddrinfo = @LIB_getaddrinfo@
154LIB_gethostbyname = @LIB_gethostbyname@
155LIB_gethostbyname2 = @LIB_gethostbyname2@
156LIB_getnameinfo = @LIB_getnameinfo@
157LIB_getpwnam_r = @LIB_getpwnam_r@
158LIB_getsockopt = @LIB_getsockopt@
159LIB_hesiod = @LIB_hesiod@
160LIB_hstrerror = @LIB_hstrerror@
161LIB_kdb = @LIB_kdb@
162LIB_krb4 = @LIB_krb4@
163LIB_krb_disable_debug = @LIB_krb_disable_debug@
164LIB_krb_enable_debug = @LIB_krb_enable_debug@
165LIB_krb_get_kdc_time_diff = @LIB_krb_get_kdc_time_diff@
166LIB_krb_get_our_ip_for_realm = @LIB_krb_get_our_ip_for_realm@
167LIB_krb_kdctimeofday = @LIB_krb_kdctimeofday@
168LIB_loadquery = @LIB_loadquery@
169LIB_logout = @LIB_logout@
170LIB_logwtmp = @LIB_logwtmp@
171LIB_openldap = @LIB_openldap@
172LIB_openpty = @LIB_openpty@
173LIB_otp = @LIB_otp@
174LIB_pidfile = @LIB_pidfile@
175LIB_readline = @LIB_readline@
176LIB_res_nsearch = @LIB_res_nsearch@
177LIB_res_search = @LIB_res_search@
178LIB_roken = @LIB_roken@
179LIB_security = @LIB_security@
180LIB_setsockopt = @LIB_setsockopt@
181LIB_socket = @LIB_socket@
182LIB_syslog = @LIB_syslog@
183LIB_tgetent = @LIB_tgetent@
184LN_S = @LN_S@
185LTLIBOBJS = @LTLIBOBJS@
186MAINT = @MAINT@
187MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
188MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
189MAKEINFO = @MAKEINFO@
190NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
191NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
192NROFF = @NROFF@
193OBJEXT = @OBJEXT@
194OTP_FALSE = @OTP_FALSE@
195OTP_TRUE = @OTP_TRUE@
196PACKAGE = @PACKAGE@
197PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
198PACKAGE_NAME = @PACKAGE_NAME@
199PACKAGE_STRING = @PACKAGE_STRING@
200PACKAGE_TARNAME = @PACKAGE_TARNAME@
201PACKAGE_VERSION = @PACKAGE_VERSION@
202PATH_SEPARATOR = @PATH_SEPARATOR@
203RANLIB = @RANLIB@
204SET_MAKE = @SET_MAKE@
205SHELL = @SHELL@
206STRIP = @STRIP@
207VERSION = @VERSION@
208VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
209WFLAGS = @WFLAGS@
210WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
211WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
212X_CFLAGS = @X_CFLAGS@
213X_EXTRA_LIBS = @X_EXTRA_LIBS@
214X_LIBS = @X_LIBS@
215X_PRE_LIBS = @X_PRE_LIBS@
216YACC = @YACC@
217ac_ct_AR = @ac_ct_AR@
218ac_ct_CC = @ac_ct_CC@
219ac_ct_CXX = @ac_ct_CXX@
220ac_ct_F77 = @ac_ct_F77@
221ac_ct_RANLIB = @ac_ct_RANLIB@
222ac_ct_STRIP = @ac_ct_STRIP@
223am__leading_dot = @am__leading_dot@
224bindir = @bindir@
225build = @build@
226build_alias = @build_alias@
227build_cpu = @build_cpu@
228build_os = @build_os@
229build_vendor = @build_vendor@
230datadir = @datadir@
231do_roken_rename_FALSE = @do_roken_rename_FALSE@
232do_roken_rename_TRUE = @do_roken_rename_TRUE@
233dpagaix_cflags = @dpagaix_cflags@
234dpagaix_ldadd = @dpagaix_ldadd@
235dpagaix_ldflags = @dpagaix_ldflags@
236el_compat_FALSE = @el_compat_FALSE@
237el_compat_TRUE = @el_compat_TRUE@
238exec_prefix = @exec_prefix@
239have_err_h_FALSE = @have_err_h_FALSE@
240have_err_h_TRUE = @have_err_h_TRUE@
241have_fnmatch_h_FALSE = @have_fnmatch_h_FALSE@
242have_fnmatch_h_TRUE = @have_fnmatch_h_TRUE@
243have_glob_h_FALSE = @have_glob_h_FALSE@
244have_glob_h_TRUE = @have_glob_h_TRUE@
245have_ifaddrs_h_FALSE = @have_ifaddrs_h_FALSE@
246have_ifaddrs_h_TRUE = @have_ifaddrs_h_TRUE@
247have_vis_h_FALSE = @have_vis_h_FALSE@
248have_vis_h_TRUE = @have_vis_h_TRUE@
249host = @host@
250host_alias = @host_alias@
251host_cpu = @host_cpu@
252host_os = @host_os@
253host_vendor = @host_vendor@
254includedir = @includedir@
255infodir = @infodir@
256install_sh = @install_sh@
257libdir = @libdir@
258libexecdir = @libexecdir@
259localstatedir = @localstatedir@
260mandir = @mandir@
261oldincludedir = @oldincludedir@
262prefix = @prefix@
263program_transform_name = @program_transform_name@
264sbindir = @sbindir@
265sharedstatedir = @sharedstatedir@
266sysconfdir = @sysconfdir@
267target_alias = @target_alias@
268
269SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
270
271INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../common $(INCLUDE_krb4) -DFTP_SERVER
272
273@do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
274
275AM_CFLAGS = $(WFLAGS)
276
277CP = cp
278
279buildinclude = $(top_builddir)/include
280LIB_getattr = @LIB_getattr@
281LIB_getpwent_r = @LIB_getpwent_r@
282LIB_odm_initialize = @LIB_odm_initialize@
283LIB_setpcred = @LIB_setpcred@
284
285HESIODLIB = @HESIODLIB@
286HESIODINCLUDE = @HESIODINCLUDE@
287
288NROFF_MAN = groff -mandoc -Tascii
289
290LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
291
292@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
293@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
294
295@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
296
297@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
298
299libexec_PROGRAMS = ftpd
300
301CHECK_LOCAL =
302
303@KRB4_TRUE@krb4_sources = krb4.c kauth.c
304@KRB5_TRUE@krb5_sources = gssapi.c gss_userok.c
305
306ftpd_SOURCES = \
307	extern.h	\
308	ftpcmd.y	\
309	ftpd.c		\
310	ftpd_locl.h	\
311	logwtmp.c	\
312	ls.c		\
313	pathnames.h	\
314	popen.c		\
315	security.c	\
316	$(krb4_sources) \
317	$(krb5_sources)
318
319
320EXTRA_ftpd_SOURCES = krb4.c kauth.c gssapi.c gss_userok.c
321
322CLEANFILES = security.c security.h krb4.c gssapi.c ftpcmd.c
323
324man_MANS = ftpd.8 ftpusers.5
325
326LDADD = ../common/libcommon.a \
327	$(LIB_otp) \
328	$(LIB_gssapi) \
329	$(LIB_krb5) \
330	$(LIB_kafs) \
331	$(LIB_krb4) \
332	$(LIB_des) \
333	$(LIB_roken)
334
335subdir = appl/ftp/ftpd
336ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
337mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
338CONFIG_HEADER = $(top_builddir)/include/config.h
339CONFIG_CLEAN_FILES =
340libexec_PROGRAMS = ftpd$(EXEEXT)
341PROGRAMS = $(libexec_PROGRAMS)
342
343am__ftpd_SOURCES_DIST = extern.h ftpcmd.y ftpd.c ftpd_locl.h logwtmp.c \
344	ls.c pathnames.h popen.c security.c krb4.c kauth.c gssapi.c \
345	gss_userok.c
346@KRB4_TRUE@am__objects_1 = krb4.$(OBJEXT) kauth.$(OBJEXT)
347@KRB5_TRUE@am__objects_2 = gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
348am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) logwtmp.$(OBJEXT) \
349	ls.$(OBJEXT) popen.$(OBJEXT) security.$(OBJEXT) \
350	$(am__objects_1) $(am__objects_2)
351ftpd_OBJECTS = $(am_ftpd_OBJECTS)
352ftpd_LDADD = $(LDADD)
353@KRB5_TRUE@ftpd_DEPENDENCIES = ../common/libcommon.a \
354@KRB5_TRUE@	$(top_builddir)/lib/gssapi/libgssapi.la \
355@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
356@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la \
357@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la
358@KRB5_FALSE@ftpd_DEPENDENCIES = ../common/libcommon.a \
359@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
360ftpd_LDFLAGS =
361
362DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
363depcomp =
364am__depfiles_maybe =
365COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
366	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
367LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
368	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
369CCLD = $(CC)
370LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
371	$(AM_LDFLAGS) $(LDFLAGS) -o $@
372YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
373LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
374DIST_SOURCES = $(am__ftpd_SOURCES_DIST) $(EXTRA_ftpd_SOURCES)
375MANS = $(man_MANS)
376DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
377	$(top_srcdir)/cf/Makefile.am.common Makefile.am ftpcmd.c
378SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
379
380all: all-am
381
382.SUFFIXES:
383.SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj .y
384$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
385	cd $(top_srcdir) && \
386	  $(AUTOMAKE) --foreign  appl/ftp/ftpd/Makefile
387Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
388	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
389libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
390install-libexecPROGRAMS: $(libexec_PROGRAMS)
391	@$(NORMAL_INSTALL)
392	$(mkinstalldirs) $(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
418ftpd$(EXEEXT): $(ftpd_OBJECTS) $(ftpd_DEPENDENCIES)
419	@rm -f ftpd$(EXEEXT)
420	$(LINK) $(ftpd_LDFLAGS) $(ftpd_OBJECTS) $(ftpd_LDADD) $(LIBS)
421
422mostlyclean-compile:
423	-rm -f *.$(OBJEXT) core *.core
424
425distclean-compile:
426	-rm -f *.tab.c
427
428.c.o:
429	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
430
431.c.obj:
432	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
433
434.c.lo:
435	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
436
437.y.c:
438	$(YACCCOMPILE) `test -f '$<' || echo '$(srcdir)/'`$<
439	if test -f y.tab.h; then \
440	  to=`echo "$*_H" | sed \
441                -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
442                -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
443	  sed "/^#/ s/Y_TAB_H/$$to/g" y.tab.h >$*.ht; \
444	  rm -f y.tab.h; \
445	  if cmp -s $*.ht $*.h; then \
446	    rm -f $*.ht ;\
447	  else \
448	    mv $*.ht $*.h; \
449	  fi; \
450	fi
451	if test -f y.output; then \
452	  mv y.output $*.output; \
453	fi
454	sed '/^#/ s|y\.tab\.c|$@|' y.tab.c >$@t && mv $@t $@
455	rm -f y.tab.c
456
457mostlyclean-libtool:
458	-rm -f *.lo
459
460clean-libtool:
461	-rm -rf .libs _libs
462
463distclean-libtool:
464	-rm -f libtool
465uninstall-info-am:
466
467man5dir = $(mandir)/man5
468install-man5: $(man5_MANS) $(man_MANS)
469	@$(NORMAL_INSTALL)
470	$(mkinstalldirs) $(DESTDIR)$(man5dir)
471	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
472	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
473	for i in $$l2; do \
474	  case "$$i" in \
475	    *.5*) list="$$list $$i" ;; \
476	  esac; \
477	done; \
478	for i in $$list; do \
479	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
480	  else file=$$i; fi; \
481	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
482	  case "$$ext" in \
483	    5*) ;; \
484	    *) ext='5' ;; \
485	  esac; \
486	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
487	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
488	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
489	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
490	  $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
491	done
492uninstall-man5:
493	@$(NORMAL_UNINSTALL)
494	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
495	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
496	for i in $$l2; do \
497	  case "$$i" in \
498	    *.5*) list="$$list $$i" ;; \
499	  esac; \
500	done; \
501	for i in $$list; do \
502	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
503	  case "$$ext" in \
504	    5*) ;; \
505	    *) ext='5' ;; \
506	  esac; \
507	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
508	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
509	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
510	  echo " rm -f $(DESTDIR)$(man5dir)/$$inst"; \
511	  rm -f $(DESTDIR)$(man5dir)/$$inst; \
512	done
513
514man8dir = $(mandir)/man8
515install-man8: $(man8_MANS) $(man_MANS)
516	@$(NORMAL_INSTALL)
517	$(mkinstalldirs) $(DESTDIR)$(man8dir)
518	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
519	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
520	for i in $$l2; do \
521	  case "$$i" in \
522	    *.8*) list="$$list $$i" ;; \
523	  esac; \
524	done; \
525	for i in $$list; do \
526	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
527	  else file=$$i; fi; \
528	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
529	  case "$$ext" in \
530	    8*) ;; \
531	    *) ext='8' ;; \
532	  esac; \
533	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
534	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
535	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
536	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
537	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
538	done
539uninstall-man8:
540	@$(NORMAL_UNINSTALL)
541	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
542	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
543	for i in $$l2; do \
544	  case "$$i" in \
545	    *.8*) list="$$list $$i" ;; \
546	  esac; \
547	done; \
548	for i in $$list; do \
549	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
550	  case "$$ext" in \
551	    8*) ;; \
552	    *) ext='8' ;; \
553	  esac; \
554	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
555	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
556	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
557	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
558	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
559	done
560
561ETAGS = etags
562ETAGSFLAGS =
563
564CTAGS = ctags
565CTAGSFLAGS =
566
567tags: TAGS
568
569ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
570	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
571	unique=`for i in $$list; do \
572	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
573	  done | \
574	  $(AWK) '    { files[$$0] = 1; } \
575	       END { for (i in files) print i; }'`; \
576	mkid -fID $$unique
577
578TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
579		$(TAGS_FILES) $(LISP)
580	tags=; \
581	here=`pwd`; \
582	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
583	unique=`for i in $$list; do \
584	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
585	  done | \
586	  $(AWK) '    { files[$$0] = 1; } \
587	       END { for (i in files) print i; }'`; \
588	test -z "$(ETAGS_ARGS)$$tags$$unique" \
589	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
590	     $$tags $$unique
591
592ctags: CTAGS
593CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
594		$(TAGS_FILES) $(LISP)
595	tags=; \
596	here=`pwd`; \
597	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
598	unique=`for i in $$list; do \
599	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
600	  done | \
601	  $(AWK) '    { files[$$0] = 1; } \
602	       END { for (i in files) print i; }'`; \
603	test -z "$(CTAGS_ARGS)$$tags$$unique" \
604	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
605	     $$tags $$unique
606
607GTAGS:
608	here=`$(am__cd) $(top_builddir) && pwd` \
609	  && cd $(top_srcdir) \
610	  && gtags -i $(GTAGS_ARGS) $$here
611
612distclean-tags:
613	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
614DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
615
616top_distdir = ../../..
617distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
618
619distdir: $(DISTFILES)
620	$(mkinstalldirs) $(distdir)/../../.. $(distdir)/../../../cf
621	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
622	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
623	list='$(DISTFILES)'; for file in $$list; do \
624	  case $$file in \
625	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
626	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
627	  esac; \
628	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
629	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
630	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
631	    dir="/$$dir"; \
632	    $(mkinstalldirs) "$(distdir)$$dir"; \
633	  else \
634	    dir=''; \
635	  fi; \
636	  if test -d $$d/$$file; then \
637	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
638	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
639	    fi; \
640	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
641	  else \
642	    test -f $(distdir)/$$file \
643	    || cp -p $$d/$$file $(distdir)/$$file \
644	    || exit 1; \
645	  fi; \
646	done
647	$(MAKE) $(AM_MAKEFLAGS) \
648	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
649	  dist-hook
650check-am: all-am
651	$(MAKE) $(AM_MAKEFLAGS) check-local
652check: check-am
653all-am: Makefile $(PROGRAMS) $(MANS) all-local
654
655installdirs:
656	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man8dir)
657install: install-am
658install-exec: install-exec-am
659install-data: install-data-am
660uninstall: uninstall-am
661
662install-am: all-am
663	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
664
665installcheck: installcheck-am
666install-strip:
667	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
668	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
669	  `test -z '$(STRIP)' || \
670	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
671mostlyclean-generic:
672
673clean-generic:
674	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
675
676distclean-generic:
677	-rm -f $(CONFIG_CLEAN_FILES)
678
679maintainer-clean-generic:
680	@echo "This command is intended for maintainers to use"
681	@echo "it deletes files that may require special tools to rebuild."
682	-rm -f ftpcmd.c
683clean: clean-am
684
685clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
686	mostlyclean-am
687
688distclean: distclean-am
689	-rm -f Makefile
690distclean-am: clean-am distclean-compile distclean-generic \
691	distclean-libtool distclean-tags
692
693dvi: dvi-am
694
695dvi-am:
696
697info: info-am
698
699info-am:
700
701install-data-am: install-man
702	@$(NORMAL_INSTALL)
703	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
704
705install-exec-am: install-libexecPROGRAMS
706	@$(NORMAL_INSTALL)
707	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
708
709install-info: install-info-am
710
711install-man: install-man5 install-man8
712
713installcheck-am:
714
715maintainer-clean: maintainer-clean-am
716	-rm -f Makefile
717maintainer-clean-am: distclean-am maintainer-clean-generic
718
719mostlyclean: mostlyclean-am
720
721mostlyclean-am: mostlyclean-compile mostlyclean-generic \
722	mostlyclean-libtool
723
724pdf: pdf-am
725
726pdf-am:
727
728ps: ps-am
729
730ps-am:
731
732uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
733
734uninstall-man: uninstall-man5 uninstall-man8
735
736.PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
737	clean clean-generic clean-libexecPROGRAMS clean-libtool ctags \
738	distclean distclean-compile distclean-generic distclean-libtool \
739	distclean-tags distdir dvi dvi-am info info-am install \
740	install-am install-data install-data-am install-exec \
741	install-exec-am install-info install-info-am \
742	install-libexecPROGRAMS install-man install-man5 install-man8 \
743	install-strip installcheck installcheck-am installdirs \
744	maintainer-clean maintainer-clean-generic mostlyclean \
745	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
746	pdf-am ps ps-am tags uninstall uninstall-am uninstall-info-am \
747	uninstall-libexecPROGRAMS uninstall-man uninstall-man5 \
748	uninstall-man8
749
750
751install-suid-programs:
752	@foo='$(bin_SUIDS)'; \
753	for file in $$foo; do \
754	x=$(DESTDIR)$(bindir)/$$file; \
755	if chown 0:0 $$x && chmod u+s $$x; then :; else \
756	echo "*"; \
757	echo "* Failed to install $$x setuid root"; \
758	echo "*"; \
759	fi; done
760
761install-exec-hook: install-suid-programs
762
763install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
764	@foo='$(include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ)'; \
765	for f in $$foo; do \
766		f=`basename $$f`; \
767		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
768		else file="$$f"; fi; \
769		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
770		: ; else \
771			echo " $(CP) $$file $(buildinclude)/$$f"; \
772			$(CP) $$file $(buildinclude)/$$f; \
773		fi ; \
774	done
775
776all-local: install-build-headers
777
778check-local::
779	@if test '$(CHECK_LOCAL)'; then \
780	  foo='$(CHECK_LOCAL)'; else \
781	  foo='$(PROGRAMS)'; fi; \
782	  if test "$$foo"; then \
783	  failed=0; all=0; \
784	  for i in $$foo; do \
785	    all=`expr $$all + 1`; \
786	    if ./$$i --version > /dev/null 2>&1; then \
787	      echo "PASS: $$i"; \
788	    else \
789	      echo "FAIL: $$i"; \
790	      failed=`expr $$failed + 1`; \
791	    fi; \
792	  done; \
793	  if test "$$failed" -eq 0; then \
794	    banner="All $$all tests passed"; \
795	  else \
796	    banner="$$failed of $$all tests failed"; \
797	  fi; \
798	  dashes=`echo "$$banner" | sed s/./=/g`; \
799	  echo "$$dashes"; \
800	  echo "$$banner"; \
801	  echo "$$dashes"; \
802	  test "$$failed" -eq 0; \
803	fi
804
805.x.c:
806	@cmp -s $< $@ 2> /dev/null || cp $< $@
807#NROFF_MAN = nroff -man
808.1.cat1:
809	$(NROFF_MAN) $< > $@
810.3.cat3:
811	$(NROFF_MAN) $< > $@
812.5.cat5:
813	$(NROFF_MAN) $< > $@
814.8.cat8:
815	$(NROFF_MAN) $< > $@
816
817dist-cat1-mans:
818	@foo='$(man1_MANS)'; \
819	bar='$(man_MANS)'; \
820	for i in $$bar; do \
821	case $$i in \
822	*.1) foo="$$foo $$i";; \
823	esac; done ;\
824	for i in $$foo; do \
825		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
826		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
827		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
828	done
829
830dist-cat3-mans:
831	@foo='$(man3_MANS)'; \
832	bar='$(man_MANS)'; \
833	for i in $$bar; do \
834	case $$i in \
835	*.3) foo="$$foo $$i";; \
836	esac; done ;\
837	for i in $$foo; do \
838		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
839		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
840		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
841	done
842
843dist-cat5-mans:
844	@foo='$(man5_MANS)'; \
845	bar='$(man_MANS)'; \
846	for i in $$bar; do \
847	case $$i in \
848	*.5) foo="$$foo $$i";; \
849	esac; done ;\
850	for i in $$foo; do \
851		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
852		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
853		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
854	done
855
856dist-cat8-mans:
857	@foo='$(man8_MANS)'; \
858	bar='$(man_MANS)'; \
859	for i in $$bar; do \
860	case $$i in \
861	*.8) foo="$$foo $$i";; \
862	esac; done ;\
863	for i in $$foo; do \
864		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
865		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
866		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
867	done
868
869dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
870
871install-cat-mans:
872	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
873
874install-data-hook: install-cat-mans
875
876.et.h:
877	$(COMPILE_ET) $<
878.et.c:
879	$(COMPILE_ET) $<
880
881$(ftpd_OBJECTS): security.h
882
883security.c:
884	@test -f security.c || $(LN_S) $(srcdir)/../ftp/security.c .
885security.h:
886	@test -f security.h || $(LN_S) $(srcdir)/../ftp/security.h .
887krb4.c:
888	@test -f krb4.c || $(LN_S) $(srcdir)/../ftp/krb4.c .
889gssapi.c:
890	@test -f gssapi.c || $(LN_S) $(srcdir)/../ftp/gssapi.c .
891# Tell versions [3.59,3.63) of GNU make to not export all variables.
892# Otherwise a system limit (for SysV at least) may be exceeded.
893.NOEXPORT:
894