Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / bsd / ntp / dist / ntpdate / Makefile.in
bloba7aafd0290f0d9f728586fa5294b19455e169fde
1 # Makefile.in generated by automake 1.11 from Makefile.am.
2 # @configure_input@
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.
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.
16 @SET_MAKE@
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.
23 VPATH = @srcdir@
24 pkgdatadir = $(datadir)/@PACKAGE@
25 pkgincludedir = $(includedir)/@PACKAGE@
26 pkglibdir = $(libdir)/@PACKAGE@
27 pkglibexecdir = $(libexecdir)/@PACKAGE@
28 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
29 install_sh_DATA = $(install_sh) -c -m 644
30 install_sh_PROGRAM = $(install_sh) -c
31 install_sh_SCRIPT = $(install_sh) -c
32 INSTALL_HEADER = $(INSTALL_DATA)
33 transform = $(program_transform_name)
34 NORMAL_INSTALL = :
35 PRE_INSTALL = :
36 POST_INSTALL = :
37 NORMAL_UNINSTALL = :
38 PRE_UNINSTALL = :
39 POST_UNINSTALL = :
40 build_triplet = @build@
41 host_triplet = @host@
42 bin_PROGRAMS = ntpdate$(EXEEXT)
43 EXTRA_PROGRAMS = ntptimeset$(EXEEXT)
44 DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \
45 $(srcdir)/Makefile.in $(top_srcdir)/bincheck.mf \
46 $(top_srcdir)/depsver.mf
47 subdir = ntpdate
48 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
49 am__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
57 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
58 $(ACLOCAL_M4)
59 mkinstalldirs = $(install_sh) -d
60 CONFIG_HEADER = $(top_builddir)/config.h
61 CONFIG_CLEAN_FILES =
62 CONFIG_CLEAN_VPATH_FILES =
63 am__installdirs = "$(DESTDIR)$(bindir)"
64 PROGRAMS = $(bin_PROGRAMS)
65 ntpdate_SOURCES = ntpdate.c
66 ntpdate_OBJECTS = ntpdate.$(OBJEXT)
67 ntpdate_DEPENDENCIES = $(LDADD)
68 am_ntptimeset_OBJECTS = ntptimeset.$(OBJEXT) ntptime_config.$(OBJEXT)
69 ntptimeset_OBJECTS = $(am_ntptimeset_OBJECTS)
70 ntptimeset_LDADD = $(LDADD)
71 ntptimeset_DEPENDENCIES = version.o ../libntp/libntp.a
72 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
73 depcomp = $(SHELL) $(top_srcdir)/depcomp
74 am__depfiles_maybe = depfiles
75 am__mv = mv -f
76 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
77 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
78 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
79 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
80 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
81 CCLD = $(CC)
82 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
83 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
84 $(LDFLAGS) -o $@
85 SOURCES = ntpdate.c $(ntptimeset_SOURCES)
86 DIST_SOURCES = ntpdate.c $(ntptimeset_SOURCES)
87 HEADERS = $(noinst_HEADERS)
88 ETAGS = etags
89 CTAGS = ctags
90 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
91 ACLOCAL = @ACLOCAL@
92 AMTAR = @AMTAR@
93 AR = @AR@
94 ARLIB_DIR = @ARLIB_DIR@
95 AUTOCONF = @AUTOCONF@
96 AUTOHEADER = @AUTOHEADER@
97 AUTOMAKE = @AUTOMAKE@
98 AWK = @AWK@
99 BINSUBDIR = @BINSUBDIR@
100 CC = @CC@
101 CCDEPMODE = @CCDEPMODE@
102 CFLAGS = @CFLAGS@
103 CHUTEST = @CHUTEST@
104 CLKTEST = @CLKTEST@
105 CPP = @CPP@
106 CPPFLAGS = @CPPFLAGS@
107 CYGPATH_W = @CYGPATH_W@
108 DCFD = @DCFD@
109 DEFS = @DEFS@
110 DEPDIR = @DEPDIR@
111 ECHO = @ECHO@
112 ECHO_C = @ECHO_C@
113 ECHO_N = @ECHO_N@
114 ECHO_T = @ECHO_T@
115 EDITLINE_LIBS = @EDITLINE_LIBS@
116 EF_LIBS = @EF_LIBS@
117 EF_PROGS = @EF_PROGS@
118 EGREP = @EGREP@
119 EXEEXT = @EXEEXT@
120 GREP = @GREP@
121 HAVE_INLINE = @HAVE_INLINE@
122 INSTALL = @INSTALL@
123 INSTALL_DATA = @INSTALL_DATA@
124 INSTALL_PROGRAM = @INSTALL_PROGRAM@
125 INSTALL_SCRIPT = @INSTALL_SCRIPT@
126 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
127 LCRYPTO = @LCRYPTO@
128 LDFLAGS = @LDFLAGS@
129 LIBOBJS = @LIBOBJS@
130 LIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
131 LIBOPTS_DIR = @LIBOPTS_DIR@
132 LIBOPTS_LDADD = @LIBOPTS_LDADD@
133 LIBPARSE = @LIBPARSE@
134 LIBS = @LIBS@
135 LIBTOOL = @LIBTOOL@
136 LN_S = @LN_S@
137 LSCF = @LSCF@
138 LTLIBOBJS = @LTLIBOBJS@
139 MAKEINFO = @MAKEINFO@
140 MAKE_ADJTIMED = @MAKE_ADJTIMED@
141 MAKE_CHECK_LAYOUT = @MAKE_CHECK_LAYOUT@
142 MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
143 MAKE_LIBNTPSIM = @MAKE_LIBNTPSIM@
144 MAKE_LIBPARSE = @MAKE_LIBPARSE@
145 MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
146 MAKE_NTPDSIM = @MAKE_NTPDSIM@
147 MAKE_NTPSNMPD = @MAKE_NTPSNMPD@
148 MAKE_NTPTIME = @MAKE_NTPTIME@
149 MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
150 MAKE_TICKADJ = @MAKE_TICKADJ@
151 MAKE_TIMETRIM = @MAKE_TIMETRIM@
152 MKDIR_P = @MKDIR_P@
153 OBJEXT = @OBJEXT@
154 OPENSSL = @OPENSSL@
155 OPENSSL_INC = @OPENSSL_INC@
156 OPENSSL_LIB = @OPENSSL_LIB@
157 PACKAGE = @PACKAGE@
158 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
159 PACKAGE_NAME = @PACKAGE_NAME@
160 PACKAGE_STRING = @PACKAGE_STRING@
161 PACKAGE_TARNAME = @PACKAGE_TARNAME@
162 PACKAGE_URL = @PACKAGE_URL@
163 PACKAGE_VERSION = @PACKAGE_VERSION@
164 PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@
165 PATH_PERL = @PATH_PERL@
166 PATH_SEPARATOR = @PATH_SEPARATOR@
167 PATH_SH = @PATH_SH@
168 PROPDELAY = @PROPDELAY@
169 RANLIB = @RANLIB@
170 SET_MAKE = @SET_MAKE@
171 SHELL = @SHELL@
172 SNMP_CFLAGS = @SNMP_CFLAGS@
173 SNMP_CPPFLAGS = @SNMP_CPPFLAGS@
174 SNMP_LIBS = @SNMP_LIBS@
175 STRIP = @STRIP@
176 TESTDCF = @TESTDCF@
177 VERSION = @VERSION@
178 YACC = @YACC@
179 YFLAGS = @YFLAGS@
180 abs_builddir = @abs_builddir@
181 abs_srcdir = @abs_srcdir@
182 abs_top_builddir = @abs_top_builddir@
183 abs_top_srcdir = @abs_top_srcdir@
184 ac_ct_CC = @ac_ct_CC@
185 am__include = @am__include@
186 am__leading_dot = @am__leading_dot@
187 am__quote = @am__quote@
188 am__tar = @am__tar@
189 am__untar = @am__untar@
190 bindir = ${exec_prefix}/${BINSUBDIR}
191 build = @build@
192 build_alias = @build_alias@
193 build_cpu = @build_cpu@
194 build_os = @build_os@
195 build_vendor = @build_vendor@
196 builddir = @builddir@
197 datadir = @datadir@
198 datarootdir = @datarootdir@
199 docdir = @docdir@
200 dvidir = @dvidir@
201 exec_prefix = @exec_prefix@
202 host = @host@
203 host_alias = @host_alias@
204 host_cpu = @host_cpu@
205 host_os = @host_os@
206 host_vendor = @host_vendor@
207 htmldir = @htmldir@
208 includedir = @includedir@
209 infodir = @infodir@
210 install_sh = @install_sh@
211 libdir = @libdir@
212 libexecdir = @libexecdir@
213 localedir = @localedir@
214 localstatedir = @localstatedir@
215 mandir = @mandir@
216 mkdir_p = @mkdir_p@
217 oldincludedir = @oldincludedir@
218 pdfdir = @pdfdir@
219 prefix = @prefix@
220 program_transform_name = @program_transform_name@
221 psdir = @psdir@
222 sbindir = @sbindir@
223 sharedstatedir = @sharedstatedir@
224 srcdir = @srcdir@
225 subdirs = @subdirs@
226 sysconfdir = @sysconfdir@
227 target_alias = @target_alias@
228 top_build_prefix = @top_build_prefix@
229 top_builddir = @top_builddir@
230 top_srcdir = @top_srcdir@
231 NULL =
232 AUTOMAKE_OPTIONS =
233 BUILT_SOURCES = .deps-ver
234 CLEANFILES = .deps-ver
235 ntptimeset_SOURCES = ntptimeset.c ntptime_config.c
236 AM_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
241 # LDADD might need RESLIB and ADJLIB
242 LDADD = version.o ../libntp/libntp.a
243 ntpdate_LDADD = $(LDADD) @LCRYPTO@
244 DISTCLEANFILES = .version version.c stamp-v
245 noinst_HEADERS = ntpdate.h
246 ETAGS_ARGS = Makefile.am
247 all: $(BUILT_SOURCES)
248 $(MAKE) $(AM_MAKEFLAGS) all-am
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
265 Makefile: $(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;
274 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
275 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
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):
282 install-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 $$?; \
305 ; done
307 uninstall-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
317 clean-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
325 ntpdate$(EXEEXT): $(ntpdate_OBJECTS) $(ntpdate_DEPENDENCIES)
326 @rm -f ntpdate$(EXEEXT)
327 $(LINK) $(ntpdate_OBJECTS) $(ntpdate_LDADD) $(LIBS)
328 ntptimeset$(EXEEXT): $(ntptimeset_OBJECTS) $(ntptimeset_DEPENDENCIES)
329 @rm -f ntptimeset$(EXEEXT)
330 $(LINK) $(ntptimeset_OBJECTS) $(ntptimeset_LDADD) $(LIBS)
332 mostlyclean-compile:
333 -rm -f *.$(OBJEXT)
335 distclean-compile:
336 -rm -f *.tab.c
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@
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 $<
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) '$<'`
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 $@ $<
363 mostlyclean-libtool:
364 -rm -f *.lo
366 clean-libtool:
367 -rm -rf .libs _libs
369 ID: $(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
377 tags: TAGS
379 TAGS: $(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; \
400 ctags: CTAGS
401 CTAGS: $(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
413 GTAGS:
414 here=`$(am__cd) $(top_builddir) && pwd` \
415 && $(am__cd) $(top_srcdir) \
416 && gtags -i $(GTAGS_ARGS) "$$here"
418 distclean-tags:
419 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
421 distdir: $(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
451 check-am: all-am
452 check: $(BUILT_SOURCES)
453 $(MAKE) $(AM_MAKEFLAGS) check-am
454 all-am: Makefile $(PROGRAMS) $(HEADERS)
455 installdirs:
456 for dir in "$(DESTDIR)$(bindir)"; do \
457 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
458 done
459 install: $(BUILT_SOURCES)
460 $(MAKE) $(AM_MAKEFLAGS) install-am
461 install-exec: install-exec-am
462 install-data: install-data-am
463 uninstall: uninstall-am
465 install-am: all-am
466 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
468 installcheck: installcheck-am
469 install-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
474 mostlyclean-generic:
476 clean-generic:
477 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
479 distclean-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)
484 maintainer-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)
488 clean: clean-am
490 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
492 distclean: distclean-am
493 -rm -rf ./$(DEPDIR)
494 -rm -f Makefile
495 distclean-am: clean-am distclean-compile distclean-generic \
496 distclean-tags
498 dvi: dvi-am
500 dvi-am:
502 html: html-am
504 html-am:
506 info: info-am
508 info-am:
510 install-data-am:
512 install-dvi: install-dvi-am
514 install-dvi-am:
516 install-exec-am: install-binPROGRAMS
517 @$(NORMAL_INSTALL)
518 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
519 install-html: install-html-am
521 install-html-am:
523 install-info: install-info-am
525 install-info-am:
527 install-man:
529 install-pdf: install-pdf-am
531 install-pdf-am:
533 install-ps: install-ps-am
535 install-ps-am:
537 installcheck-am:
539 maintainer-clean: maintainer-clean-am
540 -rm -rf ./$(DEPDIR)
541 -rm -f Makefile
542 maintainer-clean-am: distclean-am maintainer-clean-generic
544 mostlyclean: mostlyclean-am
546 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
547 mostlyclean-libtool
549 pdf: pdf-am
551 pdf-am:
553 ps: ps-am
555 ps-am:
557 uninstall-am: uninstall-binPROGRAMS
559 .MAKE: all check install install-am install-exec-am install-strip
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
576 $(PROGRAMS): $(LDADD)
578 ../libntp/libntp.a:
579 cd ../libntp && $(MAKE)
581 $(top_srcdir)/version :
582 cd $(top_srcdir) && $(MAKE) version
584 version.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
588 install-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
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 \
630 cp $(top_srcdir)/deps-ver $@
632 .deps-ver: $(top_srcdir)/deps-ver
633 @[ ! -d $(DEPDIR) ] || $(MAKE) $(DEPDIR)/deps-ver
634 @touch $@
637 # depsver.mf included in Makefile.am for directories with .deps
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.
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.
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.
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.
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: