xref: /freebsd/contrib/ntp/sntp/Makefile.in (revision f5f40dd63bc7acbb5312b26ac1ea1103c12352a6)
1a466cc55SCy Schubert# Makefile.in generated by automake 1.16.5 from Makefile.am.
29c2daa00SOllivier Robert# @configure_input@
39c2daa00SOllivier Robert
4a466cc55SCy Schubert# Copyright (C) 1994-2021 Free Software Foundation, Inc.
5276da39aSCy Schubert
69c2daa00SOllivier Robert# This Makefile.in is free software; the Free Software Foundation
79c2daa00SOllivier Robert# gives unlimited permission to copy and/or distribute it,
89c2daa00SOllivier Robert# with or without modifications, as long as this notice is preserved.
99c2daa00SOllivier Robert
109c2daa00SOllivier Robert# This program is distributed in the hope that it will be useful,
119c2daa00SOllivier Robert# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
129c2daa00SOllivier Robert# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
139c2daa00SOllivier Robert# PARTICULAR PURPOSE.
149c2daa00SOllivier Robert
159c2daa00SOllivier Robert@SET_MAKE@
169c2daa00SOllivier Robert
17ea906c41SOllivier Robert# we traditionally installed software in bindir, while it should have gone
18ea906c41SOllivier Robert# in sbindir.  Now that we offer a choice, look in the "other" installation
19ea906c41SOllivier Robert# subdir to warn folks if there is another version there.
209c2daa00SOllivier Robert
212b15cb3dSCy Schubert
222b15cb3dSCy Schubert
232b15cb3dSCy Schubert
249c2daa00SOllivier RobertVPATH = @srcdir@
25276da39aSCy Schubertam__is_gnu_make = { \
26276da39aSCy Schubert  if test -z '$(MAKELEVEL)'; then \
27276da39aSCy Schubert    false; \
28276da39aSCy Schubert  elif test -n '$(MAKE_HOST)'; then \
29276da39aSCy Schubert    true; \
30276da39aSCy Schubert  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
31276da39aSCy Schubert    true; \
32276da39aSCy Schubert  else \
33276da39aSCy Schubert    false; \
34276da39aSCy Schubert  fi; \
35276da39aSCy Schubert}
36276da39aSCy Schubertam__make_running_with_option = \
37276da39aSCy Schubert  case $${target_option-} in \
38276da39aSCy Schubert      ?) ;; \
39276da39aSCy Schubert      *) echo "am__make_running_with_option: internal error: invalid" \
40276da39aSCy Schubert              "target option '$${target_option-}' specified" >&2; \
41276da39aSCy Schubert         exit 1;; \
42276da39aSCy Schubert  esac; \
43276da39aSCy Schubert  has_opt=no; \
44276da39aSCy Schubert  sane_makeflags=$$MAKEFLAGS; \
45276da39aSCy Schubert  if $(am__is_gnu_make); then \
46276da39aSCy Schubert    sane_makeflags=$$MFLAGS; \
47276da39aSCy Schubert  else \
48276da39aSCy Schubert    case $$MAKEFLAGS in \
49276da39aSCy Schubert      *\\[\ \	]*) \
50276da39aSCy Schubert        bs=\\; \
51276da39aSCy Schubert        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
52276da39aSCy Schubert          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
53276da39aSCy Schubert    esac; \
54276da39aSCy Schubert  fi; \
55276da39aSCy Schubert  skip_next=no; \
56276da39aSCy Schubert  strip_trailopt () \
57276da39aSCy Schubert  { \
58276da39aSCy Schubert    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
59276da39aSCy Schubert  }; \
60276da39aSCy Schubert  for flg in $$sane_makeflags; do \
61276da39aSCy Schubert    test $$skip_next = yes && { skip_next=no; continue; }; \
62276da39aSCy Schubert    case $$flg in \
63276da39aSCy Schubert      *=*|--*) continue;; \
64276da39aSCy Schubert        -*I) strip_trailopt 'I'; skip_next=yes;; \
65276da39aSCy Schubert      -*I?*) strip_trailopt 'I';; \
66276da39aSCy Schubert        -*O) strip_trailopt 'O'; skip_next=yes;; \
67276da39aSCy Schubert      -*O?*) strip_trailopt 'O';; \
68276da39aSCy Schubert        -*l) strip_trailopt 'l'; skip_next=yes;; \
69276da39aSCy Schubert      -*l?*) strip_trailopt 'l';; \
70276da39aSCy Schubert      -[dEDm]) skip_next=yes;; \
71276da39aSCy Schubert      -[JT]) skip_next=yes;; \
72276da39aSCy Schubert    esac; \
73276da39aSCy Schubert    case $$flg in \
74276da39aSCy Schubert      *$$target_option*) has_opt=yes; break;; \
75276da39aSCy Schubert    esac; \
76276da39aSCy Schubert  done; \
77276da39aSCy Schubert  test $$has_opt = yes
78276da39aSCy Schubertam__make_dryrun = (target_option=n; $(am__make_running_with_option))
79276da39aSCy Schubertam__make_keepgoing = (target_option=k; $(am__make_running_with_option))
809c2daa00SOllivier Robertpkgdatadir = $(datadir)/@PACKAGE@
819c2daa00SOllivier Robertpkgincludedir = $(includedir)/@PACKAGE@
82eb6d21b4SOllivier Robertpkglibdir = $(libdir)/@PACKAGE@
83eb6d21b4SOllivier Robertpkglibexecdir = $(libexecdir)/@PACKAGE@
849c2daa00SOllivier Robertam__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
859c2daa00SOllivier Robertinstall_sh_DATA = $(install_sh) -c -m 644
869c2daa00SOllivier Robertinstall_sh_PROGRAM = $(install_sh) -c
879c2daa00SOllivier Robertinstall_sh_SCRIPT = $(install_sh) -c
889c2daa00SOllivier RobertINSTALL_HEADER = $(INSTALL_DATA)
899c2daa00SOllivier Roberttransform = $(program_transform_name)
909c2daa00SOllivier RobertNORMAL_INSTALL = :
919c2daa00SOllivier RobertPRE_INSTALL = :
929c2daa00SOllivier RobertPOST_INSTALL = :
939c2daa00SOllivier RobertNORMAL_UNINSTALL = :
949c2daa00SOllivier RobertPRE_UNINSTALL = :
959c2daa00SOllivier RobertPOST_UNINSTALL = :
969c2daa00SOllivier Robertbuild_triplet = @build@
979c2daa00SOllivier Roberthost_triplet = @host@
982b15cb3dSCy SchubertEXTRA_PROGRAMS = sntp$(EXEEXT)
992b15cb3dSCy Schubert@BUILD_LIBEVENT_TRUE@am__append_1 = libevent
1009034852cSGleb Smirnoff@BUILD_LIBEVENT_FALSE@am__append_2 = "--enable-local-libevent"
1012b15cb3dSCy Schubert@NEED_LIBOPTS_TRUE@am__append_3 = libopts
102276da39aSCy Schubert@BUILD_SNTP_TRUE@am__append_4 = tests
103*f5f40dd6SCy Schubert@LIBNTP_SUBMAKES_TRUE@am__append_5 = check-libntp
104ea906c41SOllivier Robertsubdir = .
105ea906c41SOllivier RobertACLOCAL_M4 = $(top_srcdir)/aclocal.m4
106ea906c41SOllivier Robertam__aclocal_m4_deps = $(top_srcdir)/libopts/m4/libopts.m4 \
1072b15cb3dSCy Schubert	$(top_srcdir)/libopts/m4/stdnoreturn.m4 \
1082b15cb3dSCy Schubert	$(top_srcdir)/m4/hms_search_lib.m4 $(top_srcdir)/m4/libtool.m4 \
1092b15cb3dSCy Schubert	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
1102b15cb3dSCy Schubert	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
1112b15cb3dSCy Schubert	$(top_srcdir)/m4/ntp_cacheversion.m4 \
1122b15cb3dSCy Schubert	$(top_srcdir)/m4/ntp_compiler.m4 \
1132b15cb3dSCy Schubert	$(top_srcdir)/m4/ntp_crosscompile.m4 \
114*f5f40dd6SCy Schubert	$(top_srcdir)/m4/ntp_crypto_rand.m4 \
1152b15cb3dSCy Schubert	$(top_srcdir)/m4/ntp_debug.m4 $(top_srcdir)/m4/ntp_dir_sep.m4 \
1162b15cb3dSCy Schubert	$(top_srcdir)/m4/ntp_facilitynames.m4 \
117f0574f5cSXin LI	$(top_srcdir)/m4/ntp_harden.m4 $(top_srcdir)/m4/ntp_ipv6.m4 \
118f0574f5cSXin LI	$(top_srcdir)/m4/ntp_lib_m.m4 $(top_srcdir)/m4/ntp_libevent.m4 \
1192b15cb3dSCy Schubert	$(top_srcdir)/m4/ntp_libntp.m4 \
1202b15cb3dSCy Schubert	$(top_srcdir)/m4/ntp_lineeditlibs.m4 \
1212b15cb3dSCy Schubert	$(top_srcdir)/m4/ntp_locinfo.m4 \
1222b15cb3dSCy Schubert	$(top_srcdir)/m4/ntp_openssl.m4 \
1232b15cb3dSCy Schubert	$(top_srcdir)/m4/ntp_pkg_config.m4 \
1242b15cb3dSCy Schubert	$(top_srcdir)/m4/ntp_prog_cc.m4 $(top_srcdir)/m4/ntp_sntp.m4 \
1252b15cb3dSCy Schubert	$(top_srcdir)/m4/ntp_sysexits.m4 \
126276da39aSCy Schubert	$(top_srcdir)/m4/ntp_unitytest.m4 \
1272b15cb3dSCy Schubert	$(top_srcdir)/m4/ntp_ver_suffix.m4 \
128a25439b6SCy Schubert	$(top_srcdir)/m4/openldap-thread-check.m4 \
129a25439b6SCy Schubert	$(top_srcdir)/m4/openldap.m4 $(top_srcdir)/m4/os_cflags.m4 \
130e27abb66SXin LI	$(top_srcdir)/m4/snprintf.m4 \
131e27abb66SXin LI	$(top_srcdir)/m4/sntp_problemtests.m4 \
132e27abb66SXin LI	$(top_srcdir)/m4/version.m4 $(top_srcdir)/configure.ac
133ea906c41SOllivier Robertam__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
134ea906c41SOllivier Robert	$(ACLOCAL_M4)
135276da39aSCy SchubertDIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
136276da39aSCy Schubert	$(am__configure_deps) $(noinst_HEADERS) $(am__DIST_COMMON)
137ea906c41SOllivier Robertam__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
138eb6d21b4SOllivier Robert configure.lineno config.status.lineno
139ea906c41SOllivier Robertmkinstalldirs = $(install_sh) -d
140ea906c41SOllivier RobertCONFIG_HEADER = config.h
141ea906c41SOllivier RobertCONFIG_CLEAN_FILES =
142eb6d21b4SOllivier RobertCONFIG_CLEAN_VPATH_FILES =
143a466cc55SCy Schubertam__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" \
144a466cc55SCy Schubert	"$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" \
145a466cc55SCy Schubert	"$(DESTDIR)$(man8dir)" "$(DESTDIR)$(htmldir)"
146a466cc55SCy SchubertPROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(sbin_PROGRAMS)
1472b15cb3dSCy SchubertLIBRARIES = $(noinst_LIBRARIES)
1482b15cb3dSCy SchubertARFLAGS = cru
149276da39aSCy SchubertAM_V_AR = $(am__v_AR_@AM_V@)
150276da39aSCy Schubertam__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
1512b15cb3dSCy Schubertam__v_AR_0 = @echo "  AR      " $@;
152276da39aSCy Schubertam__v_AR_1 =
1532b15cb3dSCy Schubertlibsntp_a_AR = $(AR) $(ARFLAGS)
1542b15cb3dSCy Schubertlibsntp_a_LIBADD =
155ea906c41SOllivier Robertam__objects_1 =
1562b15cb3dSCy Schubertam_libsntp_a_OBJECTS = crypto.$(OBJEXT) kod_management.$(OBJEXT) \
1572b15cb3dSCy Schubert	log.$(OBJEXT) main.$(OBJEXT) networking.$(OBJEXT) \
1582b15cb3dSCy Schubert	sntp-opts.$(OBJEXT) utilities.$(OBJEXT) $(am__objects_1)
1592b15cb3dSCy Schubertlibsntp_a_OBJECTS = $(am_libsntp_a_OBJECTS)
1602b15cb3dSCy Schubertam_sntp_OBJECTS = sntp.$(OBJEXT) $(am__objects_1)
161a466cc55SCy Schubertnodist_sntp_OBJECTS = version.$(OBJEXT) $(am__objects_1)
162a466cc55SCy Schubertsntp_OBJECTS = $(am_sntp_OBJECTS) $(nodist_sntp_OBJECTS)
163ea906c41SOllivier Robertsntp_LDADD = $(LDADD)
164ea906c41SOllivier Robertam__DEPENDENCIES_1 =
165a466cc55SCy Schubertsntp_DEPENDENCIES = libsntp.a $(am__DEPENDENCIES_1) \
1662b15cb3dSCy Schubert	$(am__DEPENDENCIES_1) ../libntp/libntp.a $(am__DEPENDENCIES_1) \
1672b15cb3dSCy Schubert	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
1682b15cb3dSCy Schubert	$(am__DEPENDENCIES_1)
169276da39aSCy SchubertAM_V_lt = $(am__v_lt_@AM_V@)
170276da39aSCy Schubertam__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
1712b15cb3dSCy Schubertam__v_lt_0 = --silent
172276da39aSCy Schubertam__v_lt_1 =
173276da39aSCy SchubertAM_V_P = $(am__v_P_@AM_V@)
174276da39aSCy Schubertam__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
175276da39aSCy Schubertam__v_P_0 = false
176276da39aSCy Schubertam__v_P_1 = :
177276da39aSCy SchubertAM_V_GEN = $(am__v_GEN_@AM_V@)
178276da39aSCy Schubertam__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
179276da39aSCy Schubertam__v_GEN_0 = @echo "  GEN     " $@;
180276da39aSCy Schubertam__v_GEN_1 =
181276da39aSCy SchubertAM_V_at = $(am__v_at_@AM_V@)
182276da39aSCy Schubertam__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
183276da39aSCy Schubertam__v_at_0 = @
184276da39aSCy Schubertam__v_at_1 =
185eb6d21b4SOllivier RobertDEFAULT_INCLUDES = -I.@am__isrc@
1862b15cb3dSCy Schubertdepcomp = $(SHELL) $(top_srcdir)/libevent/build-aux/depcomp
187a466cc55SCy Schubertam__maybe_remake_depfiles = depfiles
188a466cc55SCy Schubertam__depfiles_remade = ./$(DEPDIR)/crypto.Po \
189a466cc55SCy Schubert	./$(DEPDIR)/kod_management.Po ./$(DEPDIR)/log.Po \
190a466cc55SCy Schubert	./$(DEPDIR)/main.Po ./$(DEPDIR)/networking.Po \
191a466cc55SCy Schubert	./$(DEPDIR)/sntp-opts.Po ./$(DEPDIR)/sntp.Po \
192a466cc55SCy Schubert	./$(DEPDIR)/utilities.Po ./$(DEPDIR)/version.Po
193eb6d21b4SOllivier Robertam__mv = mv -f
194ea906c41SOllivier RobertCOMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
195ea906c41SOllivier Robert	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
1962b15cb3dSCy SchubertLTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
1972b15cb3dSCy Schubert	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
1982b15cb3dSCy Schubert	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
1992b15cb3dSCy Schubert	$(AM_CFLAGS) $(CFLAGS)
200276da39aSCy SchubertAM_V_CC = $(am__v_CC_@AM_V@)
201276da39aSCy Schubertam__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
2022b15cb3dSCy Schubertam__v_CC_0 = @echo "  CC      " $@;
203276da39aSCy Schubertam__v_CC_1 =
204ea906c41SOllivier RobertCCLD = $(CC)
2052b15cb3dSCy SchubertLINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
2062b15cb3dSCy Schubert	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
2072b15cb3dSCy Schubert	$(AM_LDFLAGS) $(LDFLAGS) -o $@
208276da39aSCy SchubertAM_V_CCLD = $(am__v_CCLD_@AM_V@)
209276da39aSCy Schubertam__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
2102b15cb3dSCy Schubertam__v_CCLD_0 = @echo "  CCLD    " $@;
211276da39aSCy Schubertam__v_CCLD_1 =
212a466cc55SCy SchubertSOURCES = $(libsntp_a_SOURCES) $(sntp_SOURCES) $(nodist_sntp_SOURCES)
2132b15cb3dSCy SchubertDIST_SOURCES = $(libsntp_a_SOURCES) $(sntp_SOURCES)
214276da39aSCy SchubertRECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
215276da39aSCy Schubert	ctags-recursive dvi-recursive html-recursive info-recursive \
216276da39aSCy Schubert	install-data-recursive install-dvi-recursive \
217276da39aSCy Schubert	install-exec-recursive install-html-recursive \
218276da39aSCy Schubert	install-info-recursive install-pdf-recursive \
219276da39aSCy Schubert	install-ps-recursive install-recursive installcheck-recursive \
220276da39aSCy Schubert	installdirs-recursive pdf-recursive ps-recursive \
221276da39aSCy Schubert	tags-recursive uninstall-recursive
222276da39aSCy Schubertam__can_run_installinfo = \
223276da39aSCy Schubert  case $$AM_UPDATE_INFO_DIR in \
224276da39aSCy Schubert    n|no|NO) false;; \
225276da39aSCy Schubert    *) (install-info --version) >/dev/null 2>&1;; \
226276da39aSCy Schubert  esac
227eb6d21b4SOllivier Robertam__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
228eb6d21b4SOllivier Robertam__vpath_adj = case $$p in \
229eb6d21b4SOllivier Robert    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
230eb6d21b4SOllivier Robert    *) f=$$p;; \
231eb6d21b4SOllivier Robert  esac;
232eb6d21b4SOllivier Robertam__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
233eb6d21b4SOllivier Robertam__install_max = 40
234eb6d21b4SOllivier Robertam__nobase_strip_setup = \
235eb6d21b4SOllivier Robert  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
236eb6d21b4SOllivier Robertam__nobase_strip = \
237eb6d21b4SOllivier Robert  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
238eb6d21b4SOllivier Robertam__nobase_list = $(am__nobase_strip_setup); \
239eb6d21b4SOllivier Robert  for p in $$list; do echo "$$p $$p"; done | \
240eb6d21b4SOllivier Robert  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
241eb6d21b4SOllivier Robert  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
242eb6d21b4SOllivier Robert    if (++n[$$2] == $(am__install_max)) \
243eb6d21b4SOllivier Robert      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
244eb6d21b4SOllivier Robert    END { for (dir in files) print dir, files[dir] }'
245eb6d21b4SOllivier Robertam__base_list = \
246eb6d21b4SOllivier Robert  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
247eb6d21b4SOllivier Robert  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
248276da39aSCy Schubertam__uninstall_files_from_dir = { \
249276da39aSCy Schubert  test -z "$$files" \
250276da39aSCy Schubert    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
251276da39aSCy Schubert    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
252276da39aSCy Schubert         $(am__cd) "$$dir" && rm -f $$files; }; \
253276da39aSCy Schubert  }
254ea906c41SOllivier Robertman1dir = $(mandir)/man1
2552b15cb3dSCy Schubertman8dir = $(mandir)/man8
256ea906c41SOllivier RobertNROFF = nroff
2572b15cb3dSCy SchubertMANS = $(man1_MANS) $(man8_MANS) $(man_MANS)
2582b15cb3dSCy SchubertDATA = $(html_DATA) $(noinst_DATA)
2592b15cb3dSCy SchubertHEADERS = $(noinst_HEADERS)
260eb6d21b4SOllivier RobertRECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
261eb6d21b4SOllivier Robert  distclean-recursive maintainer-clean-recursive
262276da39aSCy Schubertam__recursive_targets = \
263276da39aSCy Schubert  $(RECURSIVE_TARGETS) \
264276da39aSCy Schubert  $(RECURSIVE_CLEAN_TARGETS) \
265276da39aSCy Schubert  $(am__extra_recursive_targets)
266276da39aSCy SchubertAM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
267a466cc55SCy Schubert	cscope distdir distdir-am dist dist-all distcheck
268a466cc55SCy Schubertam__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
269a466cc55SCy Schubert	config.h.in
270276da39aSCy Schubert# Read a list of newline-separated strings from the standard input,
271276da39aSCy Schubert# and print each of them once, without duplicates.  Input order is
272276da39aSCy Schubert# *not* preserved.
273276da39aSCy Schubertam__uniquify_input = $(AWK) '\
274276da39aSCy Schubert  BEGIN { nonempty = 0; } \
275276da39aSCy Schubert  { items[$$0] = 1; nonempty = 1; } \
276276da39aSCy Schubert  END { if (nonempty) { for (i in items) print i; }; } \
277276da39aSCy Schubert'
278276da39aSCy Schubert# Make sure the list of sources is unique.  This is necessary because,
279276da39aSCy Schubert# e.g., the same source file might be shared among _SOURCES variables
280276da39aSCy Schubert# for different programs/libraries.
281276da39aSCy Schubertam__define_uniq_tagged_files = \
282276da39aSCy Schubert  list='$(am__tagged_files)'; \
283276da39aSCy Schubert  unique=`for i in $$list; do \
284276da39aSCy Schubert    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
285276da39aSCy Schubert  done | $(am__uniquify_input)`
2869034852cSGleb SmirnoffDIST_SUBDIRS = include scripts unity libevent libopts tests
287276da39aSCy Schubertam__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
288276da39aSCy Schubert	$(top_srcdir)/bincheck.mf $(top_srcdir)/check-libntp.mf \
289276da39aSCy Schubert	$(top_srcdir)/check-libopts.mf $(top_srcdir)/depsver.mf \
290276da39aSCy Schubert	$(top_srcdir)/includes.mf \
291276da39aSCy Schubert	$(top_srcdir)/libevent/build-aux/ar-lib \
292276da39aSCy Schubert	$(top_srcdir)/libevent/build-aux/compile \
293276da39aSCy Schubert	$(top_srcdir)/libevent/build-aux/config.guess \
294276da39aSCy Schubert	$(top_srcdir)/libevent/build-aux/config.sub \
295276da39aSCy Schubert	$(top_srcdir)/libevent/build-aux/depcomp \
296276da39aSCy Schubert	$(top_srcdir)/libevent/build-aux/install-sh \
297276da39aSCy Schubert	$(top_srcdir)/libevent/build-aux/ltmain.sh \
298f0574f5cSXin LI	$(top_srcdir)/libevent/build-aux/missing \
299f0574f5cSXin LI	libevent/build-aux/ar-lib libevent/build-aux/compile \
300f0574f5cSXin LI	libevent/build-aux/config.guess libevent/build-aux/config.sub \
301f0574f5cSXin LI	libevent/build-aux/depcomp libevent/build-aux/install-sh \
302f0574f5cSXin LI	libevent/build-aux/ltmain.sh libevent/build-aux/missing \
303f0574f5cSXin LI	libevent/build-aux/ylwrap
304ea906c41SOllivier RobertDISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
305ea906c41SOllivier Robertdistdir = $(PACKAGE)-$(VERSION)
306ea906c41SOllivier Roberttop_distdir = $(distdir)
307ea906c41SOllivier Robertam__remove_distdir = \
308276da39aSCy Schubert  if test -d "$(distdir)"; then \
309276da39aSCy Schubert    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
310276da39aSCy Schubert      && rm -rf "$(distdir)" \
311276da39aSCy Schubert      || { sleep 5 && rm -rf "$(distdir)"; }; \
312276da39aSCy Schubert  else :; fi
313276da39aSCy Schubertam__post_remove_distdir = $(am__remove_distdir)
314eb6d21b4SOllivier Robertam__relativize = \
315eb6d21b4SOllivier Robert  dir0=`pwd`; \
316eb6d21b4SOllivier Robert  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
317eb6d21b4SOllivier Robert  sed_rest='s,^[^/]*/*,,'; \
318eb6d21b4SOllivier Robert  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
319eb6d21b4SOllivier Robert  sed_butlast='s,/*[^/]*$$,,'; \
320eb6d21b4SOllivier Robert  while test -n "$$dir1"; do \
321eb6d21b4SOllivier Robert    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
322eb6d21b4SOllivier Robert    if test "$$first" != "."; then \
323eb6d21b4SOllivier Robert      if test "$$first" = ".."; then \
324eb6d21b4SOllivier Robert        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
325eb6d21b4SOllivier Robert        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
326eb6d21b4SOllivier Robert      else \
327eb6d21b4SOllivier Robert        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
328eb6d21b4SOllivier Robert        if test "$$first2" = "$$first"; then \
329eb6d21b4SOllivier Robert          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
330eb6d21b4SOllivier Robert        else \
331eb6d21b4SOllivier Robert          dir2="../$$dir2"; \
332eb6d21b4SOllivier Robert        fi; \
333eb6d21b4SOllivier Robert        dir0="$$dir0"/"$$first"; \
334eb6d21b4SOllivier Robert      fi; \
335eb6d21b4SOllivier Robert    fi; \
336eb6d21b4SOllivier Robert    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
337eb6d21b4SOllivier Robert  done; \
338eb6d21b4SOllivier Robert  reldir="$$dir2"
339ea906c41SOllivier RobertDIST_ARCHIVES = $(distdir).tar.gz
340ea906c41SOllivier RobertGZIP_ENV = --best
341276da39aSCy SchubertDIST_TARGETS = dist-gzip
342a466cc55SCy Schubert# Exists only to be overridden by the user if desired.
343a466cc55SCy SchubertAM_DISTCHECK_DVI_TARGET = dvi
344ea906c41SOllivier Robertdistuninstallcheck_listfiles = find . -type f -print
345276da39aSCy Schubertam__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
346276da39aSCy Schubert  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
347ea906c41SOllivier Robertdistcleancheck_listfiles = find . -type f -print
3489c2daa00SOllivier RobertACLOCAL = @ACLOCAL@
3492b15cb3dSCy SchubertALLOCA = @ALLOCA@
3509c2daa00SOllivier RobertAMTAR = @AMTAR@
3512b15cb3dSCy SchubertAM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
352ea906c41SOllivier RobertAR = @AR@
3539c2daa00SOllivier RobertAUTOCONF = @AUTOCONF@
3549c2daa00SOllivier RobertAUTOHEADER = @AUTOHEADER@
3559c2daa00SOllivier RobertAUTOMAKE = @AUTOMAKE@
3569c2daa00SOllivier RobertAWK = @AWK@
3579034852cSGleb SmirnoffBUILD_THREAD = @BUILD_THREAD@
3582b15cb3dSCy SchubertCALC_TICKADJ_DB = @CALC_TICKADJ_DB@
3592b15cb3dSCy SchubertCALC_TICKADJ_DL = @CALC_TICKADJ_DL@
3602b15cb3dSCy SchubertCALC_TICKADJ_DS = @CALC_TICKADJ_DS@
3612b15cb3dSCy SchubertCALC_TICKADJ_MS = @CALC_TICKADJ_MS@
3622b15cb3dSCy SchubertCALC_TICKADJ_NI = @CALC_TICKADJ_NI@
3639c2daa00SOllivier RobertCC = @CC@
3649c2daa00SOllivier RobertCCDEPMODE = @CCDEPMODE@
365a466cc55SCy SchubertCC_NOFORMAT = @CC_NOFORMAT@
3669c2daa00SOllivier RobertCFLAGS = @CFLAGS@
3679034852cSGleb SmirnoffCFLAGS_LIBEVENT = @CFLAGS_LIBEVENT@
3682b15cb3dSCy SchubertCFLAGS_NTP = @CFLAGS_NTP@
3699c2daa00SOllivier RobertCPP = @CPP@
3709c2daa00SOllivier RobertCPPFLAGS = @CPPFLAGS@
3712b15cb3dSCy SchubertCPPFLAGS_LIBEVENT = @CPPFLAGS_LIBEVENT@
3722b15cb3dSCy SchubertCPPFLAGS_NTP = @CPPFLAGS_NTP@
373a466cc55SCy SchubertCSCOPE = @CSCOPE@
374a466cc55SCy SchubertCTAGS = @CTAGS@
3759c2daa00SOllivier RobertCYGPATH_W = @CYGPATH_W@
3769c2daa00SOllivier RobertDEFS = @DEFS@
3779c2daa00SOllivier RobertDEPDIR = @DEPDIR@
3782b15cb3dSCy SchubertDLLTOOL = @DLLTOOL@
3792b15cb3dSCy SchubertDSYMUTIL = @DSYMUTIL@
3802b15cb3dSCy SchubertDUMPBIN = @DUMPBIN@
3819c2daa00SOllivier RobertECHO_C = @ECHO_C@
3829c2daa00SOllivier RobertECHO_N = @ECHO_N@
3839c2daa00SOllivier RobertECHO_T = @ECHO_T@
3842b15cb3dSCy SchubertEDITLINE_LIBS = @EDITLINE_LIBS@
3859c2daa00SOllivier RobertEGREP = @EGREP@
386a466cc55SCy SchubertETAGS = @ETAGS@
3879c2daa00SOllivier RobertEXEEXT = @EXEEXT@
3882b15cb3dSCy SchubertFGREP = @FGREP@
389eb6d21b4SOllivier RobertGREP = @GREP@
390eb6d21b4SOllivier RobertHAVE_INLINE = @HAVE_INLINE@
391eb6d21b4SOllivier RobertINSTALL = @INSTALL@
3929c2daa00SOllivier RobertINSTALL_DATA = @INSTALL_DATA@
3939c2daa00SOllivier RobertINSTALL_PROGRAM = @INSTALL_PROGRAM@
3949c2daa00SOllivier RobertINSTALL_SCRIPT = @INSTALL_SCRIPT@
3959c2daa00SOllivier RobertINSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
3962b15cb3dSCy SchubertLD = @LD@
3972b15cb3dSCy SchubertLDADD_LIBEVENT = @LDADD_LIBEVENT@
3982b15cb3dSCy SchubertLDADD_LIBNTP = @LDADD_LIBNTP@
3992b15cb3dSCy SchubertLDADD_LIBUTIL = @LDADD_LIBUTIL@
4002b15cb3dSCy SchubertLDADD_NTP = @LDADD_NTP@
4019c2daa00SOllivier RobertLDFLAGS = @LDFLAGS@
4022b15cb3dSCy SchubertLDFLAGS_NTP = @LDFLAGS_NTP@
4032b15cb3dSCy SchubertLIBISC_PTHREADS_NOTHREADS = @LIBISC_PTHREADS_NOTHREADS@
4042b15cb3dSCy SchubertLIBM = @LIBM@
4059c2daa00SOllivier RobertLIBOBJS = @LIBOBJS@
406ea906c41SOllivier RobertLIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
407ea906c41SOllivier RobertLIBOPTS_DIR = @LIBOPTS_DIR@
408ea906c41SOllivier RobertLIBOPTS_LDADD = @LIBOPTS_LDADD@
4099c2daa00SOllivier RobertLIBS = @LIBS@
410ea906c41SOllivier RobertLIBTOOL = @LIBTOOL@
4112b15cb3dSCy SchubertLIBTOOL_DEPS = @LIBTOOL_DEPS@
4122b15cb3dSCy SchubertLIB_SYSLOG = @LIB_SYSLOG@
4132b15cb3dSCy SchubertLIPO = @LIPO@
414ea906c41SOllivier RobertLN_S = @LN_S@
4159034852cSGleb SmirnoffLTHREAD_LIBS = @LTHREAD_LIBS@
4169c2daa00SOllivier RobertLTLIBOBJS = @LTLIBOBJS@
417f0574f5cSXin LILT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
4189c2daa00SOllivier RobertMAKEINFO = @MAKEINFO@
4192b15cb3dSCy SchubertMANIFEST_TOOL = @MANIFEST_TOOL@
4202b15cb3dSCy SchubertMANTAGFMT = @MANTAGFMT@
421eb6d21b4SOllivier RobertMKDIR_P = @MKDIR_P@
4222b15cb3dSCy SchubertNM = @NM@
4232b15cb3dSCy SchubertNMEDIT = @NMEDIT@
4242b15cb3dSCy SchubertNTPDATE_DB = @NTPDATE_DB@
4252b15cb3dSCy SchubertNTPDATE_DL = @NTPDATE_DL@
4262b15cb3dSCy SchubertNTPDATE_DS = @NTPDATE_DS@
4272b15cb3dSCy SchubertNTPDATE_MS = @NTPDATE_MS@
4282b15cb3dSCy SchubertNTPDATE_NI = @NTPDATE_NI@
4292b15cb3dSCy SchubertNTPDC_DB = @NTPDC_DB@
4302b15cb3dSCy SchubertNTPDC_DL = @NTPDC_DL@
4312b15cb3dSCy SchubertNTPDC_DS = @NTPDC_DS@
4322b15cb3dSCy SchubertNTPDC_MS = @NTPDC_MS@
4332b15cb3dSCy SchubertNTPDC_NI = @NTPDC_NI@
4342b15cb3dSCy SchubertNTPDSIM_DB = @NTPDSIM_DB@
4352b15cb3dSCy SchubertNTPDSIM_DL = @NTPDSIM_DL@
4362b15cb3dSCy SchubertNTPDSIM_DS = @NTPDSIM_DS@
4372b15cb3dSCy SchubertNTPDSIM_MS = @NTPDSIM_MS@
4382b15cb3dSCy SchubertNTPDSIM_NI = @NTPDSIM_NI@
4392b15cb3dSCy SchubertNTPD_DB = @NTPD_DB@
4402b15cb3dSCy SchubertNTPD_DL = @NTPD_DL@
4412b15cb3dSCy SchubertNTPD_DS = @NTPD_DS@
4422b15cb3dSCy SchubertNTPD_MS = @NTPD_MS@
4432b15cb3dSCy SchubertNTPD_NI = @NTPD_NI@
4442b15cb3dSCy SchubertNTPQ_DB = @NTPQ_DB@
4452b15cb3dSCy SchubertNTPQ_DL = @NTPQ_DL@
4462b15cb3dSCy SchubertNTPQ_DS = @NTPQ_DS@
4472b15cb3dSCy SchubertNTPQ_MS = @NTPQ_MS@
4482b15cb3dSCy SchubertNTPQ_NI = @NTPQ_NI@
4492b15cb3dSCy SchubertNTPSNMPD_DB = @NTPSNMPD_DB@
4502b15cb3dSCy SchubertNTPSNMPD_DL = @NTPSNMPD_DL@
4512b15cb3dSCy SchubertNTPSNMPD_DS = @NTPSNMPD_DS@
4522b15cb3dSCy SchubertNTPSNMPD_MS = @NTPSNMPD_MS@
4532b15cb3dSCy SchubertNTPSNMPD_NI = @NTPSNMPD_NI@
4542b15cb3dSCy SchubertNTPSWEEP_DB = @NTPSWEEP_DB@
4552b15cb3dSCy SchubertNTPSWEEP_DL = @NTPSWEEP_DL@
4562b15cb3dSCy SchubertNTPSWEEP_DS = @NTPSWEEP_DS@
4572b15cb3dSCy SchubertNTPSWEEP_MS = @NTPSWEEP_MS@
4582b15cb3dSCy SchubertNTPSWEEP_NI = @NTPSWEEP_NI@
4592b15cb3dSCy SchubertNTPTIME_DB = @NTPTIME_DB@
4602b15cb3dSCy SchubertNTPTIME_DL = @NTPTIME_DL@
4612b15cb3dSCy SchubertNTPTIME_DS = @NTPTIME_DS@
4622b15cb3dSCy SchubertNTPTIME_MS = @NTPTIME_MS@
4632b15cb3dSCy SchubertNTPTIME_NI = @NTPTIME_NI@
4642b15cb3dSCy SchubertNTPTRACE_DB = @NTPTRACE_DB@
4652b15cb3dSCy SchubertNTPTRACE_DL = @NTPTRACE_DL@
4662b15cb3dSCy SchubertNTPTRACE_DS = @NTPTRACE_DS@
4672b15cb3dSCy SchubertNTPTRACE_MS = @NTPTRACE_MS@
4682b15cb3dSCy SchubertNTPTRACE_NI = @NTPTRACE_NI@
4692b15cb3dSCy SchubertNTP_FORCE_LIBEVENT_DIST = @NTP_FORCE_LIBEVENT_DIST@
470f0574f5cSXin LINTP_HARD_CFLAGS = @NTP_HARD_CFLAGS@
471f0574f5cSXin LINTP_HARD_CPPFLAGS = @NTP_HARD_CPPFLAGS@
472f0574f5cSXin LINTP_HARD_LDFLAGS = @NTP_HARD_LDFLAGS@
4732b15cb3dSCy SchubertNTP_KEYGEN_DB = @NTP_KEYGEN_DB@
4742b15cb3dSCy SchubertNTP_KEYGEN_DL = @NTP_KEYGEN_DL@
4752b15cb3dSCy SchubertNTP_KEYGEN_DS = @NTP_KEYGEN_DS@
4762b15cb3dSCy SchubertNTP_KEYGEN_MS = @NTP_KEYGEN_MS@
4772b15cb3dSCy SchubertNTP_KEYGEN_NI = @NTP_KEYGEN_NI@
4782b15cb3dSCy SchubertNTP_WAIT_DB = @NTP_WAIT_DB@
4792b15cb3dSCy SchubertNTP_WAIT_DL = @NTP_WAIT_DL@
4802b15cb3dSCy SchubertNTP_WAIT_DS = @NTP_WAIT_DS@
4812b15cb3dSCy SchubertNTP_WAIT_MS = @NTP_WAIT_MS@
4822b15cb3dSCy SchubertNTP_WAIT_NI = @NTP_WAIT_NI@
4832b15cb3dSCy SchubertOBJDUMP = @OBJDUMP@
4849c2daa00SOllivier RobertOBJEXT = @OBJEXT@
4852b15cb3dSCy SchubertOTOOL = @OTOOL@
4862b15cb3dSCy SchubertOTOOL64 = @OTOOL64@
4879c2daa00SOllivier RobertPACKAGE = @PACKAGE@
4889c2daa00SOllivier RobertPACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
4899c2daa00SOllivier RobertPACKAGE_NAME = @PACKAGE_NAME@
4909c2daa00SOllivier RobertPACKAGE_STRING = @PACKAGE_STRING@
4919c2daa00SOllivier RobertPACKAGE_TARNAME = @PACKAGE_TARNAME@
492eb6d21b4SOllivier RobertPACKAGE_URL = @PACKAGE_URL@
4939c2daa00SOllivier RobertPACKAGE_VERSION = @PACKAGE_VERSION@
494*f5f40dd6SCy SchubertPATH_OPENSSL = @PATH_OPENSSL@
495276da39aSCy SchubertPATH_RUBY = @PATH_RUBY@
4969c2daa00SOllivier RobertPATH_SEPARATOR = @PATH_SEPARATOR@
4972b15cb3dSCy SchubertPKG_CONFIG = @PKG_CONFIG@
4982b15cb3dSCy SchubertPOSIX_SHELL = @POSIX_SHELL@
4992b15cb3dSCy SchubertPTHREAD_LIBS = @PTHREAD_LIBS@
500ea906c41SOllivier RobertRANLIB = @RANLIB@
5012b15cb3dSCy SchubertSED = @SED@
5029c2daa00SOllivier RobertSET_MAKE = @SET_MAKE@
5039c2daa00SOllivier RobertSHELL = @SHELL@
5042b15cb3dSCy SchubertSNTP = @SNTP@
5052b15cb3dSCy SchubertSNTP_DB = @SNTP_DB@
5062b15cb3dSCy SchubertSNTP_DL = @SNTP_DL@
5072b15cb3dSCy SchubertSNTP_DS = @SNTP_DS@
5082b15cb3dSCy SchubertSNTP_MS = @SNTP_MS@
5092b15cb3dSCy SchubertSNTP_NI = @SNTP_NI@
5102b15cb3dSCy SchubertSTDNORETURN_H = @STDNORETURN_H@
5119c2daa00SOllivier RobertSTRIP = @STRIP@
5122b15cb3dSCy SchubertTICKADJ_DB = @TICKADJ_DB@
5132b15cb3dSCy SchubertTICKADJ_DL = @TICKADJ_DL@
5142b15cb3dSCy SchubertTICKADJ_DS = @TICKADJ_DS@
5152b15cb3dSCy SchubertTICKADJ_MS = @TICKADJ_MS@
5162b15cb3dSCy SchubertTICKADJ_NI = @TICKADJ_NI@
5172b15cb3dSCy SchubertTIMETRIM_DB = @TIMETRIM_DB@
5182b15cb3dSCy SchubertTIMETRIM_DL = @TIMETRIM_DL@
5192b15cb3dSCy SchubertTIMETRIM_DS = @TIMETRIM_DS@
5202b15cb3dSCy SchubertTIMETRIM_MS = @TIMETRIM_MS@
5212b15cb3dSCy SchubertTIMETRIM_NI = @TIMETRIM_NI@
522a25439b6SCy SchubertUPDATE_LEAP_DB = @UPDATE_LEAP_DB@
523a25439b6SCy SchubertUPDATE_LEAP_DL = @UPDATE_LEAP_DL@
524a25439b6SCy SchubertUPDATE_LEAP_DS = @UPDATE_LEAP_DS@
525a25439b6SCy SchubertUPDATE_LEAP_MS = @UPDATE_LEAP_MS@
526a25439b6SCy SchubertUPDATE_LEAP_NI = @UPDATE_LEAP_NI@
5279c2daa00SOllivier RobertVERSION = @VERSION@
5282b15cb3dSCy SchubertVER_SUFFIX = @VER_SUFFIX@
529eb6d21b4SOllivier Robertabs_builddir = @abs_builddir@
530eb6d21b4SOllivier Robertabs_srcdir = @abs_srcdir@
531eb6d21b4SOllivier Robertabs_top_builddir = @abs_top_builddir@
532eb6d21b4SOllivier Robertabs_top_srcdir = @abs_top_srcdir@
5332b15cb3dSCy Schubertac_ct_AR = @ac_ct_AR@
5349c2daa00SOllivier Robertac_ct_CC = @ac_ct_CC@
5352b15cb3dSCy Schubertac_ct_DUMPBIN = @ac_ct_DUMPBIN@
5369c2daa00SOllivier Robertam__include = @am__include@
5379c2daa00SOllivier Robertam__leading_dot = @am__leading_dot@
5389c2daa00SOllivier Robertam__quote = @am__quote@
539ea906c41SOllivier Robertam__tar = @am__tar@
540ea906c41SOllivier Robertam__untar = @am__untar@
5412b15cb3dSCy Schubertbindir = @bindir@
5429c2daa00SOllivier Robertbuild = @build@
5439c2daa00SOllivier Robertbuild_alias = @build_alias@
5449c2daa00SOllivier Robertbuild_cpu = @build_cpu@
5459c2daa00SOllivier Robertbuild_os = @build_os@
5469c2daa00SOllivier Robertbuild_vendor = @build_vendor@
547eb6d21b4SOllivier Robertbuilddir = @builddir@
5489c2daa00SOllivier Robertdatadir = @datadir@
549eb6d21b4SOllivier Robertdatarootdir = @datarootdir@
550eb6d21b4SOllivier Robertdocdir = @docdir@
551eb6d21b4SOllivier Robertdvidir = @dvidir@
5529c2daa00SOllivier Robertexec_prefix = @exec_prefix@
5539c2daa00SOllivier Roberthost = @host@
5549c2daa00SOllivier Roberthost_alias = @host_alias@
5559c2daa00SOllivier Roberthost_cpu = @host_cpu@
5569c2daa00SOllivier Roberthost_os = @host_os@
5579c2daa00SOllivier Roberthost_vendor = @host_vendor@
558eb6d21b4SOllivier Roberthtmldir = @htmldir@
5599c2daa00SOllivier Robertincludedir = @includedir@
5609c2daa00SOllivier Robertinfodir = @infodir@
5619c2daa00SOllivier Robertinstall_sh = @install_sh@
5629c2daa00SOllivier Robertlibdir = @libdir@
5639c2daa00SOllivier Robertlibexecdir = @libexecdir@
564eb6d21b4SOllivier Robertlocaledir = @localedir@
5659c2daa00SOllivier Robertlocalstatedir = @localstatedir@
5669c2daa00SOllivier Robertmandir = @mandir@
567ea906c41SOllivier Robertmkdir_p = @mkdir_p@
5689c2daa00SOllivier Robertoldincludedir = @oldincludedir@
569eb6d21b4SOllivier Robertpdfdir = @pdfdir@
5709c2daa00SOllivier Robertprefix = @prefix@
5719c2daa00SOllivier Robertprogram_transform_name = @program_transform_name@
572eb6d21b4SOllivier Robertpsdir = @psdir@
573a466cc55SCy Schubertrunstatedir = @runstatedir@
5749c2daa00SOllivier Robertsbindir = @sbindir@
5759c2daa00SOllivier Robertsharedstatedir = @sharedstatedir@
576eb6d21b4SOllivier Robertsrcdir = @srcdir@
5772b15cb3dSCy Schubertsubdirs = @subdirs@
5789c2daa00SOllivier Robertsysconfdir = @sysconfdir@
5799c2daa00SOllivier Roberttarget_alias = @target_alias@
580eb6d21b4SOllivier Roberttop_build_prefix = @top_build_prefix@
581eb6d21b4SOllivier Roberttop_builddir = @top_builddir@
582eb6d21b4SOllivier Roberttop_srcdir = @top_srcdir@
5832b15cb3dSCy SchubertACLOCAL_AMFLAGS = -I m4 -I libevent/m4 -I libopts/m4
584ea906c41SOllivier RobertNULL =
585f0574f5cSXin LIAM_CFLAGS = $(CFLAGS_NTP) $(NTP_HARD_CFLAGS)
5862b15cb3dSCy SchubertAM_CPPFLAGS = $(SNTP_INCS) $(LIBOPTS_CFLAGS) $(CPPFLAGS_LIBEVENT) \
587f0574f5cSXin LI	$(CPPFLAGS_NTP) $(NTP_HARD_CPPFLAGS)
588f0574f5cSXin LIAM_LDFLAGS = $(LDFLAGS_NTP) $(NTP_HARD_LDFLAGS)
589a466cc55SCy SchubertLDADD = libsntp.a $(LIBOPTS_LDADD) $(LDADD_LIBEVENT) \
5902b15cb3dSCy Schubert	../libntp/libntp.a $(LDADD_LIBNTP) $(LIBM) $(PTHREAD_LIBS) \
5912b15cb3dSCy Schubert	$(LDADD_NTP)
5922b15cb3dSCy Schubertrun_ag = cd $(srcdir) &&	env PATH="$(abs_builddir):$(PATH)" AUTOGEN_DNE_DATE=-D	\
5932b15cb3dSCy Schubert		autogen -L include -L ag-tpl --writable
5942b15cb3dSCy Schubert
5952b15cb3dSCy Schubertstd_def_list = \
5962b15cb3dSCy Schubert	$(srcdir)/include/debug-opt.def			\
5972b15cb3dSCy Schubert	$(srcdir)/include/autogen-version.def 		\
5982b15cb3dSCy Schubert	$(srcdir)/include/copyright.def 		\
5992b15cb3dSCy Schubert	$(srcdir)/include/homerc.def 			\
6002b15cb3dSCy Schubert	$(srcdir)/include/ntp.lic 			\
6012b15cb3dSCy Schubert	$(srcdir)/include/version.def			\
602ea906c41SOllivier Robert	$(NULL)
6039c2daa00SOllivier Robert
6042b15cb3dSCy Schubertbin_PROGRAMS = @SNTP_DB@
6052b15cb3dSCy Schubertlibexec_PROGRAMS = @SNTP_DL@
6062b15cb3dSCy Schubertsbin_PROGRAMS = @SNTP_DS@
607276da39aSCy SchubertSUBDIRS = include scripts unity $(am__append_1) $(am__append_3) \
6082b15cb3dSCy Schubert	$(am__append_4)
6099034852cSGleb SmirnoffDIST_FAIL = $(am__append_2)
6102b15cb3dSCy Schubert@BUILD_SNTP_TRUE@noinst_LIBRARIES = libsntp.a
6112b15cb3dSCy Schubertlibsntp_a_SOURCES = \
6122b15cb3dSCy Schubert	crypto.c		\
6132b15cb3dSCy Schubert	kod_management.c	\
6142b15cb3dSCy Schubert	log.c			\
6152b15cb3dSCy Schubert	main.c			\
6162b15cb3dSCy Schubert	networking.c		\
6172b15cb3dSCy Schubert	sntp-opts.c		\
6182b15cb3dSCy Schubert	utilities.c		\
6192b15cb3dSCy Schubert	$(NULL)
6209c2daa00SOllivier Robert
6212b15cb3dSCy Schubertsntp_SOURCES = \
6222b15cb3dSCy Schubert	sntp.c			\
6232b15cb3dSCy Schubert	$(NULL)
6249c2daa00SOllivier Robert
625a466cc55SCy Schubertnodist_sntp_SOURCES = \
626a466cc55SCy Schubert	version.c		\
627a466cc55SCy Schubert	$(NULL)
628a466cc55SCy Schubert
6292b15cb3dSCy Schubertnoinst_HEADERS = \
6302b15cb3dSCy Schubert	crypto.h		\
6312b15cb3dSCy Schubert	data_formats.h		\
6322b15cb3dSCy Schubert	kod_management.h	\
6332b15cb3dSCy Schubert	log.h			\
6342b15cb3dSCy Schubert	main.h			\
6352b15cb3dSCy Schubert	networking.h		\
6362b15cb3dSCy Schubert	sntp-opts.h		\
6372b15cb3dSCy Schubert	utilities.h		\
6382b15cb3dSCy Schubert	$(NULL)
6392b15cb3dSCy Schubert
640a466cc55SCy SchubertDISTCLEANFILES = config.log $(man_MANS) $(NULL) $(DEPDIR)/deps-ver
6412b15cb3dSCy SchubertEXTRA_DIST = \
6422b15cb3dSCy Schubert	$(srcdir)/COPYRIGHT		\
6432b15cb3dSCy Schubert	ag-tpl				\
6442b15cb3dSCy Schubert	deps-ver			\
645f0574f5cSXin LI	harden				\
6462b15cb3dSCy Schubert	invoke-sntp.menu		\
6472b15cb3dSCy Schubert	invoke-sntp.texi		\
6482b15cb3dSCy Schubert	@NTP_FORCE_LIBEVENT_DIST@	\
649276da39aSCy Schubert	libpkgver 			\
6502b15cb3dSCy Schubert	loc				\
6512b15cb3dSCy Schubert	sntp-opts.def			\
6522b15cb3dSCy Schubert	sntp.1sntpman			\
6532b15cb3dSCy Schubert	sntp.1sntpmdoc			\
6542b15cb3dSCy Schubert	sntp.man.in			\
6552b15cb3dSCy Schubert	sntp.mdoc.in			\
6562b15cb3dSCy Schubert	sntp.html			\
6572b15cb3dSCy Schubert	sntp.texi			\
658276da39aSCy Schubert	unity/auto			\
6592b15cb3dSCy Schubert	$(srcdir)/scm-rev		\
6602b15cb3dSCy Schubert	$(srcdir)/m4/version.m4		\
6612b15cb3dSCy Schubert	$(NULL)
6622b15cb3dSCy Schubert
6632b15cb3dSCy SchubertBUILT_SOURCES = $(srcdir)/COPYRIGHT libtool $(srcdir)/sntp-opts.c \
664a466cc55SCy Schubert	$(srcdir)/sntp-opts.h $(srcdir)/include/version.def \
665a466cc55SCy Schubert	$(srcdir)/m4/version.m4 $(srcdir)/include/version.texi $(NULL) \
666*f5f40dd6SCy Schubert	$(am__append_5) check-libopts .deps-ver
667a466cc55SCy SchubertCLEANFILES = check-COPYRIGHT-submake .version version.c $(NULL) \
668*f5f40dd6SCy Schubert	check-libopts .deps-ver
6692b15cb3dSCy Schubertman1_MANS =
6702b15cb3dSCy Schubertman8_MANS =
6712b15cb3dSCy Schubertman_MANS = sntp.$(SNTP_MS)
6722b15cb3dSCy Schuberthtml_DATA = \
6732b15cb3dSCy Schubert	$(srcdir)/sntp.html		\
6742b15cb3dSCy Schubert	$(NULL)
6752b15cb3dSCy Schubert
6762b15cb3dSCy Schubertnoinst_DATA = \
6772b15cb3dSCy Schubert	$(srcdir)/invoke-sntp.menu	\
6782b15cb3dSCy Schubert	$(srcdir)/invoke-sntp.texi	\
6792b15cb3dSCy Schubert	$(srcdir)/sntp.man.in		\
6802b15cb3dSCy Schubert	$(srcdir)/sntp.mdoc.in		\
6812b15cb3dSCy Schubert	$(NULL)
6822b15cb3dSCy Schubert
6832b15cb3dSCy SchubertSNTP_INCS = -I$(top_srcdir)/../include \
684a466cc55SCy Schubert	-I$(top_srcdir)/../libntp/lib/isc/include \
685a466cc55SCy Schubert	-I$(top_srcdir)/../libntp/lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/include \
686a466cc55SCy Schubert	-I$(top_srcdir)/../libntp/lib/isc/unix/include
687ea906c41SOllivier Robertall: $(BUILT_SOURCES) config.h
688ea906c41SOllivier Robert	$(MAKE) $(AM_MAKEFLAGS) all-recursive
6899c2daa00SOllivier Robert
6909c2daa00SOllivier Robert.SUFFIXES:
691ea906c41SOllivier Robert.SUFFIXES: .c .lo .o .obj
692276da39aSCy Schubertam--refresh: Makefile
693ea906c41SOllivier Robert	@:
6942b15cb3dSCy Schubert$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/bincheck.mf $(top_srcdir)/check-libntp.mf $(top_srcdir)/check-libopts.mf $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf $(am__configure_deps)
695ea906c41SOllivier Robert	@for dep in $?; do \
696ea906c41SOllivier Robert	  case '$(am__configure_deps)' in \
697ea906c41SOllivier Robert	    *$$dep*) \
698ea906c41SOllivier Robert	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
699eb6d21b4SOllivier Robert	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
700ea906c41SOllivier Robert		&& exit 0; \
701ea906c41SOllivier Robert	      exit 1;; \
702ea906c41SOllivier Robert	  esac; \
703ea906c41SOllivier Robert	done; \
704ea906c41SOllivier Robert	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
705eb6d21b4SOllivier Robert	$(am__cd) $(top_srcdir) && \
7069c2daa00SOllivier Robert	  $(AUTOMAKE) --foreign Makefile
7079c2daa00SOllivier RobertMakefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
708ea906c41SOllivier Robert	@case '$?' in \
709ea906c41SOllivier Robert	  *config.status*) \
710ea906c41SOllivier Robert	    echo ' $(SHELL) ./config.status'; \
711ea906c41SOllivier Robert	    $(SHELL) ./config.status;; \
712ea906c41SOllivier Robert	  *) \
713a466cc55SCy Schubert	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
714a466cc55SCy Schubert	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
715ea906c41SOllivier Robert	esac;
716276da39aSCy Schubert$(top_srcdir)/bincheck.mf $(top_srcdir)/check-libntp.mf $(top_srcdir)/check-libopts.mf $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf $(am__empty):
7179c2daa00SOllivier Robert
718ea906c41SOllivier Robert$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
7199c2daa00SOllivier Robert	$(SHELL) ./config.status --recheck
7209c2daa00SOllivier Robert
721ea906c41SOllivier Robert$(top_srcdir)/configure:  $(am__configure_deps)
722eb6d21b4SOllivier Robert	$(am__cd) $(srcdir) && $(AUTOCONF)
723ea906c41SOllivier Robert$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
724eb6d21b4SOllivier Robert	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
725eb6d21b4SOllivier Robert$(am__aclocal_m4_deps):
726ea906c41SOllivier Robert
727ea906c41SOllivier Robertconfig.h: stamp-h1
728276da39aSCy Schubert	@test -f $@ || rm -f stamp-h1
729276da39aSCy Schubert	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
730ea906c41SOllivier Robert
731ea906c41SOllivier Robertstamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
732ea906c41SOllivier Robert	@rm -f stamp-h1
733ea906c41SOllivier Robert	cd $(top_builddir) && $(SHELL) ./config.status config.h
734ea906c41SOllivier Robert$(srcdir)/config.h.in:  $(am__configure_deps)
735eb6d21b4SOllivier Robert	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
736ea906c41SOllivier Robert	rm -f stamp-h1
737ea906c41SOllivier Robert	touch $@
738ea906c41SOllivier Robert
739ea906c41SOllivier Robertdistclean-hdr:
740ea906c41SOllivier Robert	-rm -f config.h stamp-h1
7419c2daa00SOllivier Robertinstall-binPROGRAMS: $(bin_PROGRAMS)
7429c2daa00SOllivier Robert	@$(NORMAL_INSTALL)
743eb6d21b4SOllivier Robert	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
744276da39aSCy Schubert	if test -n "$$list"; then \
745276da39aSCy Schubert	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
746276da39aSCy Schubert	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
747276da39aSCy Schubert	fi; \
748eb6d21b4SOllivier Robert	for p in $$list; do echo "$$p $$p"; done | \
749eb6d21b4SOllivier Robert	sed 's/$(EXEEXT)$$//' | \
750276da39aSCy Schubert	while read p p1; do if test -f $$p \
751276da39aSCy Schubert	 || test -f $$p1 \
752276da39aSCy Schubert	  ; then echo "$$p"; echo "$$p"; else :; fi; \
753eb6d21b4SOllivier Robert	done | \
754276da39aSCy Schubert	sed -e 'p;s,.*/,,;n;h' \
755276da39aSCy Schubert	    -e 's|.*|.|' \
756eb6d21b4SOllivier Robert	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
757eb6d21b4SOllivier Robert	sed 'N;N;N;s,\n, ,g' | \
758eb6d21b4SOllivier Robert	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
759eb6d21b4SOllivier Robert	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
760eb6d21b4SOllivier Robert	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
761eb6d21b4SOllivier Robert	    else { print "f", $$3 "/" $$4, $$1; } } \
762eb6d21b4SOllivier Robert	  END { for (d in files) print "f", d, files[d] }' | \
763eb6d21b4SOllivier Robert	while read type dir files; do \
764eb6d21b4SOllivier Robert	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
765eb6d21b4SOllivier Robert	    test -z "$$files" || { \
766eb6d21b4SOllivier Robert	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
767eb6d21b4SOllivier Robert	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
768eb6d21b4SOllivier Robert	    } \
769eb6d21b4SOllivier Robert	; done
7709c2daa00SOllivier Robert
7719c2daa00SOllivier Robertuninstall-binPROGRAMS:
7729c2daa00SOllivier Robert	@$(NORMAL_UNINSTALL)
773eb6d21b4SOllivier Robert	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
774eb6d21b4SOllivier Robert	files=`for p in $$list; do echo "$$p"; done | \
775eb6d21b4SOllivier Robert	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
776276da39aSCy Schubert	      -e 's/$$/$(EXEEXT)/' \
777276da39aSCy Schubert	`; \
778eb6d21b4SOllivier Robert	test -n "$$list" || exit 0; \
779eb6d21b4SOllivier Robert	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
780eb6d21b4SOllivier Robert	cd "$(DESTDIR)$(bindir)" && rm -f $$files
7819c2daa00SOllivier Robert
7829c2daa00SOllivier Robertclean-binPROGRAMS:
783eb6d21b4SOllivier Robert	@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
784eb6d21b4SOllivier Robert	echo " rm -f" $$list; \
785eb6d21b4SOllivier Robert	rm -f $$list || exit $$?; \
786eb6d21b4SOllivier Robert	test -n "$(EXEEXT)" || exit 0; \
787eb6d21b4SOllivier Robert	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
788eb6d21b4SOllivier Robert	echo " rm -f" $$list; \
789eb6d21b4SOllivier Robert	rm -f $$list
7902b15cb3dSCy Schubertinstall-libexecPROGRAMS: $(libexec_PROGRAMS)
7912b15cb3dSCy Schubert	@$(NORMAL_INSTALL)
7922b15cb3dSCy Schubert	@list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
793276da39aSCy Schubert	if test -n "$$list"; then \
794276da39aSCy Schubert	  echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \
795276da39aSCy Schubert	  $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \
796276da39aSCy Schubert	fi; \
7972b15cb3dSCy Schubert	for p in $$list; do echo "$$p $$p"; done | \
7982b15cb3dSCy Schubert	sed 's/$(EXEEXT)$$//' | \
799276da39aSCy Schubert	while read p p1; do if test -f $$p \
800276da39aSCy Schubert	 || test -f $$p1 \
801276da39aSCy Schubert	  ; then echo "$$p"; echo "$$p"; else :; fi; \
8022b15cb3dSCy Schubert	done | \
803276da39aSCy Schubert	sed -e 'p;s,.*/,,;n;h' \
804276da39aSCy Schubert	    -e 's|.*|.|' \
8052b15cb3dSCy Schubert	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
8062b15cb3dSCy Schubert	sed 'N;N;N;s,\n, ,g' | \
8072b15cb3dSCy Schubert	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
8082b15cb3dSCy Schubert	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
8092b15cb3dSCy Schubert	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
8102b15cb3dSCy Schubert	    else { print "f", $$3 "/" $$4, $$1; } } \
8112b15cb3dSCy Schubert	  END { for (d in files) print "f", d, files[d] }' | \
8122b15cb3dSCy Schubert	while read type dir files; do \
8132b15cb3dSCy Schubert	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
8142b15cb3dSCy Schubert	    test -z "$$files" || { \
8152b15cb3dSCy Schubert	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
8162b15cb3dSCy Schubert	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
8172b15cb3dSCy Schubert	    } \
8182b15cb3dSCy Schubert	; done
8192b15cb3dSCy Schubert
8202b15cb3dSCy Schubertuninstall-libexecPROGRAMS:
8212b15cb3dSCy Schubert	@$(NORMAL_UNINSTALL)
8222b15cb3dSCy Schubert	@list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
8232b15cb3dSCy Schubert	files=`for p in $$list; do echo "$$p"; done | \
8242b15cb3dSCy Schubert	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
825276da39aSCy Schubert	      -e 's/$$/$(EXEEXT)/' \
826276da39aSCy Schubert	`; \
8272b15cb3dSCy Schubert	test -n "$$list" || exit 0; \
8282b15cb3dSCy Schubert	echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
8292b15cb3dSCy Schubert	cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
8302b15cb3dSCy Schubert
8312b15cb3dSCy Schubertclean-libexecPROGRAMS:
8322b15cb3dSCy Schubert	@list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
8332b15cb3dSCy Schubert	echo " rm -f" $$list; \
8342b15cb3dSCy Schubert	rm -f $$list || exit $$?; \
8352b15cb3dSCy Schubert	test -n "$(EXEEXT)" || exit 0; \
8362b15cb3dSCy Schubert	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
8372b15cb3dSCy Schubert	echo " rm -f" $$list; \
8382b15cb3dSCy Schubert	rm -f $$list
8392b15cb3dSCy Schubertinstall-sbinPROGRAMS: $(sbin_PROGRAMS)
8402b15cb3dSCy Schubert	@$(NORMAL_INSTALL)
8412b15cb3dSCy Schubert	@list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
842276da39aSCy Schubert	if test -n "$$list"; then \
843276da39aSCy Schubert	  echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \
844276da39aSCy Schubert	  $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \
845276da39aSCy Schubert	fi; \
8462b15cb3dSCy Schubert	for p in $$list; do echo "$$p $$p"; done | \
8472b15cb3dSCy Schubert	sed 's/$(EXEEXT)$$//' | \
848276da39aSCy Schubert	while read p p1; do if test -f $$p \
849276da39aSCy Schubert	 || test -f $$p1 \
850276da39aSCy Schubert	  ; then echo "$$p"; echo "$$p"; else :; fi; \
8512b15cb3dSCy Schubert	done | \
852276da39aSCy Schubert	sed -e 'p;s,.*/,,;n;h' \
853276da39aSCy Schubert	    -e 's|.*|.|' \
8542b15cb3dSCy Schubert	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
8552b15cb3dSCy Schubert	sed 'N;N;N;s,\n, ,g' | \
8562b15cb3dSCy Schubert	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
8572b15cb3dSCy Schubert	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
8582b15cb3dSCy Schubert	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
8592b15cb3dSCy Schubert	    else { print "f", $$3 "/" $$4, $$1; } } \
8602b15cb3dSCy Schubert	  END { for (d in files) print "f", d, files[d] }' | \
8612b15cb3dSCy Schubert	while read type dir files; do \
8622b15cb3dSCy Schubert	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
8632b15cb3dSCy Schubert	    test -z "$$files" || { \
8642b15cb3dSCy Schubert	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
8652b15cb3dSCy Schubert	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
8662b15cb3dSCy Schubert	    } \
8672b15cb3dSCy Schubert	; done
8682b15cb3dSCy Schubert
8692b15cb3dSCy Schubertuninstall-sbinPROGRAMS:
8702b15cb3dSCy Schubert	@$(NORMAL_UNINSTALL)
8712b15cb3dSCy Schubert	@list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
8722b15cb3dSCy Schubert	files=`for p in $$list; do echo "$$p"; done | \
8732b15cb3dSCy Schubert	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
874276da39aSCy Schubert	      -e 's/$$/$(EXEEXT)/' \
875276da39aSCy Schubert	`; \
8762b15cb3dSCy Schubert	test -n "$$list" || exit 0; \
8772b15cb3dSCy Schubert	echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
8782b15cb3dSCy Schubert	cd "$(DESTDIR)$(sbindir)" && rm -f $$files
8792b15cb3dSCy Schubert
8802b15cb3dSCy Schubertclean-sbinPROGRAMS:
8812b15cb3dSCy Schubert	@list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \
8822b15cb3dSCy Schubert	echo " rm -f" $$list; \
8832b15cb3dSCy Schubert	rm -f $$list || exit $$?; \
8842b15cb3dSCy Schubert	test -n "$(EXEEXT)" || exit 0; \
8852b15cb3dSCy Schubert	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
8862b15cb3dSCy Schubert	echo " rm -f" $$list; \
8872b15cb3dSCy Schubert	rm -f $$list
888276da39aSCy Schubert
889a466cc55SCy Schubertclean-noinstLIBRARIES:
890a466cc55SCy Schubert	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
891a466cc55SCy Schubert
892a466cc55SCy Schubertlibsntp.a: $(libsntp_a_OBJECTS) $(libsntp_a_DEPENDENCIES) $(EXTRA_libsntp_a_DEPENDENCIES)
893a466cc55SCy Schubert	$(AM_V_at)-rm -f libsntp.a
894a466cc55SCy Schubert	$(AM_V_AR)$(libsntp_a_AR) libsntp.a $(libsntp_a_OBJECTS) $(libsntp_a_LIBADD)
895a466cc55SCy Schubert	$(AM_V_at)$(RANLIB) libsntp.a
896a466cc55SCy Schubert
897276da39aSCy Schubertsntp$(EXEEXT): $(sntp_OBJECTS) $(sntp_DEPENDENCIES) $(EXTRA_sntp_DEPENDENCIES)
8989c2daa00SOllivier Robert	@rm -f sntp$(EXEEXT)
8992b15cb3dSCy Schubert	$(AM_V_CCLD)$(LINK) $(sntp_OBJECTS) $(sntp_LDADD) $(LIBS)
9009c2daa00SOllivier Robert
9019c2daa00SOllivier Robertmostlyclean-compile:
902ea906c41SOllivier Robert	-rm -f *.$(OBJEXT)
9039c2daa00SOllivier Robert
9049c2daa00SOllivier Robertdistclean-compile:
9059c2daa00SOllivier Robert	-rm -f *.tab.c
9069c2daa00SOllivier Robert
907a466cc55SCy Schubert@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/crypto.Po@am__quote@ # am--include-marker
908a466cc55SCy Schubert@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kod_management.Po@am__quote@ # am--include-marker
909a466cc55SCy Schubert@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/log.Po@am__quote@ # am--include-marker
910a466cc55SCy Schubert@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ # am--include-marker
911a466cc55SCy Schubert@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/networking.Po@am__quote@ # am--include-marker
912a466cc55SCy Schubert@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sntp-opts.Po@am__quote@ # am--include-marker
913a466cc55SCy Schubert@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sntp.Po@am__quote@ # am--include-marker
914a466cc55SCy Schubert@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utilities.Po@am__quote@ # am--include-marker
915a466cc55SCy Schubert@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@ # am--include-marker
916a466cc55SCy Schubert
917a466cc55SCy Schubert$(am__depfiles_remade):
918a466cc55SCy Schubert	@$(MKDIR_P) $(@D)
919a466cc55SCy Schubert	@echo '# dummy' >$@-t && $(am__mv) $@-t $@
920a466cc55SCy Schubert
921a466cc55SCy Schubertam--depfiles: $(am__depfiles_remade)
9229c2daa00SOllivier Robert
9239c2daa00SOllivier Robert.c.o:
924a466cc55SCy Schubert@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
925a466cc55SCy Schubert@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
926a466cc55SCy Schubert@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
927276da39aSCy Schubert@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
928ea906c41SOllivier Robert@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
929276da39aSCy Schubert@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
9309c2daa00SOllivier Robert
9319c2daa00SOllivier Robert.c.obj:
932a466cc55SCy Schubert@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
933a466cc55SCy Schubert@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
934a466cc55SCy Schubert@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
935276da39aSCy Schubert@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
936ea906c41SOllivier Robert@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
937276da39aSCy Schubert@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
938ea906c41SOllivier Robert
939ea906c41SOllivier Robert.c.lo:
940a466cc55SCy Schubert@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
941a466cc55SCy Schubert@am__fastdepCC_TRUE@	$(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
942a466cc55SCy Schubert@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Plo
943276da39aSCy Schubert@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
944ea906c41SOllivier Robert@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
945276da39aSCy Schubert@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
946ea906c41SOllivier Robert
947ea906c41SOllivier Robertmostlyclean-libtool:
948ea906c41SOllivier Robert	-rm -f *.lo
949ea906c41SOllivier Robert
950ea906c41SOllivier Robertclean-libtool:
951ea906c41SOllivier Robert	-rm -rf .libs _libs
952ea906c41SOllivier Robert
953ea906c41SOllivier Robertdistclean-libtool:
954eb6d21b4SOllivier Robert	-rm -f libtool config.lt
9552b15cb3dSCy Schubertinstall-man1: $(man1_MANS) $(man_MANS)
956ea906c41SOllivier Robert	@$(NORMAL_INSTALL)
957276da39aSCy Schubert	@list1='$(man1_MANS)'; \
958276da39aSCy Schubert	list2='$(man_MANS)'; \
959276da39aSCy Schubert	test -n "$(man1dir)" \
960276da39aSCy Schubert	  && test -n "`echo $$list1$$list2`" \
961276da39aSCy Schubert	  || exit 0; \
962276da39aSCy Schubert	echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
963276da39aSCy Schubert	$(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
964276da39aSCy Schubert	{ for i in $$list1; do echo "$$i"; done;  \
965276da39aSCy Schubert	if test -n "$$list2"; then \
966276da39aSCy Schubert	  for i in $$list2; do echo "$$i"; done \
967276da39aSCy Schubert	    | sed -n '/\.1[a-z]*$$/p'; \
968276da39aSCy Schubert	fi; \
969eb6d21b4SOllivier Robert	} | while read p; do \
970eb6d21b4SOllivier Robert	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
971eb6d21b4SOllivier Robert	  echo "$$d$$p"; echo "$$p"; \
972eb6d21b4SOllivier Robert	done | \
973eb6d21b4SOllivier Robert	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
974eb6d21b4SOllivier Robert	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
975eb6d21b4SOllivier Robert	sed 'N;N;s,\n, ,g' | { \
976eb6d21b4SOllivier Robert	list=; while read file base inst; do \
977eb6d21b4SOllivier Robert	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
978ea906c41SOllivier Robert	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
979eb6d21b4SOllivier Robert	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
980eb6d21b4SOllivier Robert	  fi; \
981eb6d21b4SOllivier Robert	done; \
982eb6d21b4SOllivier Robert	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
983eb6d21b4SOllivier Robert	while read files; do \
984eb6d21b4SOllivier Robert	  test -z "$$files" || { \
985eb6d21b4SOllivier Robert	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
986eb6d21b4SOllivier Robert	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
987eb6d21b4SOllivier Robert	done; }
988eb6d21b4SOllivier Robert
989ea906c41SOllivier Robertuninstall-man1:
990ea906c41SOllivier Robert	@$(NORMAL_UNINSTALL)
9912b15cb3dSCy Schubert	@list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \
992eb6d21b4SOllivier Robert	files=`{ for i in $$list; do echo "$$i"; done; \
9932b15cb3dSCy Schubert	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
994eb6d21b4SOllivier Robert	  sed -n '/\.1[a-z]*$$/p'; \
995eb6d21b4SOllivier Robert	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
996eb6d21b4SOllivier Robert	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
997276da39aSCy Schubert	dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
9982b15cb3dSCy Schubertinstall-man8: $(man8_MANS) $(man_MANS)
9992b15cb3dSCy Schubert	@$(NORMAL_INSTALL)
1000276da39aSCy Schubert	@list1='$(man8_MANS)'; \
1001276da39aSCy Schubert	list2='$(man_MANS)'; \
1002276da39aSCy Schubert	test -n "$(man8dir)" \
1003276da39aSCy Schubert	  && test -n "`echo $$list1$$list2`" \
1004276da39aSCy Schubert	  || exit 0; \
1005276da39aSCy Schubert	echo " $(MKDIR_P) '$(DESTDIR)$(man8dir)'"; \
1006276da39aSCy Schubert	$(MKDIR_P) "$(DESTDIR)$(man8dir)" || exit 1; \
1007276da39aSCy Schubert	{ for i in $$list1; do echo "$$i"; done;  \
1008276da39aSCy Schubert	if test -n "$$list2"; then \
1009276da39aSCy Schubert	  for i in $$list2; do echo "$$i"; done \
1010276da39aSCy Schubert	    | sed -n '/\.8[a-z]*$$/p'; \
1011276da39aSCy Schubert	fi; \
10122b15cb3dSCy Schubert	} | while read p; do \
10132b15cb3dSCy Schubert	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
10142b15cb3dSCy Schubert	  echo "$$d$$p"; echo "$$p"; \
10152b15cb3dSCy Schubert	done | \
10162b15cb3dSCy Schubert	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
10172b15cb3dSCy Schubert	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
10182b15cb3dSCy Schubert	sed 'N;N;s,\n, ,g' | { \
10192b15cb3dSCy Schubert	list=; while read file base inst; do \
10202b15cb3dSCy Schubert	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
10212b15cb3dSCy Schubert	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
10222b15cb3dSCy Schubert	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
10232b15cb3dSCy Schubert	  fi; \
10242b15cb3dSCy Schubert	done; \
10252b15cb3dSCy Schubert	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
10262b15cb3dSCy Schubert	while read files; do \
10272b15cb3dSCy Schubert	  test -z "$$files" || { \
10282b15cb3dSCy Schubert	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
10292b15cb3dSCy Schubert	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
10302b15cb3dSCy Schubert	done; }
10312b15cb3dSCy Schubert
10322b15cb3dSCy Schubertuninstall-man8:
10332b15cb3dSCy Schubert	@$(NORMAL_UNINSTALL)
10342b15cb3dSCy Schubert	@list='$(man8_MANS)'; test -n "$(man8dir)" || exit 0; \
10352b15cb3dSCy Schubert	files=`{ for i in $$list; do echo "$$i"; done; \
10362b15cb3dSCy Schubert	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
10372b15cb3dSCy Schubert	  sed -n '/\.8[a-z]*$$/p'; \
10382b15cb3dSCy Schubert	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
10392b15cb3dSCy Schubert	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
1040276da39aSCy Schubert	dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
10412b15cb3dSCy Schubertinstall-htmlDATA: $(html_DATA)
10422b15cb3dSCy Schubert	@$(NORMAL_INSTALL)
10432b15cb3dSCy Schubert	@list='$(html_DATA)'; test -n "$(htmldir)" || list=; \
1044276da39aSCy Schubert	if test -n "$$list"; then \
1045276da39aSCy Schubert	  echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)'"; \
1046276da39aSCy Schubert	  $(MKDIR_P) "$(DESTDIR)$(htmldir)" || exit 1; \
1047276da39aSCy Schubert	fi; \
10482b15cb3dSCy Schubert	for p in $$list; do \
10492b15cb3dSCy Schubert	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
10502b15cb3dSCy Schubert	  echo "$$d$$p"; \
10512b15cb3dSCy Schubert	done | $(am__base_list) | \
10522b15cb3dSCy Schubert	while read files; do \
10532b15cb3dSCy Schubert	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(htmldir)'"; \
10542b15cb3dSCy Schubert	  $(INSTALL_DATA) $$files "$(DESTDIR)$(htmldir)" || exit $$?; \
10552b15cb3dSCy Schubert	done
10562b15cb3dSCy Schubert
10572b15cb3dSCy Schubertuninstall-htmlDATA:
10582b15cb3dSCy Schubert	@$(NORMAL_UNINSTALL)
10592b15cb3dSCy Schubert	@list='$(html_DATA)'; test -n "$(htmldir)" || list=; \
10602b15cb3dSCy Schubert	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1061276da39aSCy Schubert	dir='$(DESTDIR)$(htmldir)'; $(am__uninstall_files_from_dir)
10629c2daa00SOllivier Robert
1063ea906c41SOllivier Robert# This directory's subdirectories are mostly independent; you can cd
1064276da39aSCy Schubert# into them and run 'make' without going through this Makefile.
1065276da39aSCy Schubert# To change the values of 'make' variables: instead of editing Makefiles,
1066276da39aSCy Schubert# (1) if the variable is set in 'config.status', edit 'config.status'
1067276da39aSCy Schubert#     (which will cause the Makefiles to be regenerated when you run 'make');
1068276da39aSCy Schubert# (2) otherwise, pass the desired values on the 'make' command line.
1069276da39aSCy Schubert$(am__recursive_targets):
1070276da39aSCy Schubert	@fail=; \
1071276da39aSCy Schubert	if $(am__make_keepgoing); then \
1072276da39aSCy Schubert	  failcom='fail=yes'; \
1073276da39aSCy Schubert	else \
1074276da39aSCy Schubert	  failcom='exit 1'; \
1075276da39aSCy Schubert	fi; \
1076ea906c41SOllivier Robert	dot_seen=no; \
1077ea906c41SOllivier Robert	target=`echo $@ | sed s/-recursive//`; \
1078276da39aSCy Schubert	case "$@" in \
1079276da39aSCy Schubert	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
1080276da39aSCy Schubert	  *) list='$(SUBDIRS)' ;; \
1081276da39aSCy Schubert	esac; \
1082276da39aSCy Schubert	for subdir in $$list; do \
1083ea906c41SOllivier Robert	  echo "Making $$target in $$subdir"; \
1084ea906c41SOllivier Robert	  if test "$$subdir" = "."; then \
1085ea906c41SOllivier Robert	    dot_seen=yes; \
1086ea906c41SOllivier Robert	    local_target="$$target-am"; \
1087ea906c41SOllivier Robert	  else \
1088ea906c41SOllivier Robert	    local_target="$$target"; \
1089ea906c41SOllivier Robert	  fi; \
1090eb6d21b4SOllivier Robert	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1091ea906c41SOllivier Robert	  || eval $$failcom; \
1092ea906c41SOllivier Robert	done; \
1093ea906c41SOllivier Robert	if test "$$dot_seen" = "no"; then \
1094ea906c41SOllivier Robert	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
1095ea906c41SOllivier Robert	fi; test -z "$$fail"
10969c2daa00SOllivier Robert
1097276da39aSCy SchubertID: $(am__tagged_files)
1098276da39aSCy Schubert	$(am__define_uniq_tagged_files); mkid -fID $$unique
1099276da39aSCy Schuberttags: tags-recursive
1100276da39aSCy SchubertTAGS: tags
11019c2daa00SOllivier Robert
1102276da39aSCy Schuberttags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1103eb6d21b4SOllivier Robert	set x; \
11049c2daa00SOllivier Robert	here=`pwd`; \
1105ea906c41SOllivier Robert	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1106ea906c41SOllivier Robert	  include_option=--etags-include; \
1107ea906c41SOllivier Robert	  empty_fix=.; \
1108ea906c41SOllivier Robert	else \
1109ea906c41SOllivier Robert	  include_option=--include; \
1110ea906c41SOllivier Robert	  empty_fix=; \
1111ea906c41SOllivier Robert	fi; \
1112ea906c41SOllivier Robert	list='$(SUBDIRS)'; for subdir in $$list; do \
1113ea906c41SOllivier Robert	  if test "$$subdir" = .; then :; else \
1114ea906c41SOllivier Robert	    test ! -f $$subdir/TAGS || \
1115eb6d21b4SOllivier Robert	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
1116ea906c41SOllivier Robert	  fi; \
1117ea906c41SOllivier Robert	done; \
1118276da39aSCy Schubert	$(am__define_uniq_tagged_files); \
1119eb6d21b4SOllivier Robert	shift; \
1120eb6d21b4SOllivier Robert	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1121ea906c41SOllivier Robert	  test -n "$$unique" || unique=$$empty_fix; \
1122eb6d21b4SOllivier Robert	  if test $$# -gt 0; then \
1123ea906c41SOllivier Robert	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1124eb6d21b4SOllivier Robert	      "$$@" $$unique; \
1125eb6d21b4SOllivier Robert	  else \
1126eb6d21b4SOllivier Robert	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1127eb6d21b4SOllivier Robert	      $$unique; \
1128eb6d21b4SOllivier Robert	  fi; \
1129ea906c41SOllivier Robert	fi
1130276da39aSCy Schubertctags: ctags-recursive
1131276da39aSCy Schubert
1132276da39aSCy SchubertCTAGS: ctags
1133276da39aSCy Schubertctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1134276da39aSCy Schubert	$(am__define_uniq_tagged_files); \
1135eb6d21b4SOllivier Robert	test -z "$(CTAGS_ARGS)$$unique" \
11369c2daa00SOllivier Robert	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1137eb6d21b4SOllivier Robert	     $$unique
11389c2daa00SOllivier Robert
11399c2daa00SOllivier RobertGTAGS:
11409c2daa00SOllivier Robert	here=`$(am__cd) $(top_builddir) && pwd` \
1141eb6d21b4SOllivier Robert	  && $(am__cd) $(top_srcdir) \
1142eb6d21b4SOllivier Robert	  && gtags -i $(GTAGS_ARGS) "$$here"
1143276da39aSCy Schubertcscope: cscope.files
1144276da39aSCy Schubert	test ! -s cscope.files \
1145276da39aSCy Schubert	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1146276da39aSCy Schubertclean-cscope:
1147276da39aSCy Schubert	-rm -f cscope.files
1148276da39aSCy Schubertcscope.files: clean-cscope cscopelist
1149276da39aSCy Schubertcscopelist: cscopelist-recursive
1150276da39aSCy Schubert
1151276da39aSCy Schubertcscopelist-am: $(am__tagged_files)
1152276da39aSCy Schubert	list='$(am__tagged_files)'; \
1153276da39aSCy Schubert	case "$(srcdir)" in \
1154276da39aSCy Schubert	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1155276da39aSCy Schubert	  *) sdir=$(subdir)/$(srcdir) ;; \
1156276da39aSCy Schubert	esac; \
1157276da39aSCy Schubert	for i in $$list; do \
1158276da39aSCy Schubert	  if test -f "$$i"; then \
1159276da39aSCy Schubert	    echo "$(subdir)/$$i"; \
1160276da39aSCy Schubert	  else \
1161276da39aSCy Schubert	    echo "$$sdir/$$i"; \
1162276da39aSCy Schubert	  fi; \
1163276da39aSCy Schubert	done >> $(top_builddir)/cscope.files
11649c2daa00SOllivier Robert
11659c2daa00SOllivier Robertdistclean-tags:
11669c2daa00SOllivier Robert	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1167276da39aSCy Schubert	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
1168a466cc55SCy Schubertdistdir: $(BUILT_SOURCES)
1169a466cc55SCy Schubert	$(MAKE) $(AM_MAKEFLAGS) distdir-am
11709c2daa00SOllivier Robert
1171a466cc55SCy Schubertdistdir-am: $(DISTFILES)
11729c2daa00SOllivier Robert	$(am__remove_distdir)
1173eb6d21b4SOllivier Robert	test -d "$(distdir)" || mkdir "$(distdir)"
1174eb6d21b4SOllivier Robert	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1175eb6d21b4SOllivier Robert	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1176eb6d21b4SOllivier Robert	list='$(DISTFILES)'; \
1177eb6d21b4SOllivier Robert	  dist_files=`for file in $$list; do echo $$file; done | \
1178eb6d21b4SOllivier Robert	  sed -e "s|^$$srcdirstrip/||;t" \
1179eb6d21b4SOllivier Robert	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1180eb6d21b4SOllivier Robert	case $$dist_files in \
1181eb6d21b4SOllivier Robert	  */*) $(MKDIR_P) `echo "$$dist_files" | \
1182eb6d21b4SOllivier Robert			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1183eb6d21b4SOllivier Robert			   sort -u` ;; \
11849c2daa00SOllivier Robert	esac; \
1185eb6d21b4SOllivier Robert	for file in $$dist_files; do \
11869c2daa00SOllivier Robert	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
11879c2daa00SOllivier Robert	  if test -d $$d/$$file; then \
1188eb6d21b4SOllivier Robert	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1189eb6d21b4SOllivier Robert	    if test -d "$(distdir)/$$file"; then \
1190eb6d21b4SOllivier Robert	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
11919c2daa00SOllivier Robert	    fi; \
1192eb6d21b4SOllivier Robert	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1193eb6d21b4SOllivier Robert	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1194eb6d21b4SOllivier Robert	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1195eb6d21b4SOllivier Robert	    fi; \
1196eb6d21b4SOllivier Robert	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
11979c2daa00SOllivier Robert	  else \
1198eb6d21b4SOllivier Robert	    test -f "$(distdir)/$$file" \
1199eb6d21b4SOllivier Robert	    || cp -p $$d/$$file "$(distdir)/$$file" \
12009c2daa00SOllivier Robert	    || exit 1; \
12019c2daa00SOllivier Robert	  fi; \
12029c2daa00SOllivier Robert	done
1203eb6d21b4SOllivier Robert	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1204ea906c41SOllivier Robert	  if test "$$subdir" = .; then :; else \
1205276da39aSCy Schubert	    $(am__make_dryrun) \
1206276da39aSCy Schubert	      || test -d "$(distdir)/$$subdir" \
1207eb6d21b4SOllivier Robert	      || $(MKDIR_P) "$(distdir)/$$subdir" \
1208ea906c41SOllivier Robert	      || exit 1; \
1209eb6d21b4SOllivier Robert	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1210eb6d21b4SOllivier Robert	    $(am__relativize); \
1211eb6d21b4SOllivier Robert	    new_distdir=$$reldir; \
1212eb6d21b4SOllivier Robert	    dir1=$$subdir; dir2="$(top_distdir)"; \
1213eb6d21b4SOllivier Robert	    $(am__relativize); \
1214eb6d21b4SOllivier Robert	    new_top_distdir=$$reldir; \
1215eb6d21b4SOllivier Robert	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1216eb6d21b4SOllivier Robert	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1217eb6d21b4SOllivier Robert	    ($(am__cd) $$subdir && \
1218ea906c41SOllivier Robert	      $(MAKE) $(AM_MAKEFLAGS) \
1219eb6d21b4SOllivier Robert	        top_distdir="$$new_top_distdir" \
1220eb6d21b4SOllivier Robert	        distdir="$$new_distdir" \
1221eb6d21b4SOllivier Robert		am__remove_distdir=: \
1222eb6d21b4SOllivier Robert		am__skip_length_check=: \
1223eb6d21b4SOllivier Robert		am__skip_mode_fix=: \
1224ea906c41SOllivier Robert	        distdir) \
1225ea906c41SOllivier Robert	      || exit 1; \
1226ea906c41SOllivier Robert	  fi; \
1227ea906c41SOllivier Robert	done
1228eb6d21b4SOllivier Robert	-test -n "$(am__skip_mode_fix)" \
12292b15cb3dSCy Schubert	|| find "$(distdir)" -type d ! -perm -755 \
12302b15cb3dSCy Schubert		-exec chmod u+rwx,go+rx {} \; -o \
12319c2daa00SOllivier Robert	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
12329c2daa00SOllivier Robert	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1233eb6d21b4SOllivier Robert	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1234eb6d21b4SOllivier Robert	|| chmod -R a+r "$(distdir)"
12359c2daa00SOllivier Robertdist-gzip: distdir
1236052d159aSCy Schubert	tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
1237276da39aSCy Schubert	$(am__post_remove_distdir)
1238ea906c41SOllivier Robert
1239ea906c41SOllivier Robertdist-bzip2: distdir
1240276da39aSCy Schubert	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1241276da39aSCy Schubert	$(am__post_remove_distdir)
1242ea906c41SOllivier Robert
1243276da39aSCy Schubertdist-lzip: distdir
1244276da39aSCy Schubert	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1245276da39aSCy Schubert	$(am__post_remove_distdir)
1246eb6d21b4SOllivier Robert
1247eb6d21b4SOllivier Robertdist-xz: distdir
1248276da39aSCy Schubert	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1249276da39aSCy Schubert	$(am__post_remove_distdir)
1250eb6d21b4SOllivier Robert
1251a466cc55SCy Schubertdist-zstd: distdir
1252a466cc55SCy Schubert	tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
1253a466cc55SCy Schubert	$(am__post_remove_distdir)
1254a466cc55SCy Schubert
1255ea906c41SOllivier Robertdist-tarZ: distdir
1256276da39aSCy Schubert	@echo WARNING: "Support for distribution archives compressed with" \
1257276da39aSCy Schubert		       "legacy program 'compress' is deprecated." >&2
1258276da39aSCy Schubert	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1259ea906c41SOllivier Robert	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1260276da39aSCy Schubert	$(am__post_remove_distdir)
1261ea906c41SOllivier Robert
1262ea906c41SOllivier Robertdist-shar: distdir
1263276da39aSCy Schubert	@echo WARNING: "Support for shar distribution archives is" \
1264276da39aSCy Schubert	               "deprecated." >&2
1265276da39aSCy Schubert	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1266052d159aSCy Schubert	shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
1267276da39aSCy Schubert	$(am__post_remove_distdir)
1268ea906c41SOllivier Robert
1269ea906c41SOllivier Robertdist-zip: distdir
1270ea906c41SOllivier Robert	-rm -f $(distdir).zip
1271ea906c41SOllivier Robert	zip -rq $(distdir).zip $(distdir)
1272276da39aSCy Schubert	$(am__post_remove_distdir)
12739c2daa00SOllivier Robert
1274276da39aSCy Schubertdist dist-all:
1275276da39aSCy Schubert	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1276276da39aSCy Schubert	$(am__post_remove_distdir)
12779c2daa00SOllivier Robert
12789c2daa00SOllivier Robert# This target untars the dist file and tries a VPATH configuration.  Then
12799c2daa00SOllivier Robert# it guarantees that the distribution is self-contained by making another
12809c2daa00SOllivier Robert# tarfile.
12819c2daa00SOllivier Robertdistcheck: dist
1282ea906c41SOllivier Robert	case '$(DIST_ARCHIVES)' in \
1283ea906c41SOllivier Robert	*.tar.gz*) \
1284052d159aSCy Schubert	  eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
1285ea906c41SOllivier Robert	*.tar.bz2*) \
12862b15cb3dSCy Schubert	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1287276da39aSCy Schubert	*.tar.lz*) \
1288276da39aSCy Schubert	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1289eb6d21b4SOllivier Robert	*.tar.xz*) \
1290eb6d21b4SOllivier Robert	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1291ea906c41SOllivier Robert	*.tar.Z*) \
1292ea906c41SOllivier Robert	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1293ea906c41SOllivier Robert	*.shar.gz*) \
1294052d159aSCy Schubert	  eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
1295ea906c41SOllivier Robert	*.zip*) \
1296ea906c41SOllivier Robert	  unzip $(distdir).zip ;;\
1297a466cc55SCy Schubert	*.tar.zst*) \
1298a466cc55SCy Schubert	  zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
1299ea906c41SOllivier Robert	esac
1300276da39aSCy Schubert	chmod -R a-w $(distdir)
1301276da39aSCy Schubert	chmod u+w $(distdir)
1302276da39aSCy Schubert	mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
13039c2daa00SOllivier Robert	chmod a-w $(distdir)
1304eb6d21b4SOllivier Robert	test -d $(distdir)/_build || exit 0; \
13059c2daa00SOllivier Robert	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
13069c2daa00SOllivier Robert	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1307eb6d21b4SOllivier Robert	  && am__cwd=`pwd` \
1308276da39aSCy Schubert	  && $(am__cd) $(distdir)/_build/sub \
1309276da39aSCy Schubert	  && ../../configure \
1310276da39aSCy Schubert	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
13119c2daa00SOllivier Robert	    $(DISTCHECK_CONFIGURE_FLAGS) \
1312276da39aSCy Schubert	    --srcdir=../.. --prefix="$$dc_install_base" \
13139c2daa00SOllivier Robert	  && $(MAKE) $(AM_MAKEFLAGS) \
1314a466cc55SCy Schubert	  && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
13159c2daa00SOllivier Robert	  && $(MAKE) $(AM_MAKEFLAGS) check \
13169c2daa00SOllivier Robert	  && $(MAKE) $(AM_MAKEFLAGS) install \
13179c2daa00SOllivier Robert	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
13189c2daa00SOllivier Robert	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
13199c2daa00SOllivier Robert	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
13209c2daa00SOllivier Robert	        distuninstallcheck \
13219c2daa00SOllivier Robert	  && chmod -R a-w "$$dc_install_base" \
13229c2daa00SOllivier Robert	  && ({ \
1323ea906c41SOllivier Robert	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
13249c2daa00SOllivier Robert	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
13259c2daa00SOllivier Robert	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
13269c2daa00SOllivier Robert	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
13279c2daa00SOllivier Robert	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
13289c2daa00SOllivier Robert	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
13299c2daa00SOllivier Robert	  && rm -rf "$$dc_destdir" \
1330ea906c41SOllivier Robert	  && $(MAKE) $(AM_MAKEFLAGS) dist \
1331ea906c41SOllivier Robert	  && rm -rf $(DIST_ARCHIVES) \
1332eb6d21b4SOllivier Robert	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1333eb6d21b4SOllivier Robert	  && cd "$$am__cwd" \
1334eb6d21b4SOllivier Robert	  || exit 1
1335276da39aSCy Schubert	$(am__post_remove_distdir)
1336ea906c41SOllivier Robert	@(echo "$(distdir) archives ready for distribution: "; \
1337ea906c41SOllivier Robert	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1338eb6d21b4SOllivier Robert	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
13399c2daa00SOllivier Robertdistuninstallcheck:
1340276da39aSCy Schubert	@test -n '$(distuninstallcheck_dir)' || { \
1341276da39aSCy Schubert	  echo 'ERROR: trying to run $@ with an empty' \
1342276da39aSCy Schubert	       '$$(distuninstallcheck_dir)' >&2; \
1343276da39aSCy Schubert	  exit 1; \
1344276da39aSCy Schubert	}; \
1345276da39aSCy Schubert	$(am__cd) '$(distuninstallcheck_dir)' || { \
1346276da39aSCy Schubert	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1347276da39aSCy Schubert	  exit 1; \
1348276da39aSCy Schubert	}; \
1349276da39aSCy Schubert	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
13509c2daa00SOllivier Robert	   || { echo "ERROR: files left after uninstall:" ; \
13519c2daa00SOllivier Robert	        if test -n "$(DESTDIR)"; then \
13529c2daa00SOllivier Robert	          echo "  (check DESTDIR support)"; \
13539c2daa00SOllivier Robert	        fi ; \
13549c2daa00SOllivier Robert	        $(distuninstallcheck_listfiles) ; \
13559c2daa00SOllivier Robert	        exit 1; } >&2
13569c2daa00SOllivier Robertdistcleancheck: distclean
13579c2daa00SOllivier Robert	@if test '$(srcdir)' = . ; then \
13589c2daa00SOllivier Robert	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
13599c2daa00SOllivier Robert	  exit 1 ; \
13609c2daa00SOllivier Robert	fi
13619c2daa00SOllivier Robert	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
13629c2daa00SOllivier Robert	  || { echo "ERROR: files left in build directory after distclean:" ; \
13639c2daa00SOllivier Robert	       $(distcleancheck_listfiles) ; \
13649c2daa00SOllivier Robert	       exit 1; } >&2
13659c2daa00SOllivier Robertcheck-am: all-am
1366ea906c41SOllivier Robertcheck: $(BUILT_SOURCES)
1367ea906c41SOllivier Robert	$(MAKE) $(AM_MAKEFLAGS) check-recursive
1368a466cc55SCy Schubertall-am: Makefile $(PROGRAMS) $(LIBRARIES) $(MANS) $(DATA) $(HEADERS) \
13692b15cb3dSCy Schubert		config.h
1370ea906c41SOllivier Robertinstalldirs: installdirs-recursive
1371ea906c41SOllivier Robertinstalldirs-am:
13722b15cb3dSCy Schubert	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(htmldir)"; do \
1373eb6d21b4SOllivier Robert	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1374ea906c41SOllivier Robert	done
1375ea906c41SOllivier Robertinstall: $(BUILT_SOURCES)
1376ea906c41SOllivier Robert	$(MAKE) $(AM_MAKEFLAGS) install-recursive
1377a466cc55SCy Schubertinstall-exec: $(BUILT_SOURCES)
1378a466cc55SCy Schubert	$(MAKE) $(AM_MAKEFLAGS) install-exec-recursive
1379ea906c41SOllivier Robertinstall-data: install-data-recursive
1380ea906c41SOllivier Robertuninstall: uninstall-recursive
13819c2daa00SOllivier Robert
13829c2daa00SOllivier Robertinstall-am: all-am
13839c2daa00SOllivier Robert	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
13849c2daa00SOllivier Robert
1385ea906c41SOllivier Robertinstallcheck: installcheck-recursive
13869c2daa00SOllivier Robertinstall-strip:
1387276da39aSCy Schubert	if test -z '$(STRIP)'; then \
13889c2daa00SOllivier Robert	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1389ea906c41SOllivier Robert	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1390276da39aSCy Schubert	      install; \
1391276da39aSCy Schubert	else \
1392276da39aSCy Schubert	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1393276da39aSCy Schubert	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1394276da39aSCy Schubert	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1395276da39aSCy Schubert	fi
13969c2daa00SOllivier Robertmostlyclean-generic:
13979c2daa00SOllivier Robert
13989c2daa00SOllivier Robertclean-generic:
13992b15cb3dSCy Schubert	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
14009c2daa00SOllivier Robert
14019c2daa00SOllivier Robertdistclean-generic:
1402ea906c41SOllivier Robert	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1403eb6d21b4SOllivier Robert	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
14042b15cb3dSCy Schubert	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
14059c2daa00SOllivier Robert
14069c2daa00SOllivier Robertmaintainer-clean-generic:
14079c2daa00SOllivier Robert	@echo "This command is intended for maintainers to use"
14089c2daa00SOllivier Robert	@echo "it deletes files that may require special tools to rebuild."
1409ea906c41SOllivier Robert	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1410ea906c41SOllivier Robertclean: clean-recursive
14119c2daa00SOllivier Robert
14122b15cb3dSCy Schubertclean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
14132b15cb3dSCy Schubert	clean-libtool clean-noinstLIBRARIES clean-sbinPROGRAMS \
14142b15cb3dSCy Schubert	mostlyclean-am
14159c2daa00SOllivier Robert
1416ea906c41SOllivier Robertdistclean: distclean-recursive
14179c2daa00SOllivier Robert	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
1418a466cc55SCy Schubert		-rm -f ./$(DEPDIR)/crypto.Po
1419a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/kod_management.Po
1420a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/log.Po
1421a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/main.Po
1422a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/networking.Po
1423a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/sntp-opts.Po
1424a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/sntp.Po
1425a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/utilities.Po
1426a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/version.Po
14279c2daa00SOllivier Robert	-rm -f Makefile
14289c2daa00SOllivier Robertdistclean-am: clean-am distclean-compile distclean-generic \
1429ea906c41SOllivier Robert	distclean-hdr distclean-libtool distclean-tags
14309c2daa00SOllivier Robert
1431ea906c41SOllivier Robertdvi: dvi-recursive
14329c2daa00SOllivier Robert
14339c2daa00SOllivier Robertdvi-am:
14349c2daa00SOllivier Robert
1435ea906c41SOllivier Roberthtml: html-recursive
1436ea906c41SOllivier Robert
1437eb6d21b4SOllivier Roberthtml-am:
1438eb6d21b4SOllivier Robert
1439ea906c41SOllivier Robertinfo: info-recursive
14409c2daa00SOllivier Robert
14419c2daa00SOllivier Robertinfo-am:
14429c2daa00SOllivier Robert
14432b15cb3dSCy Schubertinstall-data-am: install-data-local install-htmlDATA install-man
14449c2daa00SOllivier Robert
1445eb6d21b4SOllivier Robertinstall-dvi: install-dvi-recursive
1446eb6d21b4SOllivier Robert
1447eb6d21b4SOllivier Robertinstall-dvi-am:
1448eb6d21b4SOllivier Robert
14492b15cb3dSCy Schubertinstall-exec-am: install-binPROGRAMS install-libexecPROGRAMS \
14502b15cb3dSCy Schubert	install-sbinPROGRAMS
1451ea906c41SOllivier Robert	@$(NORMAL_INSTALL)
1452ea906c41SOllivier Robert	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
1453eb6d21b4SOllivier Robertinstall-html: install-html-recursive
1454eb6d21b4SOllivier Robert
1455eb6d21b4SOllivier Robertinstall-html-am:
14569c2daa00SOllivier Robert
1457ea906c41SOllivier Robertinstall-info: install-info-recursive
14589c2daa00SOllivier Robert
1459eb6d21b4SOllivier Robertinstall-info-am:
1460eb6d21b4SOllivier Robert
14612b15cb3dSCy Schubertinstall-man: install-man1 install-man8
14629c2daa00SOllivier Robert
1463eb6d21b4SOllivier Robertinstall-pdf: install-pdf-recursive
1464eb6d21b4SOllivier Robert
1465eb6d21b4SOllivier Robertinstall-pdf-am:
1466eb6d21b4SOllivier Robert
1467eb6d21b4SOllivier Robertinstall-ps: install-ps-recursive
1468eb6d21b4SOllivier Robert
1469eb6d21b4SOllivier Robertinstall-ps-am:
1470eb6d21b4SOllivier Robert
14719c2daa00SOllivier Robertinstallcheck-am:
14729c2daa00SOllivier Robert
1473ea906c41SOllivier Robertmaintainer-clean: maintainer-clean-recursive
14749c2daa00SOllivier Robert	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
14759c2daa00SOllivier Robert	-rm -rf $(top_srcdir)/autom4te.cache
1476a466cc55SCy Schubert		-rm -f ./$(DEPDIR)/crypto.Po
1477a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/kod_management.Po
1478a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/log.Po
1479a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/main.Po
1480a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/networking.Po
1481a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/sntp-opts.Po
1482a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/sntp.Po
1483a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/utilities.Po
1484a466cc55SCy Schubert	-rm -f ./$(DEPDIR)/version.Po
14859c2daa00SOllivier Robert	-rm -f Makefile
14869c2daa00SOllivier Robertmaintainer-clean-am: distclean-am maintainer-clean-generic
14879c2daa00SOllivier Robert
1488ea906c41SOllivier Robertmostlyclean: mostlyclean-recursive
14899c2daa00SOllivier Robert
1490ea906c41SOllivier Robertmostlyclean-am: mostlyclean-compile mostlyclean-generic \
1491ea906c41SOllivier Robert	mostlyclean-libtool
14929c2daa00SOllivier Robert
1493ea906c41SOllivier Robertpdf: pdf-recursive
14949c2daa00SOllivier Robert
14959c2daa00SOllivier Robertpdf-am:
14969c2daa00SOllivier Robert
1497ea906c41SOllivier Robertps: ps-recursive
14989c2daa00SOllivier Robert
14999c2daa00SOllivier Robertps-am:
15009c2daa00SOllivier Robert
15012b15cb3dSCy Schubertuninstall-am: uninstall-binPROGRAMS uninstall-htmlDATA \
15022b15cb3dSCy Schubert	uninstall-libexecPROGRAMS uninstall-man uninstall-sbinPROGRAMS
15039c2daa00SOllivier Robert
15042b15cb3dSCy Schubertuninstall-man: uninstall-man1 uninstall-man8
1505ea906c41SOllivier Robert
1506276da39aSCy Schubert.MAKE: $(am__recursive_targets) all check install install-am \
1507a466cc55SCy Schubert	install-exec install-exec-am install-strip
1508eb6d21b4SOllivier Robert
1509276da39aSCy Schubert.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1510a466cc55SCy Schubert	am--depfiles am--refresh check check-am clean \
1511a466cc55SCy Schubert	clean-binPROGRAMS clean-cscope clean-generic \
1512a466cc55SCy Schubert	clean-libexecPROGRAMS clean-libtool clean-noinstLIBRARIES \
1513a466cc55SCy Schubert	clean-sbinPROGRAMS cscope cscopelist-am ctags ctags-am dist \
1514a466cc55SCy Schubert	dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
1515a466cc55SCy Schubert	dist-xz dist-zip dist-zstd distcheck distclean \
15169034852cSGleb Smirnoff	distclean-compile distclean-generic distclean-hdr \
15172b15cb3dSCy Schubert	distclean-libtool distclean-tags distcleancheck distdir \
15182b15cb3dSCy Schubert	distuninstallcheck dvi dvi-am html html-am info info-am \
15192b15cb3dSCy Schubert	install install-am install-binPROGRAMS install-data \
15202b15cb3dSCy Schubert	install-data-am install-data-local install-dvi install-dvi-am \
15212b15cb3dSCy Schubert	install-exec install-exec-am install-exec-hook install-html \
15222b15cb3dSCy Schubert	install-html-am install-htmlDATA install-info install-info-am \
15232b15cb3dSCy Schubert	install-libexecPROGRAMS install-man install-man1 install-man8 \
15242b15cb3dSCy Schubert	install-pdf install-pdf-am install-ps install-ps-am \
15252b15cb3dSCy Schubert	install-sbinPROGRAMS install-strip installcheck \
15262b15cb3dSCy Schubert	installcheck-am installdirs installdirs-am maintainer-clean \
1527eb6d21b4SOllivier Robert	maintainer-clean-generic mostlyclean mostlyclean-compile \
1528eb6d21b4SOllivier Robert	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1529276da39aSCy Schubert	tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
1530276da39aSCy Schubert	uninstall-htmlDATA uninstall-libexecPROGRAMS uninstall-man \
1531276da39aSCy Schubert	uninstall-man1 uninstall-man8 uninstall-sbinPROGRAMS
1532276da39aSCy Schubert
1533276da39aSCy Schubert.PRECIOUS: Makefile
1534ea906c41SOllivier Robert
1535ea906c41SOllivier Robert
15362b15cb3dSCy Schubertinstall-data-local: install-html
15372b15cb3dSCy Schubert
1538ea906c41SOllivier RobertFRC:
1539a466cc55SCy Schubert	@: FRC "force" depends on nothing and is not a file, so is always
1540a466cc55SCy Schubert	@: out-of-date causing targets which depend on it to also be
1541a466cc55SCy Schubert	@: outdated so their rules to fire each time they are built.
15422b15cb3dSCy Schubert
1543a466cc55SCy Schubertversion.c: Makefile $(srcdir)/scm-rev
1544a466cc55SCy Schubert	$(AM_V_GEN)env CSET=`cat $(srcdir)/scm-rev` $(top_builddir)/../scripts/build/mkver sntp
15452b15cb3dSCy Schubert
1546ea906c41SOllivier Robertcheck-autogen-version.def: FRC
1547ea906c41SOllivier Robert	@cd $(srcdir)							\
1548ea906c41SOllivier Robert	&& test -r ../include/autogen-version.def			\
1549ea906c41SOllivier Robert	&& ( if cmp -s ../include/autogen-version.def autogen-version.def; \
1550ea906c41SOllivier Robert	   then : ;							\
1551ea906c41SOllivier Robert	   else cp ../include/autogen-version.def autogen-version.def;	 \
1552ea906c41SOllivier Robert		echo "Installing new sntp/autogen-version.def file";	\
1553ea906c41SOllivier Robert	   fi )
1554ea906c41SOllivier Robert
15552b15cb3dSCy Schubert$(srcdir)/autogen-version.def:
15562b15cb3dSCy Schubert	$(MAKE) $(AM_MAKEFLAGS) check-autogen-version.def
15572b15cb3dSCy Schubert
15582b15cb3dSCy Schubertbuilt-sources-only: $(BUILT_SOURCES)
15592b15cb3dSCy Schubert	@: do-nothing action to avoid default SCCS get
15602b15cb3dSCy Schubert
15612b15cb3dSCy Schubertcheck-scm-rev: $(srcdir)/scm-rev
15622b15cb3dSCy Schubert	@: do-nothing
15632b15cb3dSCy Schubert
1564a466cc55SCy Schubert$(srcdir)/scm-rev: FRC
1565a466cc55SCy Schubert	$(AM_V_at)-bk root $(srcdir) >/dev/null 2>&1 &&			\
15662b15cb3dSCy Schubert	    cd $(srcdir)/.. &&						\
15672b15cb3dSCy Schubert	    x=`bk -R prs -hr+ -nd:I: ChangeSet` &&			\
15682b15cb3dSCy Schubert	    y=`cat sntp/scm-rev 2>/dev/null` || true &&			\
15692b15cb3dSCy Schubert	    case "$$x" in ''|$$y) ;; *) echo $$x > sntp/scm-rev ;; esac
15702b15cb3dSCy Schubert
15712b15cb3dSCy Schubert$(srcdir)/m4/version.m4: $(srcdir)/../packageinfo.sh
15722b15cb3dSCy Schubert	TEMPDIR=`pwd` && export TEMPDIR && cd $(srcdir) && \
15732b15cb3dSCy Schubert	../scripts/build/genver m4/version.m4
15742b15cb3dSCy Schubert
15752b15cb3dSCy Schubert$(srcdir)/include/version.def: $(srcdir)/../packageinfo.sh
15762b15cb3dSCy Schubert	TEMPDIR=`pwd` && export TEMPDIR && cd $(srcdir) && \
15772b15cb3dSCy Schubert	../scripts/build/genver include/version.def
15782b15cb3dSCy Schubert
15792b15cb3dSCy Schubert$(srcdir)/include/version.texi: $(srcdir)/../packageinfo.sh
15802b15cb3dSCy Schubert	TEMPDIR=`pwd` && export TEMPDIR && cd $(srcdir) && \
15812b15cb3dSCy Schubert	../scripts/build/genver include/version.texi
15822b15cb3dSCy Schubert
15832b15cb3dSCy Schubert$(srcdir)/../COPYRIGHT:
15842b15cb3dSCy Schubert	cd .. && $(MAKE) $(AM_MAKEFLAGS) COPYRIGHT-please
15852b15cb3dSCy Schubert
15862b15cb3dSCy Schubertcheck-COPYRIGHT-submake: $(srcdir)/../COPYRIGHT
15872b15cb3dSCy Schubert	@cmp -s $(srcdir)/../COPYRIGHT $(srcdir)/COPYRIGHT	\
15882b15cb3dSCy Schubert	 || { cp $(srcdir)/../COPYRIGHT $(srcdir)		\
15892b15cb3dSCy Schubert	      && echo 'updated sntp/COPYRIGHT installed' ;}
15902b15cb3dSCy Schubert	@echo 'submake avoided if this file is newer than parent COPYRIGHT' > $@
15912b15cb3dSCy Schubert
15922b15cb3dSCy Schubertcheck-COPYRIGHT: FRC
15932b15cb3dSCy Schubert	[ ! -r $(srcdir)/../COPYRIGHT ]					\
15942b15cb3dSCy Schubert	|| [ check-COPYRIGHT-submake -nt $(srcdir)/../COPYRIGHT ]	\
15952b15cb3dSCy Schubert	|| $(MAKE) $(AM_MAKEFLAGS) check-COPYRIGHT-submake
15962b15cb3dSCy Schubert
15972b15cb3dSCy Schubert$(srcdir)/COPYRIGHT: check-COPYRIGHT
15982b15cb3dSCy Schubert	@: do-nothing action to prevent any default
1599ea906c41SOllivier Robert
1600ea906c41SOllivier Robert$(srcdir)/sntp-opts.h: $(srcdir)/sntp-opts.c
16012b15cb3dSCy Schubert	@: do-nothing action to avoid default SCCS get, .h built with .c
16022b15cb3dSCy Schubert
16032b15cb3dSCy Schubert$(srcdir)/sntp-opts.c: $(srcdir)/sntp-opts.def $(std_def_list)
1604a466cc55SCy Schubert	$(AM_V_GEN)$(run_ag) sntp-opts.def
1605ea906c41SOllivier Robert
16062b15cb3dSCy Schubert###
1607ea906c41SOllivier Robert
16082b15cb3dSCy Schubert$(srcdir)/sntp.1sntpman: $(srcdir)/sntp-opts.def $(std_def_list)
1609a466cc55SCy Schubert	$(AM_V_GEN)$(run_ag) -DMAN_SECTION=1sntpman -Tagman-cmd.tpl sntp-opts.def
16102b15cb3dSCy Schubert
16112b15cb3dSCy Schubert$(srcdir)/sntp.man.in: $(srcdir)/sntp.1sntpman $(srcdir)/scripts/mansec2subst.sed
16122b15cb3dSCy Schubert	sed -f $(srcdir)/scripts/mansec2subst.sed $(srcdir)/sntp.1sntpman > $(srcdir)/sntp.man.in+
16132b15cb3dSCy Schubert	mv $(srcdir)/sntp.man.in+ $(srcdir)/sntp.man.in
16142b15cb3dSCy Schubert
16152b15cb3dSCy Schubert###
16162b15cb3dSCy Schubert
16172b15cb3dSCy Schubert$(srcdir)/sntp.1sntpmdoc: $(srcdir)/sntp-opts.def $(std_def_list)
1618a466cc55SCy Schubert	$(AM_V_GEN)$(run_ag) -DMAN_SECTION=1sntpmdoc -Tagmdoc-cmd.tpl sntp-opts.def
16192b15cb3dSCy Schubert
16202b15cb3dSCy Schubert$(srcdir)/sntp.mdoc.in: $(srcdir)/sntp.1sntpmdoc $(srcdir)/scripts/mansec2subst.sed
16212b15cb3dSCy Schubert	sed -f $(srcdir)/scripts/mansec2subst.sed $(srcdir)/sntp.1sntpmdoc > $(srcdir)/sntp.mdoc.in+
16222b15cb3dSCy Schubert	mv $(srcdir)/sntp.mdoc.in+ $(srcdir)/sntp.mdoc.in
16232b15cb3dSCy Schubert
16242b15cb3dSCy Schubert###
16252b15cb3dSCy Schubert
16262b15cb3dSCy Schubertsntp.$(SNTP_MS): $(srcdir)/sntp.$(MANTAGFMT).in $(top_builddir)/config.status
16272b15cb3dSCy Schubert	$(top_builddir)/config.status --file=sntp.$(SNTP_MS)+:$(srcdir)/sntp.$(MANTAGFMT).in
16282b15cb3dSCy Schubert	mv sntp.$(SNTP_MS)+ sntp.$(SNTP_MS)
16292b15cb3dSCy Schubert
16302b15cb3dSCy Schubert###
16312b15cb3dSCy Schubert
16322b15cb3dSCy Schubert$(srcdir)/invoke-sntp.menu: $(srcdir)/invoke-sntp.texi
16332b15cb3dSCy Schubert	@: do-nothing action to avoid default SCCS get, .menu built with .texi
16342b15cb3dSCy Schubert
16352b15cb3dSCy Schubert$(srcdir)/invoke-sntp.texi: $(srcdir)/sntp-opts.def $(std_def_list)
1636a466cc55SCy Schubert	$(AM_V_GEN)$(run_ag) -Tagtexi-cmd.tpl -DLEVEL=section sntp-opts.def
16372b15cb3dSCy Schubert	$(top_srcdir)/../scripts/build/check--help $@
16382b15cb3dSCy Schubert
1639a466cc55SCy Schubert$(srcdir)/sntp.html: $(srcdir)/invoke-sntp.texi $(srcdir)/sntp.texi $(srcdir)/include/version.texi
16402b15cb3dSCy Schubert	cd $(srcdir) && ( makeinfo --force --html --no-split -o sntp.html sntp.texi || true )
16412b15cb3dSCy Schubert
16422b15cb3dSCy Schubertlibtool: $(LIBTOOL_DEPS)
16432b15cb3dSCy Schubert	./config.status --recheck
16442b15cb3dSCy Schubert
16459034852cSGleb Smirnoff# HMS: libevent/ is a target if it's in EXTRA_DIST via NTP_FORCE_LIBEVENT_DIST.
16469034852cSGleb Smirnoff# Note that libevent/ is already in DIST_SUBDIRS (implicit in Makefile.am
16479034852cSGleb Smirnoff# but explicit in Makefile.in).  This check doesn't help with distclean.
16489034852cSGleb Smirnofflibevent: distdir-pre-check
16492b15cb3dSCy Schubert
16509034852cSGleb Smirnoff# HMS: Stops the build for gmake or pmake
16519034852cSGleb Smirnoffdistdir-pre-check:
16529034852cSGleb Smirnoff	case "$(DIST_FAIL)" in	\
16539034852cSGleb Smirnoff	 '')  ;;		\
1654*f5f40dd6SCy Schubert	 *) echo "re-run configure adding $(DIST_FAIL) if you want to make a distribution.";	\
16559034852cSGleb Smirnoff	    exit 1 ;;		\
16569034852cSGleb Smirnoff	esac
1657ea906c41SOllivier Robert
1658ea906c41SOllivier Robertinstall-exec-hook:
16592b15cb3dSCy Schubert	@test -z "${bin_PROGRAMS}${bin_SCRIPTS}"		\
1660ea906c41SOllivier Robert	|| for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do	\
16612b15cb3dSCy Schubert	   test ! -f ${sbindir}/$$i				\
16622b15cb3dSCy Schubert		|| echo "*** $$i is also in ${sbindir}!";	\
16632b15cb3dSCy Schubert	done
16642b15cb3dSCy Schubert	@test -z "${sbin_PROGRAMS}${asbin_SCRIPTS}"		\
16652b15cb3dSCy Schubert	|| for i in ${sbin_PROGRAMS} ${sbin_SCRIPTS} " "; do	\
16662b15cb3dSCy Schubert	   test ! -f ${bindir}/$$i				\
16672b15cb3dSCy Schubert		|| echo "*** $$i is also in ${bindir}!";	\
1668ea906c41SOllivier Robert	done
1669ea906c41SOllivier Robert
1670ea906c41SOllivier Robert#
1671eb6d21b4SOllivier Robert
1672*f5f40dd6SCy Schubert.PHONY: check-libntp
16732b15cb3dSCy Schubert
1674*f5f40dd6SCy Schubert@LIBNTP_SUBMAKES_TRUE@check-libntp:
1675*f5f40dd6SCy Schubert@LIBNTP_SUBMAKES_TRUE@	cd $(top_builddir)/../libntp && $(MAKE) $(AM_MAKEFLAGS) libntp.a
16762b15cb3dSCy Schubert
16772b15cb3dSCy Schubertcheck-libopts: libopts/libopts.la
16782b15cb3dSCy Schubert	@echo stamp > $@
16792b15cb3dSCy Schubert
16802b15cb3dSCy Schubertlibopts/libopts.la:
16812b15cb3dSCy Schubert	-cd libopts && $(MAKE) $(AM_MAKEFLAGS) libopts.la
16822b15cb3dSCy Schubert$(DEPDIR)/deps-ver: $(top_srcdir)/deps-ver
16832b15cb3dSCy Schubert	@[ -f $@ ] ||							\
16842b15cb3dSCy Schubert		cp $(top_srcdir)/deps-ver $@
16852b15cb3dSCy Schubert	@[ -w $@ ] ||							\
1686a466cc55SCy Schubert		chmod u+w $@
16872b15cb3dSCy Schubert	@cmp $(top_srcdir)/deps-ver $@ > /dev/null || (			\
16882b15cb3dSCy Schubert		$(MAKE) $(AM_MAKEFLAGS) clean &&			\
16892b15cb3dSCy Schubert		echo -n "Prior $(subdir)/$(DEPDIR) version " &&		\
16902b15cb3dSCy Schubert		cat $@ &&						\
16912b15cb3dSCy Schubert		rm -rf $(DEPDIR) &&					\
16922b15cb3dSCy Schubert		mkdir $(DEPDIR) && 					\
16932b15cb3dSCy Schubert		case "$(top_builddir)" in				\
16942b15cb3dSCy Schubert		 .)							\
16952b15cb3dSCy Schubert		    ./config.status Makefile depfiles			\
16962b15cb3dSCy Schubert		    ;;							\
16972b15cb3dSCy Schubert		 *)							\
16982b15cb3dSCy Schubert		    cd "$(top_builddir)" &&				\
16992b15cb3dSCy Schubert		    ./config.status $(subdir)/Makefile depfiles &&	\
17002b15cb3dSCy Schubert		    cd $(subdir)					\
17012b15cb3dSCy Schubert		    ;;							\
17022b15cb3dSCy Schubert		esac &&							\
17032b15cb3dSCy Schubert		echo -n "Cleaned $(subdir)/$(DEPDIR) version " &&	\
17042b15cb3dSCy Schubert		cat $(top_srcdir)/deps-ver				\
17052b15cb3dSCy Schubert	)
1706a466cc55SCy Schubert	$(AM_V_at)cp $(top_srcdir)/deps-ver $@
17072b15cb3dSCy Schubert
17082b15cb3dSCy Schubert.deps-ver: $(top_srcdir)/deps-ver
17092b15cb3dSCy Schubert	@[ ! -d $(DEPDIR) ] || $(MAKE) $(AM_MAKEFLAGS) $(DEPDIR)/deps-ver
17102b15cb3dSCy Schubert	@touch $@
17112b15cb3dSCy Schubert
17122b15cb3dSCy Schubert#
17132b15cb3dSCy Schubert# depsver.mf	included in Makefile.am for directories with .deps
17142b15cb3dSCy Schubert#
17152b15cb3dSCy Schubert# When building in the same directory with sources that change over
17162b15cb3dSCy Schubert# time, such as when tracking using bk, the .deps files can become
17172b15cb3dSCy Schubert# stale with respect to moved, deleted, or superceded headers.  Most
17182b15cb3dSCy Schubert# commonly, this would exhibit as make reporting a failure to make a
17192b15cb3dSCy Schubert# header file which is no longer in the location given.  To address
17202b15cb3dSCy Schubert# this issue, we use a deps-ver file which is updated with each change
17212b15cb3dSCy Schubert# that breaks old .deps files.  A copy of deps-ver is made into
17222b15cb3dSCy Schubert# $(DEPDIR) if not already present.  If $(DEPDIR)/deps-ver is present
17232b15cb3dSCy Schubert# with different contents than deps-ver, we make clean to ensure all
17242b15cb3dSCy Schubert# .o files built before the incompatible change are rebuilt along with
17252b15cb3dSCy Schubert# their updated .deps files, then remove $(DEPDIR) and recreate it as
17262b15cb3dSCy Schubert# empty stubs.
17272b15cb3dSCy Schubert#
17282b15cb3dSCy Schubert# It is normal when configured with --disable-dependency-tracking for
17292b15cb3dSCy Schubert# the DEPDIR to not have been created.  For this reason, we use the
17302b15cb3dSCy Schubert# intermediate target .deps-ver, which invokes make recursively if
17312b15cb3dSCy Schubert# DEPDIR exists.
17322b15cb3dSCy Schubert#
17332b15cb3dSCy Schubert# If you modify depsver.mf, please make the changes to the master
17342b15cb3dSCy Schubert# copy, the one in sntp is copied by the bootstrap script from it.
17352b15cb3dSCy Schubert#
1736a466cc55SCy Schubert# This comment block follows rather than leads the related rules so that
17372b15cb3dSCy Schubert# it stays with it in the generated Makefile.in and Makefile.
17382b15cb3dSCy Schubert#
17392b15cb3dSCy Schubert
17409c2daa00SOllivier Robert# Tell versions [3.59,3.63) of GNU make to not export all variables.
17419c2daa00SOllivier Robert# Otherwise a system limit (for SysV at least) may be exceeded.
17429c2daa00SOllivier Robert.NOEXPORT:
1743