xref: /freebsd/contrib/ntp/Makefile.in (revision 51a9219f5780e61e1437d25220bf8750d9df7f8b)
1# Makefile.in generated automatically by automake 1.4e from Makefile.am.
2
3# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4# Free Software Foundation, Inc.
5# This Makefile.in is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
14SHELL = @SHELL@
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
20exec_prefix = @exec_prefix@
21
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
30infodir = @infodir@
31mandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
34
35pkgdatadir = $(datadir)/@PACKAGE@
36pkglibdir = $(libdir)/@PACKAGE@
37pkgincludedir = $(includedir)/@PACKAGE@
38
39top_builddir = .
40
41ACLOCAL = @ACLOCAL@
42AUTOCONF = @AUTOCONF@
43AUTOMAKE = @AUTOMAKE@
44AUTOHEADER = @AUTOHEADER@
45
46INSTALL = @INSTALL@
47INSTALL_PROGRAM = @INSTALL_PROGRAM@
48INSTALL_DATA = @INSTALL_DATA@
49INSTALL_SCRIPT = @INSTALL_SCRIPT@
50INSTALL_HEADER = $(INSTALL_DATA)
51transform = @program_transform_name@
52
53NORMAL_INSTALL = :
54PRE_INSTALL = :
55POST_INSTALL = :
56NORMAL_UNINSTALL = :
57PRE_UNINSTALL = :
58POST_UNINSTALL = :
59
60build_alias = @build_alias@
61build_triplet = @build@
62host_alias = @host_alias@
63host_triplet = @host@
64target_alias = @target_alias@
65target_triplet = @target@
66
67@SET_MAKE@
68AMDEP = @AMDEP@
69AMTAR = @AMTAR@
70AUTOKEY = @AUTOKEY@
71AWK = @AWK@
72CC = @CC@
73CFLAGS = @CFLAGS@
74CHUTEST = @CHUTEST@
75CLKTEST = @CLKTEST@
76CPP = @CPP@
77DCFD = @DCFD@
78DEPDIR = @DEPDIR@
79EF_LIBS = @EF_LIBS@
80EF_PROGS = @EF_PROGS@
81INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
82INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
83LDFLAGS = @LDFLAGS@
84LIBPARSE = @LIBPARSE@
85LIBRSAREF = @LIBRSAREF@
86LN_S = @LN_S@
87MAKEINFO = @MAKEINFO@
88MAKE_ADJTIMED = @MAKE_ADJTIMED@
89MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
90MAKE_LIBPARSE = @MAKE_LIBPARSE@
91MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
92MAKE_LIBRSAREF = @MAKE_LIBRSAREF@
93MAKE_NTPTIME = @MAKE_NTPTIME@
94MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
95MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
96MAKE_TICKADJ = @MAKE_TICKADJ@
97MAKE_TIMETRIM = @MAKE_TIMETRIM@
98OPENSSL = @OPENSSL@
99OPENSSL_INC = @OPENSSL_INC@
100OPENSSL_LIB = @OPENSSL_LIB@
101PACKAGE = @PACKAGE@
102PATH_PERL = @PATH_PERL@
103PATH_SH = @PATH_SH@
104PROPDELAY = @PROPDELAY@
105RANLIB = @RANLIB@
106RSADIR = @RSADIR@
107RSAOBJS = @RSAOBJS@
108RSAREF = @RSAREF@
109RSASRCS = @RSASRCS@
110STRIP = @STRIP@
111TESTDCF = @TESTDCF@
112U = @U@
113VERSION = @VERSION@
114_am_include = @_am_include@
115install_sh = @install_sh@
116
117#AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ no-dependencies
118
119
120AUTOMAKE_OPTIONS = util/ansi2knr foreign
121
122SUBDIRS = \
123	scripts \
124	include \
125	ElectricFence	\
126	librsaref	\
127	libntp	\
128	libparse	\
129	ntpd	\
130	ntpdate	\
131	ntpdc	\
132	ntpq	\
133	ntptrace	\
134	parseutil	\
135	adjtimed	\
136	clockstuff	\
137	kernel	\
138	util
139
140
141EXTRA_DIST = \
142	COPYRIGHT \
143	ChangeLog \
144	NEWS \
145	NOTES.y2kfixes \
146	README.cvs \
147	README.des \
148	README.hackers \
149	README.rsa \
150	TODO \
151	WHERE-TO-START \
152	acconfig.h \
153	build \
154	config.guess \
155	config.h.in \
156	config.sub \
157	dot.emacs \
158	excludes \
159	flock-build \
160	install-sh \
161	ntp_update \
162	readme.y2kfixes \
163	results.y2kfixes \
164	conf \
165	html \
166	ports
167
168
169DISTCLEANFILES = .warning
170
171#ETAGS_ARGS = $(srcdir)/Makefile.am $(srcdir)/configure.in
172ETAGS_ARGS = Makefile.am configure.in acconfig.h
173
174# HMS: make ports be the last directory...
175# DIST_HOOK_DIRS = conf html scripts ports
176
177BUILT_SOURCES = $(srcdir)/COPYRIGHT
178
179CVO = `$(srcdir)/config.guess`
180
181BHOST = `(hostname || uname -n)`
182EXEEXT =
183OBJEXT = o
184subdir = .
185ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
186mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
187CONFIG_HEADER = config.h
188CONFIG_CLEAN_FILES =
189DIST_SOURCES =
190DIST_COMMON = README ./stamp-h.in ChangeLog INSTALL Makefile.am \
191Makefile.in NEWS TODO acconfig.h acinclude.m4 aclocal.m4 config.guess \
192config.h.in config.sub configure configure.in depcomp install-sh \
193missing mkinstalldirs
194
195DIST_SUBDIRS = $(SUBDIRS)
196all: $(BUILT_SOURCES) config.h
197	$(MAKE) $(AM_MAKEFLAGS) all-recursive
198
199.SUFFIXES:
200
201$(srcdir)/Makefile.in: Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
202	cd $(top_srcdir) && \
203	  $(AUTOMAKE) --foreign  Makefile
204$(ACLOCAL_M4): configure.in  acinclude.m4
205	cd $(srcdir) && $(ACLOCAL)
206
207config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
208	$(SHELL) ./config.status --recheck
209$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
210	cd $(srcdir) && $(AUTOCONF)
211
212config.h: stamp-h
213	@if test ! -f $@; then \
214		rm -f stamp-h; \
215		$(MAKE) stamp-h; \
216	else :; fi
217stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
218	@rm -f stamp-h stamp-hT
219	@echo timestamp > stamp-hT 2> /dev/null
220	cd $(top_builddir) \
221	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
222	     $(SHELL) ./config.status
223	@mv stamp-hT stamp-h
224$(srcdir)/config.h.in: $(srcdir)/./stamp-h.in
225	@if test ! -f $@; then \
226		rm -f $(srcdir)/./stamp-h.in; \
227		$(MAKE) $(srcdir)/./stamp-h.in; \
228	else :; fi
229$(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
230	@rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
231	@echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
232	cd $(top_srcdir) && $(AUTOHEADER)
233	@mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
234
235distclean-hdr:
236	-rm -f config.h
237
238# This directory's subdirectories are mostly independent; you can cd
239# into them and run `make' without going through this Makefile.
240# To change the values of `make' variables: instead of editing Makefiles,
241# (1) if the variable is set in `config.status', edit `config.status'
242#     (which will cause the Makefiles to be regenerated when you run `make');
243# (2) otherwise, pass the desired values on the `make' command line.
244all-recursive install-data-recursive install-exec-recursive \
245installdirs-recursive install-recursive uninstall-recursive \
246install-info-recursive uninstall-info-recursive \
247check-recursive installcheck-recursive info-recursive dvi-recursive:
248	@set fnord $(MAKEFLAGS); amf=$$2; \
249	dot_seen=no; \
250	target=`echo $@ | sed s/-recursive//`; \
251	list='$(SUBDIRS)'; for subdir in $$list; do \
252	  echo "Making $$target in $$subdir"; \
253	  if test "$$subdir" = "."; then \
254	    dot_seen=yes; \
255	    local_target="$$target-am"; \
256	  else \
257	    local_target="$$target"; \
258	  fi; \
259	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
260	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
261	done; \
262	if test "$$dot_seen" = "no"; then \
263	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
264	fi; test -z "$$fail"
265
266mostlyclean-recursive clean-recursive distclean-recursive \
267maintainer-clean-recursive:
268	@set fnord $(MAKEFLAGS); amf=$$2; \
269	dot_seen=no; \
270	case "$@" in \
271	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
272	  *) list='$(SUBDIRS)' ;; \
273	esac; \
274	rev=''; for subdir in $$list; do \
275	  if test "$$subdir" = "."; then :; else \
276	    rev="$$subdir $$rev"; \
277	  fi; \
278	done; \
279	rev="$$rev ."; \
280	target=`echo $@ | sed s/-recursive//`; \
281	for subdir in $$rev; do \
282	  echo "Making $$target in $$subdir"; \
283	  if test "$$subdir" = "."; then \
284	    local_target="$$target-am"; \
285	  else \
286	    local_target="$$target"; \
287	  fi; \
288	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
289	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
290	done && test -z "$$fail"
291tags-recursive:
292	list='$(SUBDIRS)'; for subdir in $$list; do \
293	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
294	done
295
296tags: TAGS
297
298ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
299	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
300	unique=`for i in $$list; do \
301	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
302	  done | \
303	  $(AWK) '    { files[$$0] = 1; } \
304	       END { for (i in files) print i; }'`; \
305	mkid -fID $$unique $(LISP)
306
307TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
308		$(TAGS_FILES) $(LISP)
309	tags=; \
310	here=`pwd`; \
311	list='$(SUBDIRS)'; for subdir in $$list; do \
312   if test "$$subdir" = .; then :; else \
313	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
314   fi; \
315	done; \
316	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
317	unique=`for i in $$list; do \
318	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
319	  done | \
320	  $(AWK) '    { files[$$0] = 1; } \
321	       END { for (i in files) print i; }'`; \
322	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
323	  || etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)
324
325GTAGS:
326	here=`CDPATH=: && cd $(top_builddir) && pwd` \
327	  && cd $(top_srcdir) \
328	  && gtags -i $$here
329
330distclean-tags:
331	-rm -f TAGS ID
332
333DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
334
335top_distdir = .
336distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
337
338GZIP_ENV = --best
339
340distdir: $(DISTFILES)
341	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
342	mkdir $(distdir)
343	$(mkinstalldirs) $(distdir)/scripts
344	@for file in $(DISTFILES); do \
345	  d=$(srcdir); \
346	  if test -d $$d/$$file; then \
347	    cp -pR $$d/$$file $(distdir) \
348	    || exit 1; \
349	  else \
350	    test -f $(distdir)/$$file \
351	    || cp -p $$d/$$file $(distdir)/$$file \
352	    || exit 1; \
353	  fi; \
354	done
355	for subdir in $(SUBDIRS); do \
356	  if test "$$subdir" = .; then :; else \
357	    test -d $(distdir)/$$subdir \
358	    || mkdir $(distdir)/$$subdir \
359	    || exit 1; \
360	    (cd $$subdir && \
361	      $(MAKE) $(AM_MAKEFLAGS) \
362	        top_distdir="$(top_distdir)" \
363	        distdir=../$(distdir)/$$subdir \
364	        distdir) \
365	      || exit 1; \
366	  fi; \
367	done
368	$(MAKE) $(AM_MAKEFLAGS) \
369	  top_distdir="${top_distdir}" distdir="$(distdir)" \
370	  dist-hook
371	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
372	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
373	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
374	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
375	|| chmod -R a+r $(distdir)
376dist: distdir
377	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
378	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
379# This target untars the dist file and tries a VPATH configuration.  Then
380# it guarantees that the distribution is self-contained by making another
381# tarfile.
382distcheck: dist
383	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
384	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
385	chmod -R a-w $(distdir); chmod a+w $(distdir)
386	mkdir $(distdir)/=build
387	mkdir $(distdir)/=inst
388	chmod a-w $(distdir)
389	dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
390	  && cd $(distdir)/=build \
391	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
392	  && $(MAKE) $(AM_MAKEFLAGS) \
393	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
394	  && $(MAKE) $(AM_MAKEFLAGS) check \
395	  && $(MAKE) $(AM_MAKEFLAGS) install \
396	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
397	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
398	  && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
399	  && $(MAKE) $(AM_MAKEFLAGS) dist \
400	  && $(MAKE) $(AM_MAKEFLAGS) distclean \
401	  && rm -f $(distdir).tar.gz \
402	  && (test `find . -type f -print | wc -l` -eq 0 \
403	     || (echo "Error: files left after distclean" 1>&2; \
404	         exit 1) )
405	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
406	@echo "$(distdir).tar.gz is ready for distribution" | \
407	  sed 'h;s/./=/g;p;x;p;x'
408check-am: all-am
409check: check-recursive
410all-am: Makefile config.h
411
412installdirs: installdirs-recursive
413installdirs-am:
414
415install: install-recursive
416install-exec: install-exec-recursive
417install-data: install-data-recursive
418uninstall: uninstall-recursive
419
420install-am: all-am
421	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
422
423installcheck: installcheck-recursive
424
425install-strip:
426	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
427	  INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
428
429mostlyclean-generic:
430
431clean-generic:
432
433distclean-generic:
434	-rm -f Makefile $(CONFIG_CLEAN_FILES)
435	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
436	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
437
438maintainer-clean-generic:
439	@echo "This command is intended for maintainers to use"
440	@echo "it deletes files that may require special tools to rebuild."
441	-rm -f Makefile.in
442	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
443clean: clean-recursive
444
445clean-am: clean-generic mostlyclean-am
446
447dist-all: dist
448
449distclean: distclean-recursive
450	-rm -f config.status
451
452distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
453
454dvi:
455
456dvi-am:
457
458info:
459
460info-am:
461
462install-data-am:
463
464install-exec-am:
465
466install-info:
467
468install-man:
469
470installcheck-am:
471
472maintainer-clean: maintainer-clean-recursive
473	-rm -f config.status
474
475maintainer-clean-am: distclean-am maintainer-clean-generic
476
477mostlyclean: mostlyclean-recursive
478
479mostlyclean-am: mostlyclean-generic
480
481.PHONY: all all-am all-recursive check check-am check-recursive clean \
482	clean-generic clean-recursive dist dist-all distcheck distclean \
483	distclean-generic distclean-hdr distclean-recursive \
484	distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
485	info-recursive install install-am install-data install-data-am \
486	install-data-recursive install-exec install-exec-am \
487	install-exec-recursive install-info install-info-recursive \
488	install-man install-recursive install-strip installcheck \
489	installcheck-am installcheck-recursive installdirs \
490	installdirs-am installdirs-recursive maintainer-clean \
491	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
492	mostlyclean-generic mostlyclean-recursive tags tags-recursive \
493	uninstall uninstall-am uninstall-info-recursive \
494	uninstall-recursive
495
496
497$(srcdir)/COPYRIGHT: html/copyright.htm
498	( echo "This file is automatically generated from html/copyright.htm" ; lynx -dump $(srcdir)/html/copyright.htm ) > $(srcdir)/COPYRIGHT.new && mv $(srcdir)/COPYRIGHT.new $(srcdir)/COPYRIGHT
499
500dist-hook:
501	@find $(distdir) -type d -name CVS -print | xargs rm -rf
502
503Makefile: .warning
504
505.buildcvo:
506	echo "$(CVO)" > .buildcvo
507
508.checkcvo: .buildcvo FRC.checkcvo
509	@if [ "`cat .buildcvo`" != "$(CVO)" ];then	\
510		echo "This directory was configured for `cat .buildcvo`"; \
511		echo "but this machine is a $(CVO)";	\
512		exit 1;	\
513	fi
514
515.buildhost:
516	echo "$(BHOST)" > .buildhost
517
518.checkhost: .buildhost FRC.checkhost
519	@if [ "`cat .buildhost`" != "$(BHOST)" ];then	\
520		echo "Built on `cat .buildhost` but this is $(BHOST)"; \
521		echo " "; \
522	fi
523
524.warning:
525	@echo "Compiling with GCC now generates lots of new warnings."
526	@echo " "
527	@echo "Don't be concerned. They're just warnings."
528	@echo " "
529	@echo "Don't send bug reports about the warnings, either."
530	@echo " "
531	@echo "Feel free to send patches that fix these warnings, though."
532	@echo " "
533	@sleep 1
534	@touch .warning
535
536FRC.distwarn FRC.checkcvo FRC.checkhost:
537
538dot.emacs: FRC.distwarn
539
540# Tell versions [3.59,3.63) of GNU make to not export all variables.
541# Otherwise a system limit (for SysV at least) may be exceeded.
542.NOEXPORT:
543