1# Makefile.in generated by automake 1.11 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18# we traditionally installed software in bindir, while it should have gone
19# in sbindir.  Now that we offer a choice, look in the "other" installation
20# subdir to warn folks if there is another version there.
21
22
23VPATH = @srcdir@
24pkgdatadir = $(datadir)/@PACKAGE@
25pkgincludedir = $(includedir)/@PACKAGE@
26pkglibdir = $(libdir)/@PACKAGE@
27pkglibexecdir = $(libexecdir)/@PACKAGE@
28am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
29install_sh_DATA = $(install_sh) -c -m 644
30install_sh_PROGRAM = $(install_sh) -c
31install_sh_SCRIPT = $(install_sh) -c
32INSTALL_HEADER = $(INSTALL_DATA)
33transform = $(program_transform_name)
34NORMAL_INSTALL = :
35PRE_INSTALL = :
36POST_INSTALL = :
37NORMAL_UNINSTALL = :
38PRE_UNINSTALL = :
39POST_UNINSTALL = :
40build_triplet = @build@
41host_triplet = @host@
42bin_PROGRAMS = ntpdate$(EXEEXT)
43EXTRA_PROGRAMS = ntptimeset$(EXEEXT)
44DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \
45	$(srcdir)/Makefile.in $(top_srcdir)/bincheck.mf \
46	$(top_srcdir)/depsver.mf
47subdir = ntpdate
48ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
49am__aclocal_m4_deps = $(top_srcdir)/libopts/m4/libopts.m4 \
50	$(top_srcdir)/m4/define_dir.m4 \
51	$(top_srcdir)/m4/ntp_cacheversion.m4 \
52	$(top_srcdir)/m4/ntp_dir_sep.m4 \
53	$(top_srcdir)/m4/ntp_lineeditlibs.m4 \
54	$(top_srcdir)/m4/ntp_vpathhack.m4 \
55	$(top_srcdir)/m4/os_cflags.m4 $(top_srcdir)/version.m4 \
56	$(top_srcdir)/configure.ac
57am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
58	$(ACLOCAL_M4)
59mkinstalldirs = $(install_sh) -d
60CONFIG_HEADER = $(top_builddir)/config.h
61CONFIG_CLEAN_FILES =
62CONFIG_CLEAN_VPATH_FILES =
63am__installdirs = "$(DESTDIR)$(bindir)"
64PROGRAMS = $(bin_PROGRAMS)
65ntpdate_SOURCES = ntpdate.c
66ntpdate_OBJECTS = ntpdate.$(OBJEXT)
67ntpdate_DEPENDENCIES = $(LDADD)
68am_ntptimeset_OBJECTS = ntptimeset.$(OBJEXT) ntptime_config.$(OBJEXT)
69ntptimeset_OBJECTS = $(am_ntptimeset_OBJECTS)
70ntptimeset_LDADD = $(LDADD)
71ntptimeset_DEPENDENCIES = version.o ../libntp/libntp.a
72DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
73depcomp = $(SHELL) $(top_srcdir)/depcomp
74am__depfiles_maybe = depfiles
75am__mv = mv -f
76COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
77	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
78LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
79	--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
80	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
81CCLD = $(CC)
82LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
83	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
84	$(LDFLAGS) -o $@
85SOURCES = ntpdate.c $(ntptimeset_SOURCES)
86DIST_SOURCES = ntpdate.c $(ntptimeset_SOURCES)
87HEADERS = $(noinst_HEADERS)
88ETAGS = etags
89CTAGS = ctags
90DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
91ACLOCAL = @ACLOCAL@
92AMTAR = @AMTAR@
93AR = @AR@
94ARLIB_DIR = @ARLIB_DIR@
95AUTOCONF = @AUTOCONF@
96AUTOHEADER = @AUTOHEADER@
97AUTOMAKE = @AUTOMAKE@
98AWK = @AWK@
99BINSUBDIR = @BINSUBDIR@
100CC = @CC@
101CCDEPMODE = @CCDEPMODE@
102CFLAGS = @CFLAGS@
103CHUTEST = @CHUTEST@
104CLKTEST = @CLKTEST@
105CPP = @CPP@
106CPPFLAGS = @CPPFLAGS@
107CYGPATH_W = @CYGPATH_W@
108DCFD = @DCFD@
109DEFS = @DEFS@
110DEPDIR = @DEPDIR@
111ECHO = @ECHO@
112ECHO_C = @ECHO_C@
113ECHO_N = @ECHO_N@
114ECHO_T = @ECHO_T@
115EDITLINE_LIBS = @EDITLINE_LIBS@
116EF_LIBS = @EF_LIBS@
117EF_PROGS = @EF_PROGS@
118EGREP = @EGREP@
119EXEEXT = @EXEEXT@
120GREP = @GREP@
121HAVE_INLINE = @HAVE_INLINE@
122INSTALL = @INSTALL@
123INSTALL_DATA = @INSTALL_DATA@
124INSTALL_PROGRAM = @INSTALL_PROGRAM@
125INSTALL_SCRIPT = @INSTALL_SCRIPT@
126INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
127LCRYPTO = @LCRYPTO@
128LDFLAGS = @LDFLAGS@
129LIBOBJS = @LIBOBJS@
130LIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
131LIBOPTS_DIR = @LIBOPTS_DIR@
132LIBOPTS_LDADD = @LIBOPTS_LDADD@
133LIBPARSE = @LIBPARSE@
134LIBS = @LIBS@
135LIBTOOL = @LIBTOOL@
136LN_S = @LN_S@
137LSCF = @LSCF@
138LTLIBOBJS = @LTLIBOBJS@
139MAKEINFO = @MAKEINFO@
140MAKE_ADJTIMED = @MAKE_ADJTIMED@
141MAKE_CHECK_LAYOUT = @MAKE_CHECK_LAYOUT@
142MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
143MAKE_LIBNTPSIM = @MAKE_LIBNTPSIM@
144MAKE_LIBPARSE = @MAKE_LIBPARSE@
145MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
146MAKE_NTPDSIM = @MAKE_NTPDSIM@
147MAKE_NTPSNMPD = @MAKE_NTPSNMPD@
148MAKE_NTPTIME = @MAKE_NTPTIME@
149MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
150MAKE_TICKADJ = @MAKE_TICKADJ@
151MAKE_TIMETRIM = @MAKE_TIMETRIM@
152MKDIR_P = @MKDIR_P@
153OBJEXT = @OBJEXT@
154OPENSSL = @OPENSSL@
155OPENSSL_INC = @OPENSSL_INC@
156OPENSSL_LIB = @OPENSSL_LIB@
157PACKAGE = @PACKAGE@
158PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
159PACKAGE_NAME = @PACKAGE_NAME@
160PACKAGE_STRING = @PACKAGE_STRING@
161PACKAGE_TARNAME = @PACKAGE_TARNAME@
162PACKAGE_URL = @PACKAGE_URL@
163PACKAGE_VERSION = @PACKAGE_VERSION@
164PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@
165PATH_PERL = @PATH_PERL@
166PATH_SEPARATOR = @PATH_SEPARATOR@
167PATH_SH = @PATH_SH@
168PROPDELAY = @PROPDELAY@
169RANLIB = @RANLIB@
170SET_MAKE = @SET_MAKE@
171SHELL = @SHELL@
172SNMP_CFLAGS = @SNMP_CFLAGS@
173SNMP_CPPFLAGS = @SNMP_CPPFLAGS@
174SNMP_LIBS = @SNMP_LIBS@
175STRIP = @STRIP@
176TESTDCF = @TESTDCF@
177VERSION = @VERSION@
178YACC = @YACC@
179YFLAGS = @YFLAGS@
180abs_builddir = @abs_builddir@
181abs_srcdir = @abs_srcdir@
182abs_top_builddir = @abs_top_builddir@
183abs_top_srcdir = @abs_top_srcdir@
184ac_ct_CC = @ac_ct_CC@
185am__include = @am__include@
186am__leading_dot = @am__leading_dot@
187am__quote = @am__quote@
188am__tar = @am__tar@
189am__untar = @am__untar@
190bindir = ${exec_prefix}/${BINSUBDIR}
191build = @build@
192build_alias = @build_alias@
193build_cpu = @build_cpu@
194build_os = @build_os@
195build_vendor = @build_vendor@
196builddir = @builddir@
197datadir = @datadir@
198datarootdir = @datarootdir@
199docdir = @docdir@
200dvidir = @dvidir@
201exec_prefix = @exec_prefix@
202host = @host@
203host_alias = @host_alias@
204host_cpu = @host_cpu@
205host_os = @host_os@
206host_vendor = @host_vendor@
207htmldir = @htmldir@
208includedir = @includedir@
209infodir = @infodir@
210install_sh = @install_sh@
211libdir = @libdir@
212libexecdir = @libexecdir@
213localedir = @localedir@
214localstatedir = @localstatedir@
215mandir = @mandir@
216mkdir_p = @mkdir_p@
217oldincludedir = @oldincludedir@
218pdfdir = @pdfdir@
219prefix = @prefix@
220program_transform_name = @program_transform_name@
221psdir = @psdir@
222sbindir = @sbindir@
223sharedstatedir = @sharedstatedir@
224srcdir = @srcdir@
225subdirs = @subdirs@
226sysconfdir = @sysconfdir@
227target_alias = @target_alias@
228top_build_prefix = @top_build_prefix@
229top_builddir = @top_builddir@
230top_srcdir = @top_srcdir@
231NULL = 
232AUTOMAKE_OPTIONS = 
233BUILT_SOURCES = .deps-ver
234CLEANFILES = .deps-ver
235ntptimeset_SOURCES = ntptimeset.c ntptime_config.c
236AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/isc/include \
237	-I$(top_srcdir)/lib/isc/nothreads/include \
238	-I$(top_srcdir)/lib/isc/unix/include
239
240
241# LDADD might need RESLIB and ADJLIB
242LDADD = version.o ../libntp/libntp.a
243ntpdate_LDADD = $(LDADD) @LCRYPTO@
244DISTCLEANFILES = .version version.c stamp-v
245noinst_HEADERS = ntpdate.h
246ETAGS_ARGS = Makefile.am
247all: $(BUILT_SOURCES)
248	$(MAKE) $(AM_MAKEFLAGS) all-am
249
250.SUFFIXES:
251.SUFFIXES: .c .lo .o .obj
252$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/bincheck.mf $(top_srcdir)/depsver.mf $(am__configure_deps)
253	@for dep in $?; do \
254	  case '$(am__configure_deps)' in \
255	    *$$dep*) \
256	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
257	        && { if test -f $@; then exit 0; else break; fi; }; \
258	      exit 1;; \
259	  esac; \
260	done; \
261	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ntpdate/Makefile'; \
262	$(am__cd) $(top_srcdir) && \
263	  $(AUTOMAKE) --foreign ntpdate/Makefile
264.PRECIOUS: Makefile
265Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
266	@case '$?' in \
267	  *config.status*) \
268	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
269	  *) \
270	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
271	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
272	esac;
273
274$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
275	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
276
277$(top_srcdir)/configure:  $(am__configure_deps)
278	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
279$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
280	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
281$(am__aclocal_m4_deps):
282install-binPROGRAMS: $(bin_PROGRAMS)
283	@$(NORMAL_INSTALL)
284	test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
285	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
286	for p in $$list; do echo "$$p $$p"; done | \
287	sed 's/$(EXEEXT)$$//' | \
288	while read p p1; do if test -f $$p || test -f $$p1; \
289	  then echo "$$p"; echo "$$p"; else :; fi; \
290	done | \
291	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
292	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
293	sed 'N;N;N;s,\n, ,g' | \
294	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
295	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
296	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
297	    else { print "f", $$3 "/" $$4, $$1; } } \
298	  END { for (d in files) print "f", d, files[d] }' | \
299	while read type dir files; do \
300	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
301	    test -z "$$files" || { \
302	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
303	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
304	    } \
305	; done
306
307uninstall-binPROGRAMS:
308	@$(NORMAL_UNINSTALL)
309	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
310	files=`for p in $$list; do echo "$$p"; done | \
311	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
312	      -e 's/$$/$(EXEEXT)/' `; \
313	test -n "$$list" || exit 0; \
314	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
315	cd "$(DESTDIR)$(bindir)" && rm -f $$files
316
317clean-binPROGRAMS:
318	@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
319	echo " rm -f" $$list; \
320	rm -f $$list || exit $$?; \
321	test -n "$(EXEEXT)" || exit 0; \
322	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
323	echo " rm -f" $$list; \
324	rm -f $$list
325ntpdate$(EXEEXT): $(ntpdate_OBJECTS) $(ntpdate_DEPENDENCIES) 
326	@rm -f ntpdate$(EXEEXT)
327	$(LINK) $(ntpdate_OBJECTS) $(ntpdate_LDADD) $(LIBS)
328ntptimeset$(EXEEXT): $(ntptimeset_OBJECTS) $(ntptimeset_DEPENDENCIES) 
329	@rm -f ntptimeset$(EXEEXT)
330	$(LINK) $(ntptimeset_OBJECTS) $(ntptimeset_LDADD) $(LIBS)
331
332mostlyclean-compile:
333	-rm -f *.$(OBJEXT)
334
335distclean-compile:
336	-rm -f *.tab.c
337
338@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdate.Po@am__quote@
339@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntptime_config.Po@am__quote@
340@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntptimeset.Po@am__quote@
341
342.c.o:
343@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
344@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
345@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
346@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
347@am__fastdepCC_FALSE@	$(COMPILE) -c $<
348
349.c.obj:
350@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
351@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
352@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
353@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
354@am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
355
356.c.lo:
357@am__fastdepCC_TRUE@	$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
358@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
359@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
360@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
361@am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ $<
362
363mostlyclean-libtool:
364	-rm -f *.lo
365
366clean-libtool:
367	-rm -rf .libs _libs
368
369ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
370	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
371	unique=`for i in $$list; do \
372	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
373	  done | \
374	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
375	      END { if (nonempty) { for (i in files) print i; }; }'`; \
376	mkid -fID $$unique
377tags: TAGS
378
379TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
380		$(TAGS_FILES) $(LISP)
381	set x; \
382	here=`pwd`; \
383	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
384	unique=`for i in $$list; do \
385	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
386	  done | \
387	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
388	      END { if (nonempty) { for (i in files) print i; }; }'`; \
389	shift; \
390	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
391	  test -n "$$unique" || unique=$$empty_fix; \
392	  if test $$# -gt 0; then \
393	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
394	      "$$@" $$unique; \
395	  else \
396	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
397	      $$unique; \
398	  fi; \
399	fi
400ctags: CTAGS
401CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
402		$(TAGS_FILES) $(LISP)
403	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
404	unique=`for i in $$list; do \
405	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
406	  done | \
407	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
408	      END { if (nonempty) { for (i in files) print i; }; }'`; \
409	test -z "$(CTAGS_ARGS)$$unique" \
410	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
411	     $$unique
412
413GTAGS:
414	here=`$(am__cd) $(top_builddir) && pwd` \
415	  && $(am__cd) $(top_srcdir) \
416	  && gtags -i $(GTAGS_ARGS) "$$here"
417
418distclean-tags:
419	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
420
421distdir: $(DISTFILES)
422	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
423	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
424	list='$(DISTFILES)'; \
425	  dist_files=`for file in $$list; do echo $$file; done | \
426	  sed -e "s|^$$srcdirstrip/||;t" \
427	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
428	case $$dist_files in \
429	  */*) $(MKDIR_P) `echo "$$dist_files" | \
430			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
431			   sort -u` ;; \
432	esac; \
433	for file in $$dist_files; do \
434	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
435	  if test -d $$d/$$file; then \
436	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
437	    if test -d "$(distdir)/$$file"; then \
438	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
439	    fi; \
440	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
441	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
442	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
443	    fi; \
444	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
445	  else \
446	    test -f "$(distdir)/$$file" \
447	    || cp -p $$d/$$file "$(distdir)/$$file" \
448	    || exit 1; \
449	  fi; \
450	done
451check-am: all-am
452check: $(BUILT_SOURCES)
453	$(MAKE) $(AM_MAKEFLAGS) check-am
454all-am: Makefile $(PROGRAMS) $(HEADERS)
455installdirs:
456	for dir in "$(DESTDIR)$(bindir)"; do \
457	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
458	done
459install: $(BUILT_SOURCES)
460	$(MAKE) $(AM_MAKEFLAGS) install-am
461install-exec: install-exec-am
462install-data: install-data-am
463uninstall: uninstall-am
464
465install-am: all-am
466	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
467
468installcheck: installcheck-am
469install-strip:
470	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
471	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
472	  `test -z '$(STRIP)' || \
473	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
474mostlyclean-generic:
475
476clean-generic:
477	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
478
479distclean-generic:
480	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
481	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
482	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
483
484maintainer-clean-generic:
485	@echo "This command is intended for maintainers to use"
486	@echo "it deletes files that may require special tools to rebuild."
487	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
488clean: clean-am
489
490clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
491
492distclean: distclean-am
493	-rm -rf ./$(DEPDIR)
494	-rm -f Makefile
495distclean-am: clean-am distclean-compile distclean-generic \
496	distclean-tags
497
498dvi: dvi-am
499
500dvi-am:
501
502html: html-am
503
504html-am:
505
506info: info-am
507
508info-am:
509
510install-data-am:
511
512install-dvi: install-dvi-am
513
514install-dvi-am:
515
516install-exec-am: install-binPROGRAMS
517	@$(NORMAL_INSTALL)
518	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
519install-html: install-html-am
520
521install-html-am:
522
523install-info: install-info-am
524
525install-info-am:
526
527install-man:
528
529install-pdf: install-pdf-am
530
531install-pdf-am:
532
533install-ps: install-ps-am
534
535install-ps-am:
536
537installcheck-am:
538
539maintainer-clean: maintainer-clean-am
540	-rm -rf ./$(DEPDIR)
541	-rm -f Makefile
542maintainer-clean-am: distclean-am maintainer-clean-generic
543
544mostlyclean: mostlyclean-am
545
546mostlyclean-am: mostlyclean-compile mostlyclean-generic \
547	mostlyclean-libtool
548
549pdf: pdf-am
550
551pdf-am:
552
553ps: ps-am
554
555ps-am:
556
557uninstall-am: uninstall-binPROGRAMS
558
559.MAKE: all check install install-am install-exec-am install-strip
560
561.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
562	clean-generic clean-libtool ctags distclean distclean-compile \
563	distclean-generic distclean-libtool distclean-tags distdir dvi \
564	dvi-am html html-am info info-am install install-am \
565	install-binPROGRAMS install-data install-data-am install-dvi \
566	install-dvi-am install-exec install-exec-am install-exec-hook \
567	install-html install-html-am install-info install-info-am \
568	install-man install-pdf install-pdf-am install-ps \
569	install-ps-am install-strip installcheck installcheck-am \
570	installdirs maintainer-clean maintainer-clean-generic \
571	mostlyclean mostlyclean-compile mostlyclean-generic \
572	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
573	uninstall-am uninstall-binPROGRAMS
574
575
576$(PROGRAMS): $(LDADD)
577
578../libntp/libntp.a:
579	cd ../libntp && $(MAKE)
580
581$(top_srcdir)/version :
582	cd $(top_srcdir) && $(MAKE) version
583
584version.o: $(ntpdate_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version
585	env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdate
586	$(COMPILE) -c version.c
587
588install-exec-hook:
589	@case ${BINSUBDIR} in					\
590	 bin) ODIR=${exec_prefix}/sbin ;;			\
591	 sbin) ODIR=${exec_prefix}/bin ;;			\
592	esac;							\
593	test -z "${bin_PROGRAMS}${bin_SCRIPTS}"			\
594	|| for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do		\
595	   test ! -f $$ODIR/$$i || echo "*** $$i is also in $$ODIR!";	\
596	done
597
598#
599$(DEPDIR)/deps-ver: $(top_srcdir)/deps-ver
600	@[ -f $@ ] ||							\
601		cp $(top_srcdir)/deps-ver $@
602	@[ -w $@ ] ||							\
603		chmod ug+w $@
604	@cmp $(top_srcdir)/deps-ver $@ > /dev/null || (			\
605		$(MAKE) clean &&					\
606		echo -n "Prior $(subdir)/$(DEPDIR) version " &&		\
607		cat $@ &&						\
608		rm -rf $(DEPDIR) &&					\
609		mkdir $(DEPDIR) && 					\
610		case "$(top_builddir)" in				\
611		 .)							\
612		    ./config.status Makefile depfiles			\
613		    ;;							\
614		 ..)							\
615			cd .. &&					\
616			./config.status $(subdir)/Makefile depfiles &&	\
617			cd $(subdir)					\
618		    ;;							\
619		 *)							\
620		    echo 'Fatal: depsver.mf Automake fragment limited'	\
621			 'to immediate subdirectories.'	&&		\
622		    echo "top_builddir:	$(top_builddir)" &&		\
623		    echo "subdir:	$(subdir)" &&			\
624		    exit 1						\
625		    ;;							\
626		esac &&							\
627		echo -n "Cleaned $(subdir)/$(DEPDIR) version " &&	\
628		cat $(top_srcdir)/deps-ver				\
629	)
630	cp $(top_srcdir)/deps-ver $@
631
632.deps-ver: $(top_srcdir)/deps-ver
633	@[ ! -d $(DEPDIR) ] || $(MAKE) $(DEPDIR)/deps-ver
634	@touch $@
635
636#
637# depsver.mf	included in Makefile.am for directories with .deps
638#
639# When building in the same directory with sources that change over
640# time, such as when tracking using bk, the .deps files can become
641# stale with respect to moved, deleted, or superceded headers.  Most
642# commonly, this would exhibit as make reporting a failure to make a
643# header file which is no longer in the location given.  To address
644# this issue, we use a deps-ver file which is updated with each change
645# that breaks old .deps files.  A copy of deps-ver is made into
646# $(DEPDIR) if not already present.  If $(DEPDIR)/deps-ver is present
647# with different contents than deps-ver, we make clean to ensure all
648# .o files built before the incompatible change are rebuilt along with
649# their updated .deps files, then remove $(DEPDIR) and recreate it as
650# empty stubs.
651#
652# It is normal when configured with --disable-dependency-tracking for
653# the DEPDIR to not have been created.  For this reason, we use the
654# intermediate target .deps-ver, which invokes make recursively if
655# DEPDIR exists.
656#
657# If you modify depsver.mf, please make the changes to the master
658# copy, the one in sntp is copied by the bootstrap script from it.
659#
660# This comment block follows rather than leads the related code so that
661# it stays with it in the generated Makefile.in and Makefile.
662#
663
664# Tell versions [3.59,3.63) of GNU make to not export all variables.
665# Otherwise a system limit (for SysV at least) may be exceeded.
666.NOEXPORT:
667