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