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