xref: /freebsd/contrib/ntp/sntp/tests/Makefile.in (revision 9bc300465e48e19d794d88d0c158a2adb92c7197)
1# Makefile.in generated by automake 1.16.5 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2021 Free Software Foundation, Inc.
5
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17VPATH = @srcdir@
18am__is_gnu_make = { \
19  if test -z '$(MAKELEVEL)'; then \
20    false; \
21  elif test -n '$(MAKE_HOST)'; then \
22    true; \
23  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
24    true; \
25  else \
26    false; \
27  fi; \
28}
29am__make_running_with_option = \
30  case $${target_option-} in \
31      ?) ;; \
32      *) echo "am__make_running_with_option: internal error: invalid" \
33              "target option '$${target_option-}' specified" >&2; \
34         exit 1;; \
35  esac; \
36  has_opt=no; \
37  sane_makeflags=$$MAKEFLAGS; \
38  if $(am__is_gnu_make); then \
39    sane_makeflags=$$MFLAGS; \
40  else \
41    case $$MAKEFLAGS in \
42      *\\[\ \	]*) \
43        bs=\\; \
44        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
45          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
46    esac; \
47  fi; \
48  skip_next=no; \
49  strip_trailopt () \
50  { \
51    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
52  }; \
53  for flg in $$sane_makeflags; do \
54    test $$skip_next = yes && { skip_next=no; continue; }; \
55    case $$flg in \
56      *=*|--*) continue;; \
57        -*I) strip_trailopt 'I'; skip_next=yes;; \
58      -*I?*) strip_trailopt 'I';; \
59        -*O) strip_trailopt 'O'; skip_next=yes;; \
60      -*O?*) strip_trailopt 'O';; \
61        -*l) strip_trailopt 'l'; skip_next=yes;; \
62      -*l?*) strip_trailopt 'l';; \
63      -[dEDm]) skip_next=yes;; \
64      -[JT]) skip_next=yes;; \
65    esac; \
66    case $$flg in \
67      *$$target_option*) has_opt=yes; break;; \
68    esac; \
69  done; \
70  test $$has_opt = yes
71am__make_dryrun = (target_option=n; $(am__make_running_with_option))
72am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
73pkgdatadir = $(datadir)/@PACKAGE@
74pkgincludedir = $(includedir)/@PACKAGE@
75pkglibdir = $(libdir)/@PACKAGE@
76pkglibexecdir = $(libexecdir)/@PACKAGE@
77am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
78install_sh_DATA = $(install_sh) -c -m 644
79install_sh_PROGRAM = $(install_sh) -c
80install_sh_SCRIPT = $(install_sh) -c
81INSTALL_HEADER = $(INSTALL_DATA)
82transform = $(program_transform_name)
83NORMAL_INSTALL = :
84PRE_INSTALL = :
85POST_INSTALL = :
86NORMAL_UNINSTALL = :
87PRE_UNINSTALL = :
88POST_UNINSTALL = :
89build_triplet = @build@
90host_triplet = @host@
91EXTRA_PROGRAMS =
92check_PROGRAMS = test-crypto$(EXEEXT) test-keyFile$(EXEEXT) \
93	test-log$(EXEEXT) test-networking$(EXEEXT) \
94	test-packetHandling$(EXEEXT) test-packetProcessing$(EXEEXT) \
95	test-utilities$(EXEEXT) $(am__EXEEXT_1) $(am__EXEEXT_2) \
96	$(am__EXEEXT_3)
97@BUILD_TEST_KODDATABASE_TRUE@am__append_1 = test-kodDatabase
98@BUILD_TEST_KODFILE_TRUE@am__append_2 = test-kodFile
99@NTP_CROSSCOMPILE_FALSE@am__append_3 = $(check_PROGRAMS)
100@LIBNTP_SUBMAKES_TRUE@am__append_4 = check-libntp
101subdir = tests
102ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
103am__aclocal_m4_deps = $(top_srcdir)/libopts/m4/libopts.m4 \
104	$(top_srcdir)/libopts/m4/stdnoreturn.m4 \
105	$(top_srcdir)/m4/hms_search_lib.m4 $(top_srcdir)/m4/libtool.m4 \
106	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
107	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
108	$(top_srcdir)/m4/ntp_cacheversion.m4 \
109	$(top_srcdir)/m4/ntp_compiler.m4 \
110	$(top_srcdir)/m4/ntp_crosscompile.m4 \
111	$(top_srcdir)/m4/ntp_crypto_rand.m4 \
112	$(top_srcdir)/m4/ntp_debug.m4 $(top_srcdir)/m4/ntp_dir_sep.m4 \
113	$(top_srcdir)/m4/ntp_facilitynames.m4 \
114	$(top_srcdir)/m4/ntp_harden.m4 $(top_srcdir)/m4/ntp_ipv6.m4 \
115	$(top_srcdir)/m4/ntp_lib_m.m4 $(top_srcdir)/m4/ntp_libevent.m4 \
116	$(top_srcdir)/m4/ntp_libntp.m4 \
117	$(top_srcdir)/m4/ntp_lineeditlibs.m4 \
118	$(top_srcdir)/m4/ntp_locinfo.m4 \
119	$(top_srcdir)/m4/ntp_openssl.m4 \
120	$(top_srcdir)/m4/ntp_pkg_config.m4 \
121	$(top_srcdir)/m4/ntp_prog_cc.m4 $(top_srcdir)/m4/ntp_sntp.m4 \
122	$(top_srcdir)/m4/ntp_sysexits.m4 \
123	$(top_srcdir)/m4/ntp_unitytest.m4 \
124	$(top_srcdir)/m4/ntp_ver_suffix.m4 \
125	$(top_srcdir)/m4/openldap-thread-check.m4 \
126	$(top_srcdir)/m4/openldap.m4 $(top_srcdir)/m4/os_cflags.m4 \
127	$(top_srcdir)/m4/snprintf.m4 \
128	$(top_srcdir)/m4/sntp_problemtests.m4 \
129	$(top_srcdir)/m4/version.m4 $(top_srcdir)/configure.ac
130am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
131	$(ACLOCAL_M4)
132DIST_COMMON = $(srcdir)/Makefile.am $(dist_check_SCRIPTS) \
133	$(noinst_HEADERS) $(am__DIST_COMMON)
134mkinstalldirs = $(install_sh) -d
135CONFIG_HEADER = $(top_builddir)/config.h
136CONFIG_CLEAN_FILES = fileHandlingTest.h
137CONFIG_CLEAN_VPATH_FILES =
138am__EXEEXT_1 =
139@BUILD_TEST_KODDATABASE_TRUE@am__EXEEXT_2 = test-kodDatabase$(EXEEXT)
140@BUILD_TEST_KODFILE_TRUE@am__EXEEXT_3 = test-kodFile$(EXEEXT)
141am__objects_1 =
142am_test_crypto_OBJECTS = test_crypto-crypto.$(OBJEXT) \
143	test_crypto-run-crypto.$(OBJEXT) $(am__objects_1)
144nodist_test_crypto_OBJECTS = test_crypto-version.$(OBJEXT)
145test_crypto_OBJECTS = $(am_test_crypto_OBJECTS) \
146	$(nodist_test_crypto_OBJECTS)
147test_crypto_LDADD = $(LDADD)
148am__DEPENDENCIES_1 =
149am__DEPENDENCIES_2 = ../libsntp.a $(am__DEPENDENCIES_1) \
150	$(am__DEPENDENCIES_1) $(top_builddir)/../libntp/libntp.a \
151	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
152	$(am__DEPENDENCIES_1)
153test_crypto_DEPENDENCIES = $(am__DEPENDENCIES_2) \
154	$(top_builddir)/unity/libunity.a $(am__DEPENDENCIES_1) \
155	$(am__DEPENDENCIES_1)
156AM_V_lt = $(am__v_lt_@AM_V@)
157am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
158am__v_lt_0 = --silent
159am__v_lt_1 =
160test_crypto_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
161	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_crypto_CFLAGS) \
162	$(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
163am_test_keyFile_OBJECTS = fileHandlingTest.$(OBJEXT) keyFile.$(OBJEXT) \
164	run-keyFile.$(OBJEXT) $(am__objects_1)
165nodist_test_keyFile_OBJECTS = version.$(OBJEXT)
166test_keyFile_OBJECTS = $(am_test_keyFile_OBJECTS) \
167	$(nodist_test_keyFile_OBJECTS)
168test_keyFile_LDADD = $(LDADD)
169test_keyFile_DEPENDENCIES = $(am__DEPENDENCIES_2) \
170	$(top_builddir)/unity/libunity.a $(am__DEPENDENCIES_1) \
171	$(am__DEPENDENCIES_1)
172am_test_kodDatabase_OBJECTS = kodDatabase.$(OBJEXT) \
173	run-kodDatabase.$(OBJEXT) $(am__objects_1)
174nodist_test_kodDatabase_OBJECTS = version.$(OBJEXT)
175test_kodDatabase_OBJECTS = $(am_test_kodDatabase_OBJECTS) \
176	$(nodist_test_kodDatabase_OBJECTS)
177test_kodDatabase_LDADD = $(LDADD)
178test_kodDatabase_DEPENDENCIES = $(am__DEPENDENCIES_2) \
179	$(top_builddir)/unity/libunity.a $(am__DEPENDENCIES_1) \
180	$(am__DEPENDENCIES_1)
181am_test_kodFile_OBJECTS = fileHandlingTest.$(OBJEXT) kodFile.$(OBJEXT) \
182	run-kodFile.$(OBJEXT) $(am__objects_1)
183nodist_test_kodFile_OBJECTS = version.$(OBJEXT)
184test_kodFile_OBJECTS = $(am_test_kodFile_OBJECTS) \
185	$(nodist_test_kodFile_OBJECTS)
186test_kodFile_LDADD = $(LDADD)
187test_kodFile_DEPENDENCIES = $(am__DEPENDENCIES_2) \
188	$(top_builddir)/unity/libunity.a $(am__DEPENDENCIES_1) \
189	$(am__DEPENDENCIES_1)
190am_test_log_OBJECTS = t-log.$(OBJEXT) run-t-log.$(OBJEXT) \
191	$(am__objects_1)
192nodist_test_log_OBJECTS = version.$(OBJEXT)
193test_log_OBJECTS = $(am_test_log_OBJECTS) $(nodist_test_log_OBJECTS)
194test_log_LDADD = $(LDADD)
195test_log_DEPENDENCIES = $(am__DEPENDENCIES_2) \
196	$(top_builddir)/unity/libunity.a $(am__DEPENDENCIES_1) \
197	$(am__DEPENDENCIES_1)
198am_test_networking_OBJECTS = networking.$(OBJEXT) \
199	run-networking.$(OBJEXT) $(am__objects_1)
200nodist_test_networking_OBJECTS = version.$(OBJEXT)
201test_networking_OBJECTS = $(am_test_networking_OBJECTS) \
202	$(nodist_test_networking_OBJECTS)
203test_networking_LDADD = $(LDADD)
204test_networking_DEPENDENCIES = $(am__DEPENDENCIES_2) \
205	$(top_builddir)/unity/libunity.a $(am__DEPENDENCIES_1) \
206	$(am__DEPENDENCIES_1)
207am_test_packetHandling_OBJECTS = packetHandling.$(OBJEXT) \
208	run-packetHandling.$(OBJEXT) $(am__objects_1)
209nodist_test_packetHandling_OBJECTS = version.$(OBJEXT)
210test_packetHandling_OBJECTS = $(am_test_packetHandling_OBJECTS) \
211	$(nodist_test_packetHandling_OBJECTS)
212test_packetHandling_LDADD = $(LDADD)
213test_packetHandling_DEPENDENCIES = $(am__DEPENDENCIES_2) \
214	$(top_builddir)/unity/libunity.a $(am__DEPENDENCIES_1) \
215	$(am__DEPENDENCIES_1)
216am_test_packetProcessing_OBJECTS = packetProcessing.$(OBJEXT) \
217	run-packetProcessing.$(OBJEXT) sntptest.$(OBJEXT) \
218	$(am__objects_1)
219nodist_test_packetProcessing_OBJECTS = version.$(OBJEXT)
220test_packetProcessing_OBJECTS = $(am_test_packetProcessing_OBJECTS) \
221	$(nodist_test_packetProcessing_OBJECTS)
222test_packetProcessing_LDADD = $(LDADD)
223test_packetProcessing_DEPENDENCIES = $(am__DEPENDENCIES_2) \
224	$(top_builddir)/unity/libunity.a $(am__DEPENDENCIES_1) \
225	$(am__DEPENDENCIES_1)
226am_test_utilities_OBJECTS = fileHandlingTest.$(OBJEXT) \
227	utilities.$(OBJEXT) run-utilities.$(OBJEXT) $(am__objects_1)
228nodist_test_utilities_OBJECTS = version.$(OBJEXT)
229test_utilities_OBJECTS = $(am_test_utilities_OBJECTS) \
230	$(nodist_test_utilities_OBJECTS)
231test_utilities_LDADD = $(LDADD)
232test_utilities_DEPENDENCIES = $(am__DEPENDENCIES_2) \
233	$(top_builddir)/unity/libunity.a $(am__DEPENDENCIES_1) \
234	$(am__DEPENDENCIES_1)
235AM_V_P = $(am__v_P_@AM_V@)
236am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
237am__v_P_0 = false
238am__v_P_1 = :
239AM_V_GEN = $(am__v_GEN_@AM_V@)
240am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
241am__v_GEN_0 = @echo "  GEN     " $@;
242am__v_GEN_1 =
243AM_V_at = $(am__v_at_@AM_V@)
244am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
245am__v_at_0 = @
246am__v_at_1 =
247DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
248depcomp = $(SHELL) $(top_srcdir)/libevent/build-aux/depcomp
249am__maybe_remake_depfiles = depfiles
250am__depfiles_remade = ./$(DEPDIR)/fileHandlingTest.Po \
251	./$(DEPDIR)/keyFile.Po ./$(DEPDIR)/kodDatabase.Po \
252	./$(DEPDIR)/kodFile.Po ./$(DEPDIR)/networking.Po \
253	./$(DEPDIR)/packetHandling.Po ./$(DEPDIR)/packetProcessing.Po \
254	./$(DEPDIR)/run-keyFile.Po ./$(DEPDIR)/run-kodDatabase.Po \
255	./$(DEPDIR)/run-kodFile.Po ./$(DEPDIR)/run-networking.Po \
256	./$(DEPDIR)/run-packetHandling.Po \
257	./$(DEPDIR)/run-packetProcessing.Po ./$(DEPDIR)/run-t-log.Po \
258	./$(DEPDIR)/run-utilities.Po ./$(DEPDIR)/sntptest.Po \
259	./$(DEPDIR)/t-log.Po ./$(DEPDIR)/test_crypto-crypto.Po \
260	./$(DEPDIR)/test_crypto-run-crypto.Po \
261	./$(DEPDIR)/test_crypto-version.Po ./$(DEPDIR)/utilities.Po \
262	./$(DEPDIR)/version.Po
263am__mv = mv -f
264COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
265	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
266LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
267	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
268	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
269	$(AM_CFLAGS) $(CFLAGS)
270AM_V_CC = $(am__v_CC_@AM_V@)
271am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
272am__v_CC_0 = @echo "  CC      " $@;
273am__v_CC_1 =
274CCLD = $(CC)
275LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
276	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
277	$(AM_LDFLAGS) $(LDFLAGS) -o $@
278AM_V_CCLD = $(am__v_CCLD_@AM_V@)
279am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
280am__v_CCLD_0 = @echo "  CCLD    " $@;
281am__v_CCLD_1 =
282SOURCES = $(test_crypto_SOURCES) $(nodist_test_crypto_SOURCES) \
283	$(test_keyFile_SOURCES) $(nodist_test_keyFile_SOURCES) \
284	$(test_kodDatabase_SOURCES) $(nodist_test_kodDatabase_SOURCES) \
285	$(test_kodFile_SOURCES) $(nodist_test_kodFile_SOURCES) \
286	$(test_log_SOURCES) $(nodist_test_log_SOURCES) \
287	$(test_networking_SOURCES) $(nodist_test_networking_SOURCES) \
288	$(test_packetHandling_SOURCES) \
289	$(nodist_test_packetHandling_SOURCES) \
290	$(test_packetProcessing_SOURCES) \
291	$(nodist_test_packetProcessing_SOURCES) \
292	$(test_utilities_SOURCES) $(nodist_test_utilities_SOURCES)
293DIST_SOURCES = $(test_crypto_SOURCES) $(test_keyFile_SOURCES) \
294	$(test_kodDatabase_SOURCES) $(test_kodFile_SOURCES) \
295	$(test_log_SOURCES) $(test_networking_SOURCES) \
296	$(test_packetHandling_SOURCES) \
297	$(test_packetProcessing_SOURCES) $(test_utilities_SOURCES)
298am__can_run_installinfo = \
299  case $$AM_UPDATE_INFO_DIR in \
300    n|no|NO) false;; \
301    *) (install-info --version) >/dev/null 2>&1;; \
302  esac
303HEADERS = $(noinst_HEADERS)
304am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
305# Read a list of newline-separated strings from the standard input,
306# and print each of them once, without duplicates.  Input order is
307# *not* preserved.
308am__uniquify_input = $(AWK) '\
309  BEGIN { nonempty = 0; } \
310  { items[$$0] = 1; nonempty = 1; } \
311  END { if (nonempty) { for (i in items) print i; }; } \
312'
313# Make sure the list of sources is unique.  This is necessary because,
314# e.g., the same source file might be shared among _SOURCES variables
315# for different programs/libraries.
316am__define_uniq_tagged_files = \
317  list='$(am__tagged_files)'; \
318  unique=`for i in $$list; do \
319    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
320  done | $(am__uniquify_input)`
321am__tty_colors_dummy = \
322  mgn= red= grn= lgn= blu= brg= std=; \
323  am__color_tests=no
324am__tty_colors = { \
325  $(am__tty_colors_dummy); \
326  if test "X$(AM_COLOR_TESTS)" = Xno; then \
327    am__color_tests=no; \
328  elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
329    am__color_tests=yes; \
330  elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
331    am__color_tests=yes; \
332  fi; \
333  if test $$am__color_tests = yes; then \
334    red=''; \
335    grn=''; \
336    lgn=''; \
337    blu=''; \
338    mgn=''; \
339    brg=''; \
340    std=''; \
341  fi; \
342}
343am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
344am__vpath_adj = case $$p in \
345    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
346    *) f=$$p;; \
347  esac;
348am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
349am__install_max = 40
350am__nobase_strip_setup = \
351  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
352am__nobase_strip = \
353  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
354am__nobase_list = $(am__nobase_strip_setup); \
355  for p in $$list; do echo "$$p $$p"; done | \
356  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
357  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
358    if (++n[$$2] == $(am__install_max)) \
359      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
360    END { for (dir in files) print dir, files[dir] }'
361am__base_list = \
362  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
363  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
364am__uninstall_files_from_dir = { \
365  test -z "$$files" \
366    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
367    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
368         $(am__cd) "$$dir" && rm -f $$files; }; \
369  }
370am__recheck_rx = ^[ 	]*:recheck:[ 	]*
371am__global_test_result_rx = ^[ 	]*:global-test-result:[ 	]*
372am__copy_in_global_log_rx = ^[ 	]*:copy-in-global-log:[ 	]*
373# A command that, given a newline-separated list of test names on the
374# standard input, print the name of the tests that are to be re-run
375# upon "make recheck".
376am__list_recheck_tests = $(AWK) '{ \
377  recheck = 1; \
378  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
379    { \
380      if (rc < 0) \
381        { \
382          if ((getline line2 < ($$0 ".log")) < 0) \
383	    recheck = 0; \
384          break; \
385        } \
386      else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
387        { \
388          recheck = 0; \
389          break; \
390        } \
391      else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
392        { \
393          break; \
394        } \
395    }; \
396  if (recheck) \
397    print $$0; \
398  close ($$0 ".trs"); \
399  close ($$0 ".log"); \
400}'
401# A command that, given a newline-separated list of test names on the
402# standard input, create the global log from their .trs and .log files.
403am__create_global_log = $(AWK) ' \
404function fatal(msg) \
405{ \
406  print "fatal: making $@: " msg | "cat >&2"; \
407  exit 1; \
408} \
409function rst_section(header) \
410{ \
411  print header; \
412  len = length(header); \
413  for (i = 1; i <= len; i = i + 1) \
414    printf "="; \
415  printf "\n\n"; \
416} \
417{ \
418  copy_in_global_log = 1; \
419  global_test_result = "RUN"; \
420  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
421    { \
422      if (rc < 0) \
423         fatal("failed to read from " $$0 ".trs"); \
424      if (line ~ /$(am__global_test_result_rx)/) \
425        { \
426          sub("$(am__global_test_result_rx)", "", line); \
427          sub("[ 	]*$$", "", line); \
428          global_test_result = line; \
429        } \
430      else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
431        copy_in_global_log = 0; \
432    }; \
433  if (copy_in_global_log) \
434    { \
435      rst_section(global_test_result ": " $$0); \
436      while ((rc = (getline line < ($$0 ".log"))) != 0) \
437      { \
438        if (rc < 0) \
439          fatal("failed to read from " $$0 ".log"); \
440        print line; \
441      }; \
442      printf "\n"; \
443    }; \
444  close ($$0 ".trs"); \
445  close ($$0 ".log"); \
446}'
447# Restructured Text title.
448am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
449# Solaris 10 'make', and several other traditional 'make' implementations,
450# pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
451# by disabling -e (using the XSI extension "set +e") if it's set.
452am__sh_e_setup = case $$- in *e*) set +e;; esac
453# Default flags passed to test drivers.
454am__common_driver_flags = \
455  --color-tests "$$am__color_tests" \
456  --enable-hard-errors "$$am__enable_hard_errors" \
457  --expect-failure "$$am__expect_failure"
458# To be inserted before the command running the test.  Creates the
459# directory for the log if needed.  Stores in $dir the directory
460# containing $f, in $tst the test, in $log the log.  Executes the
461# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
462# passes TESTS_ENVIRONMENT.  Set up options for the wrapper that
463# will run the test scripts (or their associated LOG_COMPILER, if
464# thy have one).
465am__check_pre = \
466$(am__sh_e_setup);					\
467$(am__vpath_adj_setup) $(am__vpath_adj)			\
468$(am__tty_colors);					\
469srcdir=$(srcdir); export srcdir;			\
470case "$@" in						\
471  */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;	\
472    *) am__odir=.;; 					\
473esac;							\
474test "x$$am__odir" = x"." || test -d "$$am__odir" 	\
475  || $(MKDIR_P) "$$am__odir" || exit $$?;		\
476if test -f "./$$f"; then dir=./;			\
477elif test -f "$$f"; then dir=;				\
478else dir="$(srcdir)/"; fi;				\
479tst=$$dir$$f; log='$@'; 				\
480if test -n '$(DISABLE_HARD_ERRORS)'; then		\
481  am__enable_hard_errors=no; 				\
482else							\
483  am__enable_hard_errors=yes; 				\
484fi; 							\
485case " $(XFAIL_TESTS) " in				\
486  *[\ \	]$$f[\ \	]* | *[\ \	]$$dir$$f[\ \	]*) \
487    am__expect_failure=yes;;				\
488  *)							\
489    am__expect_failure=no;;				\
490esac; 							\
491$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
492# A shell command to get the names of the tests scripts with any registered
493# extension removed (i.e., equivalently, the names of the test logs, with
494# the '.log' extension removed).  The result is saved in the shell variable
495# '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
496# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
497# since that might cause problem with VPATH rewrites for suffix-less tests.
498# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
499am__set_TESTS_bases = \
500  bases='$(TEST_LOGS)'; \
501  bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
502  bases=`echo $$bases`
503AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
504RECHECK_LOGS = $(TEST_LOGS)
505AM_RECURSIVE_TARGETS = check recheck
506TEST_SUITE_LOG = test-suite.log
507TEST_EXTENSIONS = @EXEEXT@ .test
508LOG_DRIVER = $(SHELL) $(top_srcdir)/libevent/build-aux/test-driver
509LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
510am__set_b = \
511  case '$@' in \
512    */*) \
513      case '$*' in \
514        */*) b='$*';; \
515          *) b=`echo '$@' | sed 's/\.log$$//'`; \
516       esac;; \
517    *) \
518      b='$*';; \
519  esac
520am__test_logs1 = $(TESTS:=.log)
521am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
522TEST_LOGS = $(am__test_logs2:.test.log=.log)
523TEST_LOG_DRIVER = $(SHELL) \
524	$(top_srcdir)/libevent/build-aux/test-driver
525TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
526	$(TEST_LOG_FLAGS)
527am__DIST_COMMON = $(srcdir)/Makefile.in \
528	$(srcdir)/fileHandlingTest.h.in $(top_srcdir)/check-libntp.mf \
529	$(top_srcdir)/check-libsntp.mf $(top_srcdir)/check-libunity.mf \
530	$(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf \
531	$(top_srcdir)/libevent/build-aux/depcomp \
532	$(top_srcdir)/libevent/build-aux/test-driver
533DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
534ACLOCAL = @ACLOCAL@
535ALLOCA = @ALLOCA@
536AMTAR = @AMTAR@
537AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
538AR = @AR@
539AUTOCONF = @AUTOCONF@
540AUTOHEADER = @AUTOHEADER@
541AUTOMAKE = @AUTOMAKE@
542AWK = @AWK@
543BUILD_THREAD = @BUILD_THREAD@
544CALC_TICKADJ_DB = @CALC_TICKADJ_DB@
545CALC_TICKADJ_DL = @CALC_TICKADJ_DL@
546CALC_TICKADJ_DS = @CALC_TICKADJ_DS@
547CALC_TICKADJ_MS = @CALC_TICKADJ_MS@
548CALC_TICKADJ_NI = @CALC_TICKADJ_NI@
549CC = @CC@
550CCDEPMODE = @CCDEPMODE@
551CC_NOFORMAT = @CC_NOFORMAT@
552CFLAGS = @CFLAGS@
553CFLAGS_LIBEVENT = @CFLAGS_LIBEVENT@
554CFLAGS_NTP = @CFLAGS_NTP@
555CPP = @CPP@
556CPPFLAGS = @CPPFLAGS@
557CPPFLAGS_LIBEVENT = @CPPFLAGS_LIBEVENT@
558CPPFLAGS_NTP = @CPPFLAGS_NTP@
559CSCOPE = @CSCOPE@
560CTAGS = @CTAGS@
561CYGPATH_W = @CYGPATH_W@
562DEFS = @DEFS@
563DEPDIR = @DEPDIR@
564DLLTOOL = @DLLTOOL@
565DSYMUTIL = @DSYMUTIL@
566DUMPBIN = @DUMPBIN@
567ECHO_C = @ECHO_C@
568ECHO_N = @ECHO_N@
569ECHO_T = @ECHO_T@
570EDITLINE_LIBS = @EDITLINE_LIBS@
571EGREP = @EGREP@
572ETAGS = @ETAGS@
573EXEEXT = @EXEEXT@
574FGREP = @FGREP@
575GREP = @GREP@
576HAVE_INLINE = @HAVE_INLINE@
577INSTALL = @INSTALL@
578INSTALL_DATA = @INSTALL_DATA@
579INSTALL_PROGRAM = @INSTALL_PROGRAM@
580INSTALL_SCRIPT = @INSTALL_SCRIPT@
581INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
582LD = @LD@
583LDADD_LIBEVENT = @LDADD_LIBEVENT@
584LDADD_LIBNTP = @LDADD_LIBNTP@
585LDADD_LIBUTIL = @LDADD_LIBUTIL@
586LDADD_NTP = @LDADD_NTP@
587LDFLAGS = @LDFLAGS@
588LDFLAGS_NTP = @LDFLAGS_NTP@
589LIBISC_PTHREADS_NOTHREADS = @LIBISC_PTHREADS_NOTHREADS@
590LIBM = @LIBM@
591LIBOBJS = @LIBOBJS@
592LIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
593LIBOPTS_DIR = @LIBOPTS_DIR@
594LIBOPTS_LDADD = @LIBOPTS_LDADD@
595LIBS = @LIBS@
596LIBTOOL = @LIBTOOL@
597LIBTOOL_DEPS = @LIBTOOL_DEPS@
598LIB_SYSLOG = @LIB_SYSLOG@
599LIPO = @LIPO@
600LN_S = @LN_S@
601LTHREAD_LIBS = @LTHREAD_LIBS@
602LTLIBOBJS = @LTLIBOBJS@
603LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
604MAKEINFO = @MAKEINFO@
605MANIFEST_TOOL = @MANIFEST_TOOL@
606MANTAGFMT = @MANTAGFMT@
607MKDIR_P = @MKDIR_P@
608NM = @NM@
609NMEDIT = @NMEDIT@
610NTPDATE_DB = @NTPDATE_DB@
611NTPDATE_DL = @NTPDATE_DL@
612NTPDATE_DS = @NTPDATE_DS@
613NTPDATE_MS = @NTPDATE_MS@
614NTPDATE_NI = @NTPDATE_NI@
615NTPDC_DB = @NTPDC_DB@
616NTPDC_DL = @NTPDC_DL@
617NTPDC_DS = @NTPDC_DS@
618NTPDC_MS = @NTPDC_MS@
619NTPDC_NI = @NTPDC_NI@
620NTPDSIM_DB = @NTPDSIM_DB@
621NTPDSIM_DL = @NTPDSIM_DL@
622NTPDSIM_DS = @NTPDSIM_DS@
623NTPDSIM_MS = @NTPDSIM_MS@
624NTPDSIM_NI = @NTPDSIM_NI@
625NTPD_DB = @NTPD_DB@
626NTPD_DL = @NTPD_DL@
627NTPD_DS = @NTPD_DS@
628NTPD_MS = @NTPD_MS@
629NTPD_NI = @NTPD_NI@
630NTPQ_DB = @NTPQ_DB@
631NTPQ_DL = @NTPQ_DL@
632NTPQ_DS = @NTPQ_DS@
633NTPQ_MS = @NTPQ_MS@
634NTPQ_NI = @NTPQ_NI@
635NTPSNMPD_DB = @NTPSNMPD_DB@
636NTPSNMPD_DL = @NTPSNMPD_DL@
637NTPSNMPD_DS = @NTPSNMPD_DS@
638NTPSNMPD_MS = @NTPSNMPD_MS@
639NTPSNMPD_NI = @NTPSNMPD_NI@
640NTPSWEEP_DB = @NTPSWEEP_DB@
641NTPSWEEP_DL = @NTPSWEEP_DL@
642NTPSWEEP_DS = @NTPSWEEP_DS@
643NTPSWEEP_MS = @NTPSWEEP_MS@
644NTPSWEEP_NI = @NTPSWEEP_NI@
645NTPTIME_DB = @NTPTIME_DB@
646NTPTIME_DL = @NTPTIME_DL@
647NTPTIME_DS = @NTPTIME_DS@
648NTPTIME_MS = @NTPTIME_MS@
649NTPTIME_NI = @NTPTIME_NI@
650NTPTRACE_DB = @NTPTRACE_DB@
651NTPTRACE_DL = @NTPTRACE_DL@
652NTPTRACE_DS = @NTPTRACE_DS@
653NTPTRACE_MS = @NTPTRACE_MS@
654NTPTRACE_NI = @NTPTRACE_NI@
655NTP_FORCE_LIBEVENT_DIST = @NTP_FORCE_LIBEVENT_DIST@
656NTP_HARD_CFLAGS = @NTP_HARD_CFLAGS@
657NTP_HARD_CPPFLAGS = @NTP_HARD_CPPFLAGS@
658NTP_HARD_LDFLAGS = @NTP_HARD_LDFLAGS@
659NTP_KEYGEN_DB = @NTP_KEYGEN_DB@
660NTP_KEYGEN_DL = @NTP_KEYGEN_DL@
661NTP_KEYGEN_DS = @NTP_KEYGEN_DS@
662NTP_KEYGEN_MS = @NTP_KEYGEN_MS@
663NTP_KEYGEN_NI = @NTP_KEYGEN_NI@
664NTP_WAIT_DB = @NTP_WAIT_DB@
665NTP_WAIT_DL = @NTP_WAIT_DL@
666NTP_WAIT_DS = @NTP_WAIT_DS@
667NTP_WAIT_MS = @NTP_WAIT_MS@
668NTP_WAIT_NI = @NTP_WAIT_NI@
669OBJDUMP = @OBJDUMP@
670OBJEXT = @OBJEXT@
671OTOOL = @OTOOL@
672OTOOL64 = @OTOOL64@
673PACKAGE = @PACKAGE@
674PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
675PACKAGE_NAME = @PACKAGE_NAME@
676PACKAGE_STRING = @PACKAGE_STRING@
677PACKAGE_TARNAME = @PACKAGE_TARNAME@
678PACKAGE_URL = @PACKAGE_URL@
679PACKAGE_VERSION = @PACKAGE_VERSION@
680PATH_OPENSSL = @PATH_OPENSSL@
681PATH_RUBY = @PATH_RUBY@
682PATH_SEPARATOR = @PATH_SEPARATOR@
683PKG_CONFIG = @PKG_CONFIG@
684POSIX_SHELL = @POSIX_SHELL@
685PTHREAD_LIBS = @PTHREAD_LIBS@
686RANLIB = @RANLIB@
687SED = @SED@
688SET_MAKE = @SET_MAKE@
689SHELL = @SHELL@
690SNTP = @SNTP@
691SNTP_DB = @SNTP_DB@
692SNTP_DL = @SNTP_DL@
693SNTP_DS = @SNTP_DS@
694SNTP_MS = @SNTP_MS@
695SNTP_NI = @SNTP_NI@
696STDNORETURN_H = @STDNORETURN_H@
697STRIP = @STRIP@
698TICKADJ_DB = @TICKADJ_DB@
699TICKADJ_DL = @TICKADJ_DL@
700TICKADJ_DS = @TICKADJ_DS@
701TICKADJ_MS = @TICKADJ_MS@
702TICKADJ_NI = @TICKADJ_NI@
703TIMETRIM_DB = @TIMETRIM_DB@
704TIMETRIM_DL = @TIMETRIM_DL@
705TIMETRIM_DS = @TIMETRIM_DS@
706TIMETRIM_MS = @TIMETRIM_MS@
707TIMETRIM_NI = @TIMETRIM_NI@
708UPDATE_LEAP_DB = @UPDATE_LEAP_DB@
709UPDATE_LEAP_DL = @UPDATE_LEAP_DL@
710UPDATE_LEAP_DS = @UPDATE_LEAP_DS@
711UPDATE_LEAP_MS = @UPDATE_LEAP_MS@
712UPDATE_LEAP_NI = @UPDATE_LEAP_NI@
713VERSION = @VERSION@
714VER_SUFFIX = @VER_SUFFIX@
715abs_builddir = @abs_builddir@
716abs_srcdir = @abs_srcdir@
717abs_top_builddir = @abs_top_builddir@
718abs_top_srcdir = @abs_top_srcdir@
719ac_ct_AR = @ac_ct_AR@
720ac_ct_CC = @ac_ct_CC@
721ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
722am__include = @am__include@
723am__leading_dot = @am__leading_dot@
724am__quote = @am__quote@
725am__tar = @am__tar@
726am__untar = @am__untar@
727bindir = @bindir@
728build = @build@
729build_alias = @build_alias@
730build_cpu = @build_cpu@
731build_os = @build_os@
732build_vendor = @build_vendor@
733builddir = @builddir@
734datadir = @datadir@
735datarootdir = @datarootdir@
736docdir = @docdir@
737dvidir = @dvidir@
738exec_prefix = @exec_prefix@
739host = @host@
740host_alias = @host_alias@
741host_cpu = @host_cpu@
742host_os = @host_os@
743host_vendor = @host_vendor@
744htmldir = @htmldir@
745includedir = @includedir@
746infodir = @infodir@
747install_sh = @install_sh@
748libdir = @libdir@
749libexecdir = @libexecdir@
750localedir = @localedir@
751localstatedir = @localstatedir@
752mandir = @mandir@
753mkdir_p = @mkdir_p@
754oldincludedir = @oldincludedir@
755pdfdir = @pdfdir@
756prefix = @prefix@
757program_transform_name = @program_transform_name@
758psdir = @psdir@
759runstatedir = @runstatedir@
760sbindir = @sbindir@
761sharedstatedir = @sharedstatedir@
762srcdir = @srcdir@
763subdirs = @subdirs@
764sysconfdir = @sysconfdir@
765target_alias = @target_alias@
766top_build_prefix = @top_build_prefix@
767top_builddir = @top_builddir@
768top_srcdir = @top_srcdir@
769NULL =
770BUILT_SOURCES = $(srcdir)/run-crypto.c $(srcdir)/run-keyFile.c \
771	$(srcdir)/run-kodDatabase.c $(srcdir)/run-kodFile.c \
772	$(srcdir)/run-networking.c $(srcdir)/run-packetHandling.c \
773	$(srcdir)/run-packetProcessing.c $(srcdir)/run-utilities.c \
774	$(NULL) $(am__append_4) check-libsntp check-libunity .deps-ver
775
776# data CLEANFILES down below
777CLEANFILES = debug-output-lfp-bin debug-output-lfp-dec \
778	debug-output-pkt kod-output-blank kod-output-multiple \
779	kod-output-single testLogfile.log testLogfile2.log .version \
780	version.c $(NULL) data/kod-output-multiple \
781	data/kod-output-single data/debug-output-pkt \
782	data/debug-output-lfp-dec data/kod-output-blank \
783	data/debug-output-lfp-bin $(NULL) check-libunity .deps-ver
784DISTCLEANFILES = kod-output-blank kod-output-single \
785	kod-output-multiple testLogfile.log testLogfile2.log $(NULL) \
786	$(DEPDIR)/deps-ver
787std_unity_list = \
788	$(abs_top_srcdir)/unity/auto/generate_test_runner.rb	\
789	$(abs_srcdir)/testconf.yml				\
790	$(NULL)
791
792run_unity = ruby $(std_unity_list)
793noinst_HEADERS = \
794	sntptest.h		\
795	$(NULL)
796
797dist_check_SCRIPTS = tests-runner
798EXTRA_DIST = \
799	data/debug-input-lfp-bin	\
800	data/debug-input-lfp-dec	\
801	data/debug-input-pkt		\
802	data/key-test-ascii		\
803	data/key-test-comments		\
804	data/key-test-empty		\
805	data/key-test-hex		\
806	data/key-test-invalid-hex	\
807	data/kod-expected-multiple	\
808	data/kod-expected-single	\
809	data/kod-test-blanks		\
810	data/kod-test-correct		\
811	data/kod-test-empty		\
812	testconf.yml			\
813	$(NULL)
814
815
816#split into LDADD and tests_LDADD?
817base_LDADD = \
818	../libsntp.a				\
819	$(LIBOPTS_LDADD)			\
820	$(LDADD_LIBEVENT)			\
821	$(top_builddir)/../libntp/libntp.a	\
822	$(LDADD_LIBNTP)				\
823	$(LDADD_NTP)				\
824	$(NULL)
825
826LDADD = \
827	$(base_LDADD)				\
828	$(top_builddir)/unity/libunity.a	\
829	$(LIBM)					\
830	$(NULL)
831
832AM_CFLAGS = $(CFLAGS_NTP) $(NTP_HARD_CFLAGS)
833AM_CPPFLAGS = $(SNTP_INCS) -I$(srcdir)/.. -I$(top_srcdir)/../tests \
834	$(LIBOPTS_CFLAGS) $(CPPFLAGS_LIBEVENT) $(CPPFLAGS_NTP) \
835	-DUNITY_INCLUDE_CONFIG_H -I$(top_srcdir)/unity \
836	$(NTP_HARD_CPPFLAGS)
837AM_LDFLAGS = $(LDFLAGS_NTP) $(NTP_HARD_LDFLAGS)
838test_networking_SOURCES = \
839	networking.c			\
840	run-networking.c		\
841	$(NULL)
842
843nodist_test_networking_SOURCES = version.c
844test_packetHandling_SOURCES = \
845	packetHandling.c		\
846	run-packetHandling.c		\
847	$(NULL)
848
849nodist_test_packetHandling_SOURCES = version.c
850test_kodDatabase_SOURCES = \
851	kodDatabase.c			\
852	run-kodDatabase.c		\
853	$(NULL)
854
855nodist_test_kodDatabase_SOURCES = version.c
856test_keyFile_SOURCES = \
857	fileHandlingTest.c		\
858	keyFile.c			\
859	run-keyFile.c			\
860	$(NULL)
861
862nodist_test_keyFile_SOURCES = version.c
863test_kodFile_SOURCES = \
864	fileHandlingTest.c		\
865	kodFile.c			\
866	run-kodFile.c			\
867	$(NULL)
868
869nodist_test_kodFile_SOURCES = version.c
870test_packetProcessing_SOURCES = \
871	packetProcessing.c		\
872	run-packetProcessing.c		\
873	sntptest.c			\
874	$(NULL)
875
876nodist_test_packetProcessing_SOURCES = version.c
877test_utilities_SOURCES = \
878	fileHandlingTest.c		\
879	utilities.c			\
880	run-utilities.c			\
881	$(NULL)
882
883nodist_test_utilities_SOURCES = version.c
884test_crypto_CFLAGS = \
885	$(CFLAGS_LIBEVENT)		\
886	$(AM_CFLAGS)			\
887	$(NULL)
888
889test_crypto_SOURCES = \
890	crypto.c			\
891	run-crypto.c			\
892	$(NULL)
893
894nodist_test_crypto_SOURCES = version.c
895test_log_SOURCES = \
896	t-log.c				\
897	run-t-log.c			\
898	$(NULL)
899
900nodist_test_log_SOURCES = version.c
901TESTS = $(am__append_3)
902SNTP_INCS = -I$(top_srcdir)/../include \
903	-I$(top_srcdir)/../libntp/lib/isc/include \
904	-I$(top_srcdir)/../libntp/lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/include \
905	-I$(top_srcdir)/../libntp/lib/isc/unix/include
906all: $(BUILT_SOURCES)
907	$(MAKE) $(AM_MAKEFLAGS) all-am
908
909.SUFFIXES:
910.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
911$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/check-libntp.mf $(top_srcdir)/check-libsntp.mf $(top_srcdir)/check-libunity.mf $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf $(am__configure_deps)
912	@for dep in $?; do \
913	  case '$(am__configure_deps)' in \
914	    *$$dep*) \
915	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
916	        && { if test -f $@; then exit 0; else break; fi; }; \
917	      exit 1;; \
918	  esac; \
919	done; \
920	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \
921	$(am__cd) $(top_srcdir) && \
922	  $(AUTOMAKE) --foreign tests/Makefile
923Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
924	@case '$?' in \
925	  *config.status*) \
926	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
927	  *) \
928	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
929	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
930	esac;
931$(top_srcdir)/check-libntp.mf $(top_srcdir)/check-libsntp.mf $(top_srcdir)/check-libunity.mf $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf $(am__empty):
932
933$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
934	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
935
936$(top_srcdir)/configure:  $(am__configure_deps)
937	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
938$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
939	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
940$(am__aclocal_m4_deps):
941fileHandlingTest.h: $(top_builddir)/config.status $(srcdir)/fileHandlingTest.h.in
942	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
943
944clean-checkPROGRAMS:
945	@list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
946	echo " rm -f" $$list; \
947	rm -f $$list || exit $$?; \
948	test -n "$(EXEEXT)" || exit 0; \
949	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
950	echo " rm -f" $$list; \
951	rm -f $$list
952
953test-crypto$(EXEEXT): $(test_crypto_OBJECTS) $(test_crypto_DEPENDENCIES) $(EXTRA_test_crypto_DEPENDENCIES)
954	@rm -f test-crypto$(EXEEXT)
955	$(AM_V_CCLD)$(test_crypto_LINK) $(test_crypto_OBJECTS) $(test_crypto_LDADD) $(LIBS)
956
957test-keyFile$(EXEEXT): $(test_keyFile_OBJECTS) $(test_keyFile_DEPENDENCIES) $(EXTRA_test_keyFile_DEPENDENCIES)
958	@rm -f test-keyFile$(EXEEXT)
959	$(AM_V_CCLD)$(LINK) $(test_keyFile_OBJECTS) $(test_keyFile_LDADD) $(LIBS)
960
961test-kodDatabase$(EXEEXT): $(test_kodDatabase_OBJECTS) $(test_kodDatabase_DEPENDENCIES) $(EXTRA_test_kodDatabase_DEPENDENCIES)
962	@rm -f test-kodDatabase$(EXEEXT)
963	$(AM_V_CCLD)$(LINK) $(test_kodDatabase_OBJECTS) $(test_kodDatabase_LDADD) $(LIBS)
964
965test-kodFile$(EXEEXT): $(test_kodFile_OBJECTS) $(test_kodFile_DEPENDENCIES) $(EXTRA_test_kodFile_DEPENDENCIES)
966	@rm -f test-kodFile$(EXEEXT)
967	$(AM_V_CCLD)$(LINK) $(test_kodFile_OBJECTS) $(test_kodFile_LDADD) $(LIBS)
968
969test-log$(EXEEXT): $(test_log_OBJECTS) $(test_log_DEPENDENCIES) $(EXTRA_test_log_DEPENDENCIES)
970	@rm -f test-log$(EXEEXT)
971	$(AM_V_CCLD)$(LINK) $(test_log_OBJECTS) $(test_log_LDADD) $(LIBS)
972
973test-networking$(EXEEXT): $(test_networking_OBJECTS) $(test_networking_DEPENDENCIES) $(EXTRA_test_networking_DEPENDENCIES)
974	@rm -f test-networking$(EXEEXT)
975	$(AM_V_CCLD)$(LINK) $(test_networking_OBJECTS) $(test_networking_LDADD) $(LIBS)
976
977test-packetHandling$(EXEEXT): $(test_packetHandling_OBJECTS) $(test_packetHandling_DEPENDENCIES) $(EXTRA_test_packetHandling_DEPENDENCIES)
978	@rm -f test-packetHandling$(EXEEXT)
979	$(AM_V_CCLD)$(LINK) $(test_packetHandling_OBJECTS) $(test_packetHandling_LDADD) $(LIBS)
980
981test-packetProcessing$(EXEEXT): $(test_packetProcessing_OBJECTS) $(test_packetProcessing_DEPENDENCIES) $(EXTRA_test_packetProcessing_DEPENDENCIES)
982	@rm -f test-packetProcessing$(EXEEXT)
983	$(AM_V_CCLD)$(LINK) $(test_packetProcessing_OBJECTS) $(test_packetProcessing_LDADD) $(LIBS)
984
985test-utilities$(EXEEXT): $(test_utilities_OBJECTS) $(test_utilities_DEPENDENCIES) $(EXTRA_test_utilities_DEPENDENCIES)
986	@rm -f test-utilities$(EXEEXT)
987	$(AM_V_CCLD)$(LINK) $(test_utilities_OBJECTS) $(test_utilities_LDADD) $(LIBS)
988
989mostlyclean-compile:
990	-rm -f *.$(OBJEXT)
991
992distclean-compile:
993	-rm -f *.tab.c
994
995@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileHandlingTest.Po@am__quote@ # am--include-marker
996@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keyFile.Po@am__quote@ # am--include-marker
997@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kodDatabase.Po@am__quote@ # am--include-marker
998@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kodFile.Po@am__quote@ # am--include-marker
999@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/networking.Po@am__quote@ # am--include-marker
1000@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/packetHandling.Po@am__quote@ # am--include-marker
1001@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/packetProcessing.Po@am__quote@ # am--include-marker
1002@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/run-keyFile.Po@am__quote@ # am--include-marker
1003@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/run-kodDatabase.Po@am__quote@ # am--include-marker
1004@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/run-kodFile.Po@am__quote@ # am--include-marker
1005@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/run-networking.Po@am__quote@ # am--include-marker
1006@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/run-packetHandling.Po@am__quote@ # am--include-marker
1007@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/run-packetProcessing.Po@am__quote@ # am--include-marker
1008@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/run-t-log.Po@am__quote@ # am--include-marker
1009@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/run-utilities.Po@am__quote@ # am--include-marker
1010@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sntptest.Po@am__quote@ # am--include-marker
1011@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-log.Po@am__quote@ # am--include-marker
1012@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_crypto-crypto.Po@am__quote@ # am--include-marker
1013@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_crypto-run-crypto.Po@am__quote@ # am--include-marker
1014@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_crypto-version.Po@am__quote@ # am--include-marker
1015@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utilities.Po@am__quote@ # am--include-marker
1016@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@ # am--include-marker
1017
1018$(am__depfiles_remade):
1019	@$(MKDIR_P) $(@D)
1020	@echo '# dummy' >$@-t && $(am__mv) $@-t $@
1021
1022am--depfiles: $(am__depfiles_remade)
1023
1024.c.o:
1025@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
1026@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1027@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
1028@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1029@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1030@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
1031
1032.c.obj:
1033@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
1034@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
1035@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
1036@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1037@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1038@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1039
1040.c.lo:
1041@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
1042@am__fastdepCC_TRUE@	$(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1043@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Plo
1044@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
1045@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1046@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
1047
1048test_crypto-crypto.o: crypto.c
1049@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_crypto_CFLAGS) $(CFLAGS) -MT test_crypto-crypto.o -MD -MP -MF $(DEPDIR)/test_crypto-crypto.Tpo -c -o test_crypto-crypto.o `test -f 'crypto.c' || echo '$(srcdir)/'`crypto.c
1050@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/test_crypto-crypto.Tpo $(DEPDIR)/test_crypto-crypto.Po
1051@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='crypto.c' object='test_crypto-crypto.o' libtool=no @AMDEPBACKSLASH@
1052@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1053@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_crypto_CFLAGS) $(CFLAGS) -c -o test_crypto-crypto.o `test -f 'crypto.c' || echo '$(srcdir)/'`crypto.c
1054
1055test_crypto-crypto.obj: crypto.c
1056@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_crypto_CFLAGS) $(CFLAGS) -MT test_crypto-crypto.obj -MD -MP -MF $(DEPDIR)/test_crypto-crypto.Tpo -c -o test_crypto-crypto.obj `if test -f 'crypto.c'; then $(CYGPATH_W) 'crypto.c'; else $(CYGPATH_W) '$(srcdir)/crypto.c'; fi`
1057@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/test_crypto-crypto.Tpo $(DEPDIR)/test_crypto-crypto.Po
1058@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='crypto.c' object='test_crypto-crypto.obj' libtool=no @AMDEPBACKSLASH@
1059@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1060@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_crypto_CFLAGS) $(CFLAGS) -c -o test_crypto-crypto.obj `if test -f 'crypto.c'; then $(CYGPATH_W) 'crypto.c'; else $(CYGPATH_W) '$(srcdir)/crypto.c'; fi`
1061
1062test_crypto-run-crypto.o: run-crypto.c
1063@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_crypto_CFLAGS) $(CFLAGS) -MT test_crypto-run-crypto.o -MD -MP -MF $(DEPDIR)/test_crypto-run-crypto.Tpo -c -o test_crypto-run-crypto.o `test -f 'run-crypto.c' || echo '$(srcdir)/'`run-crypto.c
1064@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/test_crypto-run-crypto.Tpo $(DEPDIR)/test_crypto-run-crypto.Po
1065@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='run-crypto.c' object='test_crypto-run-crypto.o' libtool=no @AMDEPBACKSLASH@
1066@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1067@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_crypto_CFLAGS) $(CFLAGS) -c -o test_crypto-run-crypto.o `test -f 'run-crypto.c' || echo '$(srcdir)/'`run-crypto.c
1068
1069test_crypto-run-crypto.obj: run-crypto.c
1070@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_crypto_CFLAGS) $(CFLAGS) -MT test_crypto-run-crypto.obj -MD -MP -MF $(DEPDIR)/test_crypto-run-crypto.Tpo -c -o test_crypto-run-crypto.obj `if test -f 'run-crypto.c'; then $(CYGPATH_W) 'run-crypto.c'; else $(CYGPATH_W) '$(srcdir)/run-crypto.c'; fi`
1071@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/test_crypto-run-crypto.Tpo $(DEPDIR)/test_crypto-run-crypto.Po
1072@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='run-crypto.c' object='test_crypto-run-crypto.obj' libtool=no @AMDEPBACKSLASH@
1073@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1074@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_crypto_CFLAGS) $(CFLAGS) -c -o test_crypto-run-crypto.obj `if test -f 'run-crypto.c'; then $(CYGPATH_W) 'run-crypto.c'; else $(CYGPATH_W) '$(srcdir)/run-crypto.c'; fi`
1075
1076test_crypto-version.o: version.c
1077@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_crypto_CFLAGS) $(CFLAGS) -MT test_crypto-version.o -MD -MP -MF $(DEPDIR)/test_crypto-version.Tpo -c -o test_crypto-version.o `test -f 'version.c' || echo '$(srcdir)/'`version.c
1078@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/test_crypto-version.Tpo $(DEPDIR)/test_crypto-version.Po
1079@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='version.c' object='test_crypto-version.o' libtool=no @AMDEPBACKSLASH@
1080@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1081@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_crypto_CFLAGS) $(CFLAGS) -c -o test_crypto-version.o `test -f 'version.c' || echo '$(srcdir)/'`version.c
1082
1083test_crypto-version.obj: version.c
1084@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_crypto_CFLAGS) $(CFLAGS) -MT test_crypto-version.obj -MD -MP -MF $(DEPDIR)/test_crypto-version.Tpo -c -o test_crypto-version.obj `if test -f 'version.c'; then $(CYGPATH_W) 'version.c'; else $(CYGPATH_W) '$(srcdir)/version.c'; fi`
1085@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/test_crypto-version.Tpo $(DEPDIR)/test_crypto-version.Po
1086@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='version.c' object='test_crypto-version.obj' libtool=no @AMDEPBACKSLASH@
1087@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1088@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_crypto_CFLAGS) $(CFLAGS) -c -o test_crypto-version.obj `if test -f 'version.c'; then $(CYGPATH_W) 'version.c'; else $(CYGPATH_W) '$(srcdir)/version.c'; fi`
1089
1090mostlyclean-libtool:
1091	-rm -f *.lo
1092
1093clean-libtool:
1094	-rm -rf .libs _libs
1095
1096ID: $(am__tagged_files)
1097	$(am__define_uniq_tagged_files); mkid -fID $$unique
1098tags: tags-am
1099TAGS: tags
1100
1101tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1102	set x; \
1103	here=`pwd`; \
1104	$(am__define_uniq_tagged_files); \
1105	shift; \
1106	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1107	  test -n "$$unique" || unique=$$empty_fix; \
1108	  if test $$# -gt 0; then \
1109	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1110	      "$$@" $$unique; \
1111	  else \
1112	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1113	      $$unique; \
1114	  fi; \
1115	fi
1116ctags: ctags-am
1117
1118CTAGS: ctags
1119ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1120	$(am__define_uniq_tagged_files); \
1121	test -z "$(CTAGS_ARGS)$$unique" \
1122	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1123	     $$unique
1124
1125GTAGS:
1126	here=`$(am__cd) $(top_builddir) && pwd` \
1127	  && $(am__cd) $(top_srcdir) \
1128	  && gtags -i $(GTAGS_ARGS) "$$here"
1129cscopelist: cscopelist-am
1130
1131cscopelist-am: $(am__tagged_files)
1132	list='$(am__tagged_files)'; \
1133	case "$(srcdir)" in \
1134	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1135	  *) sdir=$(subdir)/$(srcdir) ;; \
1136	esac; \
1137	for i in $$list; do \
1138	  if test -f "$$i"; then \
1139	    echo "$(subdir)/$$i"; \
1140	  else \
1141	    echo "$$sdir/$$i"; \
1142	  fi; \
1143	done >> $(top_builddir)/cscope.files
1144
1145distclean-tags:
1146	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1147
1148# Recover from deleted '.trs' file; this should ensure that
1149# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
1150# both 'foo.log' and 'foo.trs'.  Break the recipe in two subshells
1151# to avoid problems with "make -n".
1152.log.trs:
1153	rm -f $< $@
1154	$(MAKE) $(AM_MAKEFLAGS) $<
1155
1156# Leading 'am--fnord' is there to ensure the list of targets does not
1157# expand to empty, as could happen e.g. with make check TESTS=''.
1158am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
1159am--force-recheck:
1160	@:
1161
1162$(TEST_SUITE_LOG): $(TEST_LOGS)
1163	@$(am__set_TESTS_bases); \
1164	am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
1165	redo_bases=`for i in $$bases; do \
1166	              am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
1167	            done`; \
1168	if test -n "$$redo_bases"; then \
1169	  redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
1170	  redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
1171	  if $(am__make_dryrun); then :; else \
1172	    rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
1173	  fi; \
1174	fi; \
1175	if test -n "$$am__remaking_logs"; then \
1176	  echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
1177	       "recursion detected" >&2; \
1178	elif test -n "$$redo_logs"; then \
1179	  am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
1180	fi; \
1181	if $(am__make_dryrun); then :; else \
1182	  st=0;  \
1183	  errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
1184	  for i in $$redo_bases; do \
1185	    test -f $$i.trs && test -r $$i.trs \
1186	      || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
1187	    test -f $$i.log && test -r $$i.log \
1188	      || { echo "$$errmsg $$i.log" >&2; st=1; }; \
1189	  done; \
1190	  test $$st -eq 0 || exit 1; \
1191	fi
1192	@$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
1193	ws='[ 	]'; \
1194	results=`for b in $$bases; do echo $$b.trs; done`; \
1195	test -n "$$results" || results=/dev/null; \
1196	all=`  grep "^$$ws*:test-result:"           $$results | wc -l`; \
1197	pass=` grep "^$$ws*:test-result:$$ws*PASS"  $$results | wc -l`; \
1198	fail=` grep "^$$ws*:test-result:$$ws*FAIL"  $$results | wc -l`; \
1199	skip=` grep "^$$ws*:test-result:$$ws*SKIP"  $$results | wc -l`; \
1200	xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
1201	xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
1202	error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
1203	if test `expr $$fail + $$xpass + $$error` -eq 0; then \
1204	  success=true; \
1205	else \
1206	  success=false; \
1207	fi; \
1208	br='==================='; br=$$br$$br$$br$$br; \
1209	result_count () \
1210	{ \
1211	    if test x"$$1" = x"--maybe-color"; then \
1212	      maybe_colorize=yes; \
1213	    elif test x"$$1" = x"--no-color"; then \
1214	      maybe_colorize=no; \
1215	    else \
1216	      echo "$@: invalid 'result_count' usage" >&2; exit 4; \
1217	    fi; \
1218	    shift; \
1219	    desc=$$1 count=$$2; \
1220	    if test $$maybe_colorize = yes && test $$count -gt 0; then \
1221	      color_start=$$3 color_end=$$std; \
1222	    else \
1223	      color_start= color_end=; \
1224	    fi; \
1225	    echo "$${color_start}# $$desc $$count$${color_end}"; \
1226	}; \
1227	create_testsuite_report () \
1228	{ \
1229	  result_count $$1 "TOTAL:" $$all   "$$brg"; \
1230	  result_count $$1 "PASS: " $$pass  "$$grn"; \
1231	  result_count $$1 "SKIP: " $$skip  "$$blu"; \
1232	  result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
1233	  result_count $$1 "FAIL: " $$fail  "$$red"; \
1234	  result_count $$1 "XPASS:" $$xpass "$$red"; \
1235	  result_count $$1 "ERROR:" $$error "$$mgn"; \
1236	}; \
1237	{								\
1238	  echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |	\
1239	    $(am__rst_title);						\
1240	  create_testsuite_report --no-color;				\
1241	  echo;								\
1242	  echo ".. contents:: :depth: 2";				\
1243	  echo;								\
1244	  for b in $$bases; do echo $$b; done				\
1245	    | $(am__create_global_log);					\
1246	} >$(TEST_SUITE_LOG).tmp || exit 1;				\
1247	mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);			\
1248	if $$success; then						\
1249	  col="$$grn";							\
1250	 else								\
1251	  col="$$red";							\
1252	  test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);		\
1253	fi;								\
1254	echo "$${col}$$br$${std}"; 					\
1255	echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}";	\
1256	echo "$${col}$$br$${std}"; 					\
1257	create_testsuite_report --maybe-color;				\
1258	echo "$$col$$br$$std";						\
1259	if $$success; then :; else					\
1260	  echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}";		\
1261	  if test -n "$(PACKAGE_BUGREPORT)"; then			\
1262	    echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}";	\
1263	  fi;								\
1264	  echo "$$col$$br$$std";					\
1265	fi;								\
1266	$$success || exit 1
1267
1268check-TESTS: $(check_PROGRAMS) $(dist_check_SCRIPTS)
1269	@list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
1270	@list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1271	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1272	@set +e; $(am__set_TESTS_bases); \
1273	log_list=`for i in $$bases; do echo $$i.log; done`; \
1274	trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1275	log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1276	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1277	exit $$?;
1278recheck: all $(check_PROGRAMS) $(dist_check_SCRIPTS)
1279	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1280	@set +e; $(am__set_TESTS_bases); \
1281	bases=`for i in $$bases; do echo $$i; done \
1282	         | $(am__list_recheck_tests)` || exit 1; \
1283	log_list=`for i in $$bases; do echo $$i.log; done`; \
1284	log_list=`echo $$log_list`; \
1285	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1286	        am__force_recheck=am--force-recheck \
1287	        TEST_LOGS="$$log_list"; \
1288	exit $$?
1289test-crypto.log: test-crypto$(EXEEXT)
1290	@p='test-crypto$(EXEEXT)'; \
1291	b='test-crypto'; \
1292	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1293	--log-file $$b.log --trs-file $$b.trs \
1294	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1295	"$$tst" $(AM_TESTS_FD_REDIRECT)
1296test-keyFile.log: test-keyFile$(EXEEXT)
1297	@p='test-keyFile$(EXEEXT)'; \
1298	b='test-keyFile'; \
1299	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1300	--log-file $$b.log --trs-file $$b.trs \
1301	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1302	"$$tst" $(AM_TESTS_FD_REDIRECT)
1303test-log.log: test-log$(EXEEXT)
1304	@p='test-log$(EXEEXT)'; \
1305	b='test-log'; \
1306	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1307	--log-file $$b.log --trs-file $$b.trs \
1308	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1309	"$$tst" $(AM_TESTS_FD_REDIRECT)
1310test-networking.log: test-networking$(EXEEXT)
1311	@p='test-networking$(EXEEXT)'; \
1312	b='test-networking'; \
1313	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1314	--log-file $$b.log --trs-file $$b.trs \
1315	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1316	"$$tst" $(AM_TESTS_FD_REDIRECT)
1317test-packetHandling.log: test-packetHandling$(EXEEXT)
1318	@p='test-packetHandling$(EXEEXT)'; \
1319	b='test-packetHandling'; \
1320	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1321	--log-file $$b.log --trs-file $$b.trs \
1322	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1323	"$$tst" $(AM_TESTS_FD_REDIRECT)
1324test-packetProcessing.log: test-packetProcessing$(EXEEXT)
1325	@p='test-packetProcessing$(EXEEXT)'; \
1326	b='test-packetProcessing'; \
1327	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1328	--log-file $$b.log --trs-file $$b.trs \
1329	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1330	"$$tst" $(AM_TESTS_FD_REDIRECT)
1331test-utilities.log: test-utilities$(EXEEXT)
1332	@p='test-utilities$(EXEEXT)'; \
1333	b='test-utilities'; \
1334	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1335	--log-file $$b.log --trs-file $$b.trs \
1336	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1337	"$$tst" $(AM_TESTS_FD_REDIRECT)
1338test-kodDatabase.log: test-kodDatabase$(EXEEXT)
1339	@p='test-kodDatabase$(EXEEXT)'; \
1340	b='test-kodDatabase'; \
1341	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1342	--log-file $$b.log --trs-file $$b.trs \
1343	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1344	"$$tst" $(AM_TESTS_FD_REDIRECT)
1345test-kodFile.log: test-kodFile$(EXEEXT)
1346	@p='test-kodFile$(EXEEXT)'; \
1347	b='test-kodFile'; \
1348	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1349	--log-file $$b.log --trs-file $$b.trs \
1350	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1351	"$$tst" $(AM_TESTS_FD_REDIRECT)
1352.test.log:
1353	@p='$<'; \
1354	$(am__set_b); \
1355	$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1356	--log-file $$b.log --trs-file $$b.trs \
1357	$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1358	"$$tst" $(AM_TESTS_FD_REDIRECT)
1359@am__EXEEXT_TRUE@.test$(EXEEXT).log:
1360@am__EXEEXT_TRUE@	@p='$<'; \
1361@am__EXEEXT_TRUE@	$(am__set_b); \
1362@am__EXEEXT_TRUE@	$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1363@am__EXEEXT_TRUE@	--log-file $$b.log --trs-file $$b.trs \
1364@am__EXEEXT_TRUE@	$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1365@am__EXEEXT_TRUE@	"$$tst" $(AM_TESTS_FD_REDIRECT)
1366distdir: $(BUILT_SOURCES)
1367	$(MAKE) $(AM_MAKEFLAGS) distdir-am
1368
1369distdir-am: $(DISTFILES)
1370	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1371	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1372	list='$(DISTFILES)'; \
1373	  dist_files=`for file in $$list; do echo $$file; done | \
1374	  sed -e "s|^$$srcdirstrip/||;t" \
1375	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1376	case $$dist_files in \
1377	  */*) $(MKDIR_P) `echo "$$dist_files" | \
1378			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1379			   sort -u` ;; \
1380	esac; \
1381	for file in $$dist_files; do \
1382	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1383	  if test -d $$d/$$file; then \
1384	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1385	    if test -d "$(distdir)/$$file"; then \
1386	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1387	    fi; \
1388	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1389	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1390	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1391	    fi; \
1392	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1393	  else \
1394	    test -f "$(distdir)/$$file" \
1395	    || cp -p $$d/$$file "$(distdir)/$$file" \
1396	    || exit 1; \
1397	  fi; \
1398	done
1399check-am: all-am
1400	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) \
1401	  $(dist_check_SCRIPTS)
1402	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
1403check: $(BUILT_SOURCES)
1404	$(MAKE) $(AM_MAKEFLAGS) check-am
1405all-am: Makefile $(HEADERS)
1406installdirs:
1407install: $(BUILT_SOURCES)
1408	$(MAKE) $(AM_MAKEFLAGS) install-am
1409install-exec: $(BUILT_SOURCES)
1410	$(MAKE) $(AM_MAKEFLAGS) install-exec-am
1411install-data: install-data-am
1412uninstall: uninstall-am
1413
1414install-am: all-am
1415	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1416
1417installcheck: installcheck-am
1418install-strip:
1419	if test -z '$(STRIP)'; then \
1420	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1421	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1422	      install; \
1423	else \
1424	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1425	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1426	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1427	fi
1428mostlyclean-generic:
1429	-test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1430	-test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1431	-test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1432
1433clean-generic:
1434	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1435
1436distclean-generic:
1437	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1438	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1439	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1440
1441maintainer-clean-generic:
1442	@echo "This command is intended for maintainers to use"
1443	@echo "it deletes files that may require special tools to rebuild."
1444	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1445clean: clean-am
1446
1447clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
1448	mostlyclean-am
1449
1450distclean: distclean-am
1451		-rm -f ./$(DEPDIR)/fileHandlingTest.Po
1452	-rm -f ./$(DEPDIR)/keyFile.Po
1453	-rm -f ./$(DEPDIR)/kodDatabase.Po
1454	-rm -f ./$(DEPDIR)/kodFile.Po
1455	-rm -f ./$(DEPDIR)/networking.Po
1456	-rm -f ./$(DEPDIR)/packetHandling.Po
1457	-rm -f ./$(DEPDIR)/packetProcessing.Po
1458	-rm -f ./$(DEPDIR)/run-keyFile.Po
1459	-rm -f ./$(DEPDIR)/run-kodDatabase.Po
1460	-rm -f ./$(DEPDIR)/run-kodFile.Po
1461	-rm -f ./$(DEPDIR)/run-networking.Po
1462	-rm -f ./$(DEPDIR)/run-packetHandling.Po
1463	-rm -f ./$(DEPDIR)/run-packetProcessing.Po
1464	-rm -f ./$(DEPDIR)/run-t-log.Po
1465	-rm -f ./$(DEPDIR)/run-utilities.Po
1466	-rm -f ./$(DEPDIR)/sntptest.Po
1467	-rm -f ./$(DEPDIR)/t-log.Po
1468	-rm -f ./$(DEPDIR)/test_crypto-crypto.Po
1469	-rm -f ./$(DEPDIR)/test_crypto-run-crypto.Po
1470	-rm -f ./$(DEPDIR)/test_crypto-version.Po
1471	-rm -f ./$(DEPDIR)/utilities.Po
1472	-rm -f ./$(DEPDIR)/version.Po
1473	-rm -f Makefile
1474distclean-am: clean-am distclean-compile distclean-generic \
1475	distclean-tags
1476
1477dvi: dvi-am
1478
1479dvi-am:
1480
1481html: html-am
1482
1483html-am:
1484
1485info: info-am
1486
1487info-am:
1488
1489install-data-am:
1490
1491install-dvi: install-dvi-am
1492
1493install-dvi-am:
1494
1495install-exec-am:
1496
1497install-html: install-html-am
1498
1499install-html-am:
1500
1501install-info: install-info-am
1502
1503install-info-am:
1504
1505install-man:
1506
1507install-pdf: install-pdf-am
1508
1509install-pdf-am:
1510
1511install-ps: install-ps-am
1512
1513install-ps-am:
1514
1515installcheck-am:
1516
1517maintainer-clean: maintainer-clean-am
1518		-rm -f ./$(DEPDIR)/fileHandlingTest.Po
1519	-rm -f ./$(DEPDIR)/keyFile.Po
1520	-rm -f ./$(DEPDIR)/kodDatabase.Po
1521	-rm -f ./$(DEPDIR)/kodFile.Po
1522	-rm -f ./$(DEPDIR)/networking.Po
1523	-rm -f ./$(DEPDIR)/packetHandling.Po
1524	-rm -f ./$(DEPDIR)/packetProcessing.Po
1525	-rm -f ./$(DEPDIR)/run-keyFile.Po
1526	-rm -f ./$(DEPDIR)/run-kodDatabase.Po
1527	-rm -f ./$(DEPDIR)/run-kodFile.Po
1528	-rm -f ./$(DEPDIR)/run-networking.Po
1529	-rm -f ./$(DEPDIR)/run-packetHandling.Po
1530	-rm -f ./$(DEPDIR)/run-packetProcessing.Po
1531	-rm -f ./$(DEPDIR)/run-t-log.Po
1532	-rm -f ./$(DEPDIR)/run-utilities.Po
1533	-rm -f ./$(DEPDIR)/sntptest.Po
1534	-rm -f ./$(DEPDIR)/t-log.Po
1535	-rm -f ./$(DEPDIR)/test_crypto-crypto.Po
1536	-rm -f ./$(DEPDIR)/test_crypto-run-crypto.Po
1537	-rm -f ./$(DEPDIR)/test_crypto-version.Po
1538	-rm -f ./$(DEPDIR)/utilities.Po
1539	-rm -f ./$(DEPDIR)/version.Po
1540	-rm -f Makefile
1541maintainer-clean-am: distclean-am maintainer-clean-generic
1542
1543mostlyclean: mostlyclean-am
1544
1545mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1546	mostlyclean-libtool
1547
1548pdf: pdf-am
1549
1550pdf-am:
1551
1552ps: ps-am
1553
1554ps-am:
1555
1556uninstall-am:
1557
1558.MAKE: all check check-am install install-am install-exec \
1559	install-strip
1560
1561.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \
1562	check-am clean clean-checkPROGRAMS clean-generic clean-libtool \
1563	cscopelist-am ctags ctags-am distclean distclean-compile \
1564	distclean-generic distclean-libtool distclean-tags distdir dvi \
1565	dvi-am html html-am info info-am install install-am \
1566	install-data install-data-am install-dvi install-dvi-am \
1567	install-exec install-exec-am install-html install-html-am \
1568	install-info install-info-am install-man install-pdf \
1569	install-pdf-am install-ps install-ps-am install-strip \
1570	installcheck installcheck-am installdirs maintainer-clean \
1571	maintainer-clean-generic mostlyclean mostlyclean-compile \
1572	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1573	recheck tags tags-am uninstall uninstall-am
1574
1575.PRECIOUS: Makefile
1576
1577
1578$(srcdir)/run-kodFile.c: $(srcdir)/kodFile.c $(std_unity_list)
1579	$(run_unity) $< $@
1580
1581$(srcdir)/run-keyFile.c: $(srcdir)/keyFile.c $(std_unity_list)
1582	$(run_unity) $< $@
1583
1584$(srcdir)/run-kodDatabase.c: $(srcdir)/kodDatabase.c $(std_unity_list)
1585	$(run_unity) $< $@
1586
1587$(srcdir)/run-networking.c: $(srcdir)/networking.c $(std_unity_list)
1588	$(run_unity) $< $@
1589
1590$(srcdir)/run-packetProcessing.c: $(srcdir)/packetProcessing.c $(std_unity_list)
1591	$(run_unity) $< $@
1592
1593$(srcdir)/run-packetHandling.c: $(srcdir)/packetHandling.c $(std_unity_list)
1594	$(run_unity) $< $@
1595
1596$(srcdir)/run-utilities.c: $(srcdir)/utilities.c $(std_unity_list)
1597	$(run_unity) $< $@
1598
1599$(srcdir)/run-crypto.c: $(srcdir)/crypto.c $(std_unity_list)
1600	$(run_unity) $< $@
1601
1602$(srcdir)/run-t-log.c: $(srcdir)/t-log.c $(std_unity_list)
1603	$(run_unity) $< $@
1604#if !NTP_CROSSCOMPILE
1605#TESTS += tests-runner
1606#endif
1607
1608version.c: Makefile $(top_srcdir)/scm-rev
1609	$(AM_V_GEN)env CSET=`cat $(srcdir)/../scm-rev` $(top_builddir)/../scripts/build/mkver sntp-tests
1610
1611$(top_srcdir)/scm-rev: FRC.scm-rev
1612	$(AM_V_GEN)cd .. && $(MAKE) $(AM_MAKEFLAGS) check-scm-rev
1613
1614FRC.scm-rev:
1615	@: FRC.scm-rev "force" depends on nothing and is not a file, so is	\
1616	   always out-of-date causing targets which depend on it to also	\
1617	   be outdated so their rules to fire each time they are built.
1618
1619.PHONY: check-libntp
1620
1621@LIBNTP_SUBMAKES_TRUE@check-libntp:
1622@LIBNTP_SUBMAKES_TRUE@	cd $(top_builddir)/../libntp && $(MAKE) $(AM_MAKEFLAGS) libntp.a
1623
1624.PHONY: check-libsntp
1625check-libsntp:
1626	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) libsntp.a
1627
1628check-libunity: $(top_builddir)/unity/libunity.a
1629	@echo stamp > $@
1630
1631$(top_builddir)/unity/libunity.a:
1632	cd $(top_builddir)/unity && $(MAKE) $(AM_MAKEFLAGS) libunity.a
1633$(DEPDIR)/deps-ver: $(top_srcdir)/deps-ver
1634	@[ -f $@ ] ||							\
1635		cp $(top_srcdir)/deps-ver $@
1636	@[ -w $@ ] ||							\
1637		chmod u+w $@
1638	@cmp $(top_srcdir)/deps-ver $@ > /dev/null || (			\
1639		$(MAKE) $(AM_MAKEFLAGS) clean &&			\
1640		echo -n "Prior $(subdir)/$(DEPDIR) version " &&		\
1641		cat $@ &&						\
1642		rm -rf $(DEPDIR) &&					\
1643		mkdir $(DEPDIR) && 					\
1644		case "$(top_builddir)" in				\
1645		 .)							\
1646		    ./config.status Makefile depfiles			\
1647		    ;;							\
1648		 *)							\
1649		    cd "$(top_builddir)" &&				\
1650		    ./config.status $(subdir)/Makefile depfiles &&	\
1651		    cd $(subdir)					\
1652		    ;;							\
1653		esac &&							\
1654		echo -n "Cleaned $(subdir)/$(DEPDIR) version " &&	\
1655		cat $(top_srcdir)/deps-ver				\
1656	)
1657	$(AM_V_at)cp $(top_srcdir)/deps-ver $@
1658
1659.deps-ver: $(top_srcdir)/deps-ver
1660	@[ ! -d $(DEPDIR) ] || $(MAKE) $(AM_MAKEFLAGS) $(DEPDIR)/deps-ver
1661	@touch $@
1662
1663#
1664# depsver.mf	included in Makefile.am for directories with .deps
1665#
1666# When building in the same directory with sources that change over
1667# time, such as when tracking using bk, the .deps files can become
1668# stale with respect to moved, deleted, or superceded headers.  Most
1669# commonly, this would exhibit as make reporting a failure to make a
1670# header file which is no longer in the location given.  To address
1671# this issue, we use a deps-ver file which is updated with each change
1672# that breaks old .deps files.  A copy of deps-ver is made into
1673# $(DEPDIR) if not already present.  If $(DEPDIR)/deps-ver is present
1674# with different contents than deps-ver, we make clean to ensure all
1675# .o files built before the incompatible change are rebuilt along with
1676# their updated .deps files, then remove $(DEPDIR) and recreate it as
1677# empty stubs.
1678#
1679# It is normal when configured with --disable-dependency-tracking for
1680# the DEPDIR to not have been created.  For this reason, we use the
1681# intermediate target .deps-ver, which invokes make recursively if
1682# DEPDIR exists.
1683#
1684# If you modify depsver.mf, please make the changes to the master
1685# copy, the one in sntp is copied by the bootstrap script from it.
1686#
1687# This comment block follows rather than leads the related rules so that
1688# it stays with it in the generated Makefile.in and Makefile.
1689#
1690
1691# Tell versions [3.59,3.63) of GNU make to not export all variables.
1692# Otherwise a system limit (for SysV at least) may be exceeded.
1693.NOEXPORT:
1694