xref: /freebsd/crypto/heimdal/appl/ftp/ftpd/Makefile.in (revision 5bda878e3e95c125f9bead8f22cee8cf2a298555)
1# Makefile.in generated by automake 1.6.1 from Makefile.am.
2# @configure_input@
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
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.36 2002/08/19 16:10:25 joda Exp $
22SHELL = @SHELL@
23
24srcdir = @srcdir@
25top_srcdir = @top_srcdir@
26VPATH = @srcdir@
27prefix = @prefix@
28exec_prefix = @exec_prefix@
29
30bindir = @bindir@
31sbindir = @sbindir@
32libexecdir = @libexecdir@
33datadir = @datadir@
34sysconfdir = @sysconfdir@
35sharedstatedir = @sharedstatedir@
36localstatedir = @localstatedir@
37libdir = @libdir@
38infodir = @infodir@
39mandir = @mandir@
40includedir = @includedir@
41oldincludedir = /usr/include
42pkgdatadir = $(datadir)/@PACKAGE@
43pkglibdir = $(libdir)/@PACKAGE@
44pkgincludedir = $(includedir)/@PACKAGE@
45top_builddir = ../../..
46
47ACLOCAL = @ACLOCAL@
48AUTOCONF = @AUTOCONF@
49AUTOMAKE = @AUTOMAKE@
50AUTOHEADER = @AUTOHEADER@
51
52am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
53INSTALL = @INSTALL@
54INSTALL_PROGRAM = @INSTALL_PROGRAM@
55INSTALL_DATA = @INSTALL_DATA@
56install_sh_DATA = $(install_sh) -c -m 644
57install_sh_PROGRAM = $(install_sh) -c
58INSTALL_SCRIPT = @INSTALL_SCRIPT@
59INSTALL_HEADER = $(INSTALL_DATA)
60transform = @program_transform_name@
61NORMAL_INSTALL = :
62PRE_INSTALL = :
63POST_INSTALL = :
64NORMAL_UNINSTALL = :
65PRE_UNINSTALL = :
66POST_UNINSTALL = :
67host_alias = @host_alias@
68host_triplet = @host@
69
70EXEEXT = @EXEEXT@
71OBJEXT = @OBJEXT@
72PATH_SEPARATOR = @PATH_SEPARATOR@
73AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
74AMTAR = @AMTAR@
75AS = @AS@
76AWK = @AWK@
77CANONICAL_HOST = @CANONICAL_HOST@
78CATMAN = @CATMAN@
79CATMANEXT = @CATMANEXT@
80CC = @CC@
81COMPILE_ET = @COMPILE_ET@
82CPP = @CPP@
83DBLIB = @DBLIB@
84DEPDIR = @DEPDIR@
85DIR_com_err = @DIR_com_err@
86DIR_des = @DIR_des@
87DIR_roken = @DIR_roken@
88DLLTOOL = @DLLTOOL@
89ECHO = @ECHO@
90EXTRA_LIB45 = @EXTRA_LIB45@
91GROFF = @GROFF@
92INCLUDES_roken = @INCLUDES_roken@
93INCLUDE_ = @INCLUDE_@
94INCLUDE_des = @INCLUDE_des@
95INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
96LEX = @LEX@
97
98LEXLIB = @LEXLIB@
99LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
100LIBTOOL = @LIBTOOL@
101LIB_ = @LIB_@
102LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
103LIB_NDBM = @LIB_NDBM@
104LIB_com_err = @LIB_com_err@
105LIB_com_err_a = @LIB_com_err_a@
106LIB_com_err_so = @LIB_com_err_so@
107LIB_des = @LIB_des@
108LIB_des_a = @LIB_des_a@
109LIB_des_appl = @LIB_des_appl@
110LIB_des_so = @LIB_des_so@
111LIB_kdb = @LIB_kdb@
112LIB_otp = @LIB_otp@
113LIB_roken = @LIB_roken@
114LIB_security = @LIB_security@
115LN_S = @LN_S@
116LTLIBOBJS = @LTLIBOBJS@
117NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
118NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
119NROFF = @NROFF@
120OBJDUMP = @OBJDUMP@
121PACKAGE = @PACKAGE@
122RANLIB = @RANLIB@
123STRIP = @STRIP@
124VERSION = @VERSION@
125VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
126WFLAGS = @WFLAGS@
127WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
128WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
129X_CFLAGS = @X_CFLAGS@
130X_EXTRA_LIBS = @X_EXTRA_LIBS@
131X_LIBS = @X_LIBS@
132X_PRE_LIBS = @X_PRE_LIBS@
133YACC = @YACC@
134am__include = @am__include@
135am__quote = @am__quote@
136dpagaix_cflags = @dpagaix_cflags@
137dpagaix_ldadd = @dpagaix_ldadd@
138dpagaix_ldflags = @dpagaix_ldflags@
139install_sh = @install_sh@
140
141AUTOMAKE_OPTIONS = foreign no-dependencies 1.6
142
143SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
144
145INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../common $(INCLUDE_krb4) -DFTP_SERVER
146
147@do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
148
149AM_CFLAGS = $(WFLAGS)
150
151CP = cp
152
153buildinclude = $(top_builddir)/include
154
155LIB_XauReadAuth = @LIB_XauReadAuth@
156LIB_crypt = @LIB_crypt@
157LIB_dbm_firstkey = @LIB_dbm_firstkey@
158LIB_dbopen = @LIB_dbopen@
159LIB_dlopen = @LIB_dlopen@
160LIB_dn_expand = @LIB_dn_expand@
161LIB_el_init = @LIB_el_init@
162LIB_getattr = @LIB_getattr@
163LIB_gethostbyname = @LIB_gethostbyname@
164LIB_getpwent_r = @LIB_getpwent_r@
165LIB_getpwnam_r = @LIB_getpwnam_r@
166LIB_getsockopt = @LIB_getsockopt@
167LIB_logout = @LIB_logout@
168LIB_logwtmp = @LIB_logwtmp@
169LIB_odm_initialize = @LIB_odm_initialize@
170LIB_openpty = @LIB_openpty@
171LIB_pidfile = @LIB_pidfile@
172LIB_res_search = @LIB_res_search@
173LIB_setpcred = @LIB_setpcred@
174LIB_setsockopt = @LIB_setsockopt@
175LIB_socket = @LIB_socket@
176LIB_syslog = @LIB_syslog@
177LIB_tgetent = @LIB_tgetent@
178
179HESIODLIB = @HESIODLIB@
180HESIODINCLUDE = @HESIODINCLUDE@
181INCLUDE_hesiod = @INCLUDE_hesiod@
182LIB_hesiod = @LIB_hesiod@
183
184INCLUDE_krb4 = @INCLUDE_krb4@
185LIB_krb4 = @LIB_krb4@
186
187INCLUDE_openldap = @INCLUDE_openldap@
188LIB_openldap = @LIB_openldap@
189
190INCLUDE_readline = @INCLUDE_readline@
191LIB_readline = @LIB_readline@
192
193NROFF_MAN = groff -mandoc -Tascii
194
195@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
196
197@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
198@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
199
200@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
201
202@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
203
204libexec_PROGRAMS = ftpd
205
206CHECK_LOCAL =
207
208@KRB4_TRUE@krb4_sources = krb4.c kauth.c
209@KRB5_TRUE@krb5_sources = gssapi.c gss_userok.c
210
211ftpd_SOURCES = \
212	extern.h	\
213	ftpcmd.y	\
214	ftpd.c		\
215	ftpd_locl.h	\
216	logwtmp.c	\
217	ls.c		\
218	pathnames.h	\
219	popen.c		\
220	security.c	\
221	$(krb4_sources) \
222	$(krb5_sources)
223
224
225EXTRA_ftpd_SOURCES = krb4.c kauth.c gssapi.c gss_userok.c
226
227CLEANFILES = security.c security.h krb4.c gssapi.c ftpcmd.c
228
229man_MANS = ftpd.8 ftpusers.5
230
231LDADD = ../common/libcommon.a \
232	$(LIB_otp) \
233	$(LIB_gssapi) \
234	$(LIB_krb5) \
235	$(LIB_kafs) \
236	$(LIB_krb4) \
237	$(LIB_des) \
238	$(LIB_roken)
239
240subdir = appl/ftp/ftpd
241mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
242CONFIG_HEADER = $(top_builddir)/include/config.h
243CONFIG_CLEAN_FILES =
244libexec_PROGRAMS = ftpd$(EXEEXT)
245PROGRAMS = $(libexec_PROGRAMS)
246
247@KRB4_TRUE@am__objects_1 = krb4.$(OBJEXT) kauth.$(OBJEXT)
248@KRB5_TRUE@am__objects_2 = gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
249am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) logwtmp.$(OBJEXT) \
250	ls.$(OBJEXT) popen.$(OBJEXT) security.$(OBJEXT) \
251	$(am__objects_1) $(am__objects_2)
252ftpd_OBJECTS = $(am_ftpd_OBJECTS)
253ftpd_LDADD = $(LDADD)
254@KRB4_FALSE@@KRB5_TRUE@ftpd_DEPENDENCIES = ../common/libcommon.a \
255@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/gssapi/libgssapi.la \
256@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
257@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
258@KRB4_FALSE@@KRB5_FALSE@ftpd_DEPENDENCIES = ../common/libcommon.a
259@KRB4_TRUE@@KRB5_TRUE@ftpd_DEPENDENCIES = ../common/libcommon.a \
260@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/gssapi/libgssapi.la \
261@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
262@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la \
263@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la
264@KRB4_TRUE@@KRB5_FALSE@ftpd_DEPENDENCIES = ../common/libcommon.a \
265@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
266ftpd_LDFLAGS =
267
268DEFS = @DEFS@
269DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
270CPPFLAGS = @CPPFLAGS@
271LDFLAGS = @LDFLAGS@
272LIBS = @LIBS@
273depcomp =
274am__depfiles_maybe =
275COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
276	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
277LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
278	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
279CCLD = $(CC)
280LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
281	$(AM_LDFLAGS) $(LDFLAGS) -o $@
282CFLAGS = @CFLAGS@
283YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
284LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
285DIST_SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
286MANS = $(man_MANS)
287DIST_COMMON = Makefile.am Makefile.in ftpcmd.c
288SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
289
290all: all-am
291
292.SUFFIXES:
293.SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj .y
294$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
295	cd $(top_srcdir) && \
296	  $(AUTOMAKE) --foreign  appl/ftp/ftpd/Makefile
297Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
298	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
299libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
300install-libexecPROGRAMS: $(libexec_PROGRAMS)
301	@$(NORMAL_INSTALL)
302	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
303	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
304	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
305	  if test -f $$p \
306	     || test -f $$p1 \
307	  ; then \
308	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
309	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
310	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
311	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
312	  else :; fi; \
313	done
314
315uninstall-libexecPROGRAMS:
316	@$(NORMAL_UNINSTALL)
317	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
318	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
319	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
320	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
321	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
322	done
323
324clean-libexecPROGRAMS:
325	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
326ftpd$(EXEEXT): $(ftpd_OBJECTS) $(ftpd_DEPENDENCIES)
327	@rm -f ftpd$(EXEEXT)
328	$(LINK) $(ftpd_LDFLAGS) $(ftpd_OBJECTS) $(ftpd_LDADD) $(LIBS)
329
330mostlyclean-compile:
331	-rm -f *.$(OBJEXT) core *.core
332
333distclean-compile:
334	-rm -f *.tab.c
335
336.c.o:
337	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
338
339.c.obj:
340	$(COMPILE) -c `cygpath -w $<`
341
342.c.lo:
343	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
344
345.y.c:
346	$(YACCCOMPILE) `test -f '$<' || echo '$(srcdir)/'`$<
347	sed '/^#/ s|y\.tab\.c|$@|' y.tab.c >$@
348	rm -f y.tab.c
349	if test -f y.tab.h; then \
350	  to=`echo "$*_H" | sed \
351                -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
352                -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
353	  sed "/^#/ s/Y_TAB_H/$$to/g" y.tab.h >$*.ht; \
354	  rm -f y.tab.h; \
355	  if cmp -s $*.ht $*.h; then \
356	    rm -f $*.ht ;\
357	  else \
358	    mv $*.ht $*.h; \
359	  fi; \
360	fi
361	if test -f y.output; then \
362	  mv y.output $*.output; \
363	fi
364
365mostlyclean-libtool:
366	-rm -f *.lo
367
368clean-libtool:
369	-rm -rf .libs _libs
370
371distclean-libtool:
372	-rm -f libtool
373uninstall-info-am:
374
375man5dir = $(mandir)/man5
376install-man5: $(man5_MANS) $(man_MANS)
377	@$(NORMAL_INSTALL)
378	$(mkinstalldirs) $(DESTDIR)$(man5dir)
379	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
380	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
381	for i in $$l2; do \
382	  case "$$i" in \
383	    *.5*) list="$$list $$i" ;; \
384	  esac; \
385	done; \
386	for i in $$list; do \
387	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
388	  else file=$$i; fi; \
389	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
390	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
391	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
392	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
393	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
394	  $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
395	done
396uninstall-man5:
397	@$(NORMAL_UNINSTALL)
398	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
399	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
400	for i in $$l2; do \
401	  case "$$i" in \
402	    *.5*) list="$$list $$i" ;; \
403	  esac; \
404	done; \
405	for i in $$list; do \
406	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
407	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
408	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
409	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
410	  echo " rm -f $(DESTDIR)$(man5dir)/$$inst"; \
411	  rm -f $(DESTDIR)$(man5dir)/$$inst; \
412	done
413
414man8dir = $(mandir)/man8
415install-man8: $(man8_MANS) $(man_MANS)
416	@$(NORMAL_INSTALL)
417	$(mkinstalldirs) $(DESTDIR)$(man8dir)
418	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
419	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
420	for i in $$l2; do \
421	  case "$$i" in \
422	    *.8*) list="$$list $$i" ;; \
423	  esac; \
424	done; \
425	for i in $$list; do \
426	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
427	  else file=$$i; fi; \
428	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
429	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
430	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
431	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
432	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
433	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
434	done
435uninstall-man8:
436	@$(NORMAL_UNINSTALL)
437	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
438	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
439	for i in $$l2; do \
440	  case "$$i" in \
441	    *.8*) list="$$list $$i" ;; \
442	  esac; \
443	done; \
444	for i in $$list; do \
445	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
446	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
447	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
448	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
449	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
450	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
451	done
452
453ETAGS = etags
454ETAGSFLAGS =
455
456tags: TAGS
457
458ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
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	mkid -fID $$unique
466
467TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
468		$(TAGS_FILES) $(LISP)
469	tags=; \
470	here=`pwd`; \
471	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
472	unique=`for i in $$list; do \
473	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
474	  done | \
475	  $(AWK) '    { files[$$0] = 1; } \
476	       END { for (i in files) print i; }'`; \
477	test -z "$(ETAGS_ARGS)$$tags$$unique" \
478	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
479	     $$tags $$unique
480
481GTAGS:
482	here=`$(am__cd) $(top_builddir) && pwd` \
483	  && cd $(top_srcdir) \
484	  && gtags -i $(GTAGS_ARGS) $$here
485
486distclean-tags:
487	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
488DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
489
490top_distdir = ../../..
491distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
492
493distdir: $(DISTFILES)
494	@for file in $(DISTFILES); do \
495	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
496	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
497	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
498	    dir="/$$dir"; \
499	    $(mkinstalldirs) "$(distdir)$$dir"; \
500	  else \
501	    dir=''; \
502	  fi; \
503	  if test -d $$d/$$file; then \
504	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
505	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
506	    fi; \
507	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
508	  else \
509	    test -f $(distdir)/$$file \
510	    || cp -p $$d/$$file $(distdir)/$$file \
511	    || exit 1; \
512	  fi; \
513	done
514	$(MAKE) $(AM_MAKEFLAGS) \
515	  top_distdir="${top_distdir}" distdir="$(distdir)" \
516	  dist-hook
517check-am: all-am
518	$(MAKE) $(AM_MAKEFLAGS) check-local
519check: check-am
520all-am: Makefile $(PROGRAMS) $(MANS) all-local
521
522installdirs:
523	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man8dir)
524
525install: install-am
526install-exec: install-exec-am
527install-data: install-data-am
528uninstall: uninstall-am
529
530install-am: all-am
531	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
532
533installcheck: installcheck-am
534install-strip:
535	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
536	  INSTALL_STRIP_FLAG=-s \
537	  `test -z '$(STRIP)' || \
538	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
539mostlyclean-generic:
540
541clean-generic:
542	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
543
544distclean-generic:
545	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
546
547maintainer-clean-generic:
548	@echo "This command is intended for maintainers to use"
549	@echo "it deletes files that may require special tools to rebuild."
550clean: clean-am
551
552clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
553	mostlyclean-am
554
555distclean: distclean-am
556
557distclean-am: clean-am distclean-compile distclean-generic \
558	distclean-libtool distclean-tags
559
560dvi: dvi-am
561
562dvi-am:
563
564info: info-am
565
566info-am:
567
568install-data-am: install-data-local install-man
569
570install-exec-am: install-libexecPROGRAMS
571	@$(NORMAL_INSTALL)
572	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
573
574install-info: install-info-am
575
576install-man: install-man5 install-man8
577
578installcheck-am:
579
580maintainer-clean: maintainer-clean-am
581
582maintainer-clean-am: distclean-am maintainer-clean-generic
583
584mostlyclean: mostlyclean-am
585
586mostlyclean-am: mostlyclean-compile mostlyclean-generic \
587	mostlyclean-libtool
588
589uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
590
591uninstall-man: uninstall-man5 uninstall-man8
592
593.PHONY: GTAGS all all-am all-local check check-am check-local clean \
594	clean-generic clean-libexecPROGRAMS clean-libtool distclean \
595	distclean-compile distclean-generic distclean-libtool \
596	distclean-tags distdir dvi dvi-am info info-am install \
597	install-am install-data install-data-am install-data-local \
598	install-exec install-exec-am install-info install-info-am \
599	install-libexecPROGRAMS install-man install-man5 install-man8 \
600	install-strip installcheck installcheck-am installdirs \
601	maintainer-clean maintainer-clean-generic mostlyclean \
602	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
603	tags uninstall uninstall-am uninstall-info-am \
604	uninstall-libexecPROGRAMS uninstall-man uninstall-man5 \
605	uninstall-man8
606
607
608install-suid-programs:
609	@foo='$(bin_SUIDS)'; \
610	for file in $$foo; do \
611	x=$(DESTDIR)$(bindir)/$$file; \
612	if chown 0:0 $$x && chmod u+s $$x; then :; else \
613	echo "*"; \
614	echo "* Failed to install $$x setuid root"; \
615	echo "*"; \
616	fi; done
617
618install-exec-hook: install-suid-programs
619
620install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
621	@foo='$(include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ)'; \
622	for f in $$foo; do \
623		f=`basename $$f`; \
624		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
625		else file="$$f"; fi; \
626		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
627		: ; else \
628			echo " $(CP) $$file $(buildinclude)/$$f"; \
629			$(CP) $$file $(buildinclude)/$$f; \
630		fi ; \
631	done
632
633all-local: install-build-headers
634
635check-local::
636	@if test '$(CHECK_LOCAL)'; then \
637	  foo='$(CHECK_LOCAL)'; else \
638	  foo='$(PROGRAMS)'; fi; \
639	  if test "$$foo"; then \
640	  failed=0; all=0; \
641	  for i in $$foo; do \
642	    all=`expr $$all + 1`; \
643	    if ./$$i --version > /dev/null 2>&1; then \
644	      echo "PASS: $$i"; \
645	    else \
646	      echo "FAIL: $$i"; \
647	      failed=`expr $$failed + 1`; \
648	    fi; \
649	  done; \
650	  if test "$$failed" -eq 0; then \
651	    banner="All $$all tests passed"; \
652	  else \
653	    banner="$$failed of $$all tests failed"; \
654	  fi; \
655	  dashes=`echo "$$banner" | sed s/./=/g`; \
656	  echo "$$dashes"; \
657	  echo "$$banner"; \
658	  echo "$$dashes"; \
659	  test "$$failed" -eq 0; \
660	fi
661
662.x.c:
663	@cmp -s $< $@ 2> /dev/null || cp $< $@
664#NROFF_MAN = nroff -man
665.1.cat1:
666	$(NROFF_MAN) $< > $@
667.3.cat3:
668	$(NROFF_MAN) $< > $@
669.5.cat5:
670	$(NROFF_MAN) $< > $@
671.8.cat8:
672	$(NROFF_MAN) $< > $@
673
674dist-cat1-mans:
675	@foo='$(man1_MANS)'; \
676	bar='$(man_MANS)'; \
677	for i in $$bar; do \
678	case $$i in \
679	*.1) foo="$$foo $$i";; \
680	esac; done ;\
681	for i in $$foo; do \
682		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
683		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
684		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
685	done
686
687dist-cat3-mans:
688	@foo='$(man3_MANS)'; \
689	bar='$(man_MANS)'; \
690	for i in $$bar; do \
691	case $$i in \
692	*.3) foo="$$foo $$i";; \
693	esac; done ;\
694	for i in $$foo; do \
695		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
696		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
697		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
698	done
699
700dist-cat5-mans:
701	@foo='$(man5_MANS)'; \
702	bar='$(man_MANS)'; \
703	for i in $$bar; do \
704	case $$i in \
705	*.5) foo="$$foo $$i";; \
706	esac; done ;\
707	for i in $$foo; do \
708		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
709		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
710		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
711	done
712
713dist-cat8-mans:
714	@foo='$(man8_MANS)'; \
715	bar='$(man_MANS)'; \
716	for i in $$bar; do \
717	case $$i in \
718	*.8) foo="$$foo $$i";; \
719	esac; done ;\
720	for i in $$foo; do \
721		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
722		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
723		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
724	done
725
726dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
727
728install-cat-mans:
729	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
730
731install-data-local: install-cat-mans
732
733.et.h:
734	$(COMPILE_ET) $<
735.et.c:
736	$(COMPILE_ET) $<
737
738$(ftpd_OBJECTS): security.h
739
740security.c:
741	@test -f security.c || $(LN_S) $(srcdir)/../ftp/security.c .
742security.h:
743	@test -f security.h || $(LN_S) $(srcdir)/../ftp/security.h .
744krb4.c:
745	@test -f krb4.c || $(LN_S) $(srcdir)/../ftp/krb4.c .
746gssapi.c:
747	@test -f gssapi.c || $(LN_S) $(srcdir)/../ftp/gssapi.c .
748# Tell versions [3.59,3.63) of GNU make to not export all variables.
749# Otherwise a system limit (for SysV at least) may be exceeded.
750.NOEXPORT:
751