1 # Makefile.in generated by automake 1.15 from Makefile.am.
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 # we traditionally installed software in bindir, while it should have gone
18 # in sbindir. Now that we offer a choice, look in the "other" installation
19 # subdir to warn folks if there is another version there.
25 if test -z '$(MAKELEVEL)'; then \
27 elif test -n '$(MAKE_HOST)'; then \
29 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
35 am__make_running_with_option = \
36 case $${target_option-} in \
38 *) echo "am__make_running_with_option: internal error: invalid" \
39 "target option '$${target_option-}' specified" >&2; \
43 sane_makeflags=$$MAKEFLAGS; \
44 if $(am__is_gnu_make); then \
45 sane_makeflags=$$MFLAGS; \
50 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
51 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
57 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
59 for flg in $$sane_makeflags; do \
60 test $$skip_next = yes && { skip_next=no; continue; }; \
63 -*I) strip_trailopt 'I'; skip_next=yes;; \
64 -*I?*) strip_trailopt 'I';; \
65 -*O) strip_trailopt 'O'; skip_next=yes;; \
66 -*O?*) strip_trailopt 'O';; \
67 -*l) strip_trailopt 'l'; skip_next=yes;; \
68 -*l?*) strip_trailopt 'l';; \
69 -[dEDm]) skip_next=yes;; \
70 -[JT]) skip_next=yes;; \
73 *$$target_option*) has_opt=yes; break;; \
77 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
78 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
79 pkgdatadir = $(datadir)/@PACKAGE@
80 pkgincludedir = $(includedir)/@PACKAGE@
81 pkglibdir = $(libdir)/@PACKAGE@
82 pkglibexecdir = $(libexecdir)/@PACKAGE@
83 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
84 install_sh_DATA = $(install_sh) -c -m 644
85 install_sh_PROGRAM = $(install_sh) -c
86 install_sh_SCRIPT = $(install_sh) -c
87 INSTALL_HEADER = $(INSTALL_DATA)
88 transform = $(program_transform_name)
95 build_triplet = @build@
97 EXTRA_PROGRAMS = ntpdc$(EXEEXT) ntpdc-layout$(EXEEXT)
99 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
100 am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \
101 $(top_srcdir)/sntp/libopts/m4/stdnoreturn.m4 \
102 $(top_srcdir)/sntp/m4/ax_c99_struct_init.m4 \
103 $(top_srcdir)/sntp/m4/define_dir.m4 \
104 $(top_srcdir)/sntp/m4/hms_search_lib.m4 \
105 $(top_srcdir)/sntp/m4/libtool.m4 \
106 $(top_srcdir)/sntp/m4/ltoptions.m4 \
107 $(top_srcdir)/sntp/m4/ltsugar.m4 \
108 $(top_srcdir)/sntp/m4/ltversion.m4 \
109 $(top_srcdir)/sntp/m4/lt~obsolete.m4 \
110 $(top_srcdir)/sntp/m4/ntp_cacheversion.m4 \
111 $(top_srcdir)/sntp/m4/ntp_compiler.m4 \
112 $(top_srcdir)/sntp/m4/ntp_crosscompile.m4 \
113 $(top_srcdir)/sntp/m4/ntp_crypto_rand.m4 \
114 $(top_srcdir)/sntp/m4/ntp_debug.m4 \
115 $(top_srcdir)/sntp/m4/ntp_dir_sep.m4 \
116 $(top_srcdir)/sntp/m4/ntp_facilitynames.m4 \
117 $(top_srcdir)/sntp/m4/ntp_googletest.m4 \
118 $(top_srcdir)/sntp/m4/ntp_ipv6.m4 \
119 $(top_srcdir)/sntp/m4/ntp_lib_m.m4 \
120 $(top_srcdir)/sntp/m4/ntp_libevent.m4 \
121 $(top_srcdir)/sntp/m4/ntp_libntp.m4 \
122 $(top_srcdir)/sntp/m4/ntp_lineeditlibs.m4 \
123 $(top_srcdir)/sntp/m4/ntp_locinfo.m4 \
124 $(top_srcdir)/sntp/m4/ntp_openssl.m4 \
125 $(top_srcdir)/sntp/m4/ntp_pkg_config.m4 \
126 $(top_srcdir)/sntp/m4/ntp_prog_cc.m4 \
127 $(top_srcdir)/sntp/m4/ntp_rlimit.m4 \
128 $(top_srcdir)/sntp/m4/ntp_sntp.m4 \
129 $(top_srcdir)/sntp/m4/ntp_unitytest.m4 \
130 $(top_srcdir)/sntp/m4/ntp_ver_suffix.m4 \
131 $(top_srcdir)/sntp/m4/ntp_vpathhack.m4 \
132 $(top_srcdir)/sntp/m4/openldap-thread-check.m4 \
133 $(top_srcdir)/sntp/m4/openldap.m4 \
134 $(top_srcdir)/sntp/m4/os_cflags.m4 \
135 $(top_srcdir)/sntp/m4/snprintf.m4 \
136 $(top_srcdir)/sntp/m4/version.m4 $(top_srcdir)/configure.ac
137 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
139 DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
141 mkinstalldirs = $(install_sh) -d
142 CONFIG_HEADER = $(top_builddir)/config.h
143 CONFIG_CLEAN_FILES = nl.pl
144 CONFIG_CLEAN_VPATH_FILES =
145 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" \
146 "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" \
147 "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(htmldir)"
148 PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(sbin_PROGRAMS)
149 am_ntpdc_OBJECTS = ntpdc.$(OBJEXT) ntpdc_ops.$(OBJEXT) \
151 ntpdc_OBJECTS = $(am_ntpdc_OBJECTS)
153 ntpdc_DEPENDENCIES = version.o $(am__DEPENDENCIES_1) \
154 ../libntp/libntp.a $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
155 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
156 $(am__DEPENDENCIES_1)
157 AM_V_lt = $(am__v_lt_@AM_V@)
158 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
159 am__v_lt_0 = --silent
161 ntpdc_layout_SOURCES = ntpdc-layout.c
162 ntpdc_layout_OBJECTS = ntpdc-layout.$(OBJEXT)
163 ntpdc_layout_DEPENDENCIES =
164 AM_V_P = $(am__v_P_@AM_V@)
165 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
168 AM_V_GEN = $(am__v_GEN_@AM_V@)
169 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
170 am__v_GEN_0 = @echo " GEN " $@;
172 AM_V_at = $(am__v_at_@AM_V@)
173 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
176 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
177 depcomp = $(SHELL) $(top_srcdir)/sntp/libevent/build-aux/depcomp
178 am__depfiles_maybe = depfiles
180 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
181 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
182 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
183 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
184 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
185 $(AM_CFLAGS) $(CFLAGS)
186 AM_V_CC = $(am__v_CC_@AM_V@)
187 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
188 am__v_CC_0 = @echo " CC " $@;
191 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
192 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
193 $(AM_LDFLAGS) $(LDFLAGS) -o $@
194 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
195 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
196 am__v_CCLD_0 = @echo " CCLD " $@;
198 SOURCES = $(ntpdc_SOURCES) ntpdc-layout.c
199 DIST_SOURCES = $(ntpdc_SOURCES) ntpdc-layout.c
200 am__can_run_installinfo = \
201 case $$AM_UPDATE_INFO_DIR in \
203 *) (install-info --version) >/dev/null 2>&1;; \
205 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
206 am__vpath_adj = case $$p in \
207 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
210 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
212 am__nobase_strip_setup = \
213 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
215 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
216 am__nobase_list = $(am__nobase_strip_setup); \
217 for p in $$list; do echo "$$p $$p"; done | \
218 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
219 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
220 if (++n[$$2] == $(am__install_max)) \
221 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
222 END { for (dir in files) print dir, files[dir] }'
224 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
225 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
226 am__uninstall_files_from_dir = { \
228 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
229 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
230 $(am__cd) "$$dir" && rm -f $$files; }; \
232 man1dir = $(mandir)/man1
233 man8dir = $(mandir)/man8
235 MANS = $(man1_MANS) $(man8_MANS) $(man_MANS)
236 DATA = $(html_DATA) $(noinst_DATA)
237 HEADERS = $(noinst_HEADERS)
238 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
239 # Read a list of newline-separated strings from the standard input,
240 # and print each of them once, without duplicates. Input order is
242 am__uniquify_input = $(AWK) '\
243 BEGIN { nonempty = 0; } \
244 { items[$$0] = 1; nonempty = 1; } \
245 END { if (nonempty) { for (i in items) print i; }; } \
247 # Make sure the list of sources is unique. This is necessary because,
248 # e.g., the same source file might be shared among _SOURCES variables
249 # for different programs/libraries.
250 am__define_uniq_tagged_files = \
251 list='$(am__tagged_files)'; \
252 unique=`for i in $$list; do \
253 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
254 done | $(am__uniquify_input)`
257 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/nl.pl.in \
258 $(top_srcdir)/bincheck.mf $(top_srcdir)/check-libopts.mf \
259 $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf \
260 $(top_srcdir)/sntp/check-libntp.mf \
261 $(top_srcdir)/sntp/libevent/build-aux/depcomp README
262 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
266 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
268 AUTOCONF = @AUTOCONF@
269 AUTOHEADER = @AUTOHEADER@
270 AUTOMAKE = @AUTOMAKE@
272 CALC_TICKADJ_DB = @CALC_TICKADJ_DB@
273 CALC_TICKADJ_DL = @CALC_TICKADJ_DL@
274 CALC_TICKADJ_DS = @CALC_TICKADJ_DS@
275 CALC_TICKADJ_MS = @CALC_TICKADJ_MS@
276 CALC_TICKADJ_NI = @CALC_TICKADJ_NI@
278 CCDEPMODE = @CCDEPMODE@
280 CFLAGS_NTP = @CFLAGS_NTP@
282 CONFIG_SHELL = @CONFIG_SHELL@
284 CPPFLAGS = @CPPFLAGS@
285 CPPFLAGS_LIBEVENT = @CPPFLAGS_LIBEVENT@
286 CPPFLAGS_NTP = @CPPFLAGS_NTP@
289 CXXDEPMODE = @CXXDEPMODE@
290 CXXFLAGS = @CXXFLAGS@
291 CYGPATH_W = @CYGPATH_W@
296 DSYMUTIL = @DSYMUTIL@
301 EDITLINE_LIBS = @EDITLINE_LIBS@
306 GTEST_CONFIG = @GTEST_CONFIG@
307 GTEST_CPPFLAGS = @GTEST_CPPFLAGS@
308 GTEST_CXXFLAGS = @GTEST_CXXFLAGS@
309 GTEST_LDFLAGS = @GTEST_LDFLAGS@
310 GTEST_LIBS = @GTEST_LIBS@
311 HAVE_INLINE = @HAVE_INLINE@
312 HAVE_LEAPSMEARINTERVAL = @HAVE_LEAPSMEARINTERVAL@
313 HAVE_RLIMIT_MEMLOCK = @HAVE_RLIMIT_MEMLOCK@
314 HAVE_RLIMIT_STACK = @HAVE_RLIMIT_STACK@
316 INSTALL_DATA = @INSTALL_DATA@
317 INSTALL_PROGRAM = @INSTALL_PROGRAM@
318 INSTALL_SCRIPT = @INSTALL_SCRIPT@
319 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
321 LDADD_LIBEVENT = @LDADD_LIBEVENT@
322 LDADD_LIBNTP = @LDADD_LIBNTP@
323 LDADD_LIBUTIL = @LDADD_LIBUTIL@
324 LDADD_NLIST = @LDADD_NLIST@
325 LDADD_NTP = @LDADD_NTP@
327 LDFLAGS_NTP = @LDFLAGS_NTP@
328 LIBISC_PTHREADS_NOTHREADS = @LIBISC_PTHREADS_NOTHREADS@
331 LIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
332 LIBOPTS_DIR = @LIBOPTS_DIR@
333 LIBOPTS_LDADD = @LIBOPTS_LDADD@
334 LIBPARSE = @LIBPARSE@
337 LIBTOOL_DEPS = @LIBTOOL_DEPS@
341 LTLIBOBJS = @LTLIBOBJS@
342 MAKEINFO = @MAKEINFO@
343 MAKE_ADJTIMED = @MAKE_ADJTIMED@
344 MAKE_CHECK_LAYOUT = @MAKE_CHECK_LAYOUT@
345 MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
346 MAKE_LIBNTPSIM = @MAKE_LIBNTPSIM@
347 MAKE_LIBPARSE = @MAKE_LIBPARSE@
348 MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
349 MAKE_NTPDSIM = @MAKE_NTPDSIM@
350 MAKE_NTPSNMPD = @MAKE_NTPSNMPD@
351 MAKE_NTPTIME = @MAKE_NTPTIME@
352 MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
353 MAKE_TICKADJ = @MAKE_TICKADJ@
354 MAKE_TIMETRIM = @MAKE_TIMETRIM@
355 MANIFEST_TOOL = @MANIFEST_TOOL@
356 MANTAGFMT = @MANTAGFMT@
360 NTPDATE_DB = @NTPDATE_DB@
361 NTPDATE_DL = @NTPDATE_DL@
362 NTPDATE_DS = @NTPDATE_DS@
363 NTPDATE_MS = @NTPDATE_MS@
364 NTPDATE_NI = @NTPDATE_NI@
365 NTPDC_DB = @NTPDC_DB@
366 NTPDC_DL = @NTPDC_DL@
367 NTPDC_DS = @NTPDC_DS@
368 NTPDC_MS = @NTPDC_MS@
369 NTPDC_NI = @NTPDC_NI@
370 NTPDSIM_DB = @NTPDSIM_DB@
371 NTPDSIM_DL = @NTPDSIM_DL@
372 NTPDSIM_DS = @NTPDSIM_DS@
373 NTPDSIM_MS = @NTPDSIM_MS@
374 NTPDSIM_NI = @NTPDSIM_NI@
385 NTPSNMPD_DB = @NTPSNMPD_DB@
386 NTPSNMPD_DL = @NTPSNMPD_DL@
387 NTPSNMPD_DS = @NTPSNMPD_DS@
388 NTPSNMPD_MS = @NTPSNMPD_MS@
389 NTPSNMPD_NI = @NTPSNMPD_NI@
390 NTPSWEEP_DB = @NTPSWEEP_DB@
391 NTPSWEEP_DL = @NTPSWEEP_DL@
392 NTPSWEEP_DS = @NTPSWEEP_DS@
393 NTPSWEEP_MS = @NTPSWEEP_MS@
394 NTPSWEEP_NI = @NTPSWEEP_NI@
395 NTPTIME_DB = @NTPTIME_DB@
396 NTPTIME_DL = @NTPTIME_DL@
397 NTPTIME_DS = @NTPTIME_DS@
398 NTPTIME_MS = @NTPTIME_MS@
399 NTPTIME_NI = @NTPTIME_NI@
400 NTPTRACE_DB = @NTPTRACE_DB@
401 NTPTRACE_DL = @NTPTRACE_DL@
402 NTPTRACE_DS = @NTPTRACE_DS@
403 NTPTRACE_MS = @NTPTRACE_MS@
404 NTPTRACE_NI = @NTPTRACE_NI@
405 NTP_KEYGEN_DB = @NTP_KEYGEN_DB@
406 NTP_KEYGEN_DL = @NTP_KEYGEN_DL@
407 NTP_KEYGEN_DS = @NTP_KEYGEN_DS@
408 NTP_KEYGEN_MS = @NTP_KEYGEN_MS@
409 NTP_KEYGEN_NI = @NTP_KEYGEN_NI@
410 NTP_KEYSDIR = @NTP_KEYSDIR@
411 NTP_WAIT_DB = @NTP_WAIT_DB@
412 NTP_WAIT_DL = @NTP_WAIT_DL@
413 NTP_WAIT_DS = @NTP_WAIT_DS@
414 NTP_WAIT_MS = @NTP_WAIT_MS@
415 NTP_WAIT_NI = @NTP_WAIT_NI@
421 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
422 PACKAGE_NAME = @PACKAGE_NAME@
423 PACKAGE_STRING = @PACKAGE_STRING@
424 PACKAGE_TARNAME = @PACKAGE_TARNAME@
425 PACKAGE_URL = @PACKAGE_URL@
426 PACKAGE_VERSION = @PACKAGE_VERSION@
427 PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@
428 PATH_PERL = @PATH_PERL@
429 PATH_RUBY = @PATH_RUBY@
430 PATH_SEPARATOR = @PATH_SEPARATOR@
431 PATH_TEST = @PATH_TEST@
432 PERLLIBDIR = @PERLLIBDIR@
433 PKG_CONFIG = @PKG_CONFIG@
434 POSIX_SHELL = @POSIX_SHELL@
435 PROPDELAY = @PROPDELAY@
436 PTHREAD_LIBS = @PTHREAD_LIBS@
439 SET_MAKE = @SET_MAKE@
441 SNMP_CFLAGS = @SNMP_CFLAGS@
442 SNMP_CPPFLAGS = @SNMP_CPPFLAGS@
443 SNMP_LIBS = @SNMP_LIBS@
450 STDNORETURN_H = @STDNORETURN_H@
453 TICKADJ_DB = @TICKADJ_DB@
454 TICKADJ_DL = @TICKADJ_DL@
455 TICKADJ_DS = @TICKADJ_DS@
456 TICKADJ_MS = @TICKADJ_MS@
457 TICKADJ_NI = @TICKADJ_NI@
458 TIMETRIM_DB = @TIMETRIM_DB@
459 TIMETRIM_DL = @TIMETRIM_DL@
460 TIMETRIM_DS = @TIMETRIM_DS@
461 TIMETRIM_MS = @TIMETRIM_MS@
462 TIMETRIM_NI = @TIMETRIM_NI@
463 UPDATE_LEAP_DB = @UPDATE_LEAP_DB@
464 UPDATE_LEAP_DL = @UPDATE_LEAP_DL@
465 UPDATE_LEAP_DS = @UPDATE_LEAP_DS@
466 UPDATE_LEAP_MS = @UPDATE_LEAP_MS@
467 UPDATE_LEAP_NI = @UPDATE_LEAP_NI@
469 VER_SUFFIX = @VER_SUFFIX@
472 abs_builddir = @abs_builddir@
473 abs_srcdir = @abs_srcdir@
474 abs_top_builddir = @abs_top_builddir@
475 abs_top_srcdir = @abs_top_srcdir@
476 ac_ct_AR = @ac_ct_AR@
477 ac_ct_CC = @ac_ct_CC@
478 ac_ct_CXX = @ac_ct_CXX@
479 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
480 am__include = @am__include@
481 am__leading_dot = @am__leading_dot@
482 am__quote = @am__quote@
484 am__untar = @am__untar@
487 build_alias = @build_alias@
488 build_cpu = @build_cpu@
489 build_os = @build_os@
490 build_vendor = @build_vendor@
491 builddir = @builddir@
493 datarootdir = @datarootdir@
496 exec_prefix = @exec_prefix@
498 host_alias = @host_alias@
499 host_cpu = @host_cpu@
501 host_vendor = @host_vendor@
503 includedir = @includedir@
505 install_sh = @install_sh@
507 libexecdir = @libexecdir@
508 localedir = @localedir@
509 localstatedir = @localstatedir@
512 oldincludedir = @oldincludedir@
515 program_transform_name = @program_transform_name@
518 sharedstatedir = @sharedstatedir@
521 sysconfdir = @sysconfdir@
522 target_alias = @target_alias@
523 top_build_prefix = @top_build_prefix@
524 top_builddir = @top_builddir@
525 top_srcdir = @top_srcdir@
527 bin_PROGRAMS = $(NTPDC_DB)
528 libexec_PROGRAMS = $(NTPDC_DL)
529 sbin_PROGRAMS = $(NTPDC_DS)
530 EXTRA_DATA = check-layout
531 BUILT_SOURCES = @MAKE_CHECK_LAYOUT@ ntpdc-opts.c ntpdc-opts.h \
532 check-libopts check-libntp .deps-ver
533 AM_CFLAGS = $(CFLAGS_NTP)
534 AM_CPPFLAGS = $(NTP_INCS) $(LIBOPTS_CFLAGS) $(CPPFLAGS_NTP)
535 AM_LDFLAGS = $(LDFLAGS_NTP)
537 # LDADD might need RESLIB and ADJLIB
538 ntpdc_LDADD = version.o $(LIBOPTS_LDADD) ../libntp/libntp.a \
539 $(LDADD_LIBNTP) $(LIBM) $(PTHREAD_LIBS) $(EDITLINE_LIBS) \
541 # ntpdc-layout doesn't need any additional libraries at all
543 DISTCLEANFILES = .version version.c config.log $(man_MANS)
544 CLEANFILES = check-layout layout.here nl.c ntpdc-layout check-libopts \
545 check-libntp .deps-ver
546 noinst_HEADERS = ntpdc.h
547 ETAGS_ARGS = Makefile.am
565 man_MANS = ntpdc.$(NTPDC_MS)
567 $(srcdir)/ntpdc.html \
571 $(srcdir)/invoke-ntpdc.menu \
572 $(srcdir)/invoke-ntpdc.texi \
573 $(srcdir)/ntpdc.man.in \
574 $(srcdir)/ntpdc.mdoc.in \
577 run_ag = cd $(srcdir) && env PATH="$(abs_builddir):$(PATH)" AUTOGEN_DNE_DATE=-D \
578 autogen -L ../sntp/include -L ../sntp/ag-tpl --writable
581 $(top_srcdir)/sntp/include/debug-opt.def \
582 $(top_srcdir)/sntp/include/autogen-version.def \
583 $(top_srcdir)/sntp/include/copyright.def \
584 $(top_srcdir)/sntp/include/homerc.def \
585 $(top_srcdir)/sntp/include/ntp.lic \
586 $(top_srcdir)/sntp/include/version.def \
589 ntpdc_SOURCES = ntpdc.c ntpdc_ops.c ntpdc-opts.c ntpdc-opts.h
590 NTP_INCS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/isc/include \
591 -I$(top_srcdir)/lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/include \
592 -I$(top_srcdir)/lib/isc/unix/include
593 all: $(BUILT_SOURCES)
594 $(MAKE) $(AM_MAKEFLAGS) all-am
597 .SUFFIXES: .c .lo .o .obj
598 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/bincheck.mf $(top_srcdir)/check-libopts.mf $(top_srcdir)/sntp/check-libntp.mf $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf $(am__configure_deps)
600 case '$(am__configure_deps)' in \
602 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
603 && { if test -f $@; then exit 0; else break; fi; }; \
607 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ntpdc/Makefile'; \
608 $(am__cd) $(top_srcdir) && \
609 $(AUTOMAKE) --foreign ntpdc/Makefile
610 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
613 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
615 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
616 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
618 $(top_srcdir)/bincheck.mf $(top_srcdir)/check-libopts.mf $(top_srcdir)/sntp/check-libntp.mf $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf $(am__empty):
620 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
621 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
623 $(top_srcdir)/configure: $(am__configure_deps)
624 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
625 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
626 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
627 $(am__aclocal_m4_deps):
628 nl.pl: $(top_builddir)/config.status $(srcdir)/nl.pl.in
629 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
630 install-binPROGRAMS: $(bin_PROGRAMS)
632 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
633 if test -n "$$list"; then \
634 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
635 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
637 for p in $$list; do echo "$$p $$p"; done | \
638 sed 's/$(EXEEXT)$$//' | \
639 while read p p1; do if test -f $$p \
641 ; then echo "$$p"; echo "$$p"; else :; fi; \
643 sed -e 'p;s,.*/,,;n;h' \
645 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
646 sed 'N;N;N;s,\n, ,g' | \
647 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
648 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
649 if ($$2 == $$4) files[d] = files[d] " " $$1; \
650 else { print "f", $$3 "/" $$4, $$1; } } \
651 END { for (d in files) print "f", d, files[d] }' | \
652 while read type dir files; do \
653 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
654 test -z "$$files" || { \
655 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
656 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
660 uninstall-binPROGRAMS:
662 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
663 files=`for p in $$list; do echo "$$p"; done | \
664 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
665 -e 's/$$/$(EXEEXT)/' \
667 test -n "$$list" || exit 0; \
668 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
669 cd "$(DESTDIR)$(bindir)" && rm -f $$files
672 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
673 echo " rm -f" $$list; \
674 rm -f $$list || exit $$?; \
675 test -n "$(EXEEXT)" || exit 0; \
676 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
677 echo " rm -f" $$list; \
679 install-libexecPROGRAMS: $(libexec_PROGRAMS)
681 @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
682 if test -n "$$list"; then \
683 echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \
684 $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \
686 for p in $$list; do echo "$$p $$p"; done | \
687 sed 's/$(EXEEXT)$$//' | \
688 while read p p1; do if test -f $$p \
690 ; then echo "$$p"; echo "$$p"; else :; fi; \
692 sed -e 'p;s,.*/,,;n;h' \
694 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
695 sed 'N;N;N;s,\n, ,g' | \
696 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
697 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
698 if ($$2 == $$4) files[d] = files[d] " " $$1; \
699 else { print "f", $$3 "/" $$4, $$1; } } \
700 END { for (d in files) print "f", d, files[d] }' | \
701 while read type dir files; do \
702 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
703 test -z "$$files" || { \
704 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
705 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
709 uninstall-libexecPROGRAMS:
711 @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
712 files=`for p in $$list; do echo "$$p"; done | \
713 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
714 -e 's/$$/$(EXEEXT)/' \
716 test -n "$$list" || exit 0; \
717 echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
718 cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
720 clean-libexecPROGRAMS:
721 @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
722 echo " rm -f" $$list; \
723 rm -f $$list || exit $$?; \
724 test -n "$(EXEEXT)" || exit 0; \
725 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
726 echo " rm -f" $$list; \
728 install-sbinPROGRAMS: $(sbin_PROGRAMS)
730 @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
731 if test -n "$$list"; then \
732 echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \
733 $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \
735 for p in $$list; do echo "$$p $$p"; done | \
736 sed 's/$(EXEEXT)$$//' | \
737 while read p p1; do if test -f $$p \
739 ; then echo "$$p"; echo "$$p"; else :; fi; \
741 sed -e 'p;s,.*/,,;n;h' \
743 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
744 sed 'N;N;N;s,\n, ,g' | \
745 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
746 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
747 if ($$2 == $$4) files[d] = files[d] " " $$1; \
748 else { print "f", $$3 "/" $$4, $$1; } } \
749 END { for (d in files) print "f", d, files[d] }' | \
750 while read type dir files; do \
751 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
752 test -z "$$files" || { \
753 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
754 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
758 uninstall-sbinPROGRAMS:
760 @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
761 files=`for p in $$list; do echo "$$p"; done | \
762 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
763 -e 's/$$/$(EXEEXT)/' \
765 test -n "$$list" || exit 0; \
766 echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
767 cd "$(DESTDIR)$(sbindir)" && rm -f $$files
770 @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \
771 echo " rm -f" $$list; \
772 rm -f $$list || exit $$?; \
773 test -n "$(EXEEXT)" || exit 0; \
774 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
775 echo " rm -f" $$list; \
778 ntpdc$(EXEEXT): $(ntpdc_OBJECTS) $(ntpdc_DEPENDENCIES) $(EXTRA_ntpdc_DEPENDENCIES)
779 @rm -f ntpdc$(EXEEXT)
780 $(AM_V_CCLD)$(LINK) $(ntpdc_OBJECTS) $(ntpdc_LDADD) $(LIBS)
782 ntpdc-layout$(EXEEXT): $(ntpdc_layout_OBJECTS) $(ntpdc_layout_DEPENDENCIES) $(EXTRA_ntpdc_layout_DEPENDENCIES)
783 @rm -f ntpdc-layout$(EXEEXT)
784 $(AM_V_CCLD)$(LINK) $(ntpdc_layout_OBJECTS) $(ntpdc_layout_LDADD) $(LIBS)
792 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc-layout.Po@am__quote@
793 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc-opts.Po@am__quote@
794 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc.Po@am__quote@
795 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc_ops.Po@am__quote@
798 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
799 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
800 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
801 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
802 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
805 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
806 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
807 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
808 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
809 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
812 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
813 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
814 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
815 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
816 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
823 install-man1: $(man1_MANS) $(man_MANS)
825 @list1='$(man1_MANS)'; \
826 list2='$(man_MANS)'; \
827 test -n "$(man1dir)" \
828 && test -n "`echo $$list1$$list2`" \
830 echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
831 $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
832 { for i in $$list1; do echo "$$i"; done; \
833 if test -n "$$list2"; then \
834 for i in $$list2; do echo "$$i"; done \
835 | sed -n '/\.1[a-z]*$$/p'; \
837 } | while read p; do \
838 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
839 echo "$$d$$p"; echo "$$p"; \
841 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
842 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
843 sed 'N;N;s,\n, ,g' | { \
844 list=; while read file base inst; do \
845 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
846 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
847 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
850 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
851 while read files; do \
852 test -z "$$files" || { \
853 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
854 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
859 @list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \
860 files=`{ for i in $$list; do echo "$$i"; done; \
861 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
862 sed -n '/\.1[a-z]*$$/p'; \
863 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
864 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
865 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
866 install-man8: $(man8_MANS) $(man_MANS)
868 @list1='$(man8_MANS)'; \
869 list2='$(man_MANS)'; \
870 test -n "$(man8dir)" \
871 && test -n "`echo $$list1$$list2`" \
873 echo " $(MKDIR_P) '$(DESTDIR)$(man8dir)'"; \
874 $(MKDIR_P) "$(DESTDIR)$(man8dir)" || exit 1; \
875 { for i in $$list1; do echo "$$i"; done; \
876 if test -n "$$list2"; then \
877 for i in $$list2; do echo "$$i"; done \
878 | sed -n '/\.8[a-z]*$$/p'; \
880 } | while read p; do \
881 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
882 echo "$$d$$p"; echo "$$p"; \
884 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
885 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
886 sed 'N;N;s,\n, ,g' | { \
887 list=; while read file base inst; do \
888 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
889 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
890 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
893 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
894 while read files; do \
895 test -z "$$files" || { \
896 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
897 $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
902 @list='$(man8_MANS)'; test -n "$(man8dir)" || exit 0; \
903 files=`{ for i in $$list; do echo "$$i"; done; \
904 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
905 sed -n '/\.8[a-z]*$$/p'; \
906 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
907 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
908 dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
909 install-htmlDATA: $(html_DATA)
911 @list='$(html_DATA)'; test -n "$(htmldir)" || list=; \
912 if test -n "$$list"; then \
913 echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)'"; \
914 $(MKDIR_P) "$(DESTDIR)$(htmldir)" || exit 1; \
916 for p in $$list; do \
917 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
919 done | $(am__base_list) | \
920 while read files; do \
921 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(htmldir)'"; \
922 $(INSTALL_DATA) $$files "$(DESTDIR)$(htmldir)" || exit $$?; \
927 @list='$(html_DATA)'; test -n "$(htmldir)" || list=; \
928 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
929 dir='$(DESTDIR)$(htmldir)'; $(am__uninstall_files_from_dir)
931 ID: $(am__tagged_files)
932 $(am__define_uniq_tagged_files); mkid -fID $$unique
936 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
939 $(am__define_uniq_tagged_files); \
941 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
942 test -n "$$unique" || unique=$$empty_fix; \
943 if test $$# -gt 0; then \
944 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
947 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
954 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
955 $(am__define_uniq_tagged_files); \
956 test -z "$(CTAGS_ARGS)$$unique" \
957 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
961 here=`$(am__cd) $(top_builddir) && pwd` \
962 && $(am__cd) $(top_srcdir) \
963 && gtags -i $(GTAGS_ARGS) "$$here"
964 cscopelist: cscopelist-am
966 cscopelist-am: $(am__tagged_files)
967 list='$(am__tagged_files)'; \
968 case "$(srcdir)" in \
969 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
970 *) sdir=$(subdir)/$(srcdir) ;; \
972 for i in $$list; do \
973 if test -f "$$i"; then \
974 echo "$(subdir)/$$i"; \
978 done >> $(top_builddir)/cscope.files
981 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
983 distdir: $(DISTFILES)
984 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
985 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
986 list='$(DISTFILES)'; \
987 dist_files=`for file in $$list; do echo $$file; done | \
988 sed -e "s|^$$srcdirstrip/||;t" \
989 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
990 case $$dist_files in \
991 */*) $(MKDIR_P) `echo "$$dist_files" | \
992 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
995 for file in $$dist_files; do \
996 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
997 if test -d $$d/$$file; then \
998 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
999 if test -d "$(distdir)/$$file"; then \
1000 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1002 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1003 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1004 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1006 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1008 test -f "$(distdir)/$$file" \
1009 || cp -p $$d/$$file "$(distdir)/$$file" \
1014 check: $(BUILT_SOURCES)
1015 $(MAKE) $(AM_MAKEFLAGS) check-am
1016 all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) $(HEADERS)
1018 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(htmldir)"; do \
1019 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1021 install: $(BUILT_SOURCES)
1022 $(MAKE) $(AM_MAKEFLAGS) install-am
1023 install-exec: install-exec-am
1024 install-data: install-data-am
1025 uninstall: uninstall-am
1028 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1030 installcheck: installcheck-am
1032 if test -z '$(STRIP)'; then \
1033 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1034 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1037 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1038 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1039 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1041 mostlyclean-generic:
1044 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1047 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1048 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1049 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1051 maintainer-clean-generic:
1052 @echo "This command is intended for maintainers to use"
1053 @echo "it deletes files that may require special tools to rebuild."
1054 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1057 clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
1058 clean-libtool clean-sbinPROGRAMS mostlyclean-am
1060 distclean: distclean-am
1063 distclean-am: clean-am distclean-compile distclean-generic \
1078 install-data-am: install-data-local install-htmlDATA install-man
1080 install-dvi: install-dvi-am
1084 install-exec-am: install-binPROGRAMS install-libexecPROGRAMS \
1085 install-sbinPROGRAMS
1087 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
1088 install-html: install-html-am
1092 install-info: install-info-am
1096 install-man: install-man1 install-man8
1098 install-pdf: install-pdf-am
1102 install-ps: install-ps-am
1108 maintainer-clean: maintainer-clean-am
1111 maintainer-clean-am: distclean-am maintainer-clean-generic
1113 mostlyclean: mostlyclean-am
1115 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1126 uninstall-am: uninstall-binPROGRAMS uninstall-htmlDATA \
1127 uninstall-libexecPROGRAMS uninstall-man uninstall-sbinPROGRAMS
1129 uninstall-man: uninstall-man1 uninstall-man8
1131 .MAKE: all check install install-am install-exec-am install-strip
1133 .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
1134 clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
1135 clean-libtool clean-sbinPROGRAMS cscopelist-am ctags ctags-am \
1136 distclean distclean-compile distclean-generic \
1137 distclean-libtool distclean-tags distdir dvi dvi-am html \
1138 html-am info info-am install install-am install-binPROGRAMS \
1139 install-data install-data-am install-data-local install-dvi \
1140 install-dvi-am install-exec install-exec-am install-exec-hook \
1141 install-html install-html-am install-htmlDATA install-info \
1142 install-info-am install-libexecPROGRAMS install-man \
1143 install-man1 install-man8 install-pdf install-pdf-am \
1144 install-ps install-ps-am install-sbinPROGRAMS install-strip \
1145 installcheck installcheck-am installdirs maintainer-clean \
1146 maintainer-clean-generic mostlyclean mostlyclean-compile \
1147 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1148 tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
1149 uninstall-htmlDATA uninstall-libexecPROGRAMS uninstall-man \
1150 uninstall-man1 uninstall-man8 uninstall-sbinPROGRAMS
1155 install-data-local: install-html
1157 $(srcdir)/ntpdc-opts.h: $(srcdir)/ntpdc-opts.c
1158 @: do-nothing action to avoid default SCCS get, .h built with .c
1160 $(srcdir)/ntpdc-opts.c: $(srcdir)/ntpdc-opts.def $(std_def_list)
1161 $(run_ag) ntpdc-opts.def
1165 $(srcdir)/ntpdc.1ntpdcman: $(srcdir)/ntpdc-opts.def $(std_def_list)
1166 $(run_ag) -DMAN_SECTION=1ntpdcman -Tagman-cmd.tpl ntpdc-opts.def
1168 $(srcdir)/ntpdc.man.in: $(srcdir)/ntpdc.1ntpdcman $(top_srcdir)/sntp/scripts/mansec2subst.sed
1169 sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/ntpdc.1ntpdcman > $(srcdir)/ntpdc.man.in+
1170 mv $(srcdir)/ntpdc.man.in+ $(srcdir)/ntpdc.man.in
1174 $(srcdir)/ntpdc.1ntpdcmdoc: $(srcdir)/ntpdc-opts.def $(std_def_list)
1175 $(run_ag) -DMAN_SECTION=1ntpdcmdoc -Tagmdoc-cmd.tpl ntpdc-opts.def
1177 $(srcdir)/ntpdc.mdoc.in: $(srcdir)/ntpdc.1ntpdcmdoc $(top_srcdir)/sntp/scripts/mansec2subst.sed
1178 sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/ntpdc.1ntpdcmdoc > $(srcdir)/ntpdc.mdoc.in+
1179 mv $(srcdir)/ntpdc.mdoc.in+ $(srcdir)/ntpdc.mdoc.in
1183 ntpdc.$(NTPDC_MS): $(srcdir)/ntpdc.$(MANTAGFMT).in $(top_builddir)/config.status
1184 $(top_builddir)/config.status --file=ntpdc.$(NTPDC_MS)+:$(srcdir)/ntpdc.$(MANTAGFMT).in
1185 mv ntpdc.$(NTPDC_MS)+ ntpdc.$(NTPDC_MS)
1189 $(srcdir)/invoke-ntpdc.menu: $(srcdir)/invoke-ntpdc.texi
1190 @: do-nothing action to avoid default SCCS get, .menu built with .texi
1192 $(srcdir)/invoke-ntpdc.texi: $(srcdir)/ntpdc-opts.def $(std_def_list)
1193 $(run_ag) -Tagtexi-cmd.tpl -DLEVEL=section ntpdc-opts.def
1194 $(top_srcdir)/scripts/build/check--help $@
1196 $(srcdir)/ntpdc.html: $(srcdir)/invoke-ntpdc.menu $(srcdir)/invoke-ntpdc.texi $(srcdir)/ntpdc.texi $(top_srcdir)/sntp/include/version.texi
1197 cd $(srcdir) && ( makeinfo --force --html --no-split -I ../sntp -o ntpdc.html ntpdc.texi || true )
1199 ntpdc-layout.o: nl.c
1201 layout.here: ntpdc-layout
1204 check-layout: ntpdc-layout $(srcdir)/layout.std layout.here
1205 cmp $(srcdir)/layout.std layout.here && echo stamp > $@
1207 $(PROGRAMS): version.o
1209 $(top_srcdir)/sntp/scm-rev:
1210 cd ../sntp && $(MAKE) $(AM_MAKEFLAGS) check-scm-rev
1212 version.c: $(ntpdc_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/sntp/scm-rev
1213 env CSET=`cat $(top_srcdir)/sntp/scm-rev` $(top_builddir)/scripts/build/mkver ntpdc
1215 version.o: version.c
1216 env CCACHE_DISABLE=1 $(COMPILE) -c version.c -o version.o
1218 # I ran nl_in.c (attached, to be installed into ntpdc) through
1219 # $(CC) -E nl_in.c | nl.pl > nl.c
1220 nl.c: nl_in.c nl.pl Makefile.am ../config.h ../include/ntp_request.h ntpdc.h
1221 $(CC) -E $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(srcdir)/nl_in.c | ./nl.pl > nl.c
1224 @test -z "${bin_PROGRAMS}${bin_SCRIPTS}" \
1225 || for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do \
1226 test ! -f ${sbindir}/$$i \
1227 || echo "*** $$i is also in ${sbindir}!"; \
1229 @test -z "${sbin_PROGRAMS}${asbin_SCRIPTS}" \
1230 || for i in ${sbin_PROGRAMS} ${sbin_SCRIPTS} " "; do \
1231 test ! -f ${bindir}/$$i \
1232 || echo "*** $$i is also in ${bindir}!"; \
1237 check-libopts: ../sntp/libopts/libopts.la
1240 ../sntp/libopts/libopts.la:
1241 -cd ../sntp/libopts && $(MAKE) $(AM_MAKEFLAGS) libopts.la
1243 check-libntp: ../libntp/libntp.a
1247 cd ../libntp && $(MAKE) $(AM_MAKEFLAGS) libntp.a
1248 $(DEPDIR)/deps-ver: $(top_srcdir)/deps-ver
1250 cp $(top_srcdir)/deps-ver $@
1253 @cmp $(top_srcdir)/deps-ver $@ > /dev/null || ( \
1254 $(MAKE) $(AM_MAKEFLAGS) clean && \
1255 echo -n "Prior $(subdir)/$(DEPDIR) version " && \
1257 rm -rf $(DEPDIR) && \
1258 mkdir $(DEPDIR) && \
1259 case "$(top_builddir)" in \
1261 ./config.status Makefile depfiles \
1264 cd "$(top_builddir)" && \
1265 ./config.status $(subdir)/Makefile depfiles && \
1269 echo -n "Cleaned $(subdir)/$(DEPDIR) version " && \
1270 cat $(top_srcdir)/deps-ver \
1272 cp $(top_srcdir)/deps-ver $@
1274 .deps-ver: $(top_srcdir)/deps-ver
1275 @[ ! -d $(DEPDIR) ] || $(MAKE) $(AM_MAKEFLAGS) $(DEPDIR)/deps-ver
1279 # depsver.mf included in Makefile.am for directories with .deps
1281 # When building in the same directory with sources that change over
1282 # time, such as when tracking using bk, the .deps files can become
1283 # stale with respect to moved, deleted, or superceded headers. Most
1284 # commonly, this would exhibit as make reporting a failure to make a
1285 # header file which is no longer in the location given. To address
1286 # this issue, we use a deps-ver file which is updated with each change
1287 # that breaks old .deps files. A copy of deps-ver is made into
1288 # $(DEPDIR) if not already present. If $(DEPDIR)/deps-ver is present
1289 # with different contents than deps-ver, we make clean to ensure all
1290 # .o files built before the incompatible change are rebuilt along with
1291 # their updated .deps files, then remove $(DEPDIR) and recreate it as
1294 # It is normal when configured with --disable-dependency-tracking for
1295 # the DEPDIR to not have been created. For this reason, we use the
1296 # intermediate target .deps-ver, which invokes make recursively if
1299 # If you modify depsver.mf, please make the changes to the master
1300 # copy, the one in sntp is copied by the bootstrap script from it.
1302 # This comment block follows rather than leads the related code so that
1303 # it stays with it in the generated Makefile.in and Makefile.
1306 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1307 # Otherwise a system limit (for SysV at least) may be exceeded.