| 1 |
# Makefile.in generated by automake 1.16.1 from Makefile.am. |
| 2 |
# @configure_input@ |
| 3 |
|
| 4 |
# Copyright (C) 1994-2018 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 |
|
| 17 |
# ============================================================================== |
| 18 |
# Copyright (c) 2017-2021 Michael Baeuerle |
| 19 |
# |
| 20 |
# All rights reserved. |
| 21 |
# |
| 22 |
# Permission is hereby granted, free of charge, to any person obtaining |
| 23 |
# a copy of this software and associated documentation files (the |
| 24 |
# "Software"), to deal in the Software without restriction, including |
| 25 |
# without limitation the rights to use, copy, modify, merge, publish, |
| 26 |
# distribute, and/or sell copies of the Software, and to permit persons |
| 27 |
# to whom the Software is furnished to do so, provided that the above |
| 28 |
# copyright notice(s) and this permission notice appear in all copies of |
| 29 |
# the Software and that both the above copyright notice(s) and this |
| 30 |
# permission notice appear in supporting documentation. |
| 31 |
# |
| 32 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 33 |
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 34 |
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT |
| 35 |
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
| 36 |
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY |
| 37 |
# SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER |
| 38 |
# RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF |
| 39 |
# CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
| 40 |
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 41 |
# |
| 42 |
# Except as contained in this notice, the name of a copyright holder |
| 43 |
# shall not be used in advertising or otherwise to promote the sale, use |
| 44 |
# or other dealings in this Software without prior written authorization |
| 45 |
# of the copyright holder. |
| 46 |
# |
| 47 |
# SPDX-License-Identifier: ICU |
| 48 |
|
| 49 |
# ============================================================================== |
| 50 |
# Rules for automake |
| 51 |
VPATH = @srcdir@ |
| 52 |
am__is_gnu_make = { \ |
| 53 |
if test -z '$(MAKELEVEL)'; then \ |
| 54 |
false; \ |
| 55 |
elif test -n '$(MAKE_HOST)'; then \ |
| 56 |
true; \ |
| 57 |
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ |
| 58 |
true; \ |
| 59 |
else \ |
| 60 |
false; \ |
| 61 |
fi; \ |
| 62 |
} |
| 63 |
am__make_running_with_option = \ |
| 64 |
case $${target_option-} in \ |
| 65 |
?) ;; \ |
| 66 |
*) echo "am__make_running_with_option: internal error: invalid" \ |
| 67 |
"target option '$${target_option-}' specified" >&2; \ |
| 68 |
exit 1;; \ |
| 69 |
esac; \ |
| 70 |
has_opt=no; \ |
| 71 |
sane_makeflags=$$MAKEFLAGS; \ |
| 72 |
if $(am__is_gnu_make); then \ |
| 73 |
sane_makeflags=$$MFLAGS; \ |
| 74 |
else \ |
| 75 |
case $$MAKEFLAGS in \ |
| 76 |
*\\[\ \ ]*) \ |
| 77 |
bs=\\; \ |
| 78 |
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ |
| 79 |
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ |
| 80 |
esac; \ |
| 81 |
fi; \ |
| 82 |
skip_next=no; \ |
| 83 |
strip_trailopt () \ |
| 84 |
{ \ |
| 85 |
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ |
| 86 |
}; \ |
| 87 |
for flg in $$sane_makeflags; do \ |
| 88 |
test $$skip_next = yes && { skip_next=no; continue; }; \ |
| 89 |
case $$flg in \ |
| 90 |
*=*|--*) continue;; \ |
| 91 |
-*I) strip_trailopt 'I'; skip_next=yes;; \ |
| 92 |
-*I?*) strip_trailopt 'I';; \ |
| 93 |
-*O) strip_trailopt 'O'; skip_next=yes;; \ |
| 94 |
-*O?*) strip_trailopt 'O';; \ |
| 95 |
-*l) strip_trailopt 'l'; skip_next=yes;; \ |
| 96 |
-*l?*) strip_trailopt 'l';; \ |
| 97 |
-[dEDm]) skip_next=yes;; \ |
| 98 |
-[JT]) skip_next=yes;; \ |
| 99 |
esac; \ |
| 100 |
case $$flg in \ |
| 101 |
*$$target_option*) has_opt=yes; break;; \ |
| 102 |
esac; \ |
| 103 |
done; \ |
| 104 |
test $$has_opt = yes |
| 105 |
am__make_dryrun = (target_option=n; $(am__make_running_with_option)) |
| 106 |
am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) |
| 107 |
pkgdatadir = $(datadir)/@PACKAGE@ |
| 108 |
pkgincludedir = $(includedir)/@PACKAGE@ |
| 109 |
pkglibdir = $(libdir)/@PACKAGE@ |
| 110 |
pkglibexecdir = $(libexecdir)/@PACKAGE@ |
| 111 |
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
| 112 |
install_sh_DATA = $(install_sh) -c -m 644 |
| 113 |
install_sh_PROGRAM = $(install_sh) -c |
| 114 |
install_sh_SCRIPT = $(install_sh) -c |
| 115 |
INSTALL_HEADER = $(INSTALL_DATA) |
| 116 |
transform = $(program_transform_name) |
| 117 |
NORMAL_INSTALL = : |
| 118 |
PRE_INSTALL = : |
| 119 |
POST_INSTALL = : |
| 120 |
NORMAL_UNINSTALL = : |
| 121 |
PRE_UNINSTALL = : |
| 122 |
POST_UNINSTALL = : |
| 123 |
build_triplet = @build@ |
| 124 |
host_triplet = @host@ |
| 125 |
check_PROGRAMS = shatest$(EXEEXT) canlocktest$(EXEEXT) \ |
| 126 |
canlocktest_multi$(EXEEXT) canlocktest_legacy$(EXEEXT) |
| 127 |
TESTS = shatest$(EXEEXT) shatest_check.sh canlocktest$(EXEEXT) \ |
| 128 |
canlocktest_multi$(EXEEXT) canlocktest_legacy$(EXEEXT) |
| 129 |
subdir = test |
| 130 |
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 131 |
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ |
| 132 |
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ |
| 133 |
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ |
| 134 |
$(top_srcdir)/configure.ac |
| 135 |
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
| 136 |
$(ACLOCAL_M4) |
| 137 |
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) |
| 138 |
mkinstalldirs = $(install_sh) -d |
| 139 |
CONFIG_HEADER = $(top_builddir)/config.h |
| 140 |
CONFIG_CLEAN_FILES = |
| 141 |
CONFIG_CLEAN_VPATH_FILES = |
| 142 |
am_canlocktest_OBJECTS = canlocktest.$(OBJEXT) |
| 143 |
canlocktest_OBJECTS = $(am_canlocktest_OBJECTS) |
| 144 |
canlocktest_DEPENDENCIES = ../src/libcanlock.la |
| 145 |
AM_V_lt = $(am__v_lt_@AM_V@) |
| 146 |
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) |
| 147 |
am__v_lt_0 = --silent |
| 148 |
am__v_lt_1 = |
| 149 |
am_canlocktest_legacy_OBJECTS = canlocktest_legacy.$(OBJEXT) |
| 150 |
canlocktest_legacy_OBJECTS = $(am_canlocktest_legacy_OBJECTS) |
| 151 |
canlocktest_legacy_DEPENDENCIES = ../src/libcanlock.la |
| 152 |
am_canlocktest_multi_OBJECTS = canlocktest_multi.$(OBJEXT) |
| 153 |
canlocktest_multi_OBJECTS = $(am_canlocktest_multi_OBJECTS) |
| 154 |
canlocktest_multi_DEPENDENCIES = ../src/libcanlock.la |
| 155 |
am_shatest_OBJECTS = hkdf.$(OBJEXT) shatest.$(OBJEXT) |
| 156 |
shatest_OBJECTS = $(am_shatest_OBJECTS) |
| 157 |
shatest_DEPENDENCIES = ../src/.libs/libcanlock.a |
| 158 |
AM_V_P = $(am__v_P_@AM_V@) |
| 159 |
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) |
| 160 |
am__v_P_0 = false |
| 161 |
am__v_P_1 = : |
| 162 |
AM_V_GEN = $(am__v_GEN_@AM_V@) |
| 163 |
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
| 164 |
am__v_GEN_0 = @echo " GEN " $@; |
| 165 |
am__v_GEN_1 = |
| 166 |
AM_V_at = $(am__v_at_@AM_V@) |
| 167 |
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
| 168 |
am__v_at_0 = @ |
| 169 |
am__v_at_1 = |
| 170 |
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
| 171 |
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp |
| 172 |
am__maybe_remake_depfiles = depfiles |
| 173 |
am__depfiles_remade = ./$(DEPDIR)/canlocktest.Po \ |
| 174 |
./$(DEPDIR)/canlocktest_legacy.Po \ |
| 175 |
./$(DEPDIR)/canlocktest_multi.Po ./$(DEPDIR)/hkdf.Po \ |
| 176 |
./$(DEPDIR)/shatest.Po |
| 177 |
am__mv = mv -f |
| 178 |
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
| 179 |
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
| 180 |
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ |
| 181 |
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ |
| 182 |
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ |
| 183 |
$(AM_CFLAGS) $(CFLAGS) |
| 184 |
AM_V_CC = $(am__v_CC_@AM_V@) |
| 185 |
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) |
| 186 |
am__v_CC_0 = @echo " CC " $@; |
| 187 |
am__v_CC_1 = |
| 188 |
CCLD = $(CC) |
| 189 |
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ |
| 190 |
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
| 191 |
$(AM_LDFLAGS) $(LDFLAGS) -o $@ |
| 192 |
AM_V_CCLD = $(am__v_CCLD_@AM_V@) |
| 193 |
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) |
| 194 |
am__v_CCLD_0 = @echo " CCLD " $@; |
| 195 |
am__v_CCLD_1 = |
| 196 |
SOURCES = $(canlocktest_SOURCES) $(canlocktest_legacy_SOURCES) \ |
| 197 |
$(canlocktest_multi_SOURCES) $(shatest_SOURCES) |
| 198 |
DIST_SOURCES = $(canlocktest_SOURCES) $(canlocktest_legacy_SOURCES) \ |
| 199 |
$(canlocktest_multi_SOURCES) $(shatest_SOURCES) |
| 200 |
am__can_run_installinfo = \ |
| 201 |
case $$AM_UPDATE_INFO_DIR in \ |
| 202 |
n|no|NO) false;; \ |
| 203 |
*) (install-info --version) >/dev/null 2>&1;; \ |
| 204 |
esac |
| 205 |
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) |
| 206 |
# Read a list of newline-separated strings from the standard input, |
| 207 |
# and print each of them once, without duplicates. Input order is |
| 208 |
# *not* preserved. |
| 209 |
am__uniquify_input = $(AWK) '\ |
| 210 |
BEGIN { nonempty = 0; } \ |
| 211 |
{ items[$$0] = 1; nonempty = 1; } \ |
| 212 |
END { if (nonempty) { for (i in items) print i; }; } \ |
| 213 |
' |
| 214 |
# Make sure the list of sources is unique. This is necessary because, |
| 215 |
# e.g., the same source file might be shared among _SOURCES variables |
| 216 |
# for different programs/libraries. |
| 217 |
am__define_uniq_tagged_files = \ |
| 218 |
list='$(am__tagged_files)'; \ |
| 219 |
unique=`for i in $$list; do \ |
| 220 |
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 221 |
done | $(am__uniquify_input)` |
| 222 |
ETAGS = etags |
| 223 |
CTAGS = ctags |
| 224 |
am__tty_colors_dummy = \ |
| 225 |
mgn= red= grn= lgn= blu= brg= std=; \ |
| 226 |
am__color_tests=no |
| 227 |
am__tty_colors = { \ |
| 228 |
$(am__tty_colors_dummy); \ |
| 229 |
if test "X$(AM_COLOR_TESTS)" = Xno; then \ |
| 230 |
am__color_tests=no; \ |
| 231 |
elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ |
| 232 |
am__color_tests=yes; \ |
| 233 |
elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ |
| 234 |
am__color_tests=yes; \ |
| 235 |
fi; \ |
| 236 |
if test $$am__color_tests = yes; then \ |
| 237 |
red='[0;31m'; \ |
| 238 |
grn='[0;32m'; \ |
| 239 |
lgn='[1;32m'; \ |
| 240 |
blu='[1;34m'; \ |
| 241 |
mgn='[0;35m'; \ |
| 242 |
brg='[1m'; \ |
| 243 |
std='[m'; \ |
| 244 |
fi; \ |
| 245 |
} |
| 246 |
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
| 247 |
am__vpath_adj = case $$p in \ |
| 248 |
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
| 249 |
*) f=$$p;; \ |
| 250 |
esac; |
| 251 |
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; |
| 252 |
am__install_max = 40 |
| 253 |
am__nobase_strip_setup = \ |
| 254 |
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` |
| 255 |
am__nobase_strip = \ |
| 256 |
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" |
| 257 |
am__nobase_list = $(am__nobase_strip_setup); \ |
| 258 |
for p in $$list; do echo "$$p $$p"; done | \ |
| 259 |
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ |
| 260 |
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ |
| 261 |
if (++n[$$2] == $(am__install_max)) \ |
| 262 |
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ |
| 263 |
END { for (dir in files) print dir, files[dir] }' |
| 264 |
am__base_list = \ |
| 265 |
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ |
| 266 |
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' |
| 267 |
am__uninstall_files_from_dir = { \ |
| 268 |
test -z "$$files" \ |
| 269 |
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ |
| 270 |
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \ |
| 271 |
$(am__cd) "$$dir" && rm -f $$files; }; \ |
| 272 |
} |
| 273 |
am__recheck_rx = ^[ ]*:recheck:[ ]* |
| 274 |
am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* |
| 275 |
am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* |
| 276 |
# A command that, given a newline-separated list of test names on the |
| 277 |
# standard input, print the name of the tests that are to be re-run |
| 278 |
# upon "make recheck". |
| 279 |
am__list_recheck_tests = $(AWK) '{ \ |
| 280 |
recheck = 1; \ |
| 281 |
while ((rc = (getline line < ($$0 ".trs"))) != 0) \ |
| 282 |
{ \ |
| 283 |
if (rc < 0) \ |
| 284 |
{ \ |
| 285 |
if ((getline line2 < ($$0 ".log")) < 0) \ |
| 286 |
recheck = 0; \ |
| 287 |
break; \ |
| 288 |
} \ |
| 289 |
else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ |
| 290 |
{ \ |
| 291 |
recheck = 0; \ |
| 292 |
break; \ |
| 293 |
} \ |
| 294 |
else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ |
| 295 |
{ \ |
| 296 |
break; \ |
| 297 |
} \ |
| 298 |
}; \ |
| 299 |
if (recheck) \ |
| 300 |
print $$0; \ |
| 301 |
close ($$0 ".trs"); \ |
| 302 |
close ($$0 ".log"); \ |
| 303 |
}' |
| 304 |
# A command that, given a newline-separated list of test names on the |
| 305 |
# standard input, create the global log from their .trs and .log files. |
| 306 |
am__create_global_log = $(AWK) ' \ |
| 307 |
function fatal(msg) \ |
| 308 |
{ \ |
| 309 |
print "fatal: making $@: " msg | "cat >&2"; \ |
| 310 |
exit 1; \ |
| 311 |
} \ |
| 312 |
function rst_section(header) \ |
| 313 |
{ \ |
| 314 |
print header; \ |
| 315 |
len = length(header); \ |
| 316 |
for (i = 1; i <= len; i = i + 1) \ |
| 317 |
printf "="; \ |
| 318 |
printf "\n\n"; \ |
| 319 |
} \ |
| 320 |
{ \ |
| 321 |
copy_in_global_log = 1; \ |
| 322 |
global_test_result = "RUN"; \ |
| 323 |
while ((rc = (getline line < ($$0 ".trs"))) != 0) \ |
| 324 |
{ \ |
| 325 |
if (rc < 0) \ |
| 326 |
fatal("failed to read from " $$0 ".trs"); \ |
| 327 |
if (line ~ /$(am__global_test_result_rx)/) \ |
| 328 |
{ \ |
| 329 |
sub("$(am__global_test_result_rx)", "", line); \ |
| 330 |
sub("[ ]*$$", "", line); \ |
| 331 |
global_test_result = line; \ |
| 332 |
} \ |
| 333 |
else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ |
| 334 |
copy_in_global_log = 0; \ |
| 335 |
}; \ |
| 336 |
if (copy_in_global_log) \ |
| 337 |
{ \ |
| 338 |
rst_section(global_test_result ": " $$0); \ |
| 339 |
while ((rc = (getline line < ($$0 ".log"))) != 0) \ |
| 340 |
{ \ |
| 341 |
if (rc < 0) \ |
| 342 |
fatal("failed to read from " $$0 ".log"); \ |
| 343 |
print line; \ |
| 344 |
}; \ |
| 345 |
printf "\n"; \ |
| 346 |
}; \ |
| 347 |
close ($$0 ".trs"); \ |
| 348 |
close ($$0 ".log"); \ |
| 349 |
}' |
| 350 |
# Restructured Text title. |
| 351 |
am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } |
| 352 |
# Solaris 10 'make', and several other traditional 'make' implementations, |
| 353 |
# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it |
| 354 |
# by disabling -e (using the XSI extension "set +e") if it's set. |
| 355 |
am__sh_e_setup = case $$- in *e*) set +e;; esac |
| 356 |
# Default flags passed to test drivers. |
| 357 |
am__common_driver_flags = \ |
| 358 |
--color-tests "$$am__color_tests" \ |
| 359 |
--enable-hard-errors "$$am__enable_hard_errors" \ |
| 360 |
--expect-failure "$$am__expect_failure" |
| 361 |
# To be inserted before the command running the test. Creates the |
| 362 |
# directory for the log if needed. Stores in $dir the directory |
| 363 |
# containing $f, in $tst the test, in $log the log. Executes the |
| 364 |
# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and |
| 365 |
# passes TESTS_ENVIRONMENT. Set up options for the wrapper that |
| 366 |
# will run the test scripts (or their associated LOG_COMPILER, if |
| 367 |
# thy have one). |
| 368 |
am__check_pre = \ |
| 369 |
$(am__sh_e_setup); \ |
| 370 |
$(am__vpath_adj_setup) $(am__vpath_adj) \ |
| 371 |
$(am__tty_colors); \ |
| 372 |
srcdir=$(srcdir); export srcdir; \ |
| 373 |
case "$@" in \ |
| 374 |
*/*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ |
| 375 |
*) am__odir=.;; \ |
| 376 |
esac; \ |
| 377 |
test "x$$am__odir" = x"." || test -d "$$am__odir" \ |
| 378 |
|| $(MKDIR_P) "$$am__odir" || exit $$?; \ |
| 379 |
if test -f "./$$f"; then dir=./; \ |
| 380 |
elif test -f "$$f"; then dir=; \ |
| 381 |
else dir="$(srcdir)/"; fi; \ |
| 382 |
tst=$$dir$$f; log='$@'; \ |
| 383 |
if test -n '$(DISABLE_HARD_ERRORS)'; then \ |
| 384 |
am__enable_hard_errors=no; \ |
| 385 |
else \ |
| 386 |
am__enable_hard_errors=yes; \ |
| 387 |
fi; \ |
| 388 |
case " $(XFAIL_TESTS) " in \ |
| 389 |
*[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ |
| 390 |
am__expect_failure=yes;; \ |
| 391 |
*) \ |
| 392 |
am__expect_failure=no;; \ |
| 393 |
esac; \ |
| 394 |
$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) |
| 395 |
# A shell command to get the names of the tests scripts with any registered |
| 396 |
# extension removed (i.e., equivalently, the names of the test logs, with |
| 397 |
# the '.log' extension removed). The result is saved in the shell variable |
| 398 |
# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, |
| 399 |
# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", |
| 400 |
# since that might cause problem with VPATH rewrites for suffix-less tests. |
| 401 |
# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. |
| 402 |
am__set_TESTS_bases = \ |
| 403 |
bases='$(TEST_LOGS)'; \ |
| 404 |
bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ |
| 405 |
bases=`echo $$bases` |
| 406 |
RECHECK_LOGS = $(TEST_LOGS) |
| 407 |
AM_RECURSIVE_TARGETS = check recheck |
| 408 |
TEST_SUITE_LOG = test-suite.log |
| 409 |
TEST_EXTENSIONS = @EXEEXT@ .test |
| 410 |
LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver |
| 411 |
LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) |
| 412 |
am__set_b = \ |
| 413 |
case '$@' in \ |
| 414 |
*/*) \ |
| 415 |
case '$*' in \ |
| 416 |
*/*) b='$*';; \ |
| 417 |
*) b=`echo '$@' | sed 's/\.log$$//'`; \ |
| 418 |
esac;; \ |
| 419 |
*) \ |
| 420 |
b='$*';; \ |
| 421 |
esac |
| 422 |
am__test_logs1 = $(TESTS:=.log) |
| 423 |
am__test_logs2 = $(am__test_logs1:@[email protected]=.log) |
| 424 |
TEST_LOGS = $(am__test_logs2:.test.log=.log) |
| 425 |
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver |
| 426 |
TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ |
| 427 |
$(TEST_LOG_FLAGS) |
| 428 |
am__DIST_COMMON = $(srcdir)/Makefile.in \ |
| 429 |
$(top_srcdir)/build-aux/depcomp \ |
| 430 |
$(top_srcdir)/build-aux/test-driver |
| 431 |
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
| 432 |
ACLOCAL = @ACLOCAL@ |
| 433 |
AMTAR = @AMTAR@ |
| 434 |
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
| 435 |
AR = @AR@ |
| 436 |
AUTOCONF = @AUTOCONF@ |
| 437 |
AUTOHEADER = @AUTOHEADER@ |
| 438 |
AUTOMAKE = @AUTOMAKE@ |
| 439 |
AWK = @AWK@ |
| 440 |
CC = @CC@ |
| 441 |
CCDEPMODE = @CCDEPMODE@ |
| 442 |
CFLAGS = @CFLAGS@ |
| 443 |
CPP = @CPP@ |
| 444 |
CPPFLAGS = @CPPFLAGS@ |
| 445 |
CYGPATH_W = @CYGPATH_W@ |
| 446 |
DEFS = @DEFS@ |
| 447 |
DEPDIR = @DEPDIR@ |
| 448 |
DLLTOOL = @DLLTOOL@ |
| 449 |
DSYMUTIL = @DSYMUTIL@ |
| 450 |
DUMPBIN = @DUMPBIN@ |
| 451 |
ECHO_C = @ECHO_C@ |
| 452 |
ECHO_N = @ECHO_N@ |
| 453 |
ECHO_T = @ECHO_T@ |
| 454 |
EGREP = @EGREP@ |
| 455 |
EXEEXT = @EXEEXT@ |
| 456 |
FGREP = @FGREP@ |
| 457 |
GREP = @GREP@ |
| 458 |
INSTALL = @INSTALL@ |
| 459 |
INSTALL_DATA = @INSTALL_DATA@ |
| 460 |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 461 |
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| 462 |
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
| 463 |
LD = @LD@ |
| 464 |
LDFLAGS = @LDFLAGS@ |
| 465 |
LIBOBJS = @LIBOBJS@ |
| 466 |
LIBS = @LIBS@ |
| 467 |
LIBTOOL = @LIBTOOL@ |
| 468 |
LIPO = @LIPO@ |
| 469 |
LN_S = @LN_S@ |
| 470 |
LTLIBOBJS = @LTLIBOBJS@ |
| 471 |
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ |
| 472 |
MAKEINFO = @MAKEINFO@ |
| 473 |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
| 474 |
MKDIR_P = @MKDIR_P@ |
| 475 |
NM = @NM@ |
| 476 |
NMEDIT = @NMEDIT@ |
| 477 |
OBJDUMP = @OBJDUMP@ |
| 478 |
OBJEXT = @OBJEXT@ |
| 479 |
OTOOL = @OTOOL@ |
| 480 |
OTOOL64 = @OTOOL64@ |
| 481 |
PACKAGE = @PACKAGE@ |
| 482 |
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
| 483 |
PACKAGE_NAME = @PACKAGE_NAME@ |
| 484 |
PACKAGE_STRING = @PACKAGE_STRING@ |
| 485 |
PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
| 486 |
PACKAGE_URL = @PACKAGE_URL@ |
| 487 |
PACKAGE_VERSION = @PACKAGE_VERSION@ |
| 488 |
PATH_SEPARATOR = @PATH_SEPARATOR@ |
| 489 |
RANLIB = @RANLIB@ |
| 490 |
RELEASE_DATE = @RELEASE_DATE@ |
| 491 |
SED = @SED@ |
| 492 |
SET_MAKE = @SET_MAKE@ |
| 493 |
SHELL = @SHELL@ |
| 494 |
STRIP = @STRIP@ |
| 495 |
VERSION = @VERSION@ |
| 496 |
abs_builddir = @abs_builddir@ |
| 497 |
abs_srcdir = @abs_srcdir@ |
| 498 |
abs_top_builddir = @abs_top_builddir@ |
| 499 |
abs_top_srcdir = @abs_top_srcdir@ |
| 500 |
ac_ct_AR = @ac_ct_AR@ |
| 501 |
ac_ct_CC = @ac_ct_CC@ |
| 502 |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
| 503 |
am__include = @am__include@ |
| 504 |
am__leading_dot = @am__leading_dot@ |
| 505 |
am__quote = @am__quote@ |
| 506 |
am__tar = @am__tar@ |
| 507 |
am__untar = @am__untar@ |
| 508 |
bindir = @bindir@ |
| 509 |
build = @build@ |
| 510 |
build_alias = @build_alias@ |
| 511 |
build_cpu = @build_cpu@ |
| 512 |
build_os = @build_os@ |
| 513 |
build_vendor = @build_vendor@ |
| 514 |
builddir = @builddir@ |
| 515 |
datadir = @datadir@ |
| 516 |
datarootdir = @datarootdir@ |
| 517 |
docdir = @docdir@ |
| 518 |
dvidir = @dvidir@ |
| 519 |
exec_prefix = @exec_prefix@ |
| 520 |
host = @host@ |
| 521 |
host_alias = @host_alias@ |
| 522 |
host_cpu = @host_cpu@ |
| 523 |
host_os = @host_os@ |
| 524 |
host_vendor = @host_vendor@ |
| 525 |
htmldir = @htmldir@ |
| 526 |
includedir = @includedir@ |
| 527 |
infodir = @infodir@ |
| 528 |
install_sh = @install_sh@ |
| 529 |
libdir = @libdir@ |
| 530 |
libexecdir = @libexecdir@ |
| 531 |
localedir = @localedir@ |
| 532 |
localstatedir = @localstatedir@ |
| 533 |
mandir = @mandir@ |
| 534 |
mkdir_p = @mkdir_p@ |
| 535 |
oldincludedir = @oldincludedir@ |
| 536 |
opt_legacy_api = @opt_legacy_api@ |
| 537 |
pdfdir = @pdfdir@ |
| 538 |
pkgconfigdir = @pkgconfigdir@ |
| 539 |
prefix = @prefix@ |
| 540 |
program_transform_name = @program_transform_name@ |
| 541 |
psdir = @psdir@ |
| 542 |
sbindir = @sbindir@ |
| 543 |
sharedstatedir = @sharedstatedir@ |
| 544 |
srcdir = @srcdir@ |
| 545 |
subdirs = @subdirs@ |
| 546 |
sysconfdir = @sysconfdir@ |
| 547 |
target_alias = @target_alias@ |
| 548 |
top_build_prefix = @top_build_prefix@ |
| 549 |
top_builddir = @top_builddir@ |
| 550 |
top_srcdir = @top_srcdir@ |
| 551 |
ACLOCAL_AMFLAGS = -I m4 |
| 552 |
AM_CPPFLAGS = -I$(top_srcdir)/include -D_POSIX_C_SOURCE=200112L |
| 553 |
CLEANFILES = shatest_check.sh |
| 554 |
|
| 555 |
# This is required because shatest always return 0 status (even if tests failed) |
| 556 |
check_SCRIPTS = shatest_check.sh |
| 557 |
|
| 558 |
# Attention: Linking against the static library is intended here! |
| 559 |
# (The shared library does not export the internal symbols) |
| 560 |
shatest_SOURCES = hkdf.c shatest.c |
| 561 |
shatest_LDADD = ../src/.libs/libcanlock.a |
| 562 |
canlocktest_SOURCES = canlocktest.c |
| 563 |
canlocktest_LDADD = ../src/libcanlock.la |
| 564 |
canlocktest_multi_SOURCES = canlocktest_multi.c |
| 565 |
canlocktest_multi_LDADD = ../src/libcanlock.la |
| 566 |
canlocktest_legacy_SOURCES = canlocktest_legacy.c |
| 567 |
canlocktest_legacy_LDADD = ../src/libcanlock.la |
| 568 |
all: all-am |
| 569 |
|
| 570 |
.SUFFIXES: |
| 571 |
.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs |
| 572 |
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
| 573 |
@for dep in $?; do \ |
| 574 |
case '$(am__configure_deps)' in \ |
| 575 |
*$$dep*) \ |
| 576 |
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ |
| 577 |
&& { if test -f $@; then exit 0; else break; fi; }; \ |
| 578 |
exit 1;; \ |
| 579 |
esac; \ |
| 580 |
done; \ |
| 581 |
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/Makefile'; \ |
| 582 |
$(am__cd) $(top_srcdir) && \ |
| 583 |
$(AUTOMAKE) --foreign test/Makefile |
| 584 |
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 585 |
@case '$?' in \ |
| 586 |
*config.status*) \ |
| 587 |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
| 588 |
*) \ |
| 589 |
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ |
| 590 |
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ |
| 591 |
esac; |
| 592 |
|
| 593 |
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
| 594 |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
| 595 |
|
| 596 |
$(top_srcdir)/configure: $(am__configure_deps) |
| 597 |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
| 598 |
$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
| 599 |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
| 600 |
$(am__aclocal_m4_deps): |
| 601 |
|
| 602 |
clean-checkPROGRAMS: |
| 603 |
@list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ |
| 604 |
echo " rm -f" $$list; \ |
| 605 |
rm -f $$list || exit $$?; \ |
| 606 |
test -n "$(EXEEXT)" || exit 0; \ |
| 607 |
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ |
| 608 |
echo " rm -f" $$list; \ |
| 609 |
rm -f $$list |
| 610 |
|
| 611 |
canlocktest$(EXEEXT): $(canlocktest_OBJECTS) $(canlocktest_DEPENDENCIES) $(EXTRA_canlocktest_DEPENDENCIES) |
| 612 |
@rm -f canlocktest$(EXEEXT) |
| 613 |
$(AM_V_CCLD)$(LINK) $(canlocktest_OBJECTS) $(canlocktest_LDADD) $(LIBS) |
| 614 |
|
| 615 |
canlocktest_legacy$(EXEEXT): $(canlocktest_legacy_OBJECTS) $(canlocktest_legacy_DEPENDENCIES) $(EXTRA_canlocktest_legacy_DEPENDENCIES) |
| 616 |
@rm -f canlocktest_legacy$(EXEEXT) |
| 617 |
$(AM_V_CCLD)$(LINK) $(canlocktest_legacy_OBJECTS) $(canlocktest_legacy_LDADD) $(LIBS) |
| 618 |
|
| 619 |
canlocktest_multi$(EXEEXT): $(canlocktest_multi_OBJECTS) $(canlocktest_multi_DEPENDENCIES) $(EXTRA_canlocktest_multi_DEPENDENCIES) |
| 620 |
@rm -f canlocktest_multi$(EXEEXT) |
| 621 |
$(AM_V_CCLD)$(LINK) $(canlocktest_multi_OBJECTS) $(canlocktest_multi_LDADD) $(LIBS) |
| 622 |
|
| 623 |
shatest$(EXEEXT): $(shatest_OBJECTS) $(shatest_DEPENDENCIES) $(EXTRA_shatest_DEPENDENCIES) |
| 624 |
@rm -f shatest$(EXEEXT) |
| 625 |
$(AM_V_CCLD)$(LINK) $(shatest_OBJECTS) $(shatest_LDADD) $(LIBS) |
| 626 |
|
| 627 |
mostlyclean-compile: |
| 628 |
-rm -f *.$(OBJEXT) |
| 629 |
|
| 630 |
distclean-compile: |
| 631 |
-rm -f *.tab.c |
| 632 |
|
| 633 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/canlocktest.Po@am__quote@ # am--include-marker |
| 634 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/canlocktest_legacy.Po@am__quote@ # am--include-marker |
| 635 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/canlocktest_multi.Po@am__quote@ # am--include-marker |
| 636 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hkdf.Po@am__quote@ # am--include-marker |
| 637 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shatest.Po@am__quote@ # am--include-marker |
| 638 |
|
| 639 |
$(am__depfiles_remade): |
| 640 |
@$(MKDIR_P) $(@D) |
| 641 |
@echo '# dummy' >$@-t && $(am__mv) $@-t $@ |
| 642 |
|
| 643 |
am--depfiles: $(am__depfiles_remade) |
| 644 |
|
| 645 |
.c.o: |
| 646 |
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
| 647 |
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
| 648 |
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
| 649 |
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 650 |
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< |
| 651 |
|
| 652 |
.c.obj: |
| 653 |
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
| 654 |
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
| 655 |
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
| 656 |
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 657 |
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` |
| 658 |
|
| 659 |
.c.lo: |
| 660 |
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
| 661 |
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo |
| 662 |
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ |
| 663 |
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 664 |
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< |
| 665 |
|
| 666 |
mostlyclean-libtool: |
| 667 |
-rm -f *.lo |
| 668 |
|
| 669 |
clean-libtool: |
| 670 |
-rm -rf .libs _libs |
| 671 |
|
| 672 |
ID: $(am__tagged_files) |
| 673 |
$(am__define_uniq_tagged_files); mkid -fID $$unique |
| 674 |
tags: tags-am |
| 675 |
TAGS: tags |
| 676 |
|
| 677 |
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
| 678 |
set x; \ |
| 679 |
here=`pwd`; \ |
| 680 |
$(am__define_uniq_tagged_files); \ |
| 681 |
shift; \ |
| 682 |
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
| 683 |
test -n "$$unique" || unique=$$empty_fix; \ |
| 684 |
if test $$# -gt 0; then \ |
| 685 |
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
| 686 |
"$$@" $$unique; \ |
| 687 |
else \ |
| 688 |
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
| 689 |
$$unique; \ |
| 690 |
fi; \ |
| 691 |
fi |
| 692 |
ctags: ctags-am |
| 693 |
|
| 694 |
CTAGS: ctags |
| 695 |
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
| 696 |
$(am__define_uniq_tagged_files); \ |
| 697 |
test -z "$(CTAGS_ARGS)$$unique" \ |
| 698 |
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
| 699 |
$$unique |
| 700 |
|
| 701 |
GTAGS: |
| 702 |
here=`$(am__cd) $(top_builddir) && pwd` \ |
| 703 |
&& $(am__cd) $(top_srcdir) \ |
| 704 |
&& gtags -i $(GTAGS_ARGS) "$$here" |
| 705 |
cscopelist: cscopelist-am |
| 706 |
|
| 707 |
cscopelist-am: $(am__tagged_files) |
| 708 |
list='$(am__tagged_files)'; \ |
| 709 |
case "$(srcdir)" in \ |
| 710 |
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ |
| 711 |
*) sdir=$(subdir)/$(srcdir) ;; \ |
| 712 |
esac; \ |
| 713 |
for i in $$list; do \ |
| 714 |
if test -f "$$i"; then \ |
| 715 |
echo "$(subdir)/$$i"; \ |
| 716 |
else \ |
| 717 |
echo "$$sdir/$$i"; \ |
| 718 |
fi; \ |
| 719 |
done >> $(top_builddir)/cscope.files |
| 720 |
|
| 721 |
distclean-tags: |
| 722 |
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
| 723 |
|
| 724 |
# Recover from deleted '.trs' file; this should ensure that |
| 725 |
# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create |
| 726 |
# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells |
| 727 |
# to avoid problems with "make -n". |
| 728 |
.log.trs: |
| 729 |
rm -f $< $@ |
| 730 |
$(MAKE) $(AM_MAKEFLAGS) $< |
| 731 |
|
| 732 |
# Leading 'am--fnord' is there to ensure the list of targets does not |
| 733 |
# expand to empty, as could happen e.g. with make check TESTS=''. |
| 734 |
am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) |
| 735 |
am--force-recheck: |
| 736 |
@: |
| 737 |
|
| 738 |
$(TEST_SUITE_LOG): $(TEST_LOGS) |
| 739 |
@$(am__set_TESTS_bases); \ |
| 740 |
am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ |
| 741 |
redo_bases=`for i in $$bases; do \ |
| 742 |
am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ |
| 743 |
done`; \ |
| 744 |
if test -n "$$redo_bases"; then \ |
| 745 |
redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ |
| 746 |
redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ |
| 747 |
if $(am__make_dryrun); then :; else \ |
| 748 |
rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ |
| 749 |
fi; \ |
| 750 |
fi; \ |
| 751 |
if test -n "$$am__remaking_logs"; then \ |
| 752 |
echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ |
| 753 |
"recursion detected" >&2; \ |
| 754 |
elif test -n "$$redo_logs"; then \ |
| 755 |
am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ |
| 756 |
fi; \ |
| 757 |
if $(am__make_dryrun); then :; else \ |
| 758 |
st=0; \ |
| 759 |
errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ |
| 760 |
for i in $$redo_bases; do \ |
| 761 |
test -f $$i.trs && test -r $$i.trs \ |
| 762 |
|| { echo "$$errmsg $$i.trs" >&2; st=1; }; \ |
| 763 |
test -f $$i.log && test -r $$i.log \ |
| 764 |
|| { echo "$$errmsg $$i.log" >&2; st=1; }; \ |
| 765 |
done; \ |
| 766 |
test $$st -eq 0 || exit 1; \ |
| 767 |
fi |
| 768 |
@$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ |
| 769 |
ws='[ ]'; \ |
| 770 |
results=`for b in $$bases; do echo $$b.trs; done`; \ |
| 771 |
test -n "$$results" || results=/dev/null; \ |
| 772 |
all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ |
| 773 |
pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ |
| 774 |
fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ |
| 775 |
skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ |
| 776 |
xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ |
| 777 |
xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ |
| 778 |
error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ |
| 779 |
if test `expr $$fail + $$xpass + $$error` -eq 0; then \ |
| 780 |
success=true; \ |
| 781 |
else \ |
| 782 |
success=false; \ |
| 783 |
fi; \ |
| 784 |
br='==================='; br=$$br$$br$$br$$br; \ |
| 785 |
result_count () \ |
| 786 |
{ \ |
| 787 |
if test x"$$1" = x"--maybe-color"; then \ |
| 788 |
maybe_colorize=yes; \ |
| 789 |
elif test x"$$1" = x"--no-color"; then \ |
| 790 |
maybe_colorize=no; \ |
| 791 |
else \ |
| 792 |
echo "$@: invalid 'result_count' usage" >&2; exit 4; \ |
| 793 |
fi; \ |
| 794 |
shift; \ |
| 795 |
desc=$$1 count=$$2; \ |
| 796 |
if test $$maybe_colorize = yes && test $$count -gt 0; then \ |
| 797 |
color_start=$$3 color_end=$$std; \ |
| 798 |
else \ |
| 799 |
color_start= color_end=; \ |
| 800 |
fi; \ |
| 801 |
echo "$${color_start}# $$desc $$count$${color_end}"; \ |
| 802 |
}; \ |
| 803 |
create_testsuite_report () \ |
| 804 |
{ \ |
| 805 |
result_count $$1 "TOTAL:" $$all "$$brg"; \ |
| 806 |
result_count $$1 "PASS: " $$pass "$$grn"; \ |
| 807 |
result_count $$1 "SKIP: " $$skip "$$blu"; \ |
| 808 |
result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ |
| 809 |
result_count $$1 "FAIL: " $$fail "$$red"; \ |
| 810 |
result_count $$1 "XPASS:" $$xpass "$$red"; \ |
| 811 |
result_count $$1 "ERROR:" $$error "$$mgn"; \ |
| 812 |
}; \ |
| 813 |
{ \ |
| 814 |
echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ |
| 815 |
$(am__rst_title); \ |
| 816 |
create_testsuite_report --no-color; \ |
| 817 |
echo; \ |
| 818 |
echo ".. contents:: :depth: 2"; \ |
| 819 |
echo; \ |
| 820 |
for b in $$bases; do echo $$b; done \ |
| 821 |
| $(am__create_global_log); \ |
| 822 |
} >$(TEST_SUITE_LOG).tmp || exit 1; \ |
| 823 |
mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ |
| 824 |
if $$success; then \ |
| 825 |
col="$$grn"; \ |
| 826 |
else \ |
| 827 |
col="$$red"; \ |
| 828 |
test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ |
| 829 |
fi; \ |
| 830 |
echo "$${col}$$br$${std}"; \ |
| 831 |
echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ |
| 832 |
echo "$${col}$$br$${std}"; \ |
| 833 |
create_testsuite_report --maybe-color; \ |
| 834 |
echo "$$col$$br$$std"; \ |
| 835 |
if $$success; then :; else \ |
| 836 |
echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ |
| 837 |
if test -n "$(PACKAGE_BUGREPORT)"; then \ |
| 838 |
echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ |
| 839 |
fi; \ |
| 840 |
echo "$$col$$br$$std"; \ |
| 841 |
fi; \ |
| 842 |
$$success || exit 1 |
| 843 |
|
| 844 |
check-TESTS: $(check_PROGRAMS) $(check_SCRIPTS) |
| 845 |
@list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list |
| 846 |
@list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list |
| 847 |
@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) |
| 848 |
@set +e; $(am__set_TESTS_bases); \ |
| 849 |
log_list=`for i in $$bases; do echo $$i.log; done`; \ |
| 850 |
trs_list=`for i in $$bases; do echo $$i.trs; done`; \ |
| 851 |
log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ |
| 852 |
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ |
| 853 |
exit $$?; |
| 854 |
recheck: all $(check_PROGRAMS) $(check_SCRIPTS) |
| 855 |
@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) |
| 856 |
@set +e; $(am__set_TESTS_bases); \ |
| 857 |
bases=`for i in $$bases; do echo $$i; done \ |
| 858 |
| $(am__list_recheck_tests)` || exit 1; \ |
| 859 |
log_list=`for i in $$bases; do echo $$i.log; done`; \ |
| 860 |
log_list=`echo $$log_list`; \ |
| 861 |
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ |
| 862 |
am__force_recheck=am--force-recheck \ |
| 863 |
TEST_LOGS="$$log_list"; \ |
| 864 |
exit $$? |
| 865 |
shatest.log: shatest$(EXEEXT) |
| 866 |
@p='shatest$(EXEEXT)'; \ |
| 867 |
b='shatest'; \ |
| 868 |
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ |
| 869 |
--log-file $$b.log --trs-file $$b.trs \ |
| 870 |
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
| 871 |
"$$tst" $(AM_TESTS_FD_REDIRECT) |
| 872 |
shatest_check.sh.log: shatest_check.sh |
| 873 |
@p='shatest_check.sh'; \ |
| 874 |
b='shatest_check.sh'; \ |
| 875 |
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ |
| 876 |
--log-file $$b.log --trs-file $$b.trs \ |
| 877 |
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
| 878 |
"$$tst" $(AM_TESTS_FD_REDIRECT) |
| 879 |
canlocktest.log: canlocktest$(EXEEXT) |
| 880 |
@p='canlocktest$(EXEEXT)'; \ |
| 881 |
b='canlocktest'; \ |
| 882 |
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ |
| 883 |
--log-file $$b.log --trs-file $$b.trs \ |
| 884 |
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
| 885 |
"$$tst" $(AM_TESTS_FD_REDIRECT) |
| 886 |
canlocktest_multi.log: canlocktest_multi$(EXEEXT) |
| 887 |
@p='canlocktest_multi$(EXEEXT)'; \ |
| 888 |
b='canlocktest_multi'; \ |
| 889 |
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ |
| 890 |
--log-file $$b.log --trs-file $$b.trs \ |
| 891 |
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
| 892 |
"$$tst" $(AM_TESTS_FD_REDIRECT) |
| 893 |
canlocktest_legacy.log: canlocktest_legacy$(EXEEXT) |
| 894 |
@p='canlocktest_legacy$(EXEEXT)'; \ |
| 895 |
b='canlocktest_legacy'; \ |
| 896 |
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ |
| 897 |
--log-file $$b.log --trs-file $$b.trs \ |
| 898 |
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
| 899 |
"$$tst" $(AM_TESTS_FD_REDIRECT) |
| 900 |
.test.log: |
| 901 |
@p='$<'; \ |
| 902 |
$(am__set_b); \ |
| 903 |
$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ |
| 904 |
--log-file $$b.log --trs-file $$b.trs \ |
| 905 |
$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ |
| 906 |
"$$tst" $(AM_TESTS_FD_REDIRECT) |
| 907 |
@[email protected]$(EXEEXT).log: |
| 908 |
@am__EXEEXT_TRUE@ @p='$<'; \ |
| 909 |
@am__EXEEXT_TRUE@ $(am__set_b); \ |
| 910 |
@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ |
| 911 |
@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ |
| 912 |
@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ |
| 913 |
@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) |
| 914 |
|
| 915 |
distdir: $(BUILT_SOURCES) |
| 916 |
$(MAKE) $(AM_MAKEFLAGS) distdir-am |
| 917 |
|
| 918 |
distdir-am: $(DISTFILES) |
| 919 |
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
| 920 |
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
| 921 |
list='$(DISTFILES)'; \ |
| 922 |
dist_files=`for file in $$list; do echo $$file; done | \ |
| 923 |
sed -e "s|^$$srcdirstrip/||;t" \ |
| 924 |
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
| 925 |
case $$dist_files in \ |
| 926 |
*/*) $(MKDIR_P) `echo "$$dist_files" | \ |
| 927 |
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
| 928 |
sort -u` ;; \ |
| 929 |
esac; \ |
| 930 |
for file in $$dist_files; do \ |
| 931 |
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
| 932 |
if test -d $$d/$$file; then \ |
| 933 |
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
| 934 |
if test -d "$(distdir)/$$file"; then \ |
| 935 |
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
| 936 |
fi; \ |
| 937 |
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
| 938 |
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
| 939 |
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
| 940 |
fi; \ |
| 941 |
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
| 942 |
else \ |
| 943 |
test -f "$(distdir)/$$file" \ |
| 944 |
|| cp -p $$d/$$file "$(distdir)/$$file" \ |
| 945 |
|| exit 1; \ |
| 946 |
fi; \ |
| 947 |
done |
| 948 |
check-am: all-am |
| 949 |
$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_SCRIPTS) |
| 950 |
$(MAKE) $(AM_MAKEFLAGS) check-TESTS |
| 951 |
check: check-am |
| 952 |
all-am: Makefile |
| 953 |
installdirs: |
| 954 |
install: install-am |
| 955 |
install-exec: install-exec-am |
| 956 |
install-data: install-data-am |
| 957 |
uninstall: uninstall-am |
| 958 |
|
| 959 |
install-am: all-am |
| 960 |
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
| 961 |
|
| 962 |
installcheck: installcheck-am |
| 963 |
install-strip: |
| 964 |
if test -z '$(STRIP)'; then \ |
| 965 |
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
| 966 |
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
| 967 |
install; \ |
| 968 |
else \ |
| 969 |
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
| 970 |
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
| 971 |
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ |
| 972 |
fi |
| 973 |
mostlyclean-generic: |
| 974 |
-test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) |
| 975 |
-test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) |
| 976 |
-test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) |
| 977 |
|
| 978 |
clean-generic: |
| 979 |
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
| 980 |
|
| 981 |
distclean-generic: |
| 982 |
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
| 983 |
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
| 984 |
|
| 985 |
maintainer-clean-generic: |
| 986 |
@echo "This command is intended for maintainers to use" |
| 987 |
@echo "it deletes files that may require special tools to rebuild." |
| 988 |
clean: clean-am |
| 989 |
|
| 990 |
clean-am: clean-checkPROGRAMS clean-generic clean-libtool \ |
| 991 |
mostlyclean-am |
| 992 |
|
| 993 |
distclean: distclean-am |
| 994 |
-rm -f ./$(DEPDIR)/canlocktest.Po |
| 995 |
-rm -f ./$(DEPDIR)/canlocktest_legacy.Po |
| 996 |
-rm -f ./$(DEPDIR)/canlocktest_multi.Po |
| 997 |
-rm -f ./$(DEPDIR)/hkdf.Po |
| 998 |
-rm -f ./$(DEPDIR)/shatest.Po |
| 999 |
-rm -f Makefile |
| 1000 |
distclean-am: clean-am distclean-compile distclean-generic \ |
| 1001 |
distclean-tags |
| 1002 |
|
| 1003 |
dvi: dvi-am |
| 1004 |
|
| 1005 |
dvi-am: |
| 1006 |
|
| 1007 |
html: html-am |
| 1008 |
|
| 1009 |
html-am: |
| 1010 |
|
| 1011 |
info: info-am |
| 1012 |
|
| 1013 |
info-am: |
| 1014 |
|
| 1015 |
install-data-am: |
| 1016 |
|
| 1017 |
install-dvi: install-dvi-am |
| 1018 |
|
| 1019 |
install-dvi-am: |
| 1020 |
|
| 1021 |
install-exec-am: |
| 1022 |
|
| 1023 |
install-html: install-html-am |
| 1024 |
|
| 1025 |
install-html-am: |
| 1026 |
|
| 1027 |
install-info: install-info-am |
| 1028 |
|
| 1029 |
install-info-am: |
| 1030 |
|
| 1031 |
install-man: |
| 1032 |
|
| 1033 |
install-pdf: install-pdf-am |
| 1034 |
|
| 1035 |
install-pdf-am: |
| 1036 |
|
| 1037 |
install-ps: install-ps-am |
| 1038 |
|
| 1039 |
install-ps-am: |
| 1040 |
|
| 1041 |
installcheck-am: |
| 1042 |
|
| 1043 |
maintainer-clean: maintainer-clean-am |
| 1044 |
-rm -f ./$(DEPDIR)/canlocktest.Po |
| 1045 |
-rm -f ./$(DEPDIR)/canlocktest_legacy.Po |
| 1046 |
-rm -f ./$(DEPDIR)/canlocktest_multi.Po |
| 1047 |
-rm -f ./$(DEPDIR)/hkdf.Po |
| 1048 |
-rm -f ./$(DEPDIR)/shatest.Po |
| 1049 |
-rm -f Makefile |
| 1050 |
maintainer-clean-am: distclean-am maintainer-clean-generic |
| 1051 |
|
| 1052 |
mostlyclean: mostlyclean-am |
| 1053 |
|
| 1054 |
mostlyclean-am: mostlyclean-compile mostlyclean-generic \ |
| 1055 |
mostlyclean-libtool |
| 1056 |
|
| 1057 |
pdf: pdf-am |
| 1058 |
|
| 1059 |
pdf-am: |
| 1060 |
|
| 1061 |
ps: ps-am |
| 1062 |
|
| 1063 |
ps-am: |
| 1064 |
|
| 1065 |
uninstall-am: |
| 1066 |
|
| 1067 |
.MAKE: check-am install-am install-strip |
| 1068 |
|
| 1069 |
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \ |
| 1070 |
check-am clean clean-checkPROGRAMS clean-generic clean-libtool \ |
| 1071 |
cscopelist-am ctags ctags-am distclean distclean-compile \ |
| 1072 |
distclean-generic distclean-libtool distclean-tags distdir dvi \ |
| 1073 |
dvi-am html html-am info info-am install install-am \ |
| 1074 |
install-data install-data-am install-dvi install-dvi-am \ |
| 1075 |
install-exec install-exec-am install-html install-html-am \ |
| 1076 |
install-info install-info-am install-man install-pdf \ |
| 1077 |
install-pdf-am install-ps install-ps-am install-strip \ |
| 1078 |
installcheck installcheck-am installdirs maintainer-clean \ |
| 1079 |
maintainer-clean-generic mostlyclean mostlyclean-compile \ |
| 1080 |
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ |
| 1081 |
recheck tags tags-am uninstall uninstall-am |
| 1082 |
|
| 1083 |
.PRECIOUS: Makefile |
| 1084 |
|
| 1085 |
|
| 1086 |
shatest_check.sh: |
| 1087 |
$(AM_V_GEN)printf "%s\n" "#! $(SHELL)" >$@ ; \ |
| 1088 |
printf "%s\n" '$(GREP) "FAILED" shatest.log && exit 1' >>$@ ; \ |
| 1089 |
printf "%s\n" "exit 0" >>$@ ; \ |
| 1090 |
printf "%s\n" "# EOF" >>$@ ; \ |
| 1091 |
chmod 775 $@ |
| 1092 |
|
| 1093 |
# EOF |
| 1094 |
|
| 1095 |
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 1096 |
# Otherwise a system limit (for SysV at least) may be exceeded. |
| 1097 |
.NOEXPORT: |