xref: /freebsd/contrib/ntp/ntpdc/Makefile.in (revision 788ca347b816afd83b2885e0c79aeeb88649b2ab)
1# Makefile.in generated by automake 1.11.1 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
23
24VPATH = @srcdir@
25pkgdatadir = $(datadir)/@PACKAGE@
26pkgincludedir = $(includedir)/@PACKAGE@
27pkglibdir = $(libdir)/@PACKAGE@
28pkglibexecdir = $(libexecdir)/@PACKAGE@
29am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
30install_sh_DATA = $(install_sh) -c -m 644
31install_sh_PROGRAM = $(install_sh) -c
32install_sh_SCRIPT = $(install_sh) -c
33INSTALL_HEADER = $(INSTALL_DATA)
34transform = $(program_transform_name)
35NORMAL_INSTALL = :
36PRE_INSTALL = :
37POST_INSTALL = :
38NORMAL_UNINSTALL = :
39PRE_UNINSTALL = :
40POST_UNINSTALL = :
41build_triplet = @build@
42host_triplet = @host@
43EXTRA_PROGRAMS = ntpdc$(EXEEXT) ntpdc-layout$(EXEEXT)
44DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \
45	$(srcdir)/Makefile.in $(srcdir)/nl.pl.in \
46	$(top_srcdir)/bincheck.mf $(top_srcdir)/check-libopts.mf \
47	$(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf \
48	$(top_srcdir)/sntp/check-libntp.mf
49subdir = ntpdc
50ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
51am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \
52	$(top_srcdir)/sntp/libopts/m4/stdnoreturn.m4 \
53	$(top_srcdir)/sntp/libevent/m4/openldap-thread-check.m4 \
54	$(top_srcdir)/sntp/libevent/m4/openldap.m4 \
55	$(top_srcdir)/sntp/m4/define_dir.m4 \
56	$(top_srcdir)/sntp/m4/hms_search_lib.m4 \
57	$(top_srcdir)/sntp/m4/libtool.m4 \
58	$(top_srcdir)/sntp/m4/ltoptions.m4 \
59	$(top_srcdir)/sntp/m4/ltsugar.m4 \
60	$(top_srcdir)/sntp/m4/ltversion.m4 \
61	$(top_srcdir)/sntp/m4/lt~obsolete.m4 \
62	$(top_srcdir)/sntp/m4/ntp_cacheversion.m4 \
63	$(top_srcdir)/sntp/m4/ntp_compiler.m4 \
64	$(top_srcdir)/sntp/m4/ntp_crosscompile.m4 \
65	$(top_srcdir)/sntp/m4/ntp_crypto_rand.m4 \
66	$(top_srcdir)/sntp/m4/ntp_debug.m4 \
67	$(top_srcdir)/sntp/m4/ntp_dir_sep.m4 \
68	$(top_srcdir)/sntp/m4/ntp_facilitynames.m4 \
69	$(top_srcdir)/sntp/m4/ntp_googletest.m4 \
70	$(top_srcdir)/sntp/m4/ntp_ipv6.m4 \
71	$(top_srcdir)/sntp/m4/ntp_lib_m.m4 \
72	$(top_srcdir)/sntp/m4/ntp_libevent.m4 \
73	$(top_srcdir)/sntp/m4/ntp_libntp.m4 \
74	$(top_srcdir)/sntp/m4/ntp_lineeditlibs.m4 \
75	$(top_srcdir)/sntp/m4/ntp_locinfo.m4 \
76	$(top_srcdir)/sntp/m4/ntp_openssl.m4 \
77	$(top_srcdir)/sntp/m4/ntp_pkg_config.m4 \
78	$(top_srcdir)/sntp/m4/ntp_prog_cc.m4 \
79	$(top_srcdir)/sntp/m4/ntp_rlimit.m4 \
80	$(top_srcdir)/sntp/m4/ntp_sntp.m4 \
81	$(top_srcdir)/sntp/m4/ntp_ver_suffix.m4 \
82	$(top_srcdir)/sntp/m4/ntp_vpathhack.m4 \
83	$(top_srcdir)/sntp/m4/os_cflags.m4 \
84	$(top_srcdir)/sntp/m4/snprintf.m4 \
85	$(top_srcdir)/sntp/m4/version.m4 $(top_srcdir)/configure.ac
86am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
87	$(ACLOCAL_M4)
88mkinstalldirs = $(install_sh) -d
89CONFIG_HEADER = $(top_builddir)/config.h
90CONFIG_CLEAN_FILES = nl.pl
91CONFIG_CLEAN_VPATH_FILES =
92am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" \
93	"$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" \
94	"$(DESTDIR)$(man8dir)" "$(DESTDIR)$(htmldir)"
95PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(sbin_PROGRAMS)
96am_ntpdc_OBJECTS = ntpdc.$(OBJEXT) ntpdc_ops.$(OBJEXT) \
97	ntpdc-opts.$(OBJEXT)
98ntpdc_OBJECTS = $(am_ntpdc_OBJECTS)
99am__DEPENDENCIES_1 =
100ntpdc_DEPENDENCIES = version.o $(am__DEPENDENCIES_1) \
101	../libntp/libntp.a $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
102	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
103	$(am__DEPENDENCIES_1)
104AM_V_lt = $(am__v_lt_$(V))
105am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
106am__v_lt_0 = --silent
107ntpdc_layout_SOURCES = ntpdc-layout.c
108ntpdc_layout_OBJECTS = ntpdc-layout.$(OBJEXT)
109ntpdc_layout_DEPENDENCIES =
110DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
111depcomp = $(SHELL) $(top_srcdir)/sntp/libevent/build-aux/depcomp
112am__depfiles_maybe = depfiles
113am__mv = mv -f
114COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
115	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
116LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
117	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
118	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
119	$(AM_CFLAGS) $(CFLAGS)
120AM_V_CC = $(am__v_CC_$(V))
121am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
122am__v_CC_0 = @echo "  CC    " $@;
123AM_V_at = $(am__v_at_$(V))
124am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
125am__v_at_0 = @
126CCLD = $(CC)
127LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
128	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
129	$(AM_LDFLAGS) $(LDFLAGS) -o $@
130AM_V_CCLD = $(am__v_CCLD_$(V))
131am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
132am__v_CCLD_0 = @echo "  CCLD  " $@;
133AM_V_GEN = $(am__v_GEN_$(V))
134am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
135am__v_GEN_0 = @echo "  GEN   " $@;
136SOURCES = $(ntpdc_SOURCES) ntpdc-layout.c
137DIST_SOURCES = $(ntpdc_SOURCES) ntpdc-layout.c
138am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
139am__vpath_adj = case $$p in \
140    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
141    *) f=$$p;; \
142  esac;
143am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
144am__install_max = 40
145am__nobase_strip_setup = \
146  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
147am__nobase_strip = \
148  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
149am__nobase_list = $(am__nobase_strip_setup); \
150  for p in $$list; do echo "$$p $$p"; done | \
151  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
152  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
153    if (++n[$$2] == $(am__install_max)) \
154      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
155    END { for (dir in files) print dir, files[dir] }'
156am__base_list = \
157  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
158  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
159man1dir = $(mandir)/man1
160man8dir = $(mandir)/man8
161NROFF = nroff
162MANS = $(man1_MANS) $(man8_MANS) $(man_MANS)
163DATA = $(html_DATA) $(noinst_DATA)
164HEADERS = $(noinst_HEADERS)
165ETAGS = etags
166CTAGS = ctags
167DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
168ACLOCAL = @ACLOCAL@
169ALLOCA = @ALLOCA@
170AMTAR = @AMTAR@
171AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
172AR = @AR@
173AUTOCONF = @AUTOCONF@
174AUTOHEADER = @AUTOHEADER@
175AUTOMAKE = @AUTOMAKE@
176AWK = @AWK@
177CALC_TICKADJ_DB = @CALC_TICKADJ_DB@
178CALC_TICKADJ_DL = @CALC_TICKADJ_DL@
179CALC_TICKADJ_DS = @CALC_TICKADJ_DS@
180CALC_TICKADJ_MS = @CALC_TICKADJ_MS@
181CALC_TICKADJ_NI = @CALC_TICKADJ_NI@
182CC = @CC@
183CCDEPMODE = @CCDEPMODE@
184CFLAGS = @CFLAGS@
185CFLAGS_NTP = @CFLAGS_NTP@
186CHUTEST = @CHUTEST@
187CONFIG_SHELL = @CONFIG_SHELL@
188CPP = @CPP@
189CPPFLAGS = @CPPFLAGS@
190CPPFLAGS_LIBEVENT = @CPPFLAGS_LIBEVENT@
191CPPFLAGS_NTP = @CPPFLAGS_NTP@
192CXX = @CXX@
193CXXCPP = @CXXCPP@
194CXXDEPMODE = @CXXDEPMODE@
195CXXFLAGS = @CXXFLAGS@
196CYGPATH_W = @CYGPATH_W@
197DCFD = @DCFD@
198DEFS = @DEFS@
199DEPDIR = @DEPDIR@
200DLLTOOL = @DLLTOOL@
201DSYMUTIL = @DSYMUTIL@
202DUMPBIN = @DUMPBIN@
203ECHO_C = @ECHO_C@
204ECHO_N = @ECHO_N@
205ECHO_T = @ECHO_T@
206EDITLINE_LIBS = @EDITLINE_LIBS@
207EGREP = @EGREP@
208EXEEXT = @EXEEXT@
209FGREP = @FGREP@
210GREP = @GREP@
211GTEST_CONFIG = @GTEST_CONFIG@
212GTEST_CPPFLAGS = @GTEST_CPPFLAGS@
213GTEST_CXXFLAGS = @GTEST_CXXFLAGS@
214GTEST_LDFLAGS = @GTEST_LDFLAGS@
215GTEST_LIBS = @GTEST_LIBS@
216HAVE_INLINE = @HAVE_INLINE@
217HAVE_RLIMIT_MEMLOCK = @HAVE_RLIMIT_MEMLOCK@
218HAVE_RLIMIT_STACK = @HAVE_RLIMIT_STACK@
219INSTALL = @INSTALL@
220INSTALL_DATA = @INSTALL_DATA@
221INSTALL_PROGRAM = @INSTALL_PROGRAM@
222INSTALL_SCRIPT = @INSTALL_SCRIPT@
223INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
224LD = @LD@
225LDADD_LIBEVENT = @LDADD_LIBEVENT@
226LDADD_LIBNTP = @LDADD_LIBNTP@
227LDADD_LIBUTIL = @LDADD_LIBUTIL@
228LDADD_NLIST = @LDADD_NLIST@
229LDADD_NTP = @LDADD_NTP@
230LDFLAGS = @LDFLAGS@
231LDFLAGS_NTP = @LDFLAGS_NTP@
232LIBISC_PTHREADS_NOTHREADS = @LIBISC_PTHREADS_NOTHREADS@
233LIBM = @LIBM@
234LIBOBJS = @LIBOBJS@
235LIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
236LIBOPTS_DIR = @LIBOPTS_DIR@
237LIBOPTS_LDADD = @LIBOPTS_LDADD@
238LIBPARSE = @LIBPARSE@
239LIBS = @LIBS@
240LIBTOOL = @LIBTOOL@
241LIBTOOL_DEPS = @LIBTOOL_DEPS@
242LIPO = @LIPO@
243LN_S = @LN_S@
244LSCF = @LSCF@
245LTLIBOBJS = @LTLIBOBJS@
246MAKEINFO = @MAKEINFO@
247MAKE_ADJTIMED = @MAKE_ADJTIMED@
248MAKE_CHECK_LAYOUT = @MAKE_CHECK_LAYOUT@
249MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
250MAKE_LIBNTPSIM = @MAKE_LIBNTPSIM@
251MAKE_LIBPARSE = @MAKE_LIBPARSE@
252MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
253MAKE_NTPDSIM = @MAKE_NTPDSIM@
254MAKE_NTPSNMPD = @MAKE_NTPSNMPD@
255MAKE_NTPTIME = @MAKE_NTPTIME@
256MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
257MAKE_TICKADJ = @MAKE_TICKADJ@
258MAKE_TIMETRIM = @MAKE_TIMETRIM@
259MANIFEST_TOOL = @MANIFEST_TOOL@
260MANTAGFMT = @MANTAGFMT@
261MKDIR_P = @MKDIR_P@
262NM = @NM@
263NMEDIT = @NMEDIT@
264NTPDATE_DB = @NTPDATE_DB@
265NTPDATE_DL = @NTPDATE_DL@
266NTPDATE_DS = @NTPDATE_DS@
267NTPDATE_MS = @NTPDATE_MS@
268NTPDATE_NI = @NTPDATE_NI@
269NTPDC_DB = @NTPDC_DB@
270NTPDC_DL = @NTPDC_DL@
271NTPDC_DS = @NTPDC_DS@
272NTPDC_MS = @NTPDC_MS@
273NTPDC_NI = @NTPDC_NI@
274NTPDSIM_DB = @NTPDSIM_DB@
275NTPDSIM_DL = @NTPDSIM_DL@
276NTPDSIM_DS = @NTPDSIM_DS@
277NTPDSIM_MS = @NTPDSIM_MS@
278NTPDSIM_NI = @NTPDSIM_NI@
279NTPD_DB = @NTPD_DB@
280NTPD_DL = @NTPD_DL@
281NTPD_DS = @NTPD_DS@
282NTPD_MS = @NTPD_MS@
283NTPD_NI = @NTPD_NI@
284NTPQ_DB = @NTPQ_DB@
285NTPQ_DL = @NTPQ_DL@
286NTPQ_DS = @NTPQ_DS@
287NTPQ_MS = @NTPQ_MS@
288NTPQ_NI = @NTPQ_NI@
289NTPSNMPD_DB = @NTPSNMPD_DB@
290NTPSNMPD_DL = @NTPSNMPD_DL@
291NTPSNMPD_DS = @NTPSNMPD_DS@
292NTPSNMPD_MS = @NTPSNMPD_MS@
293NTPSNMPD_NI = @NTPSNMPD_NI@
294NTPSWEEP_DB = @NTPSWEEP_DB@
295NTPSWEEP_DL = @NTPSWEEP_DL@
296NTPSWEEP_DS = @NTPSWEEP_DS@
297NTPSWEEP_MS = @NTPSWEEP_MS@
298NTPSWEEP_NI = @NTPSWEEP_NI@
299NTPTIME_DB = @NTPTIME_DB@
300NTPTIME_DL = @NTPTIME_DL@
301NTPTIME_DS = @NTPTIME_DS@
302NTPTIME_MS = @NTPTIME_MS@
303NTPTIME_NI = @NTPTIME_NI@
304NTPTRACE_DB = @NTPTRACE_DB@
305NTPTRACE_DL = @NTPTRACE_DL@
306NTPTRACE_DS = @NTPTRACE_DS@
307NTPTRACE_MS = @NTPTRACE_MS@
308NTPTRACE_NI = @NTPTRACE_NI@
309NTP_KEYGEN_DB = @NTP_KEYGEN_DB@
310NTP_KEYGEN_DL = @NTP_KEYGEN_DL@
311NTP_KEYGEN_DS = @NTP_KEYGEN_DS@
312NTP_KEYGEN_MS = @NTP_KEYGEN_MS@
313NTP_KEYGEN_NI = @NTP_KEYGEN_NI@
314NTP_KEYSDIR = @NTP_KEYSDIR@
315NTP_WAIT_DB = @NTP_WAIT_DB@
316NTP_WAIT_DL = @NTP_WAIT_DL@
317NTP_WAIT_DS = @NTP_WAIT_DS@
318NTP_WAIT_MS = @NTP_WAIT_MS@
319NTP_WAIT_NI = @NTP_WAIT_NI@
320OBJDUMP = @OBJDUMP@
321OBJEXT = @OBJEXT@
322OTOOL = @OTOOL@
323OTOOL64 = @OTOOL64@
324PACKAGE = @PACKAGE@
325PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
326PACKAGE_NAME = @PACKAGE_NAME@
327PACKAGE_STRING = @PACKAGE_STRING@
328PACKAGE_TARNAME = @PACKAGE_TARNAME@
329PACKAGE_URL = @PACKAGE_URL@
330PACKAGE_VERSION = @PACKAGE_VERSION@
331PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@
332PATH_PERL = @PATH_PERL@
333PATH_SEPARATOR = @PATH_SEPARATOR@
334PATH_TEST = @PATH_TEST@
335PERLLIBDIR = @PERLLIBDIR@
336PKG_CONFIG = @PKG_CONFIG@
337POSIX_SHELL = @POSIX_SHELL@
338PROPDELAY = @PROPDELAY@
339PTHREAD_LIBS = @PTHREAD_LIBS@
340RANLIB = @RANLIB@
341SED = @SED@
342SET_MAKE = @SET_MAKE@
343SHELL = @SHELL@
344SNMP_CFLAGS = @SNMP_CFLAGS@
345SNMP_CPPFLAGS = @SNMP_CPPFLAGS@
346SNMP_LIBS = @SNMP_LIBS@
347SNTP = @SNTP@
348SNTP_DB = @SNTP_DB@
349SNTP_DL = @SNTP_DL@
350SNTP_DS = @SNTP_DS@
351SNTP_MS = @SNTP_MS@
352SNTP_NI = @SNTP_NI@
353STDNORETURN_H = @STDNORETURN_H@
354STRIP = @STRIP@
355TESTDCF = @TESTDCF@
356TICKADJ_DB = @TICKADJ_DB@
357TICKADJ_DL = @TICKADJ_DL@
358TICKADJ_DS = @TICKADJ_DS@
359TICKADJ_MS = @TICKADJ_MS@
360TICKADJ_NI = @TICKADJ_NI@
361TIMETRIM_DB = @TIMETRIM_DB@
362TIMETRIM_DL = @TIMETRIM_DL@
363TIMETRIM_DS = @TIMETRIM_DS@
364TIMETRIM_MS = @TIMETRIM_MS@
365TIMETRIM_NI = @TIMETRIM_NI@
366VERSION = @VERSION@
367VER_SUFFIX = @VER_SUFFIX@
368YACC = @YACC@
369YFLAGS = @YFLAGS@
370abs_builddir = @abs_builddir@
371abs_srcdir = @abs_srcdir@
372abs_top_builddir = @abs_top_builddir@
373abs_top_srcdir = @abs_top_srcdir@
374ac_ct_AR = @ac_ct_AR@
375ac_ct_CC = @ac_ct_CC@
376ac_ct_CXX = @ac_ct_CXX@
377ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
378am__include = @am__include@
379am__leading_dot = @am__leading_dot@
380am__quote = @am__quote@
381am__tar = @am__tar@
382am__untar = @am__untar@
383bindir = @bindir@
384build = @build@
385build_alias = @build_alias@
386build_cpu = @build_cpu@
387build_os = @build_os@
388build_vendor = @build_vendor@
389builddir = @builddir@
390datadir = @datadir@
391datarootdir = @datarootdir@
392docdir = @docdir@
393dvidir = @dvidir@
394exec_prefix = @exec_prefix@
395host = @host@
396host_alias = @host_alias@
397host_cpu = @host_cpu@
398host_os = @host_os@
399host_vendor = @host_vendor@
400htmldir = @htmldir@
401includedir = @includedir@
402infodir = @infodir@
403install_sh = @install_sh@
404libdir = @libdir@
405libexecdir = @libexecdir@
406localedir = @localedir@
407localstatedir = @localstatedir@
408mandir = @mandir@
409mkdir_p = @mkdir_p@
410oldincludedir = @oldincludedir@
411pdfdir = @pdfdir@
412prefix = @prefix@
413program_transform_name = @program_transform_name@
414psdir = @psdir@
415sbindir = @sbindir@
416sharedstatedir = @sharedstatedir@
417srcdir = @srcdir@
418subdirs = @subdirs@
419sysconfdir = @sysconfdir@
420target_alias = @target_alias@
421top_build_prefix = @top_build_prefix@
422top_builddir = @top_builddir@
423top_srcdir = @top_srcdir@
424NULL =
425bin_PROGRAMS = $(NTPDC_DB)
426libexec_PROGRAMS = $(NTPDC_DL)
427sbin_PROGRAMS = $(NTPDC_DS)
428EXTRA_DATA = check-layout
429BUILT_SOURCES = @MAKE_CHECK_LAYOUT@ ntpdc-opts.c ntpdc-opts.h \
430	check-libopts check-libntp .deps-ver
431AM_CFLAGS = $(CFLAGS_NTP)
432AM_CPPFLAGS = $(NTP_INCS) $(LIBOPTS_CFLAGS) $(CPPFLAGS_NTP)
433AM_LDFLAGS = $(LDFLAGS_NTP)
434
435# LDADD might need RESLIB and ADJLIB
436ntpdc_LDADD = version.o $(LIBOPTS_LDADD) ../libntp/libntp.a \
437	$(LDADD_LIBNTP) $(LIBM) $(PTHREAD_LIBS) $(EDITLINE_LIBS) \
438	$(LDADD_NTP)
439# ntpdc-layout doesn't need any additional libraries at all
440ntpdc_layout_LDADD =
441DISTCLEANFILES = .version version.c config.log $(man_MANS)
442CLEANFILES = check-layout layout.here nl.c ntpdc-layout check-libopts \
443	check-libntp .deps-ver
444noinst_HEADERS = ntpdc.h
445ETAGS_ARGS = Makefile.am
446EXTRA_DIST = \
447	invoke-ntpdc.menu	\
448	invoke-ntpdc.texi	\
449	layout.std		\
450	nl_in.c			\
451	nl.pl			\
452	ntpdc-opts.def		\
453	ntpdc.1ntpdcman		\
454	ntpdc.1ntpdcmdoc	\
455	ntpdc.man.in		\
456	ntpdc.mdoc.in		\
457	ntpdc.html		\
458	ntpdc.texi		\
459	$(NULL)
460
461man1_MANS =
462man8_MANS =
463man_MANS = ntpdc.$(NTPDC_MS)
464html_DATA = \
465	$(srcdir)/ntpdc.html		\
466	$(NULL)
467
468noinst_DATA = \
469	$(srcdir)/invoke-ntpdc.menu	\
470	$(srcdir)/invoke-ntpdc.texi	\
471	$(srcdir)/ntpdc.man.in		\
472	$(srcdir)/ntpdc.mdoc.in		\
473	$(NULL)
474
475run_ag = cd $(srcdir) &&	env PATH="$(abs_builddir):$(PATH)" AUTOGEN_DNE_DATE=-D	\
476		autogen -L ../sntp/include -L ../sntp/ag-tpl --writable
477
478std_def_list = \
479	$(top_srcdir)/sntp/include/debug-opt.def		\
480	$(top_srcdir)/sntp/include/autogen-version.def 		\
481	$(top_srcdir)/sntp/include/copyright.def 		\
482	$(top_srcdir)/sntp/include/homerc.def 			\
483	$(top_srcdir)/sntp/include/ntp.lic			\
484	$(top_srcdir)/sntp/include/version.def			\
485	$(NULL)
486
487ntpdc_SOURCES = ntpdc.c ntpdc_ops.c ntpdc-opts.c ntpdc-opts.h
488NTP_INCS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/isc/include \
489	-I$(top_srcdir)/lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/include \
490	-I$(top_srcdir)/lib/isc/unix/include
491all: $(BUILT_SOURCES)
492	$(MAKE) $(AM_MAKEFLAGS) all-am
493
494.SUFFIXES:
495.SUFFIXES: .c .lo .o .obj
496$(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)
497	@for dep in $?; do \
498	  case '$(am__configure_deps)' in \
499	    *$$dep*) \
500	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
501	        && { if test -f $@; then exit 0; else break; fi; }; \
502	      exit 1;; \
503	  esac; \
504	done; \
505	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ntpdc/Makefile'; \
506	$(am__cd) $(top_srcdir) && \
507	  $(AUTOMAKE) --foreign ntpdc/Makefile
508.PRECIOUS: Makefile
509Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
510	@case '$?' in \
511	  *config.status*) \
512	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
513	  *) \
514	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
515	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
516	esac;
517
518$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
519	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
520
521$(top_srcdir)/configure:  $(am__configure_deps)
522	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
523$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
524	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
525$(am__aclocal_m4_deps):
526nl.pl: $(top_builddir)/config.status $(srcdir)/nl.pl.in
527	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
528install-binPROGRAMS: $(bin_PROGRAMS)
529	@$(NORMAL_INSTALL)
530	test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
531	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
532	for p in $$list; do echo "$$p $$p"; done | \
533	sed 's/$(EXEEXT)$$//' | \
534	while read p p1; do if test -f $$p || test -f $$p1; \
535	  then echo "$$p"; echo "$$p"; else :; fi; \
536	done | \
537	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
538	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
539	sed 'N;N;N;s,\n, ,g' | \
540	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
541	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
542	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
543	    else { print "f", $$3 "/" $$4, $$1; } } \
544	  END { for (d in files) print "f", d, files[d] }' | \
545	while read type dir files; do \
546	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
547	    test -z "$$files" || { \
548	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
549	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
550	    } \
551	; done
552
553uninstall-binPROGRAMS:
554	@$(NORMAL_UNINSTALL)
555	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
556	files=`for p in $$list; do echo "$$p"; done | \
557	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
558	      -e 's/$$/$(EXEEXT)/' `; \
559	test -n "$$list" || exit 0; \
560	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
561	cd "$(DESTDIR)$(bindir)" && rm -f $$files
562
563clean-binPROGRAMS:
564	@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
565	echo " rm -f" $$list; \
566	rm -f $$list || exit $$?; \
567	test -n "$(EXEEXT)" || exit 0; \
568	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
569	echo " rm -f" $$list; \
570	rm -f $$list
571install-libexecPROGRAMS: $(libexec_PROGRAMS)
572	@$(NORMAL_INSTALL)
573	test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
574	@list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
575	for p in $$list; do echo "$$p $$p"; done | \
576	sed 's/$(EXEEXT)$$//' | \
577	while read p p1; do if test -f $$p || test -f $$p1; \
578	  then echo "$$p"; echo "$$p"; else :; fi; \
579	done | \
580	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
581	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
582	sed 'N;N;N;s,\n, ,g' | \
583	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
584	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
585	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
586	    else { print "f", $$3 "/" $$4, $$1; } } \
587	  END { for (d in files) print "f", d, files[d] }' | \
588	while read type dir files; do \
589	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
590	    test -z "$$files" || { \
591	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
592	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
593	    } \
594	; done
595
596uninstall-libexecPROGRAMS:
597	@$(NORMAL_UNINSTALL)
598	@list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
599	files=`for p in $$list; do echo "$$p"; done | \
600	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
601	      -e 's/$$/$(EXEEXT)/' `; \
602	test -n "$$list" || exit 0; \
603	echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
604	cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
605
606clean-libexecPROGRAMS:
607	@list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
608	echo " rm -f" $$list; \
609	rm -f $$list || exit $$?; \
610	test -n "$(EXEEXT)" || exit 0; \
611	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
612	echo " rm -f" $$list; \
613	rm -f $$list
614install-sbinPROGRAMS: $(sbin_PROGRAMS)
615	@$(NORMAL_INSTALL)
616	test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
617	@list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
618	for p in $$list; do echo "$$p $$p"; done | \
619	sed 's/$(EXEEXT)$$//' | \
620	while read p p1; do if test -f $$p || test -f $$p1; \
621	  then echo "$$p"; echo "$$p"; else :; fi; \
622	done | \
623	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
624	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
625	sed 'N;N;N;s,\n, ,g' | \
626	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
627	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
628	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
629	    else { print "f", $$3 "/" $$4, $$1; } } \
630	  END { for (d in files) print "f", d, files[d] }' | \
631	while read type dir files; do \
632	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
633	    test -z "$$files" || { \
634	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
635	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
636	    } \
637	; done
638
639uninstall-sbinPROGRAMS:
640	@$(NORMAL_UNINSTALL)
641	@list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
642	files=`for p in $$list; do echo "$$p"; done | \
643	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
644	      -e 's/$$/$(EXEEXT)/' `; \
645	test -n "$$list" || exit 0; \
646	echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
647	cd "$(DESTDIR)$(sbindir)" && rm -f $$files
648
649clean-sbinPROGRAMS:
650	@list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \
651	echo " rm -f" $$list; \
652	rm -f $$list || exit $$?; \
653	test -n "$(EXEEXT)" || exit 0; \
654	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
655	echo " rm -f" $$list; \
656	rm -f $$list
657ntpdc$(EXEEXT): $(ntpdc_OBJECTS) $(ntpdc_DEPENDENCIES)
658	@rm -f ntpdc$(EXEEXT)
659	$(AM_V_CCLD)$(LINK) $(ntpdc_OBJECTS) $(ntpdc_LDADD) $(LIBS)
660ntpdc-layout$(EXEEXT): $(ntpdc_layout_OBJECTS) $(ntpdc_layout_DEPENDENCIES)
661	@rm -f ntpdc-layout$(EXEEXT)
662	$(AM_V_CCLD)$(LINK) $(ntpdc_layout_OBJECTS) $(ntpdc_layout_LDADD) $(LIBS)
663
664mostlyclean-compile:
665	-rm -f *.$(OBJEXT)
666
667distclean-compile:
668	-rm -f *.tab.c
669
670@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc-layout.Po@am__quote@
671@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc-opts.Po@am__quote@
672@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc.Po@am__quote@
673@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc_ops.Po@am__quote@
674
675.c.o:
676@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
677@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
678@am__fastdepCC_FALSE@	$(AM_V_CC) @AM_BACKSLASH@
679@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
680@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
681@am__fastdepCC_FALSE@	$(COMPILE) -c $<
682
683.c.obj:
684@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
685@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
686@am__fastdepCC_FALSE@	$(AM_V_CC) @AM_BACKSLASH@
687@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
688@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
689@am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
690
691.c.lo:
692@am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
693@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
694@am__fastdepCC_FALSE@	$(AM_V_CC) @AM_BACKSLASH@
695@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
696@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
697@am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ $<
698
699mostlyclean-libtool:
700	-rm -f *.lo
701
702clean-libtool:
703	-rm -rf .libs _libs
704install-man1: $(man1_MANS) $(man_MANS)
705	@$(NORMAL_INSTALL)
706	test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
707	@list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \
708	{ for i in $$list; do echo "$$i"; done; \
709	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
710	  sed -n '/\.1[a-z]*$$/p'; \
711	} | while read p; do \
712	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
713	  echo "$$d$$p"; echo "$$p"; \
714	done | \
715	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
716	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
717	sed 'N;N;s,\n, ,g' | { \
718	list=; while read file base inst; do \
719	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
720	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
721	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
722	  fi; \
723	done; \
724	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
725	while read files; do \
726	  test -z "$$files" || { \
727	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
728	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
729	done; }
730
731uninstall-man1:
732	@$(NORMAL_UNINSTALL)
733	@list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \
734	files=`{ for i in $$list; do echo "$$i"; done; \
735	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
736	  sed -n '/\.1[a-z]*$$/p'; \
737	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
738	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
739	test -z "$$files" || { \
740	  echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
741	  cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
742install-man8: $(man8_MANS) $(man_MANS)
743	@$(NORMAL_INSTALL)
744	test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
745	@list='$(man8_MANS)'; test -n "$(man8dir)" || exit 0; \
746	{ for i in $$list; do echo "$$i"; done; \
747	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
748	  sed -n '/\.8[a-z]*$$/p'; \
749	} | while read p; do \
750	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
751	  echo "$$d$$p"; echo "$$p"; \
752	done | \
753	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
754	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
755	sed 'N;N;s,\n, ,g' | { \
756	list=; while read file base inst; do \
757	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
758	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
759	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
760	  fi; \
761	done; \
762	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
763	while read files; do \
764	  test -z "$$files" || { \
765	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
766	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
767	done; }
768
769uninstall-man8:
770	@$(NORMAL_UNINSTALL)
771	@list='$(man8_MANS)'; test -n "$(man8dir)" || exit 0; \
772	files=`{ for i in $$list; do echo "$$i"; done; \
773	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
774	  sed -n '/\.8[a-z]*$$/p'; \
775	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
776	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
777	test -z "$$files" || { \
778	  echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
779	  cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
780install-htmlDATA: $(html_DATA)
781	@$(NORMAL_INSTALL)
782	test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)"
783	@list='$(html_DATA)'; test -n "$(htmldir)" || list=; \
784	for p in $$list; do \
785	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
786	  echo "$$d$$p"; \
787	done | $(am__base_list) | \
788	while read files; do \
789	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(htmldir)'"; \
790	  $(INSTALL_DATA) $$files "$(DESTDIR)$(htmldir)" || exit $$?; \
791	done
792
793uninstall-htmlDATA:
794	@$(NORMAL_UNINSTALL)
795	@list='$(html_DATA)'; test -n "$(htmldir)" || list=; \
796	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
797	test -n "$$files" || exit 0; \
798	echo " ( cd '$(DESTDIR)$(htmldir)' && rm -f" $$files ")"; \
799	cd "$(DESTDIR)$(htmldir)" && rm -f $$files
800
801ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
802	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
803	unique=`for i in $$list; do \
804	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
805	  done | \
806	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
807	      END { if (nonempty) { for (i in files) print i; }; }'`; \
808	mkid -fID $$unique
809tags: TAGS
810
811TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
812		$(TAGS_FILES) $(LISP)
813	set x; \
814	here=`pwd`; \
815	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
816	unique=`for i in $$list; do \
817	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
818	  done | \
819	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
820	      END { if (nonempty) { for (i in files) print i; }; }'`; \
821	shift; \
822	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
823	  test -n "$$unique" || unique=$$empty_fix; \
824	  if test $$# -gt 0; then \
825	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
826	      "$$@" $$unique; \
827	  else \
828	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
829	      $$unique; \
830	  fi; \
831	fi
832ctags: CTAGS
833CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
834		$(TAGS_FILES) $(LISP)
835	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
836	unique=`for i in $$list; do \
837	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
838	  done | \
839	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
840	      END { if (nonempty) { for (i in files) print i; }; }'`; \
841	test -z "$(CTAGS_ARGS)$$unique" \
842	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
843	     $$unique
844
845GTAGS:
846	here=`$(am__cd) $(top_builddir) && pwd` \
847	  && $(am__cd) $(top_srcdir) \
848	  && gtags -i $(GTAGS_ARGS) "$$here"
849
850distclean-tags:
851	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
852
853distdir: $(DISTFILES)
854	@list='$(MANS)'; if test -n "$$list"; then \
855	  list=`for p in $$list; do \
856	    if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
857	    if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
858	  if test -n "$$list" && \
859	    grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
860	    echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
861	    grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
862	    echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
863	    echo "       typically \`make maintainer-clean' will remove them" >&2; \
864	    exit 1; \
865	  else :; fi; \
866	else :; fi
867	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
868	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
869	list='$(DISTFILES)'; \
870	  dist_files=`for file in $$list; do echo $$file; done | \
871	  sed -e "s|^$$srcdirstrip/||;t" \
872	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
873	case $$dist_files in \
874	  */*) $(MKDIR_P) `echo "$$dist_files" | \
875			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
876			   sort -u` ;; \
877	esac; \
878	for file in $$dist_files; do \
879	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
880	  if test -d $$d/$$file; then \
881	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
882	    if test -d "$(distdir)/$$file"; then \
883	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
884	    fi; \
885	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
886	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
887	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
888	    fi; \
889	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
890	  else \
891	    test -f "$(distdir)/$$file" \
892	    || cp -p $$d/$$file "$(distdir)/$$file" \
893	    || exit 1; \
894	  fi; \
895	done
896check-am: all-am
897check: $(BUILT_SOURCES)
898	$(MAKE) $(AM_MAKEFLAGS) check-am
899all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) $(HEADERS)
900installdirs:
901	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(htmldir)"; do \
902	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
903	done
904install: $(BUILT_SOURCES)
905	$(MAKE) $(AM_MAKEFLAGS) install-am
906install-exec: install-exec-am
907install-data: install-data-am
908uninstall: uninstall-am
909
910install-am: all-am
911	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
912
913installcheck: installcheck-am
914install-strip:
915	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
916	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
917	  `test -z '$(STRIP)' || \
918	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
919mostlyclean-generic:
920
921clean-generic:
922	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
923
924distclean-generic:
925	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
926	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
927	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
928
929maintainer-clean-generic:
930	@echo "This command is intended for maintainers to use"
931	@echo "it deletes files that may require special tools to rebuild."
932	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
933clean: clean-am
934
935clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
936	clean-libtool clean-sbinPROGRAMS mostlyclean-am
937
938distclean: distclean-am
939	-rm -rf ./$(DEPDIR)
940	-rm -f Makefile
941distclean-am: clean-am distclean-compile distclean-generic \
942	distclean-tags
943
944dvi: dvi-am
945
946dvi-am:
947
948html: html-am
949
950html-am:
951
952info: info-am
953
954info-am:
955
956install-data-am: install-data-local install-htmlDATA install-man
957
958install-dvi: install-dvi-am
959
960install-dvi-am:
961
962install-exec-am: install-binPROGRAMS install-libexecPROGRAMS \
963	install-sbinPROGRAMS
964	@$(NORMAL_INSTALL)
965	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
966install-html: install-html-am
967
968install-html-am:
969
970install-info: install-info-am
971
972install-info-am:
973
974install-man: install-man1 install-man8
975
976install-pdf: install-pdf-am
977
978install-pdf-am:
979
980install-ps: install-ps-am
981
982install-ps-am:
983
984installcheck-am:
985
986maintainer-clean: maintainer-clean-am
987	-rm -rf ./$(DEPDIR)
988	-rm -f Makefile
989maintainer-clean-am: distclean-am maintainer-clean-generic
990
991mostlyclean: mostlyclean-am
992
993mostlyclean-am: mostlyclean-compile mostlyclean-generic \
994	mostlyclean-libtool
995
996pdf: pdf-am
997
998pdf-am:
999
1000ps: ps-am
1001
1002ps-am:
1003
1004uninstall-am: uninstall-binPROGRAMS uninstall-htmlDATA \
1005	uninstall-libexecPROGRAMS uninstall-man uninstall-sbinPROGRAMS
1006
1007uninstall-man: uninstall-man1 uninstall-man8
1008
1009.MAKE: all check install install-am install-exec-am install-strip
1010
1011.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
1012	clean-generic clean-libexecPROGRAMS clean-libtool \
1013	clean-sbinPROGRAMS ctags distclean distclean-compile \
1014	distclean-generic distclean-libtool distclean-tags distdir dvi \
1015	dvi-am html html-am info info-am install install-am \
1016	install-binPROGRAMS install-data install-data-am \
1017	install-data-local install-dvi install-dvi-am install-exec \
1018	install-exec-am install-exec-hook install-html install-html-am \
1019	install-htmlDATA install-info install-info-am \
1020	install-libexecPROGRAMS install-man install-man1 install-man8 \
1021	install-pdf install-pdf-am install-ps install-ps-am \
1022	install-sbinPROGRAMS install-strip installcheck \
1023	installcheck-am installdirs maintainer-clean \
1024	maintainer-clean-generic mostlyclean mostlyclean-compile \
1025	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1026	tags uninstall uninstall-am uninstall-binPROGRAMS \
1027	uninstall-htmlDATA uninstall-libexecPROGRAMS uninstall-man \
1028	uninstall-man1 uninstall-man8 uninstall-sbinPROGRAMS
1029
1030
1031install-data-local: install-html
1032
1033$(srcdir)/ntpdc-opts.h: $(srcdir)/ntpdc-opts.c
1034	@: do-nothing action to avoid default SCCS get, .h built with .c
1035
1036$(srcdir)/ntpdc-opts.c: $(srcdir)/ntpdc-opts.def $(std_def_list)
1037	$(run_ag) ntpdc-opts.def
1038
1039###
1040
1041$(srcdir)/ntpdc.1ntpdcman: $(srcdir)/ntpdc-opts.def $(std_def_list)
1042	$(run_ag) -DMAN_SECTION=1ntpdcman -Tagman-cmd.tpl ntpdc-opts.def
1043
1044$(srcdir)/ntpdc.man.in: $(srcdir)/ntpdc.1ntpdcman $(top_srcdir)/sntp/scripts/mansec2subst.sed
1045	sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/ntpdc.1ntpdcman > $(srcdir)/ntpdc.man.in+
1046	mv $(srcdir)/ntpdc.man.in+ $(srcdir)/ntpdc.man.in
1047
1048###
1049
1050$(srcdir)/ntpdc.1ntpdcmdoc: $(srcdir)/ntpdc-opts.def $(std_def_list)
1051	$(run_ag) -DMAN_SECTION=1ntpdcmdoc -Tagmdoc-cmd.tpl ntpdc-opts.def
1052
1053$(srcdir)/ntpdc.mdoc.in: $(srcdir)/ntpdc.1ntpdcmdoc $(top_srcdir)/sntp/scripts/mansec2subst.sed
1054	sed -f $(top_srcdir)/sntp/scripts/mansec2subst.sed $(srcdir)/ntpdc.1ntpdcmdoc > $(srcdir)/ntpdc.mdoc.in+
1055	mv $(srcdir)/ntpdc.mdoc.in+ $(srcdir)/ntpdc.mdoc.in
1056
1057###
1058
1059ntpdc.$(NTPDC_MS): $(srcdir)/ntpdc.$(MANTAGFMT).in $(top_builddir)/config.status
1060	$(top_builddir)/config.status --file=ntpdc.$(NTPDC_MS)+:$(srcdir)/ntpdc.$(MANTAGFMT).in
1061	mv ntpdc.$(NTPDC_MS)+ ntpdc.$(NTPDC_MS)
1062
1063###
1064
1065$(srcdir)/invoke-ntpdc.menu: $(srcdir)/invoke-ntpdc.texi
1066	@: do-nothing action to avoid default SCCS get, .menu built with .texi
1067
1068$(srcdir)/invoke-ntpdc.texi: $(srcdir)/ntpdc-opts.def $(std_def_list)
1069	$(run_ag) -Tagtexi-cmd.tpl -DLEVEL=section ntpdc-opts.def
1070	$(top_srcdir)/scripts/build/check--help $@
1071
1072$(srcdir)/ntpdc.html: $(srcdir)/invoke-ntpdc.menu $(srcdir)/invoke-ntpdc.texi $(srcdir)/ntpdc.texi $(top_srcdir)/sntp/include/version.texi
1073	cd $(srcdir) && ( makeinfo --force --html --no-split -I ../sntp -o ntpdc.html ntpdc.texi || true )
1074
1075ntpdc-layout.o: nl.c
1076
1077layout.here: ntpdc-layout
1078	./ntpdc-layout > $@
1079
1080check-layout: ntpdc-layout $(srcdir)/layout.std layout.here
1081	cmp $(srcdir)/layout.std layout.here && echo stamp > $@
1082
1083$(PROGRAMS): version.o
1084
1085$(top_srcdir)/sntp/scm-rev:
1086	cd ../sntp && $(MAKE) $(AM_MAKEFLAGS) check-scm-rev
1087
1088version.c: $(ntpdc_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/sntp/scm-rev
1089	env CSET=`cat $(top_srcdir)/sntp/scm-rev` $(top_builddir)/scripts/build/mkver ntpdc
1090
1091version.o: version.c
1092	env CCACHE_DISABLE=1 $(COMPILE) -c version.c -o version.o
1093
1094# I ran nl_in.c (attached, to be installed into ntpdc) through
1095# $(CC) -E nl_in.c | nl.pl > nl.c
1096nl.c: nl_in.c nl.pl Makefile.am ../config.h ../include/ntp_request.h ntpdc.h
1097	$(CC) -E $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(srcdir)/nl_in.c | ./nl.pl > nl.c
1098
1099install-exec-hook:
1100	@test -z "${bin_PROGRAMS}${bin_SCRIPTS}"		\
1101	|| for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do	\
1102	   test ! -f ${sbindir}/$$i				\
1103		|| echo "*** $$i is also in ${sbindir}!";	\
1104	done
1105	@test -z "${sbin_PROGRAMS}${asbin_SCRIPTS}"		\
1106	|| for i in ${sbin_PROGRAMS} ${sbin_SCRIPTS} " "; do	\
1107	   test ! -f ${bindir}/$$i				\
1108		|| echo "*** $$i is also in ${bindir}!";	\
1109	done
1110
1111#
1112
1113check-libopts: ../sntp/libopts/libopts.la
1114	@echo stamp > $@
1115
1116../sntp/libopts/libopts.la:
1117	-cd ../sntp/libopts && $(MAKE) $(AM_MAKEFLAGS) libopts.la
1118
1119check-libntp: ../libntp/libntp.a
1120	@echo stamp > $@
1121
1122../libntp/libntp.a:
1123	cd ../libntp && $(MAKE) $(AM_MAKEFLAGS) libntp.a
1124$(DEPDIR)/deps-ver: $(top_srcdir)/deps-ver
1125	@[ -f $@ ] ||							\
1126		cp $(top_srcdir)/deps-ver $@
1127	@[ -w $@ ] ||							\
1128		chmod ug+w $@
1129	@cmp $(top_srcdir)/deps-ver $@ > /dev/null || (			\
1130		$(MAKE) $(AM_MAKEFLAGS) clean &&					\
1131		echo -n "Prior $(subdir)/$(DEPDIR) version " &&		\
1132		cat $@ &&						\
1133		rm -rf $(DEPDIR) &&					\
1134		mkdir $(DEPDIR) && 					\
1135		case "$(top_builddir)" in				\
1136		 .)							\
1137		    ./config.status Makefile depfiles			\
1138		    ;;							\
1139		 *)							\
1140		    cd "$(top_builddir)" &&				\
1141		    ./config.status $(subdir)/Makefile depfiles &&	\
1142		    cd $(subdir)					\
1143		    ;;							\
1144		esac &&							\
1145		echo -n "Cleaned $(subdir)/$(DEPDIR) version " &&	\
1146		cat $(top_srcdir)/deps-ver				\
1147	)
1148	cp $(top_srcdir)/deps-ver $@
1149
1150.deps-ver: $(top_srcdir)/deps-ver
1151	@[ ! -d $(DEPDIR) ] || $(MAKE) $(AM_MAKEFLAGS) $(DEPDIR)/deps-ver
1152	@touch $@
1153
1154#
1155# depsver.mf	included in Makefile.am for directories with .deps
1156#
1157# When building in the same directory with sources that change over
1158# time, such as when tracking using bk, the .deps files can become
1159# stale with respect to moved, deleted, or superceded headers.  Most
1160# commonly, this would exhibit as make reporting a failure to make a
1161# header file which is no longer in the location given.  To address
1162# this issue, we use a deps-ver file which is updated with each change
1163# that breaks old .deps files.  A copy of deps-ver is made into
1164# $(DEPDIR) if not already present.  If $(DEPDIR)/deps-ver is present
1165# with different contents than deps-ver, we make clean to ensure all
1166# .o files built before the incompatible change are rebuilt along with
1167# their updated .deps files, then remove $(DEPDIR) and recreate it as
1168# empty stubs.
1169#
1170# It is normal when configured with --disable-dependency-tracking for
1171# the DEPDIR to not have been created.  For this reason, we use the
1172# intermediate target .deps-ver, which invokes make recursively if
1173# DEPDIR exists.
1174#
1175# If you modify depsver.mf, please make the changes to the master
1176# copy, the one in sntp is copied by the bootstrap script from it.
1177#
1178# This comment block follows rather than leads the related code so that
1179# it stays with it in the generated Makefile.in and Makefile.
1180#
1181
1182# Tell versions [3.59,3.63) of GNU make to not export all variables.
1183# Otherwise a system limit (for SysV at least) may be exceeded.
1184.NOEXPORT:
1185