xref: /freebsd/contrib/ntp/Makefile.in (revision 1670a1c2a47d10ecccd001970b859caf93cd3b6e)
1# Makefile.in generated by automake 1.11 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17VPATH = @srcdir@
18pkgdatadir = $(datadir)/@PACKAGE@
19pkgincludedir = $(includedir)/@PACKAGE@
20pkglibdir = $(libdir)/@PACKAGE@
21pkglibexecdir = $(libexecdir)/@PACKAGE@
22am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23install_sh_DATA = $(install_sh) -c -m 644
24install_sh_PROGRAM = $(install_sh) -c
25install_sh_SCRIPT = $(install_sh) -c
26INSTALL_HEADER = $(INSTALL_DATA)
27transform = $(program_transform_name)
28NORMAL_INSTALL = :
29PRE_INSTALL = :
30POST_INSTALL = :
31NORMAL_UNINSTALL = :
32PRE_UNINSTALL = :
33POST_UNINSTALL = :
34build_triplet = @build@
35host_triplet = @host@
36@NEED_LIBOPTS_TRUE@am__append_1 = libopts
37subdir = .
38DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
39	$(srcdir)/Makefile.in $(srcdir)/config.h.in \
40	$(top_srcdir)/configure ChangeLog INSTALL NEWS TODO compile \
41	config.guess config.sub depcomp install-sh ltmain.sh missing
42ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43am__aclocal_m4_deps = $(top_srcdir)/libopts/m4/libopts.m4 \
44	$(top_srcdir)/m4/define_dir.m4 \
45	$(top_srcdir)/m4/hs_ulong_const.m4 \
46	$(top_srcdir)/m4/os_cflags.m4 $(top_srcdir)/version.m4 \
47	$(top_srcdir)/configure.ac
48am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
49	$(ACLOCAL_M4)
50am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
51 configure.lineno config.status.lineno
52mkinstalldirs = $(install_sh) -d
53CONFIG_HEADER = config.h
54CONFIG_CLEAN_FILES =
55CONFIG_CLEAN_VPATH_FILES =
56SOURCES =
57DIST_SOURCES =
58RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
59	html-recursive info-recursive install-data-recursive \
60	install-dvi-recursive install-exec-recursive \
61	install-html-recursive install-info-recursive \
62	install-pdf-recursive install-ps-recursive install-recursive \
63	installcheck-recursive installdirs-recursive pdf-recursive \
64	ps-recursive uninstall-recursive
65RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
66  distclean-recursive maintainer-clean-recursive
67AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
68	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
69	distdir dist dist-all distcheck
70ETAGS = etags
71CTAGS = ctags
72DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
73distdir = $(PACKAGE)-$(VERSION)
74top_distdir = $(distdir)
75am__remove_distdir = \
76  { test ! -d "$(distdir)" \
77    || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
78         && rm -fr "$(distdir)"; }; }
79am__relativize = \
80  dir0=`pwd`; \
81  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
82  sed_rest='s,^[^/]*/*,,'; \
83  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
84  sed_butlast='s,/*[^/]*$$,,'; \
85  while test -n "$$dir1"; do \
86    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
87    if test "$$first" != "."; then \
88      if test "$$first" = ".."; then \
89        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
90        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
91      else \
92        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
93        if test "$$first2" = "$$first"; then \
94          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
95        else \
96          dir2="../$$dir2"; \
97        fi; \
98        dir0="$$dir0"/"$$first"; \
99      fi; \
100    fi; \
101    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
102  done; \
103  reldir="$$dir2"
104DIST_ARCHIVES = $(distdir).tar.gz
105GZIP_ENV = --best
106distuninstallcheck_listfiles = find . -type f -print
107distcleancheck_listfiles = find . -type f -print
108ACLOCAL = @ACLOCAL@
109AMTAR = @AMTAR@
110AR = @AR@
111ARLIB_DIR = @ARLIB_DIR@
112AUTOCONF = @AUTOCONF@
113AUTOHEADER = @AUTOHEADER@
114AUTOMAKE = @AUTOMAKE@
115AWK = @AWK@
116BINSUBDIR = @BINSUBDIR@
117CC = @CC@
118CCDEPMODE = @CCDEPMODE@
119CFLAGS = @CFLAGS@
120CHUTEST = @CHUTEST@
121CLKTEST = @CLKTEST@
122CPP = @CPP@
123CPPFLAGS = @CPPFLAGS@
124CYGPATH_W = @CYGPATH_W@
125DCFD = @DCFD@
126DEFS = @DEFS@
127DEPDIR = @DEPDIR@
128ECHO = @ECHO@
129ECHO_C = @ECHO_C@
130ECHO_N = @ECHO_N@
131ECHO_T = @ECHO_T@
132EF_LIBS = @EF_LIBS@
133EF_PROGS = @EF_PROGS@
134EGREP = @EGREP@
135EXEEXT = @EXEEXT@
136GREP = @GREP@
137HAVE_INLINE = @HAVE_INLINE@
138INSTALL = @INSTALL@
139INSTALL_DATA = @INSTALL_DATA@
140INSTALL_PROGRAM = @INSTALL_PROGRAM@
141INSTALL_SCRIPT = @INSTALL_SCRIPT@
142INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
143LCRYPTO = @LCRYPTO@
144LDFLAGS = @LDFLAGS@
145LIBOBJS = @LIBOBJS@
146LIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
147LIBOPTS_DIR = @LIBOPTS_DIR@
148LIBOPTS_LDADD = @LIBOPTS_LDADD@
149LIBPARSE = @LIBPARSE@
150LIBS = @LIBS@
151LIBTOOL = @LIBTOOL@
152LN_S = @LN_S@
153LSCF = @LSCF@
154LTLIBOBJS = @LTLIBOBJS@
155MAKEINFO = @MAKEINFO@
156MAKE_ADJTIMED = @MAKE_ADJTIMED@
157MAKE_CHECK_LAYOUT = @MAKE_CHECK_LAYOUT@
158MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
159MAKE_LIBNTPSIM = @MAKE_LIBNTPSIM@
160MAKE_LIBPARSE = @MAKE_LIBPARSE@
161MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
162MAKE_NTPDSIM = @MAKE_NTPDSIM@
163MAKE_NTPTIME = @MAKE_NTPTIME@
164MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
165MAKE_TICKADJ = @MAKE_TICKADJ@
166MAKE_TIMETRIM = @MAKE_TIMETRIM@
167MKDIR_P = @MKDIR_P@
168OBJEXT = @OBJEXT@
169OPENSSL = @OPENSSL@
170OPENSSL_INC = @OPENSSL_INC@
171OPENSSL_LIB = @OPENSSL_LIB@
172PACKAGE = @PACKAGE@
173PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
174PACKAGE_NAME = @PACKAGE_NAME@
175PACKAGE_STRING = @PACKAGE_STRING@
176PACKAGE_TARNAME = @PACKAGE_TARNAME@
177PACKAGE_URL = @PACKAGE_URL@
178PACKAGE_VERSION = @PACKAGE_VERSION@
179PATH_PERL = @PATH_PERL@
180PATH_SEPARATOR = @PATH_SEPARATOR@
181PATH_SH = @PATH_SH@
182PROPDELAY = @PROPDELAY@
183RANLIB = @RANLIB@
184READLINE_LIBS = @READLINE_LIBS@
185SET_MAKE = @SET_MAKE@
186SHELL = @SHELL@
187STRIP = @STRIP@
188TESTDCF = @TESTDCF@
189U = @U@
190VERSION = @VERSION@
191abs_builddir = @abs_builddir@
192abs_srcdir = @abs_srcdir@
193abs_top_builddir = @abs_top_builddir@
194abs_top_srcdir = @abs_top_srcdir@
195ac_ct_CC = @ac_ct_CC@
196am__include = @am__include@
197am__leading_dot = @am__leading_dot@
198am__quote = @am__quote@
199am__tar = @am__tar@
200am__untar = @am__untar@
201bindir = @bindir@
202build = @build@
203build_alias = @build_alias@
204build_cpu = @build_cpu@
205build_os = @build_os@
206build_vendor = @build_vendor@
207builddir = @builddir@
208datadir = @datadir@
209datarootdir = @datarootdir@
210docdir = @docdir@
211dvidir = @dvidir@
212exec_prefix = @exec_prefix@
213host = @host@
214host_alias = @host_alias@
215host_cpu = @host_cpu@
216host_os = @host_os@
217host_vendor = @host_vendor@
218htmldir = @htmldir@
219includedir = @includedir@
220infodir = @infodir@
221install_sh = @install_sh@
222libdir = @libdir@
223libexecdir = @libexecdir@
224localedir = @localedir@
225localstatedir = @localstatedir@
226mandir = @mandir@
227mkdir_p = @mkdir_p@
228oldincludedir = @oldincludedir@
229pdfdir = @pdfdir@
230prefix = @prefix@
231program_transform_name = @program_transform_name@
232psdir = @psdir@
233sbindir = @sbindir@
234sharedstatedir = @sharedstatedir@
235srcdir = @srcdir@
236subdirs = @subdirs@
237sysconfdir = @sysconfdir@
238target_alias = @target_alias@
239top_build_prefix = @top_build_prefix@
240top_builddir = @top_builddir@
241top_srcdir = @top_srcdir@
242
243#AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ no-dependencies
244AUTOMAKE_OPTIONS = util/ansi2knr foreign 1.8
245ACLOCAL_AMFLAGS = -I m4 -I libopts/m4
246NULL =
247SUBDIRS = $(am__append_1) scripts include ElectricFence @ARLIB_DIR@ \
248	libntp libparse ntpd ntpdate ntpdc ntpq parseutil adjtimed \
249	clockstuff kernel sntp util $(NULL)
250DIST_SUBDIRS = \
251	scripts		\
252	include		\
253	ElectricFence	\
254	arlib		\
255	libntp		\
256	libopts		\
257	libparse	\
258	ntpd		\
259	ntpdate		\
260	ntpdc		\
261	ntpq		\
262	parseutil	\
263	adjtimed	\
264	clockstuff	\
265	kernel		\
266	sntp		\
267	util		\
268	$(NULL)
269
270DISTCHECK_CONFIGURE_FLAGS = --with-arlib --enable-local-libopts
271EXTRA_DIST = \
272	COPYRIGHT	\
273	ChangeLog	\
274	CommitLog	\
275	CommitLog-4.1.0 \
276	NEWS		\
277	NOTES.y2kfixes	\
278	README.bk	\
279	README.hackers	\
280	README.patches	\
281	README.refclocks \
282	README.versions	\
283	TODO		\
284	WHERE-TO-START	\
285	bootstrap	\
286	build		\
287	config.guess	\
288	config.h.in	\
289	config.sub	\
290	dot.emacs	\
291	excludes	\
292	flock-build	\
293	install-sh	\
294	packageinfo.sh	\
295	readme.y2kfixes	\
296	results.y2kfixes	\
297	\
298	conf		\
299	html		\
300	libisc		\
301	ports		\
302	\
303	bincheck.mf	\
304	version		\
305	version.m4	\
306	\
307	$(NULL)
308
309DISTCLEANFILES = .gcc-warning
310
311#ETAGS_ARGS = $(srcdir)/Makefile.am $(srcdir)/configure.ac
312ETAGS_ARGS = Makefile.am configure.ac
313
314# HMS: make ports be the last directory...
315# DIST_HOOK_DIRS = conf html scripts ports
316
317# HMS: Keep .gcc-warning first, as that way it gets printed first.
318BUILT_SOURCES = .gcc-warning $(srcdir)/COPYRIGHT $(srcdir)/version $(srcdir)/version.m4 $(srcdir)/include/version.def
319
320# HMS: The following seems to be a work-in-progress...
321CVO = `$(srcdir)/config.guess`
322BHOST = `(hostname || uname -n)`
323all: $(BUILT_SOURCES) config.h
324	$(MAKE) $(AM_MAKEFLAGS) all-recursive
325
326.SUFFIXES:
327am--refresh:
328	@:
329$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
330	@for dep in $?; do \
331	  case '$(am__configure_deps)' in \
332	    *$$dep*) \
333	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
334	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
335		&& exit 0; \
336	      exit 1;; \
337	  esac; \
338	done; \
339	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
340	$(am__cd) $(top_srcdir) && \
341	  $(AUTOMAKE) --foreign Makefile
342.PRECIOUS: Makefile
343Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
344	@case '$?' in \
345	  *config.status*) \
346	    echo ' $(SHELL) ./config.status'; \
347	    $(SHELL) ./config.status;; \
348	  *) \
349	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
350	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
351	esac;
352
353$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
354	$(SHELL) ./config.status --recheck
355
356$(top_srcdir)/configure:  $(am__configure_deps)
357	$(am__cd) $(srcdir) && $(AUTOCONF)
358$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
359	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
360$(am__aclocal_m4_deps):
361
362config.h: stamp-h1
363	@if test ! -f $@; then \
364	  rm -f stamp-h1; \
365	  $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
366	else :; fi
367
368stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
369	@rm -f stamp-h1
370	cd $(top_builddir) && $(SHELL) ./config.status config.h
371$(srcdir)/config.h.in:  $(am__configure_deps)
372	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
373	rm -f stamp-h1
374	touch $@
375
376distclean-hdr:
377	-rm -f config.h stamp-h1
378
379mostlyclean-libtool:
380	-rm -f *.lo
381
382clean-libtool:
383	-rm -rf .libs _libs
384
385distclean-libtool:
386	-rm -f libtool config.lt
387
388# This directory's subdirectories are mostly independent; you can cd
389# into them and run `make' without going through this Makefile.
390# To change the values of `make' variables: instead of editing Makefiles,
391# (1) if the variable is set in `config.status', edit `config.status'
392#     (which will cause the Makefiles to be regenerated when you run `make');
393# (2) otherwise, pass the desired values on the `make' command line.
394$(RECURSIVE_TARGETS):
395	@failcom='exit 1'; \
396	for f in x $$MAKEFLAGS; do \
397	  case $$f in \
398	    *=* | --[!k]*);; \
399	    *k*) failcom='fail=yes';; \
400	  esac; \
401	done; \
402	dot_seen=no; \
403	target=`echo $@ | sed s/-recursive//`; \
404	list='$(SUBDIRS)'; for subdir in $$list; do \
405	  echo "Making $$target in $$subdir"; \
406	  if test "$$subdir" = "."; then \
407	    dot_seen=yes; \
408	    local_target="$$target-am"; \
409	  else \
410	    local_target="$$target"; \
411	  fi; \
412	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
413	  || eval $$failcom; \
414	done; \
415	if test "$$dot_seen" = "no"; then \
416	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
417	fi; test -z "$$fail"
418
419$(RECURSIVE_CLEAN_TARGETS):
420	@failcom='exit 1'; \
421	for f in x $$MAKEFLAGS; do \
422	  case $$f in \
423	    *=* | --[!k]*);; \
424	    *k*) failcom='fail=yes';; \
425	  esac; \
426	done; \
427	dot_seen=no; \
428	case "$@" in \
429	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
430	  *) list='$(SUBDIRS)' ;; \
431	esac; \
432	rev=''; for subdir in $$list; do \
433	  if test "$$subdir" = "."; then :; else \
434	    rev="$$subdir $$rev"; \
435	  fi; \
436	done; \
437	rev="$$rev ."; \
438	target=`echo $@ | sed s/-recursive//`; \
439	for subdir in $$rev; do \
440	  echo "Making $$target in $$subdir"; \
441	  if test "$$subdir" = "."; then \
442	    local_target="$$target-am"; \
443	  else \
444	    local_target="$$target"; \
445	  fi; \
446	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
447	  || eval $$failcom; \
448	done && test -z "$$fail"
449tags-recursive:
450	list='$(SUBDIRS)'; for subdir in $$list; do \
451	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
452	done
453ctags-recursive:
454	list='$(SUBDIRS)'; for subdir in $$list; do \
455	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
456	done
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; nonempty = 1; } \
464	      END { if (nonempty) { for (i in files) print i; }; }'`; \
465	mkid -fID $$unique
466tags: TAGS
467
468TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
469		$(TAGS_FILES) $(LISP)
470	set x; \
471	here=`pwd`; \
472	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
473	  include_option=--etags-include; \
474	  empty_fix=.; \
475	else \
476	  include_option=--include; \
477	  empty_fix=; \
478	fi; \
479	list='$(SUBDIRS)'; for subdir in $$list; do \
480	  if test "$$subdir" = .; then :; else \
481	    test ! -f $$subdir/TAGS || \
482	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
483	  fi; \
484	done; \
485	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
486	unique=`for i in $$list; do \
487	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
488	  done | \
489	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
490	      END { if (nonempty) { for (i in files) print i; }; }'`; \
491	shift; \
492	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
493	  test -n "$$unique" || unique=$$empty_fix; \
494	  if test $$# -gt 0; then \
495	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
496	      "$$@" $$unique; \
497	  else \
498	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
499	      $$unique; \
500	  fi; \
501	fi
502ctags: CTAGS
503CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
504		$(TAGS_FILES) $(LISP)
505	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
506	unique=`for i in $$list; do \
507	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
508	  done | \
509	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
510	      END { if (nonempty) { for (i in files) print i; }; }'`; \
511	test -z "$(CTAGS_ARGS)$$unique" \
512	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
513	     $$unique
514
515GTAGS:
516	here=`$(am__cd) $(top_builddir) && pwd` \
517	  && $(am__cd) $(top_srcdir) \
518	  && gtags -i $(GTAGS_ARGS) "$$here"
519
520distclean-tags:
521	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
522
523distdir: $(DISTFILES)
524	$(am__remove_distdir)
525	test -d "$(distdir)" || mkdir "$(distdir)"
526	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
527	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
528	list='$(DISTFILES)'; \
529	  dist_files=`for file in $$list; do echo $$file; done | \
530	  sed -e "s|^$$srcdirstrip/||;t" \
531	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
532	case $$dist_files in \
533	  */*) $(MKDIR_P) `echo "$$dist_files" | \
534			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
535			   sort -u` ;; \
536	esac; \
537	for file in $$dist_files; do \
538	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
539	  if test -d $$d/$$file; then \
540	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
541	    if test -d "$(distdir)/$$file"; then \
542	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
543	    fi; \
544	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
545	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
546	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
547	    fi; \
548	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
549	  else \
550	    test -f "$(distdir)/$$file" \
551	    || cp -p $$d/$$file "$(distdir)/$$file" \
552	    || exit 1; \
553	  fi; \
554	done
555	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
556	  if test "$$subdir" = .; then :; else \
557	    test -d "$(distdir)/$$subdir" \
558	    || $(MKDIR_P) "$(distdir)/$$subdir" \
559	    || exit 1; \
560	  fi; \
561	done
562	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
563	  if test "$$subdir" = .; then :; else \
564	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
565	    $(am__relativize); \
566	    new_distdir=$$reldir; \
567	    dir1=$$subdir; dir2="$(top_distdir)"; \
568	    $(am__relativize); \
569	    new_top_distdir=$$reldir; \
570	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
571	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
572	    ($(am__cd) $$subdir && \
573	      $(MAKE) $(AM_MAKEFLAGS) \
574	        top_distdir="$$new_top_distdir" \
575	        distdir="$$new_distdir" \
576		am__remove_distdir=: \
577		am__skip_length_check=: \
578		am__skip_mode_fix=: \
579	        distdir) \
580	      || exit 1; \
581	  fi; \
582	done
583	$(MAKE) $(AM_MAKEFLAGS) \
584	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
585	  dist-hook
586	-test -n "$(am__skip_mode_fix)" \
587	|| find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
588	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
589	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
590	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
591	|| chmod -R a+r "$(distdir)"
592dist-gzip: distdir
593	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
594	$(am__remove_distdir)
595
596dist-bzip2: distdir
597	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
598	$(am__remove_distdir)
599
600dist-lzma: distdir
601	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
602	$(am__remove_distdir)
603
604dist-xz: distdir
605	tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
606	$(am__remove_distdir)
607
608dist-tarZ: distdir
609	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
610	$(am__remove_distdir)
611
612dist-shar: distdir
613	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
614	$(am__remove_distdir)
615
616dist-zip: distdir
617	-rm -f $(distdir).zip
618	zip -rq $(distdir).zip $(distdir)
619	$(am__remove_distdir)
620
621dist dist-all: distdir
622	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
623	$(am__remove_distdir)
624
625# This target untars the dist file and tries a VPATH configuration.  Then
626# it guarantees that the distribution is self-contained by making another
627# tarfile.
628distcheck: dist
629	case '$(DIST_ARCHIVES)' in \
630	*.tar.gz*) \
631	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
632	*.tar.bz2*) \
633	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
634	*.tar.lzma*) \
635	  unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
636	*.tar.xz*) \
637	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
638	*.tar.Z*) \
639	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
640	*.shar.gz*) \
641	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
642	*.zip*) \
643	  unzip $(distdir).zip ;;\
644	esac
645	chmod -R a-w $(distdir); chmod a+w $(distdir)
646	mkdir $(distdir)/_build
647	mkdir $(distdir)/_inst
648	chmod a-w $(distdir)
649	test -d $(distdir)/_build || exit 0; \
650	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
651	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
652	  && am__cwd=`pwd` \
653	  && $(am__cd) $(distdir)/_build \
654	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
655	    $(DISTCHECK_CONFIGURE_FLAGS) \
656	  && $(MAKE) $(AM_MAKEFLAGS) \
657	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
658	  && $(MAKE) $(AM_MAKEFLAGS) check \
659	  && $(MAKE) $(AM_MAKEFLAGS) install \
660	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
661	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
662	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
663	        distuninstallcheck \
664	  && chmod -R a-w "$$dc_install_base" \
665	  && ({ \
666	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
667	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
668	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
669	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
670	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
671	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
672	  && rm -rf "$$dc_destdir" \
673	  && $(MAKE) $(AM_MAKEFLAGS) dist \
674	  && rm -rf $(DIST_ARCHIVES) \
675	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
676	  && cd "$$am__cwd" \
677	  || exit 1
678	$(am__remove_distdir)
679	@(echo "$(distdir) archives ready for distribution: "; \
680	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
681	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
682distuninstallcheck:
683	@$(am__cd) '$(distuninstallcheck_dir)' \
684	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
685	   || { echo "ERROR: files left after uninstall:" ; \
686	        if test -n "$(DESTDIR)"; then \
687	          echo "  (check DESTDIR support)"; \
688	        fi ; \
689	        $(distuninstallcheck_listfiles) ; \
690	        exit 1; } >&2
691distcleancheck: distclean
692	@if test '$(srcdir)' = . ; then \
693	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
694	  exit 1 ; \
695	fi
696	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
697	  || { echo "ERROR: files left in build directory after distclean:" ; \
698	       $(distcleancheck_listfiles) ; \
699	       exit 1; } >&2
700check-am: all-am
701check: $(BUILT_SOURCES)
702	$(MAKE) $(AM_MAKEFLAGS) check-recursive
703all-am: Makefile config.h
704installdirs: installdirs-recursive
705installdirs-am:
706install: $(BUILT_SOURCES)
707	$(MAKE) $(AM_MAKEFLAGS) install-recursive
708install-exec: install-exec-recursive
709install-data: install-data-recursive
710uninstall: uninstall-recursive
711
712install-am: all-am
713	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
714
715installcheck: installcheck-recursive
716install-strip:
717	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
718	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
719	  `test -z '$(STRIP)' || \
720	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
721mostlyclean-generic:
722
723clean-generic:
724
725distclean-generic:
726	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
727	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
728	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
729
730maintainer-clean-generic:
731	@echo "This command is intended for maintainers to use"
732	@echo "it deletes files that may require special tools to rebuild."
733	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
734clean: clean-recursive
735
736clean-am: clean-generic clean-libtool mostlyclean-am
737
738distclean: distclean-recursive
739	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
740	-rm -f Makefile
741distclean-am: clean-am distclean-generic distclean-hdr \
742	distclean-libtool distclean-tags
743
744dvi: dvi-recursive
745
746dvi-am:
747
748html: html-recursive
749
750html-am:
751
752info: info-recursive
753
754info-am:
755
756install-data-am:
757
758install-dvi: install-dvi-recursive
759
760install-dvi-am:
761
762install-exec-am:
763
764install-html: install-html-recursive
765
766install-html-am:
767
768install-info: install-info-recursive
769
770install-info-am:
771
772install-man:
773
774install-pdf: install-pdf-recursive
775
776install-pdf-am:
777
778install-ps: install-ps-recursive
779
780install-ps-am:
781
782installcheck-am:
783
784maintainer-clean: maintainer-clean-recursive
785	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
786	-rm -rf $(top_srcdir)/autom4te.cache
787	-rm -f Makefile
788maintainer-clean-am: distclean-am maintainer-clean-generic
789
790mostlyclean: mostlyclean-recursive
791
792mostlyclean-am: mostlyclean-generic mostlyclean-libtool
793
794pdf: pdf-recursive
795
796pdf-am:
797
798ps: ps-recursive
799
800ps-am:
801
802uninstall-am:
803
804.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
805	ctags-recursive install install-am install-strip \
806	tags-recursive
807
808.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
809	all all-am am--refresh check check-am clean clean-generic \
810	clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
811	dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \
812	dist-zip distcheck distclean distclean-generic distclean-hdr \
813	distclean-libtool distclean-tags distcleancheck distdir \
814	distuninstallcheck dvi dvi-am html html-am info info-am \
815	install install-am install-data install-data-am install-dvi \
816	install-dvi-am install-exec install-exec-am install-html \
817	install-html-am install-info install-info-am install-man \
818	install-pdf install-pdf-am install-ps install-ps-am \
819	install-strip installcheck installcheck-am installdirs \
820	installdirs-am maintainer-clean maintainer-clean-generic \
821	mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
822	ps ps-am tags tags-recursive uninstall uninstall-am
823
824
825$(srcdir)/COPYRIGHT: $(srcdir)/html/copyright.html
826	( echo "This file is automatically generated from html/copyright.html" ; lynx -dump $(srcdir)/html/copyright.html ) > $(srcdir)/COPYRIGHT.new && mv $(srcdir)/COPYRIGHT.new $(srcdir)/COPYRIGHT
827
828# HMS: The next bit is still suboptimal.  If bk is present but this NTP
829# repo is not a bk repo, we'll get an error message from the prs command.
830# Unfortunately, I haven't found the necessary magic to redirect this error
831# output to /dev/null under ancient/unique shells like the one Ultrix uses.
832# We'll also get an error if srcdir or version is unwritable.
833$(srcdir)/version: FRC.version
834	-(bk version) >/dev/null 2>&1 && \
835	    cd $(srcdir) && \
836            x=`bk -R prs -hr+ -nd:I: ChangeSet` && \
837	    y=`cat version 2>/dev/null` || true && \
838	    case "$$x" in ''|$$y) ;; *) echo $$x > version ;; esac
839
840$(srcdir)/version.m4: $(srcdir)/packageinfo.sh
841	cd $(srcdir) && \
842	./scripts/genver version.m4
843
844$(srcdir)/include/version.def: $(srcdir)/packageinfo.sh
845	cd $(srcdir) && \
846	./scripts/genver include/version.def
847
848dist-hook:
849	@find $(distdir) -type d -name CVS -print | xargs rm -rf
850	@find $(distdir) -type d -name SCCS -print | xargs rm -rf
851	@chmod u+w $(distdir)/ports/winnt
852	@for i in `find $(distdir)/ports/winnt -type f -name '*.ds*' -print`; \
853	   do chmod u+w $$i ; unix2dos $$i $$i; done
854
855.gcc-warning:
856	@echo "Compiling with GCC now generates lots of new warnings."
857	@echo " "
858	@echo "Don't be concerned. They're just warnings."
859	@echo " "
860	@echo "Don't send bug reports about the warnings, either."
861	@echo " "
862	@echo "Feel free to send patches that fix these warnings, though."
863	@echo " "
864	@sleep 1
865	@touch $@
866
867CommitLog: FRC.CommitLog
868	cd $(srcdir)					\
869	&& /bin/test -e CommitLog			\
870		-a SCCS/s.ChangeSet -ot CommitLog	\
871	|| scripts/genCommitLog
872
873.buildcvo:
874	echo "$(CVO)" > .buildcvo
875
876.checkcvo: .buildcvo FRC.checkcvo
877	@if [ "`cat .buildcvo`" != "$(CVO)" ];then	\
878		echo "This directory was configured for `cat .buildcvo`"; \
879		echo "but this machine is a $(CVO)";	\
880		exit 1;	\
881	fi
882
883.buildhost:
884	echo "$(BHOST)" > .buildhost
885
886.checkhost: .buildhost FRC.checkhost
887	@if [ "`cat .buildhost`" != "$(BHOST)" ];then	\
888		echo "Built on `cat .buildhost` but this is $(BHOST)"; \
889		echo " "; \
890	fi
891
892FRC.CommitLog FRC.distwarn FRC.checkcvo FRC.checkhost FRC.version:
893
894# HMS: what was I trying to do with this?
895#dot.emacs: FRC.distwarn
896
897# Tell versions [3.59,3.63) of GNU make to not export all variables.
898# Otherwise a system limit (for SysV at least) may be exceeded.
899.NOEXPORT:
900