Debian Codegraph @

src/lib/test/Makefile.in

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