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