xref: /freebsd/contrib/ntp/Makefile.in (revision 5129159789cc9d7bc514e4546b88e3427695002d)
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@
66AMTAR = @AMTAR@
67AMTARFLAGS = @AMTARFLAGS@
68AWK = @AWK@
69CC = @CC@
70CFLAGS = @CFLAGS@
71CHUTEST = @CHUTEST@
72CLKTEST = @CLKTEST@
73CPP = @CPP@
74DCFD = @DCFD@
75LDFLAGS = @LDFLAGS@
76LIBPARSE = @LIBPARSE@
77LIBRSAREF = @LIBRSAREF@
78LN_S = @LN_S@
79MAKEINFO = @MAKEINFO@
80MAKE_ADJTIMED = @MAKE_ADJTIMED@
81MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
82MAKE_LIBPARSE = @MAKE_LIBPARSE@
83MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
84MAKE_LIBRSAREF = @MAKE_LIBRSAREF@
85MAKE_NTPTIME = @MAKE_NTPTIME@
86MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
87MAKE_TICKADJ = @MAKE_TICKADJ@
88PACKAGE = @PACKAGE@
89PATH_SH = @PATH_SH@
90PROPDELAY = @PROPDELAY@
91RANLIB = @RANLIB@
92RSAREF = @RSAREF@
93TESTDCF = @TESTDCF@
94U = @U@
95VERSION = @VERSION@
96
97#AUTOMAKE_OPTIONS = foreign dist-tarZ #distdir=$(PACKAGE)$(VERSION)
98#AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ no-dependencies
99
100
101AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ
102
103SUBDIRS = \
104	scripts \
105	include \
106	libntp	\
107	libparse	\
108	librsaref	\
109	ntpd	\
110	ntpdate	\
111	ntpdc	\
112	ntpq	\
113	ntptrace	\
114	parseutil	\
115	adjtimed	\
116	clockstuff	\
117	kernel	\
118	util
119
120
121EXTRA_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
122#ETAGS_ARGS = $(srcdir)/Makefile.am $(srcdir)/configure.in
123ETAGS_ARGS = Makefile.am configure.in acconfig.h
124
125# DIST_CPDIRS = conf html scripts
126# DIST_MKDIRS = adjtime clockstuff kernel libparse ppsclock
127#DIST_HOOK_DIRS = conf html patches ports scripts
128# HMS: make ports be the last directory...
129DIST_HOOK_DIRS = conf html scripts ports
130
131BUILT_SOURCES = $(srcdir)/COPYRIGHT
132
133CVO = `$(srcdir)/config.guess`
134
135BHOST = `(hostname || uname -n)`
136subdir = .
137ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
138mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
139CONFIG_HEADER = config.h
140CONFIG_CLEAN_FILES =
141DIST_SOURCES =
142DIST_COMMON =  README ./stamp-h.in ChangeLog INSTALL Makefile.am \
143Makefile.in NEWS TODO acconfig.h aclocal.m4 config.guess config.h.in \
144config.sub configure configure.in install-sh missing mkinstalldirs
145
146
147DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
148
149GZIP_ENV = --best
150all: all-redirect
151.SUFFIXES:
152$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
153	cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
154
155Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
156	cd $(top_builddir) \
157	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
158
159$(ACLOCAL_M4):  configure.in
160	cd $(srcdir) && $(ACLOCAL)
161
162config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
163	$(SHELL) ./config.status --recheck
164$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
165	cd $(srcdir) && $(AUTOCONF)
166
167config.h: stamp-h
168	@if test ! -f $@; then \
169		rm -f stamp-h; \
170		$(MAKE) stamp-h; \
171	else :; fi
172stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
173	@rm -f stamp-h stamp-hT
174	@echo timestamp > stamp-hT 2> /dev/null
175	cd $(top_builddir) \
176	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
177	     $(SHELL) ./config.status
178	@mv stamp-hT stamp-h
179$(srcdir)/config.h.in: $(srcdir)/./stamp-h.in
180	@if test ! -f $@; then \
181		rm -f $(srcdir)/./stamp-h.in; \
182		$(MAKE) $(srcdir)/./stamp-h.in; \
183	else :; fi
184$(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
185	@rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
186	@echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
187	cd $(top_srcdir) && $(AUTOHEADER)
188	@mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
189
190mostlyclean-hdr:
191
192clean-hdr:
193
194distclean-hdr:
195	-rm -f config.h
196
197maintainer-clean-hdr:
198
199# This directory's subdirectories are mostly independent; you can cd
200# into them and run `make' without going through this Makefile.
201# To change the values of `make' variables: instead of editing Makefiles,
202# (1) if the variable is set in `config.status', edit `config.status'
203#     (which will cause the Makefiles to be regenerated when you run `make');
204# (2) otherwise, pass the desired values on the `make' command line.
205
206@SET_MAKE@
207
208all-recursive install-data-recursive install-exec-recursive \
209installdirs-recursive install-recursive uninstall-recursive  \
210check-recursive installcheck-recursive info-recursive dvi-recursive:
211	@set fnord $(MAKEFLAGS); amf=$$2; \
212	dot_seen=no; \
213	target=`echo $@ | sed s/-recursive//`; \
214	list='$(SUBDIRS)'; for subdir in $$list; do \
215	  echo "Making $$target in $$subdir"; \
216	  if test "$$subdir" = "."; then \
217	    dot_seen=yes; \
218	    local_target="$$target-am"; \
219	  else \
220	    local_target="$$target"; \
221	  fi; \
222	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
223	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
224	done; \
225	if test "$$dot_seen" = "no"; then \
226	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
227	fi; test -z "$$fail"
228
229mostlyclean-recursive clean-recursive distclean-recursive \
230maintainer-clean-recursive:
231	@set fnord $(MAKEFLAGS); amf=$$2; \
232	dot_seen=no; \
233	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
234	  rev="$$subdir $$rev"; \
235	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
236	done; \
237	test "$$dot_seen" = "no" && rev=". $$rev"; \
238	target=`echo $@ | sed s/-recursive//`; \
239	for subdir in $$rev; do \
240	  echo "Making $$target in $$subdir"; \
241	  if test "$$subdir" = "."; then \
242	    local_target="$$target-am"; \
243	  else \
244	    local_target="$$target"; \
245	  fi; \
246	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
247	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
248	done && test -z "$$fail"
249tags-recursive:
250	list='$(SUBDIRS)'; for subdir in $$list; do \
251	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
252	done
253
254tags: TAGS
255
256ID: $(HEADERS) $(SOURCES) $(LISP)
257	list='$(SOURCES) $(HEADERS)'; \
258	unique=`for i in $$list; do echo $$i; done | \
259	  ${AWK:-awk} '    { files[$$0] = 1; } \
260	       END { for (i in files) print i; }'`; \
261	here=`pwd` && cd $(srcdir) \
262	  && mkid -f$$here/ID $$unique $(LISP)
263
264TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
265	tags=; \
266	here=`pwd`; \
267	list='$(SUBDIRS)'; for subdir in $$list; do \
268   if test "$$subdir" = .; then :; else \
269	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
270   fi; \
271	done; \
272	list='$(SOURCES) $(HEADERS)'; \
273	unique=`for i in $$list; do echo $$i; done | \
274	  ${AWK:-awk} '    { files[$$0] = 1; } \
275	       END { for (i in files) print i; }'`; \
276	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
277	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
278
279mostlyclean-tags:
280
281clean-tags:
282
283distclean-tags:
284	-rm -f TAGS ID
285
286maintainer-clean-tags:
287
288distdir = $(PACKAGE)-$(VERSION)
289top_distdir = $(distdir)
290
291# This target untars the dist file and tries a VPATH configuration.  Then
292# it guarantees that the distribution is self-contained by making another
293# tarfile.
294distcheck: dist
295	-rm -rf $(distdir)
296	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
297	mkdir $(distdir)/=build
298	mkdir $(distdir)/=inst
299	dc_install_base=`cd $(distdir)/=inst && pwd`; \
300	cd $(distdir)/=build \
301	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
302	  && $(MAKE) $(AM_MAKEFLAGS) \
303	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
304	  && $(MAKE) $(AM_MAKEFLAGS) check \
305	  && $(MAKE) $(AM_MAKEFLAGS) install \
306	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
307	  && $(MAKE) $(AM_MAKEFLAGS) dist
308	-rm -rf $(distdir)
309	@banner="$(distdir).tar.gz is ready for distribution"; \
310	dashes=`echo "$$banner" | sed s/./=/g`; \
311	echo "$$dashes"; \
312	echo "$$banner"; \
313	echo "$$dashes"
314dist: distdir
315	-chmod -R a+r $(distdir)
316	$(AMTAR) ch$(AMTARFLAGS)f - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
317	-rm -rf $(distdir)
318dist-tarZ: distdir
319	-chmod -R a+r $(distdir)
320	$(AMTAR) ch$(AMTARFLAGS)f - $(distdir) | compress -c > $(distdir).tar.Z
321	-rm -rf $(distdir)
322dist-all: distdir
323	-chmod -R a+r $(distdir)
324	$(AMTAR) ch$(AMTARFLAGS)f - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
325	$(AMTAR) ch$(AMTARFLAGS)f - $(distdir) | compress -c > $(distdir).tar.Z
326	-rm -rf $(distdir)
327distdir: $(DISTFILES)
328	-rm -rf $(distdir)
329	mkdir $(distdir)
330	-chmod 777 $(distdir)
331	@for file in $(DISTFILES); do \
332	  d=$(srcdir); \
333	  if test -d $$d/$$file; then \
334	    cp -pr $$d/$$file $(distdir)/$$file; \
335	  else \
336	    test -f $(distdir)/$$file \
337	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
338	    || cp -p $$d/$$file $(distdir)/$$file || :; \
339	  fi; \
340	done
341	for subdir in $(SUBDIRS); do \
342	  if test "$$subdir" = .; then :; else \
343	    test -d $(distdir)/$$subdir \
344	    || mkdir $(distdir)/$$subdir \
345	    || exit 1; \
346	    chmod 777 $(distdir)/$$subdir; \
347	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
348	      || exit 1; \
349	  fi; \
350	done
351	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
352info-am:
353info: info-recursive
354dvi-am:
355dvi: dvi-recursive
356check-am: all-am
357check: check-recursive
358installcheck-am:
359installcheck: installcheck-recursive
360all-recursive-am: config.h
361	$(MAKE) $(AM_MAKEFLAGS) all-recursive
362
363install-exec-am:
364install-exec: install-exec-recursive
365
366install-data-am:
367install-data: install-data-recursive
368
369install-am: all-am
370	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
371install: install-recursive
372uninstall-am:
373uninstall: uninstall-recursive
374all-am: Makefile config.h
375all-redirect: all-recursive-am
376install-strip:
377	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
378installdirs: installdirs-recursive
379installdirs-am:
380
381
382mostlyclean-generic:
383
384clean-generic:
385
386distclean-generic:
387	-rm -f Makefile $(CONFIG_CLEAN_FILES)
388	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
389
390maintainer-clean-generic:
391	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
392mostlyclean-am:  mostlyclean-hdr mostlyclean-tags mostlyclean-generic
393
394mostlyclean: mostlyclean-recursive
395
396clean-am:  clean-hdr clean-tags clean-generic mostlyclean-am
397
398clean: clean-recursive
399
400distclean-am:  distclean-hdr distclean-tags distclean-generic clean-am
401
402distclean: distclean-recursive
403	-rm -f config.status
404
405maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-tags \
406		maintainer-clean-generic distclean-am
407	@echo "This command is intended for maintainers to use;"
408	@echo "it deletes files that may require special tools to rebuild."
409
410maintainer-clean: maintainer-clean-recursive
411	-rm -f config.status
412
413.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
414install-recursive uninstall-recursive install-data-recursive \
415uninstall-data-recursive install-exec-recursive \
416uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
417all-recursive check-recursive installcheck-recursive info-recursive \
418dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
419maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
420distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
421dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
422install-exec-am install-exec install-data-am install-data install-am \
423install uninstall-am uninstall all-redirect all-am all install-strip \
424installdirs-am installdirs mostlyclean-generic distclean-generic \
425clean-generic maintainer-clean-generic clean mostlyclean distclean \
426maintainer-clean
427
428
429$(srcdir)/COPYRIGHT: html/copyright.htm
430	( 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
431
432# local-dist: dist-tarZ
433
434dist-hook:
435	-for i in $(DIST_HOOK_DIRS); do \
436	  mkdir $(distdir)/$$i ; \
437	  cp -rp $(srcdir)/$$i $(distdir) ; \
438	done ; \
439	find $(distdir) -type d -name CVS -exec rm -rf '{}' \; ; \
440	# find $(distdir)/html -name '*.htm' -exec dos2unix {} {} \; ; \
441	# cp -rp $(srcdir)/include/winnt $(distdir)/include
442
443dist-export: distdir
444	rm $(distdir)/libntp/authdes.c
445	cp $(distdir)/libntp/authdes.c.export $(distdir)/libntp/authdes.c
446	chmod -R a+r $(distdir)
447	mv $(distdir) $(distdir)-export
448	$(TAR) chozf $(distdir)-export.tar.gz $(distdir)-export
449	rm -rf $(distdir)-export
450
451Makefile: .warning
452
453.buildcvo:
454	echo "$(CVO)" > .buildcvo
455
456.checkcvo: .buildcvo FRC.checkcvo
457	@if [ "`cat .buildcvo`" != "$(CVO)" ];then	\
458		echo "This directory was configured for `cat .buildcvo`"; \
459		echo "but this machine is a $(CVO)";	\
460		exit 1;	\
461	fi
462
463.buildhost:
464	echo "$(BHOST)" > .buildhost
465
466.checkhost: .buildhost FRC.checkhost
467	@if [ "`cat .buildhost`" != "$(BHOST)" ];then	\
468		echo "Built on `cat .buildhost` but this is $(BHOST)"; \
469		echo " "; \
470	fi
471
472.warning:
473	@echo "Compiling with GCC now generates lots of new warnings."
474	@echo " "
475	@echo "Don't be concerned. They're just warnings."
476	@echo " "
477	@echo "Don't send bug reports about the warnings, either."
478	@echo " "
479	@echo "Feel free to send patches that fix these warnings, though."
480	@echo " "
481	@sleep 1
482	@touch .warning
483
484FRC.distwarn FRC.checkcvo FRC.checkhost:
485
486dot.emacs: FRC.distwarn
487
488# Tell versions [3.59,3.63) of GNU make to not export all variables.
489# Otherwise a system limit (for SysV at least) may be exceeded.
490.NOEXPORT:
491