2 # DO NOT EDIT! DO NOT EDIT! DO NOT EDIT! DO NOT EDIT! DO NOT EDIT!
4 # This file is automatically generated by admin/generate-makefile.sh.
5 # Edit its source version, Makefile.am.m4, instead or your changes will
8 # DO NOT EDIT! DO NOT EDIT! DO NOT EDIT! DO NOT EDIT! DO NOT EDIT!
12 # Automated Testing Framework (atf)
14 # Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
15 # All rights reserved.
17 # Redistribution and use in source and binary forms, with or without
18 # modification, are permitted provided that the following conditions
20 # 1. Redistributions of source code must retain the above copyright
21 # notice, this list of conditions and the following disclaimer.
22 # 2. Redistributions in binary form must reproduce the above copyright
23 # notice, this list of conditions and the following disclaimer in the
24 # documentation and/or other materials provided with the distribution.
26 # THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND
27 # CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
28 # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
29 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
30 # IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY
31 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
33 # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
35 # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
36 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
37 # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 # -------------------------------------------------------------------------
42 # -------------------------------------------------------------------------
46 # AUTOMAKE_ID filename
48 # Converts a filename to an Automake identifier, i.e. a string that can be
49 # used as part of a variable name.
54 # Do 'what' only once, even if called multiple times. Uses 'id' to identify
55 # this specific 'what'.
60 # Initializes a variable to the empty string the first time it is called.
63 # Explicitly initialize some variables so that we can use += later on
64 # without making Automake complain.
68 # -------------------------------------------------------------------------
70 # -------------------------------------------------------------------------
72 EXTRA_DIST += Makefile.am.m4
73 $(srcdir)/Makefile.am: $(srcdir)/admin/generate-makefile.sh \
74 $(srcdir)/Makefile.am.m4
75 $(srcdir)/admin/generate-makefile.sh \
76 $(srcdir)/Makefile.am.m4 $(srcdir)/Makefile.am
78 doc_DATA = AUTHORS COPYING NEWS README
80 EXTRA_DIST += $(doc_DATA)
82 dist-hook: $(srcdir)/admin/revision-dist.h check-install check-style
84 AM_CPPFLAGS = "-DATF_ARCH=\"$(atf_arch)\"" \
85 "-DATF_BUILD_CC=\"$(ATF_BUILD_CC)\"" \
86 "-DATF_BUILD_CFLAGS=\"$(ATF_BUILD_CFLAGS)\"" \
87 "-DATF_BUILD_CPP=\"$(ATF_BUILD_CPP)\"" \
88 "-DATF_BUILD_CPPFLAGS=\"$(ATF_BUILD_CPPFLAGS)\"" \
89 "-DATF_BUILD_CXX=\"$(ATF_BUILD_CXX)\"" \
90 "-DATF_BUILD_CXXFLAGS=\"$(ATF_BUILD_CXXFLAGS)\"" \
91 "-DATF_CONFDIR=\"$(atf_confdir)\"" \
92 "-DATF_INCLUDEDIR=\"$(includedir)\"" \
93 "-DATF_LIBDIR=\"$(libdir)\"" \
94 "-DATF_LIBEXECDIR=\"$(libexecdir)\"" \
95 "-DATF_MACHINE=\"$(atf_machine)\"" \
96 "-DATF_M4=\"$(ATF_M4)\"" \
97 "-DATF_PKGDATADIR=\"$(pkgdatadir)\"" \
98 "-DATF_SHELL=\"$(ATF_SHELL)\"" \
99 "-DATF_WORKDIR=\"$(ATF_WORKDIR)\""
101 ATF_COMPILE_DEPS = $(srcdir)/atf-sh/atf.init.subr
102 ATF_COMPILE_DEPS += tools/atf-host-compile
103 ATF_COMPILE_SH = ./tools/atf-host-compile
105 # DISTFILE_DOC name src
107 # Generates a rule to generate the prebuilt copy of the top-level document
108 # indicated in 'name' based on a generated document pointed to by 'src'.
112 $(srcdir)/AUTHORS: $(srcdir)/doc/text/authors.txt
113 @if cmp -s $(srcdir)/doc/text/authors.txt $(srcdir)/AUTHORS; then \
116 echo cp $(srcdir)/doc/text/authors.txt $(srcdir)/AUTHORS; \
117 cp $(srcdir)/doc/text/authors.txt $(srcdir)/AUTHORS; \
121 $(srcdir)/COPYING: $(srcdir)/doc/text/copying.txt
122 @if cmp -s $(srcdir)/doc/text/copying.txt $(srcdir)/COPYING; then \
125 echo cp $(srcdir)/doc/text/copying.txt $(srcdir)/COPYING; \
126 cp $(srcdir)/doc/text/copying.txt $(srcdir)/COPYING; \
130 $(srcdir)/INSTALL: $(srcdir)/doc/text/install.txt
131 @if cmp -s $(srcdir)/doc/text/install.txt $(srcdir)/INSTALL; then \
134 echo cp $(srcdir)/doc/text/install.txt $(srcdir)/INSTALL; \
135 cp $(srcdir)/doc/text/install.txt $(srcdir)/INSTALL; \
139 $(srcdir)/NEWS: $(srcdir)/doc/text/news.txt
140 @if cmp -s $(srcdir)/doc/text/news.txt $(srcdir)/NEWS; then \
143 echo cp $(srcdir)/doc/text/news.txt $(srcdir)/NEWS; \
144 cp $(srcdir)/doc/text/news.txt $(srcdir)/NEWS; \
148 $(srcdir)/README: $(srcdir)/doc/text/readme.txt
149 @if cmp -s $(srcdir)/doc/text/readme.txt $(srcdir)/README; then \
152 echo cp $(srcdir)/doc/text/readme.txt $(srcdir)/README; \
153 cp $(srcdir)/doc/text/readme.txt $(srcdir)/README; \
157 # -------------------------------------------------------------------------
159 # -------------------------------------------------------------------------
161 .PHONY: check-install
163 $(srcdir)/admin/check-install.sh $(srcdir)/INSTALL
167 $(srcdir)/admin/check-style.sh
169 EXTRA_DIST += admin/check-install.sh \
170 admin/check-style-common.awk \
171 admin/check-style-c.awk \
172 admin/check-style-cpp.awk \
173 admin/check-style-man.awk \
174 admin/check-style-shell.awk \
175 admin/check-style.sh \
176 admin/choose-revision.sh \
177 admin/generate-makefile.sh \
178 admin/generate-revision.sh \
179 admin/generate-revision-dist.sh
183 # Generates rules to create the revision files for the given format.
184 # These create admin/revision.<fmt> and $(srcdir)/admin/revision-dist.<fmt>
188 .PHONY: admin/revision.h
190 @$(top_srcdir)/admin/generate-revision.sh \
191 -f h -m "$(MTN)" -r $(top_srcdir) -o admin/revision.h \
192 -v $(PACKAGE_VERSION)
193 CLEANFILES += admin/revision.h
195 $(srcdir)/admin/revision-dist.h: admin/revision.h
196 @$(top_srcdir)/admin/generate-revision-dist.sh \
197 -f h -i admin/revision.h -o $(srcdir)/admin/revision-dist.h
198 EXTRA_DIST += admin/revision-dist.h
201 # -------------------------------------------------------------------------
203 # -------------------------------------------------------------------------
205 lib_LTLIBRARIES = libatf-c.la
206 libatf_c_la_SOURCES = atf-c/build.c \
251 nodist_libatf_c_la_SOURCES = \
254 # XXX For some reason, the nodist line above does not work as expected.
255 # Work this problem around.
256 dist-hook: kill-defs-h
258 rm -f $(distdir)/atf-c/defs.h
260 include_HEADERS = atf-c.h
261 atf_c_HEADERS = atf-c/build.h \
285 atf_cdir = $(includedir)/atf-c
287 dist_man_MANS = atf-c/atf-c-api.3
289 # -------------------------------------------------------------------------
290 # `atf-c++' directory.
291 # -------------------------------------------------------------------------
293 lib_LTLIBRARIES += libatf-c++.la
294 libatf_c___la_LIBADD = libatf-c.la
295 libatf_c___la_SOURCES = atf-c++/application.cpp \
296 atf-c++/application.hpp \
297 atf-c++/atffile.cpp \
298 atf-c++/atffile.hpp \
307 atf-c++/exceptions.cpp \
308 atf-c++/exceptions.hpp \
311 atf-c++/formats.cpp \
312 atf-c++/formats.hpp \
320 atf-c++/process.cpp \
321 atf-c++/process.hpp \
323 atf-c++/signals.cpp \
324 atf-c++/signals.hpp \
335 include_HEADERS += atf-c++.hpp
336 atf_c___HEADERS = atf-c++/application.hpp \
337 atf-c++/atffile.hpp \
342 atf-c++/exceptions.hpp \
344 atf-c++/formats.hpp \
349 atf-c++/process.hpp \
351 atf-c++/signals.hpp \
357 atf_c__dir = $(includedir)/atf-c++
359 dist_man_MANS += atf-c++/atf-c++-api.3
361 # -------------------------------------------------------------------------
362 # `atf-sh' directory.
363 # -------------------------------------------------------------------------
365 atf_sh_DATA = atf-sh/atf.footer.subr \
366 atf-sh/atf.header.subr \
368 atf_shdir = $(pkgdatadir)
369 EXTRA_DIST += $(atf_sh_DATA)
371 dist_man_MANS += atf-sh/atf-sh-api.3
373 # -------------------------------------------------------------------------
375 # -------------------------------------------------------------------------
377 cssdir = $(atf_cssdir)
378 css_DATA = data/tests-results.css
379 EXTRA_DIST += $(css_DATA)
381 dtddir = $(atf_dtddir)
382 dtd_DATA = data/tests-results.dtd
383 EXTRA_DIST += $(dtd_DATA)
386 eg_DATA = data/atf-run.hooks
387 EXTRA_DIST += $(eg_DATA)
389 pkgconfigdir = $(atf_pkgconfigdir)
390 pkgconfig_DATA = data/atf-c.pc data/atf-c++.pc
391 CLEANFILES += data/atf-c.pc data/atf-c++.pc
392 EXTRA_DIST += data/atf-c.pc.in data/atf-c++.pc.in
393 data/atf-c.pc: $(srcdir)/data/atf-c.pc.in
394 test -d data || mkdir -p data
395 sed -e 's,__ATF_VERSION__,@PACKAGE_VERSION@,g' \
396 -e 's,__CC__,$(CC),g' \
397 -e 's,__INCLUDEDIR__,$(includedir),g' \
398 -e 's,__LIBDIR__,$(libdir),g' \
399 <$(srcdir)/data/atf-c.pc.in >data/atf-c.pc.tmp
400 mv data/atf-c.pc.tmp data/atf-c.pc
401 data/atf-c++.pc: $(srcdir)/data/atf-c++.pc.in
402 test -d data || mkdir -p data
403 sed -e 's,__ATF_VERSION__,@PACKAGE_VERSION@,g' \
404 -e 's,__CXX__,$(CXX),g' \
405 -e 's,__INCLUDEDIR__,$(includedir),g' \
406 -e 's,__LIBDIR__,$(libdir),g' \
407 <$(srcdir)/data/atf-c++.pc.in >data/atf-c++.pc.tmp
408 mv data/atf-c++.pc.tmp data/atf-c++.pc
410 xsldir = $(atf_xsldir)
411 xsl_DATA = data/tests-results.xsl
412 EXTRA_DIST += $(xsl_DATA)
414 # -------------------------------------------------------------------------
416 # -------------------------------------------------------------------------
419 CLEANFILES += doc/atf.7
420 EXTRA_DIST += doc/atf.7.in
422 dist_man_MANS += doc/atf-formats.5 \
423 doc/atf-test-case.4 \
424 doc/atf-test-program.1
426 doc/atf.7: $(srcdir)/doc/atf.7.in
427 test -d doc || mkdir -p doc
428 sed -e 's,__DOCDIR__,$(docdir),g' \
429 <$(srcdir)/doc/atf.7.in >doc/atf.7.tmp
430 mv doc/atf.7.tmp doc/atf.7
432 _STANDALONE_XSLT = doc/standalone/sdocbook.xsl
434 EXTRA_DIST += doc/build-xml.sh
435 EXTRA_DIST += doc/standalone/standalone.css
436 EXTRA_DIST += $(_STANDALONE_XSLT)
438 BUILD_XML_ENV = DOC_BUILD=$(DOC_BUILD) \
441 XML_CATALOG_FILE=$(XML_CATALOG_FILE) \
447 # Formats doc/<basename>.xml into HTML and plain text versions.
451 EXTRA_DIST += doc/authors.xml
452 EXTRA_DIST += doc/standalone/authors.html
453 noinst_DATA += doc/standalone/authors.html
454 EXTRA_DIST += doc/text/authors.txt
455 noinst_DATA += doc/text/authors.txt
456 doc/standalone/authors.html: $(srcdir)/doc/authors.xml doc/build-xml.sh \
458 $(BUILD_XML_ENV) $(ATF_SHELL) doc/build-xml.sh \
459 $(srcdir)/doc/authors.xml $(srcdir)/$(_STANDALONE_XSLT) \
460 html:$(srcdir)/doc/standalone/authors.html
461 doc/text/authors.txt: $(srcdir)/doc/authors.xml doc/build-xml.sh $(_STANDALONE_XSLT)
462 $(BUILD_XML_ENV) $(ATF_SHELL) doc/build-xml.sh \
463 $(srcdir)/doc/authors.xml $(srcdir)/$(_STANDALONE_XSLT) \
464 txt:$(srcdir)/doc/text/authors.txt
467 EXTRA_DIST += doc/copying.xml
468 EXTRA_DIST += doc/standalone/copying.html
469 noinst_DATA += doc/standalone/copying.html
470 EXTRA_DIST += doc/text/copying.txt
471 noinst_DATA += doc/text/copying.txt
472 doc/standalone/copying.html: $(srcdir)/doc/copying.xml doc/build-xml.sh \
474 $(BUILD_XML_ENV) $(ATF_SHELL) doc/build-xml.sh \
475 $(srcdir)/doc/copying.xml $(srcdir)/$(_STANDALONE_XSLT) \
476 html:$(srcdir)/doc/standalone/copying.html
477 doc/text/copying.txt: $(srcdir)/doc/copying.xml doc/build-xml.sh $(_STANDALONE_XSLT)
478 $(BUILD_XML_ENV) $(ATF_SHELL) doc/build-xml.sh \
479 $(srcdir)/doc/copying.xml $(srcdir)/$(_STANDALONE_XSLT) \
480 txt:$(srcdir)/doc/text/copying.txt
483 EXTRA_DIST += doc/install.xml
484 EXTRA_DIST += doc/standalone/install.html
485 noinst_DATA += doc/standalone/install.html
486 EXTRA_DIST += doc/text/install.txt
487 noinst_DATA += doc/text/install.txt
488 doc/standalone/install.html: $(srcdir)/doc/install.xml doc/build-xml.sh \
490 $(BUILD_XML_ENV) $(ATF_SHELL) doc/build-xml.sh \
491 $(srcdir)/doc/install.xml $(srcdir)/$(_STANDALONE_XSLT) \
492 html:$(srcdir)/doc/standalone/install.html
493 doc/text/install.txt: $(srcdir)/doc/install.xml doc/build-xml.sh $(_STANDALONE_XSLT)
494 $(BUILD_XML_ENV) $(ATF_SHELL) doc/build-xml.sh \
495 $(srcdir)/doc/install.xml $(srcdir)/$(_STANDALONE_XSLT) \
496 txt:$(srcdir)/doc/text/install.txt
499 EXTRA_DIST += doc/news.xml
500 EXTRA_DIST += doc/standalone/news.html
501 noinst_DATA += doc/standalone/news.html
502 EXTRA_DIST += doc/text/news.txt
503 noinst_DATA += doc/text/news.txt
504 doc/standalone/news.html: $(srcdir)/doc/news.xml doc/build-xml.sh \
506 $(BUILD_XML_ENV) $(ATF_SHELL) doc/build-xml.sh \
507 $(srcdir)/doc/news.xml $(srcdir)/$(_STANDALONE_XSLT) \
508 html:$(srcdir)/doc/standalone/news.html
509 doc/text/news.txt: $(srcdir)/doc/news.xml doc/build-xml.sh $(_STANDALONE_XSLT)
510 $(BUILD_XML_ENV) $(ATF_SHELL) doc/build-xml.sh \
511 $(srcdir)/doc/news.xml $(srcdir)/$(_STANDALONE_XSLT) \
512 txt:$(srcdir)/doc/text/news.txt
515 EXTRA_DIST += doc/readme.xml
516 EXTRA_DIST += doc/standalone/readme.html
517 noinst_DATA += doc/standalone/readme.html
518 EXTRA_DIST += doc/text/readme.txt
519 noinst_DATA += doc/text/readme.txt
520 doc/standalone/readme.html: $(srcdir)/doc/readme.xml doc/build-xml.sh \
522 $(BUILD_XML_ENV) $(ATF_SHELL) doc/build-xml.sh \
523 $(srcdir)/doc/readme.xml $(srcdir)/$(_STANDALONE_XSLT) \
524 html:$(srcdir)/doc/standalone/readme.html
525 doc/text/readme.txt: $(srcdir)/doc/readme.xml doc/build-xml.sh $(_STANDALONE_XSLT)
526 $(BUILD_XML_ENV) $(ATF_SHELL) doc/build-xml.sh \
527 $(srcdir)/doc/readme.xml $(srcdir)/$(_STANDALONE_XSLT) \
528 txt:$(srcdir)/doc/text/readme.txt
531 EXTRA_DIST += doc/roadmap.xml
532 EXTRA_DIST += doc/standalone/roadmap.html
533 noinst_DATA += doc/standalone/roadmap.html
534 EXTRA_DIST += doc/text/roadmap.txt
535 noinst_DATA += doc/text/roadmap.txt
536 doc/standalone/roadmap.html: $(srcdir)/doc/roadmap.xml doc/build-xml.sh \
538 $(BUILD_XML_ENV) $(ATF_SHELL) doc/build-xml.sh \
539 $(srcdir)/doc/roadmap.xml $(srcdir)/$(_STANDALONE_XSLT) \
540 html:$(srcdir)/doc/standalone/roadmap.html
541 doc/text/roadmap.txt: $(srcdir)/doc/roadmap.xml doc/build-xml.sh $(_STANDALONE_XSLT)
542 $(BUILD_XML_ENV) $(ATF_SHELL) doc/build-xml.sh \
543 $(srcdir)/doc/roadmap.xml $(srcdir)/$(_STANDALONE_XSLT) \
544 txt:$(srcdir)/doc/text/roadmap.txt
547 EXTRA_DIST += doc/specification.xml
548 EXTRA_DIST += doc/standalone/specification.html
549 noinst_DATA += doc/standalone/specification.html
550 EXTRA_DIST += doc/text/specification.txt
551 noinst_DATA += doc/text/specification.txt
552 doc/standalone/specification.html: $(srcdir)/doc/specification.xml doc/build-xml.sh \
554 $(BUILD_XML_ENV) $(ATF_SHELL) doc/build-xml.sh \
555 $(srcdir)/doc/specification.xml $(srcdir)/$(_STANDALONE_XSLT) \
556 html:$(srcdir)/doc/standalone/specification.html
557 doc/text/specification.txt: $(srcdir)/doc/specification.xml doc/build-xml.sh $(_STANDALONE_XSLT)
558 $(BUILD_XML_ENV) $(ATF_SHELL) doc/build-xml.sh \
559 $(srcdir)/doc/specification.xml $(srcdir)/$(_STANDALONE_XSLT) \
560 txt:$(srcdir)/doc/text/specification.txt
563 # -------------------------------------------------------------------------
565 # -------------------------------------------------------------------------
567 ACLOCAL_AMFLAGS = -I m4
569 # -------------------------------------------------------------------------
570 # `tests/bootstrap' directory.
571 # -------------------------------------------------------------------------
573 check_PROGRAMS = tests/bootstrap/h_app_empty
574 tests_bootstrap_h_app_empty_SOURCES = tests/bootstrap/h_app_empty.cpp
575 tests_bootstrap_h_app_empty_LDADD = libatf-c++.la
577 check_PROGRAMS += tests/bootstrap/h_app_opts_args
578 tests_bootstrap_h_app_opts_args_SOURCES = tests/bootstrap/h_app_opts_args.cpp
579 tests_bootstrap_h_app_opts_args_LDADD = libatf-c++.la
581 check_PROGRAMS += tests/bootstrap/h_tp_basic_c
582 tests_bootstrap_h_tp_basic_c_SOURCES = tests/bootstrap/h_tp_basic_c.c
583 tests_bootstrap_h_tp_basic_c_LDADD = libatf-c.la
585 check_PROGRAMS += tests/bootstrap/h_tp_basic_cpp
586 tests_bootstrap_h_tp_basic_cpp_SOURCES = tests/bootstrap/h_tp_basic_cpp.cpp
587 tests_bootstrap_h_tp_basic_cpp_LDADD = libatf-c++.la
589 check_SCRIPTS = tests/bootstrap/h_tp_basic_sh
590 CLEANFILES += tests/bootstrap/h_tp_basic_sh
591 EXTRA_DIST += tests/bootstrap/h_tp_basic_sh.sh
592 tests/bootstrap/h_tp_basic_sh: $(srcdir)/tests/bootstrap/h_tp_basic_sh.sh \
594 test -d tests/bootstrap || mkdir -p tests/bootstrap
595 $(ATF_COMPILE_SH) -o $@ $(srcdir)/tests/bootstrap/h_tp_basic_sh.sh
597 check_SCRIPTS += tests/bootstrap/h_tp_atf_check_sh
598 CLEANFILES += tests/bootstrap/h_tp_atf_check_sh
599 EXTRA_DIST += tests/bootstrap/h_tp_atf_check_sh.sh
600 tests/bootstrap/h_tp_atf_check_sh: \
601 $(srcdir)/tests/bootstrap/h_tp_atf_check_sh.sh \
603 test -d tests/bootstrap || mkdir -p tests/bootstrap
604 $(ATF_COMPILE_SH) -o $@ $(srcdir)/tests/bootstrap/h_tp_atf_check_sh.sh
607 tests/bootstrap/atconfig \
612 -rm -rf testsuite.dir
614 EXTRA_DIST += tests/bootstrap/testsuite \
615 tests/bootstrap/package.m4 \
616 tests/bootstrap/testsuite.at \
619 testsuite_incs= $(srcdir)/tests/bootstrap/t_application_help.at \
620 $(srcdir)/tests/bootstrap/t_application_opts_args.at \
621 $(srcdir)/tests/bootstrap/t_atf_config.at \
622 $(srcdir)/tests/bootstrap/t_atf_format.at \
623 $(srcdir)/tests/bootstrap/t_atf_run.at \
624 $(srcdir)/tests/bootstrap/t_subr_atf_check.at \
625 $(srcdir)/tests/bootstrap/t_test_program_compare.at \
626 $(srcdir)/tests/bootstrap/t_test_program_filter.at \
627 $(srcdir)/tests/bootstrap/t_test_program_list.at \
628 $(srcdir)/tests/bootstrap/t_test_program_run.at
630 $(srcdir)/tests/bootstrap/package.m4: $(top_srcdir)/configure.ac
632 echo '# Signature of the current package.'; \
633 echo 'm4_define(AT_PACKAGE_NAME, @PACKAGE_NAME@)'; \
634 echo 'm4_define(AT_PACKAGE_TARNAME, @PACKAGE_TARNAME@)'; \
635 echo 'm4_define(AT_PACKAGE_VERSION, @PACKAGE_VERSION@)'; \
636 echo 'm4_define(AT_PACKAGE_STRING, @PACKAGE_STRING@)'; \
637 echo 'm4_define(AT_PACKAGE_BUGREPORT, @PACKAGE_BUGREPORT@)'; \
638 } >$(srcdir)/tests/bootstrap/package.m4
640 $(srcdir)/tests/bootstrap/testsuite: $(srcdir)/tests/bootstrap/testsuite.at \
642 $(srcdir)/tests/bootstrap/package.m4
643 autom4te --language=Autotest -I $(srcdir) \
644 -I $(srcdir)/tests/bootstrap \
645 $(srcdir)/tests/bootstrap/testsuite.at -o $@.tmp
648 # -------------------------------------------------------------------------
649 # `tests/atf' directory.
650 # -------------------------------------------------------------------------
652 testsdir = $(exec_prefix)/tests
653 pkgtestsdir = $(exec_prefix)/tests/atf
655 TESTS_ENVIRONMENT = PATH=$(prefix)/bin:$${PATH} \
656 PKG_CONFIG_PATH=$(prefix)/lib/pkgconfig
658 installcheck-local: installcheck-bootstrap installcheck-atf
660 # TODO: This really needs to be a 'check' target and not 'installcheck', but
661 # these bootstrap tests don't currently work without atf being installed.
662 .PHONY: installcheck-bootstrap
663 installcheck-bootstrap: $(srcdir)/tests/bootstrap/testsuite check
664 $(TESTS_ENVIRONMENT) $(srcdir)/tests/bootstrap/testsuite
666 .PHONY: installcheck-atf
668 logfile=$$(pwd)/installcheck.log; \
670 $(TESTS_ENVIRONMENT) atf-run | tee $${logfile} | atf-report; \
673 echo "The verbatim output of atf-run has been saved to" \
674 "installcheck.log"; \
676 CLEANFILES += installcheck.log
678 pkgtests_DATA = tests/atf/Atffile
679 EXTRA_DIST += $(pkgtests_DATA)
681 atf_atf_c_DATA = tests/atf/atf-c/Atffile \
682 tests/atf/atf-c/d_include_atf_c_h.c \
683 tests/atf/atf-c/d_include_build_h.c \
684 tests/atf/atf-c/d_include_check_h.c \
685 tests/atf/atf-c/d_include_config_h.c \
686 tests/atf/atf-c/d_include_dynstr_h.c \
687 tests/atf/atf-c/d_include_env_h.c \
688 tests/atf/atf-c/d_include_error_fwd_h.c \
689 tests/atf/atf-c/d_include_error_h.c \
690 tests/atf/atf-c/d_include_expand_h.c \
691 tests/atf/atf-c/d_include_fs_h.c \
692 tests/atf/atf-c/d_include_io_h.c \
693 tests/atf/atf-c/d_include_list_h.c \
694 tests/atf/atf-c/d_include_macros_h.c \
695 tests/atf/atf-c/d_include_map_h.c \
696 tests/atf/atf-c/d_include_object_h.c \
697 tests/atf/atf-c/d_include_process_h.c \
698 tests/atf/atf-c/d_include_sanity_h.c \
699 tests/atf/atf-c/d_include_signals_h.c \
700 tests/atf/atf-c/d_include_tc_h.c \
701 tests/atf/atf-c/d_include_tcr_h.c \
702 tests/atf/atf-c/d_include_text_h.c \
703 tests/atf/atf-c/d_include_tp_h.c \
704 tests/atf/atf-c/d_include_ui_h.c \
705 tests/atf/atf-c/d_include_user_h.c \
706 tests/atf/atf-c/d_use_macros_h.c
707 atf_atf_cdir = $(pkgtestsdir)/atf-c
708 EXTRA_DIST += $(atf_atf_c_DATA)
710 noinst_LTLIBRARIES = tests/atf/atf-c/libh.la
711 tests_atf_atf_c_libh_la_SOURCES = tests/atf/atf-c/h_lib.c \
712 tests/atf/atf-c/h_lib.h
714 # C_TP subdir progname extradeps extralibs
716 # Generates rules to build a C test program. The 'subdir' is relative to
717 # tests/ and progname is the source file name without .c.
720 # CXX_TP subdir progname extradeps extralibs
722 # Generates rules to build a C test program. The 'subdir' is relative to
723 # tests/ and progname is the source file name without .c.
726 # SH_TP subdir progname extradeps
728 # Generates rules to build a C test program. The 'subdir' is relative to
729 # tests/ and progname is the source file name without .c.
734 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_atf_c
735 tests_atf_atf_c_t_atf_c_SOURCES = tests/atf/atf-c/t_atf_c.c
736 tests_atf_atf_c_t_atf_c_LDADD = tests/atf/atf-c/libh.la libatf-c.la
740 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_build
741 tests_atf_atf_c_t_build_SOURCES = tests/atf/atf-c/t_build.c tests/atf/atf-c/h_build.h
742 tests_atf_atf_c_t_build_LDADD = tests/atf/atf-c/libh.la libatf-c.la
746 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_check
747 tests_atf_atf_c_t_check_SOURCES = tests/atf/atf-c/t_check.c
748 tests_atf_atf_c_t_check_LDADD = tests/atf/atf-c/libh.la libatf-c.la
752 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_config
753 tests_atf_atf_c_t_config_SOURCES = tests/atf/atf-c/t_config.c
754 tests_atf_atf_c_t_config_LDADD = tests/atf/atf-c/libh.la libatf-c.la
758 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_dynstr
759 tests_atf_atf_c_t_dynstr_SOURCES = tests/atf/atf-c/t_dynstr.c
760 tests_atf_atf_c_t_dynstr_LDADD = tests/atf/atf-c/libh.la libatf-c.la
764 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_env
765 tests_atf_atf_c_t_env_SOURCES = tests/atf/atf-c/t_env.c
766 tests_atf_atf_c_t_env_LDADD = tests/atf/atf-c/libh.la libatf-c.la
770 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_error
771 tests_atf_atf_c_t_error_SOURCES = tests/atf/atf-c/t_error.c
772 tests_atf_atf_c_t_error_LDADD = tests/atf/atf-c/libh.la libatf-c.la
776 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_expand
777 tests_atf_atf_c_t_expand_SOURCES = tests/atf/atf-c/t_expand.c
778 tests_atf_atf_c_t_expand_LDADD = tests/atf/atf-c/libh.la libatf-c.la
782 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_fs
783 tests_atf_atf_c_t_fs_SOURCES = tests/atf/atf-c/t_fs.c
784 tests_atf_atf_c_t_fs_LDADD = tests/atf/atf-c/libh.la libatf-c.la
788 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_h_lib
789 tests_atf_atf_c_t_h_lib_SOURCES = tests/atf/atf-c/t_h_lib.c
790 tests_atf_atf_c_t_h_lib_LDADD = tests/atf/atf-c/libh.la libatf-c.la
794 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_io
795 tests_atf_atf_c_t_io_SOURCES = tests/atf/atf-c/t_io.c
796 tests_atf_atf_c_t_io_LDADD = tests/atf/atf-c/libh.la libatf-c.la
800 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_list
801 tests_atf_atf_c_t_list_SOURCES = tests/atf/atf-c/t_list.c
802 tests_atf_atf_c_t_list_LDADD = tests/atf/atf-c/libh.la libatf-c.la
806 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_macros
807 tests_atf_atf_c_t_macros_SOURCES = tests/atf/atf-c/t_macros.c
808 tests_atf_atf_c_t_macros_LDADD = tests/atf/atf-c/libh.la libatf-c.la
812 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_map
813 tests_atf_atf_c_t_map_SOURCES = tests/atf/atf-c/t_map.c
814 tests_atf_atf_c_t_map_LDADD = tests/atf/atf-c/libh.la libatf-c.la
818 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_process
819 tests_atf_atf_c_t_process_SOURCES = tests/atf/atf-c/t_process.c
820 tests_atf_atf_c_t_process_LDADD = tests/atf/atf-c/libh.la libatf-c.la
824 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_signals
825 tests_atf_atf_c_t_signals_SOURCES = tests/atf/atf-c/t_signals.c
826 tests_atf_atf_c_t_signals_LDADD = tests/atf/atf-c/libh.la libatf-c.la
830 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_tc
831 tests_atf_atf_c_t_tc_SOURCES = tests/atf/atf-c/t_tc.c
832 tests_atf_atf_c_t_tc_LDADD = tests/atf/atf-c/libh.la libatf-c.la
836 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_tcr
837 tests_atf_atf_c_t_tcr_SOURCES = tests/atf/atf-c/t_tcr.c
838 tests_atf_atf_c_t_tcr_LDADD = tests/atf/atf-c/libh.la libatf-c.la
842 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_sanity
843 tests_atf_atf_c_t_sanity_SOURCES = tests/atf/atf-c/t_sanity.c
844 tests_atf_atf_c_t_sanity_LDADD = tests/atf/atf-c/libh.la libatf-c.la
848 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_text
849 tests_atf_atf_c_t_text_SOURCES = tests/atf/atf-c/t_text.c
850 tests_atf_atf_c_t_text_LDADD = tests/atf/atf-c/libh.la libatf-c.la
854 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_ui
855 tests_atf_atf_c_t_ui_SOURCES = tests/atf/atf-c/t_ui.c
856 tests_atf_atf_c_t_ui_LDADD = tests/atf/atf-c/libh.la libatf-c.la
860 atf_atf_c_PROGRAMS += tests/atf/atf-c/t_user
861 tests_atf_atf_c_t_user_SOURCES = tests/atf/atf-c/t_user.c
862 tests_atf_atf_c_t_user_LDADD = tests/atf/atf-c/libh.la libatf-c.la
865 atf_atf_c_PROGRAMS += tests/atf/atf-c/h_processes
866 tests_atf_atf_c_h_processes_SOURCES = tests/atf/atf-c/h_processes.c
868 atf_atf_c___DATA = tests/atf/atf-c++/Atffile \
869 tests/atf/atf-c++/d_include_application_hpp.cpp \
870 tests/atf/atf-c++/d_include_atf_c++_hpp.cpp \
871 tests/atf/atf-c++/d_include_atffile_hpp.cpp \
872 tests/atf/atf-c++/d_include_build_hpp.cpp \
873 tests/atf/atf-c++/d_include_check_hpp.cpp \
874 tests/atf/atf-c++/d_include_config_hpp.cpp \
875 tests/atf/atf-c++/d_include_env_hpp.cpp \
876 tests/atf/atf-c++/d_include_exceptions_hpp.cpp \
877 tests/atf/atf-c++/d_include_expand_hpp.cpp \
878 tests/atf/atf-c++/d_include_formats_hpp.cpp \
879 tests/atf/atf-c++/d_include_fs_hpp.cpp \
880 tests/atf/atf-c++/d_include_io_hpp.cpp \
881 tests/atf/atf-c++/d_include_macros_hpp.cpp \
882 tests/atf/atf-c++/d_include_parser_hpp.cpp \
883 tests/atf/atf-c++/d_include_process_hpp.cpp \
884 tests/atf/atf-c++/d_include_sanity_hpp.cpp \
885 tests/atf/atf-c++/d_include_signals_hpp.cpp \
886 tests/atf/atf-c++/d_include_tests_hpp.cpp \
887 tests/atf/atf-c++/d_include_text_hpp.cpp \
888 tests/atf/atf-c++/d_include_ui_hpp.cpp \
889 tests/atf/atf-c++/d_include_user_hpp.cpp \
890 tests/atf/atf-c++/d_include_utils_hpp.cpp \
891 tests/atf/atf-c++/d_use_macros_hpp.cpp
892 atf_atf_c__dir = $(pkgtestsdir)/atf-c++
893 EXTRA_DIST += $(atf_atf_c___DATA)
895 noinst_LTLIBRARIES += tests/atf/atf-c++/libh.la
896 tests_atf_atf_c___libh_la_SOURCES = tests/atf/atf-c++/h_lib.cpp \
897 tests/atf/atf-c++/h_lib.hpp
900 atf_atf_c___PROGRAMS =
901 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_atf_c++
902 tests_atf_atf_c___t_atf_c___SOURCES = tests/atf/atf-c++/t_atf_c++.cpp
903 tests_atf_atf_c___t_atf_c___LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
907 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_application
908 tests_atf_atf_c___t_application_SOURCES = tests/atf/atf-c++/t_application.cpp
909 tests_atf_atf_c___t_application_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
913 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_atffile
914 tests_atf_atf_c___t_atffile_SOURCES = tests/atf/atf-c++/t_atffile.cpp
915 tests_atf_atf_c___t_atffile_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
919 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_build
920 tests_atf_atf_c___t_build_SOURCES = tests/atf/atf-c++/t_build.cpp tests/atf/atf-c/h_build.h
921 tests_atf_atf_c___t_build_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
925 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_check
926 tests_atf_atf_c___t_check_SOURCES = tests/atf/atf-c++/t_check.cpp
927 tests_atf_atf_c___t_check_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
931 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_config
932 tests_atf_atf_c___t_config_SOURCES = tests/atf/atf-c++/t_config.cpp
933 tests_atf_atf_c___t_config_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
937 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_env
938 tests_atf_atf_c___t_env_SOURCES = tests/atf/atf-c++/t_env.cpp
939 tests_atf_atf_c___t_env_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
943 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_exceptions
944 tests_atf_atf_c___t_exceptions_SOURCES = tests/atf/atf-c++/t_exceptions.cpp
945 tests_atf_atf_c___t_exceptions_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
949 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_expand
950 tests_atf_atf_c___t_expand_SOURCES = tests/atf/atf-c++/t_expand.cpp
951 tests_atf_atf_c___t_expand_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
955 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_formats
956 tests_atf_atf_c___t_formats_SOURCES = tests/atf/atf-c++/t_formats.cpp
957 tests_atf_atf_c___t_formats_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
961 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_fs
962 tests_atf_atf_c___t_fs_SOURCES = tests/atf/atf-c++/t_fs.cpp
963 tests_atf_atf_c___t_fs_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
967 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_io
968 tests_atf_atf_c___t_io_SOURCES = tests/atf/atf-c++/t_io.cpp
969 tests_atf_atf_c___t_io_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
973 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_macros
974 tests_atf_atf_c___t_macros_SOURCES = tests/atf/atf-c++/t_macros.cpp
975 tests_atf_atf_c___t_macros_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
979 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_parser
980 tests_atf_atf_c___t_parser_SOURCES = tests/atf/atf-c++/t_parser.cpp
981 tests_atf_atf_c___t_parser_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
985 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_process
986 tests_atf_atf_c___t_process_SOURCES = tests/atf/atf-c++/t_process.cpp
987 tests_atf_atf_c___t_process_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
991 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_sanity
992 tests_atf_atf_c___t_sanity_SOURCES = tests/atf/atf-c++/t_sanity.cpp
993 tests_atf_atf_c___t_sanity_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
997 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_signals
998 tests_atf_atf_c___t_signals_SOURCES = tests/atf/atf-c++/t_signals.cpp
999 tests_atf_atf_c___t_signals_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
1003 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_tests
1004 tests_atf_atf_c___t_tests_SOURCES = tests/atf/atf-c++/t_tests.cpp
1005 tests_atf_atf_c___t_tests_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
1009 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_text
1010 tests_atf_atf_c___t_text_SOURCES = tests/atf/atf-c++/t_text.cpp
1011 tests_atf_atf_c___t_text_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
1015 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_ui
1016 tests_atf_atf_c___t_ui_SOURCES = tests/atf/atf-c++/t_ui.cpp
1017 tests_atf_atf_c___t_ui_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
1021 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_user
1022 tests_atf_atf_c___t_user_SOURCES = tests/atf/atf-c++/t_user.cpp
1023 tests_atf_atf_c___t_user_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
1027 atf_atf_c___PROGRAMS += tests/atf/atf-c++/t_utils
1028 tests_atf_atf_c___t_utils_SOURCES = tests/atf/atf-c++/t_utils.cpp
1029 tests_atf_atf_c___t_utils_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
1032 atf_atf_sh_DATA = tests/atf/atf-sh/Atffile
1033 atf_atf_shdir = $(pkgtestsdir)/atf-sh
1034 EXTRA_DIST += $(atf_atf_sh_DATA)
1037 atf_atf_sh_SCRIPTS =
1038 atf_atf_sh_SCRIPTS += tests/atf/atf-sh/h_misc
1039 CLEANFILES += tests/atf/atf-sh/h_misc
1040 EXTRA_DIST += tests/atf/atf-sh/h_misc.sh
1041 tests/atf/atf-sh/h_misc: $(srcdir)/tests/atf/atf-sh/h_misc.sh $(ATF_COMPILE_DEPS)
1042 test -d tests/atf/atf-sh || mkdir -p tests/atf/atf-sh
1043 $(ATF_COMPILE_SH) -o tests/atf/atf-sh/h_misc $(srcdir)/tests/atf/atf-sh/h_misc.sh
1047 atf_atf_sh_SCRIPTS += tests/atf/atf-sh/t_atf_check
1048 CLEANFILES += tests/atf/atf-sh/t_atf_check
1049 EXTRA_DIST += tests/atf/atf-sh/t_atf_check.sh
1050 tests/atf/atf-sh/t_atf_check: $(srcdir)/tests/atf/atf-sh/t_atf_check.sh $(ATF_COMPILE_DEPS)
1051 test -d tests/atf/atf-sh || mkdir -p tests/atf/atf-sh
1052 $(ATF_COMPILE_SH) -o tests/atf/atf-sh/t_atf_check $(srcdir)/tests/atf/atf-sh/t_atf_check.sh
1056 atf_atf_sh_SCRIPTS += tests/atf/atf-sh/t_config
1057 CLEANFILES += tests/atf/atf-sh/t_config
1058 EXTRA_DIST += tests/atf/atf-sh/t_config.sh
1059 tests/atf/atf-sh/t_config: $(srcdir)/tests/atf/atf-sh/t_config.sh $(ATF_COMPILE_DEPS)
1060 test -d tests/atf/atf-sh || mkdir -p tests/atf/atf-sh
1061 $(ATF_COMPILE_SH) -o tests/atf/atf-sh/t_config $(srcdir)/tests/atf/atf-sh/t_config.sh
1065 atf_atf_sh_SCRIPTS += tests/atf/atf-sh/t_normalize
1066 CLEANFILES += tests/atf/atf-sh/t_normalize
1067 EXTRA_DIST += tests/atf/atf-sh/t_normalize.sh
1068 tests/atf/atf-sh/t_normalize: $(srcdir)/tests/atf/atf-sh/t_normalize.sh $(ATF_COMPILE_DEPS)
1069 test -d tests/atf/atf-sh || mkdir -p tests/atf/atf-sh
1070 $(ATF_COMPILE_SH) -o tests/atf/atf-sh/t_normalize $(srcdir)/tests/atf/atf-sh/t_normalize.sh
1074 atf_atf_sh_SCRIPTS += tests/atf/atf-sh/t_tc
1075 CLEANFILES += tests/atf/atf-sh/t_tc
1076 EXTRA_DIST += tests/atf/atf-sh/t_tc.sh
1077 tests/atf/atf-sh/t_tc: $(srcdir)/tests/atf/atf-sh/t_tc.sh $(ATF_COMPILE_DEPS)
1078 test -d tests/atf/atf-sh || mkdir -p tests/atf/atf-sh
1079 $(ATF_COMPILE_SH) -o tests/atf/atf-sh/t_tc $(srcdir)/tests/atf/atf-sh/t_tc.sh
1083 atf_atf_sh_SCRIPTS += tests/atf/atf-sh/t_tp
1084 CLEANFILES += tests/atf/atf-sh/t_tp
1085 EXTRA_DIST += tests/atf/atf-sh/t_tp.sh
1086 tests/atf/atf-sh/t_tp: $(srcdir)/tests/atf/atf-sh/t_tp.sh $(ATF_COMPILE_DEPS)
1087 test -d tests/atf/atf-sh || mkdir -p tests/atf/atf-sh
1088 $(ATF_COMPILE_SH) -o tests/atf/atf-sh/t_tp $(srcdir)/tests/atf/atf-sh/t_tp.sh
1091 atf_data_DATA = tests/atf/data/Atffile
1092 atf_datadir = $(pkgtestsdir)/data
1093 EXTRA_DIST += $(atf_data_DATA)
1097 atf_data_SCRIPTS += tests/atf/data/t_pkg_config
1098 CLEANFILES += tests/atf/data/t_pkg_config
1099 EXTRA_DIST += tests/atf/data/t_pkg_config.sh
1100 tests/atf/data/t_pkg_config: $(srcdir)/tests/atf/data/t_pkg_config.sh $(ATF_COMPILE_DEPS)
1101 test -d tests/atf/data || mkdir -p tests/atf/data
1102 $(ATF_COMPILE_SH) -o tests/atf/data/t_pkg_config $(srcdir)/tests/atf/data/t_pkg_config.sh
1105 atf_formats_DATA = tests/atf/formats/Atffile \
1106 tests/atf/formats/d_atffile_1 \
1107 tests/atf/formats/d_atffile_1.expout \
1108 tests/atf/formats/d_atffile_2 \
1109 tests/atf/formats/d_atffile_2.expout \
1110 tests/atf/formats/d_atffile_3 \
1111 tests/atf/formats/d_atffile_3.expout \
1112 tests/atf/formats/d_atffile_4 \
1113 tests/atf/formats/d_atffile_4.expout \
1114 tests/atf/formats/d_atffile_5 \
1115 tests/atf/formats/d_atffile_5.expout \
1116 tests/atf/formats/d_atffile_50 \
1117 tests/atf/formats/d_atffile_50.experr \
1118 tests/atf/formats/d_atffile_51 \
1119 tests/atf/formats/d_atffile_51.experr \
1120 tests/atf/formats/d_atffile_52 \
1121 tests/atf/formats/d_atffile_52.experr \
1122 tests/atf/formats/d_atffile_53 \
1123 tests/atf/formats/d_atffile_53.experr \
1124 tests/atf/formats/d_atffile_53.expout \
1125 tests/atf/formats/d_atffile_54 \
1126 tests/atf/formats/d_atffile_54.experr \
1127 tests/atf/formats/d_atffile_6 \
1128 tests/atf/formats/d_atffile_6.expout \
1129 tests/atf/formats/d_config_1 \
1130 tests/atf/formats/d_config_1.expout \
1131 tests/atf/formats/d_config_2 \
1132 tests/atf/formats/d_config_2.expout \
1133 tests/atf/formats/d_config_3 \
1134 tests/atf/formats/d_config_3.expout \
1135 tests/atf/formats/d_config_4 \
1136 tests/atf/formats/d_config_4.expout \
1137 tests/atf/formats/d_config_50 \
1138 tests/atf/formats/d_config_50.experr \
1139 tests/atf/formats/d_config_51 \
1140 tests/atf/formats/d_config_51.experr \
1141 tests/atf/formats/d_config_52 \
1142 tests/atf/formats/d_config_52.experr \
1143 tests/atf/formats/d_config_53 \
1144 tests/atf/formats/d_config_53.experr \
1145 tests/atf/formats/d_config_53.expout \
1146 tests/atf/formats/d_config_54 \
1147 tests/atf/formats/d_config_54.experr \
1148 tests/atf/formats/d_headers_1 \
1149 tests/atf/formats/d_headers_1.experr \
1150 tests/atf/formats/d_headers_10 \
1151 tests/atf/formats/d_headers_10.experr \
1152 tests/atf/formats/d_headers_11 \
1153 tests/atf/formats/d_headers_11.experr \
1154 tests/atf/formats/d_headers_12 \
1155 tests/atf/formats/d_headers_12.experr \
1156 tests/atf/formats/d_headers_2 \
1157 tests/atf/formats/d_headers_2.experr \
1158 tests/atf/formats/d_headers_3 \
1159 tests/atf/formats/d_headers_3.experr \
1160 tests/atf/formats/d_headers_4 \
1161 tests/atf/formats/d_headers_4.experr \
1162 tests/atf/formats/d_headers_5 \
1163 tests/atf/formats/d_headers_5.experr \
1164 tests/atf/formats/d_headers_6 \
1165 tests/atf/formats/d_headers_6.experr \
1166 tests/atf/formats/d_headers_7 \
1167 tests/atf/formats/d_headers_7.experr \
1168 tests/atf/formats/d_headers_8 \
1169 tests/atf/formats/d_headers_8.experr \
1170 tests/atf/formats/d_headers_9 \
1171 tests/atf/formats/d_headers_9.experr \
1172 tests/atf/formats/d_tcs_1 \
1173 tests/atf/formats/d_tcs_1.errin \
1174 tests/atf/formats/d_tcs_1.expout \
1175 tests/atf/formats/d_tcs_1.outin \
1176 tests/atf/formats/d_tcs_2 \
1177 tests/atf/formats/d_tcs_2.errin \
1178 tests/atf/formats/d_tcs_2.expout \
1179 tests/atf/formats/d_tcs_2.outin \
1180 tests/atf/formats/d_tcs_3 \
1181 tests/atf/formats/d_tcs_3.errin \
1182 tests/atf/formats/d_tcs_3.expout \
1183 tests/atf/formats/d_tcs_3.outin \
1184 tests/atf/formats/d_tcs_4 \
1185 tests/atf/formats/d_tcs_4.errin \
1186 tests/atf/formats/d_tcs_4.expout \
1187 tests/atf/formats/d_tcs_4.outin \
1188 tests/atf/formats/d_tcs_5 \
1189 tests/atf/formats/d_tcs_5.errin \
1190 tests/atf/formats/d_tcs_5.expout \
1191 tests/atf/formats/d_tcs_5.outin \
1192 tests/atf/formats/d_tcs_50 \
1193 tests/atf/formats/d_tcs_50.experr \
1194 tests/atf/formats/d_tcs_51 \
1195 tests/atf/formats/d_tcs_51.experr \
1196 tests/atf/formats/d_tcs_52 \
1197 tests/atf/formats/d_tcs_52.experr \
1198 tests/atf/formats/d_tcs_53 \
1199 tests/atf/formats/d_tcs_53.experr \
1200 tests/atf/formats/d_tcs_53.expout \
1201 tests/atf/formats/d_tcs_54 \
1202 tests/atf/formats/d_tcs_54.experr \
1203 tests/atf/formats/d_tcs_54.expout \
1204 tests/atf/formats/d_tcs_55 \
1205 tests/atf/formats/d_tcs_55.experr \
1206 tests/atf/formats/d_tcs_55.expout \
1207 tests/atf/formats/d_tcs_56 \
1208 tests/atf/formats/d_tcs_56.errin \
1209 tests/atf/formats/d_tcs_56.experr \
1210 tests/atf/formats/d_tcs_56.expout \
1211 tests/atf/formats/d_tcs_56.outin \
1212 tests/atf/formats/d_tcs_57 \
1213 tests/atf/formats/d_tcs_57.errin \
1214 tests/atf/formats/d_tcs_57.experr \
1215 tests/atf/formats/d_tcs_57.expout \
1216 tests/atf/formats/d_tcs_57.outin \
1217 tests/atf/formats/d_tps_1 \
1218 tests/atf/formats/d_tps_1.expout \
1219 tests/atf/formats/d_tps_2 \
1220 tests/atf/formats/d_tps_2.expout \
1221 tests/atf/formats/d_tps_3 \
1222 tests/atf/formats/d_tps_3.expout \
1223 tests/atf/formats/d_tps_4 \
1224 tests/atf/formats/d_tps_4.expout \
1225 tests/atf/formats/d_tps_5 \
1226 tests/atf/formats/d_tps_5.expout \
1227 tests/atf/formats/d_tps_50 \
1228 tests/atf/formats/d_tps_50.experr \
1229 tests/atf/formats/d_tps_51 \
1230 tests/atf/formats/d_tps_51.experr \
1231 tests/atf/formats/d_tps_52 \
1232 tests/atf/formats/d_tps_52.experr \
1233 tests/atf/formats/d_tps_53 \
1234 tests/atf/formats/d_tps_53.experr \
1235 tests/atf/formats/d_tps_53.expout \
1236 tests/atf/formats/d_tps_54 \
1237 tests/atf/formats/d_tps_54.experr \
1238 tests/atf/formats/d_tps_54.expout \
1239 tests/atf/formats/d_tps_55 \
1240 tests/atf/formats/d_tps_55.experr \
1241 tests/atf/formats/d_tps_55.expout \
1242 tests/atf/formats/d_tps_56 \
1243 tests/atf/formats/d_tps_56.experr \
1244 tests/atf/formats/d_tps_56.expout \
1245 tests/atf/formats/d_tps_57 \
1246 tests/atf/formats/d_tps_57.experr \
1247 tests/atf/formats/d_tps_57.expout \
1248 tests/atf/formats/d_tps_58 \
1249 tests/atf/formats/d_tps_58.experr \
1250 tests/atf/formats/d_tps_58.expout \
1251 tests/atf/formats/d_tps_59 \
1252 tests/atf/formats/d_tps_59.experr \
1253 tests/atf/formats/d_tps_60 \
1254 tests/atf/formats/d_tps_60.experr \
1255 tests/atf/formats/d_tps_61 \
1256 tests/atf/formats/d_tps_61.experr \
1257 tests/atf/formats/d_tps_62 \
1258 tests/atf/formats/d_tps_62.experr \
1259 tests/atf/formats/d_tps_62.expout \
1260 tests/atf/formats/d_tps_63 \
1261 tests/atf/formats/d_tps_63.experr \
1262 tests/atf/formats/d_tps_63.expout \
1263 tests/atf/formats/d_tps_64 \
1264 tests/atf/formats/d_tps_64.experr \
1265 tests/atf/formats/d_tps_64.expout \
1266 tests/atf/formats/d_tps_65 \
1267 tests/atf/formats/d_tps_65.experr \
1268 tests/atf/formats/d_tps_65.expout \
1269 tests/atf/formats/d_tps_66 \
1270 tests/atf/formats/d_tps_66.experr \
1271 tests/atf/formats/d_tps_66.expout
1272 atf_formatsdir = $(pkgtestsdir)/formats
1273 EXTRA_DIST += $(atf_formats_DATA)
1276 atf_formats_PROGRAMS =
1277 atf_formats_PROGRAMS += tests/atf/formats/h_parser
1278 tests_atf_formats_h_parser_SOURCES = tests/atf/formats/h_parser.cpp
1279 tests_atf_formats_h_parser_LDADD = libatf-c++.la
1283 atf_formats_PROGRAMS += tests/atf/formats/t_writers
1284 tests_atf_formats_t_writers_SOURCES = tests/atf/formats/t_writers.cpp
1285 tests_atf_formats_t_writers_LDADD = libatf-c++.la
1289 atf_formats_SCRIPTS =
1290 atf_formats_SCRIPTS += tests/atf/formats/t_parsers
1291 CLEANFILES += tests/atf/formats/t_parsers
1292 EXTRA_DIST += tests/atf/formats/t_parsers.sh
1293 tests/atf/formats/t_parsers: $(srcdir)/tests/atf/formats/t_parsers.sh $(ATF_COMPILE_DEPS)
1294 test -d tests/atf/formats || mkdir -p tests/atf/formats
1295 $(ATF_COMPILE_SH) -o tests/atf/formats/t_parsers $(srcdir)/tests/atf/formats/t_parsers.sh
1298 atf_test_programs_DATA = tests/atf/test_programs/Atffile
1299 atf_test_programsdir = $(pkgtestsdir)/test_programs
1300 EXTRA_DIST += $(atf_test_programs_DATA)
1302 EXTRA_DIST += tests/atf/test_programs/common.sh
1305 atf_test_programs_PROGRAMS =
1306 atf_test_programs_PROGRAMS += tests/atf/test_programs/h_c
1307 tests_atf_test_programs_h_c_SOURCES = tests/atf/test_programs/h_c.c
1308 tests_atf_test_programs_h_c_LDADD = tests/atf/atf-c/libh.la libatf-c.la
1312 atf_test_programs_PROGRAMS += tests/atf/test_programs/h_cpp
1313 tests_atf_test_programs_h_cpp_SOURCES = tests/atf/test_programs/h_cpp.cpp
1314 tests_atf_test_programs_h_cpp_LDADD = tests/atf/atf-c++/libh.la libatf-c++.la
1317 atf_test_programs_SCRIPTS =
1318 atf_test_programs_SCRIPTS += tests/atf/test_programs/h_sh
1319 CLEANFILES += tests/atf/test_programs/h_sh
1320 EXTRA_DIST += tests/atf/test_programs/h_sh.sh
1321 tests/atf/test_programs/h_sh: $(srcdir)/tests/atf/test_programs/h_sh.sh $(ATF_COMPILE_DEPS)
1322 test -d tests/atf/test_programs || mkdir -p tests/atf/test_programs
1323 $(ATF_COMPILE_SH) -o tests/atf/test_programs/h_sh $(srcdir)/tests/atf/test_programs/h_sh.sh
1327 atf_test_programs_SCRIPTS += tests/atf/test_programs/t_cleanup
1328 CLEANFILES += tests/atf/test_programs/t_cleanup
1329 EXTRA_DIST += tests/atf/test_programs/t_cleanup.sh
1330 tests/atf/test_programs/t_cleanup: $(srcdir)/tests/atf/test_programs/t_cleanup.sh $(ATF_COMPILE_DEPS)
1331 test -d tests/atf/test_programs || mkdir -p tests/atf/test_programs
1332 $(ATF_COMPILE_SH) -o tests/atf/test_programs/t_cleanup $(srcdir)/tests/atf/test_programs/t_cleanup.sh
1336 atf_test_programs_SCRIPTS += tests/atf/test_programs/t_config
1337 CLEANFILES += tests/atf/test_programs/t_config
1338 EXTRA_DIST += tests/atf/test_programs/t_config.sh
1339 tests/atf/test_programs/t_config: $(srcdir)/tests/atf/test_programs/t_config.sh $(ATF_COMPILE_DEPS)
1340 test -d tests/atf/test_programs || mkdir -p tests/atf/test_programs
1341 $(ATF_COMPILE_SH) -o tests/atf/test_programs/t_config $(srcdir)/tests/atf/test_programs/t_config.sh
1345 atf_test_programs_SCRIPTS += tests/atf/test_programs/t_env
1346 CLEANFILES += tests/atf/test_programs/t_env
1347 EXTRA_DIST += tests/atf/test_programs/t_env.sh
1348 tests/atf/test_programs/t_env: $(srcdir)/tests/atf/test_programs/t_env.sh $(ATF_COMPILE_DEPS)
1349 test -d tests/atf/test_programs || mkdir -p tests/atf/test_programs
1350 $(ATF_COMPILE_SH) -o tests/atf/test_programs/t_env $(srcdir)/tests/atf/test_programs/t_env.sh
1354 atf_test_programs_SCRIPTS += tests/atf/test_programs/t_fork
1355 CLEANFILES += tests/atf/test_programs/t_fork
1356 EXTRA_DIST += tests/atf/test_programs/t_fork.sh
1357 tests/atf/test_programs/t_fork: $(srcdir)/tests/atf/test_programs/t_fork.sh $(ATF_COMPILE_DEPS)
1358 test -d tests/atf/test_programs || mkdir -p tests/atf/test_programs
1359 $(ATF_COMPILE_SH) -o tests/atf/test_programs/t_fork $(srcdir)/tests/atf/test_programs/t_fork.sh
1363 atf_test_programs_SCRIPTS += tests/atf/test_programs/t_meta_data
1364 CLEANFILES += tests/atf/test_programs/t_meta_data
1365 EXTRA_DIST += tests/atf/test_programs/t_meta_data.sh
1366 tests/atf/test_programs/t_meta_data: $(srcdir)/tests/atf/test_programs/t_meta_data.sh $(ATF_COMPILE_DEPS)
1367 test -d tests/atf/test_programs || mkdir -p tests/atf/test_programs
1368 $(ATF_COMPILE_SH) -o tests/atf/test_programs/t_meta_data $(srcdir)/tests/atf/test_programs/t_meta_data.sh
1372 atf_test_programs_SCRIPTS += tests/atf/test_programs/t_srcdir
1373 CLEANFILES += tests/atf/test_programs/t_srcdir
1374 EXTRA_DIST += tests/atf/test_programs/t_srcdir.sh
1375 tests/atf/test_programs/t_srcdir: $(srcdir)/tests/atf/test_programs/t_srcdir.sh $(ATF_COMPILE_DEPS)
1376 test -d tests/atf/test_programs || mkdir -p tests/atf/test_programs
1377 $(ATF_COMPILE_SH) -o tests/atf/test_programs/t_srcdir $(srcdir)/tests/atf/test_programs/t_srcdir.sh
1381 atf_test_programs_SCRIPTS += tests/atf/test_programs/t_status
1382 CLEANFILES += tests/atf/test_programs/t_status
1383 EXTRA_DIST += tests/atf/test_programs/t_status.sh
1384 tests/atf/test_programs/t_status: $(srcdir)/tests/atf/test_programs/t_status.sh $(ATF_COMPILE_DEPS)
1385 test -d tests/atf/test_programs || mkdir -p tests/atf/test_programs
1386 $(ATF_COMPILE_SH) -o tests/atf/test_programs/t_status $(srcdir)/tests/atf/test_programs/t_status.sh
1390 atf_test_programs_SCRIPTS += tests/atf/test_programs/t_workdir
1391 CLEANFILES += tests/atf/test_programs/t_workdir
1392 EXTRA_DIST += tests/atf/test_programs/t_workdir.sh
1393 tests/atf/test_programs/t_workdir: $(srcdir)/tests/atf/test_programs/t_workdir.sh $(ATF_COMPILE_DEPS)
1394 test -d tests/atf/test_programs || mkdir -p tests/atf/test_programs
1395 $(ATF_COMPILE_SH) -o tests/atf/test_programs/t_workdir $(srcdir)/tests/atf/test_programs/t_workdir.sh
1398 atf_tools_DATA = tests/atf/tools/Atffile
1399 atf_toolsdir = $(pkgtestsdir)/tools
1400 EXTRA_DIST += $(atf_tools_DATA)
1403 atf_tools_PROGRAMS =
1404 atf_tools_PROGRAMS += tests/atf/tools/h_fail
1405 tests_atf_tools_h_fail_SOURCES = tests/atf/tools/h_fail.cpp
1406 tests_atf_tools_h_fail_LDADD = libatf-c++.la
1410 atf_tools_PROGRAMS += tests/atf/tools/h_misc
1411 tests_atf_tools_h_misc_SOURCES = tests/atf/tools/h_misc.cpp
1412 tests_atf_tools_h_misc_LDADD = libatf-c++.la
1416 atf_tools_PROGRAMS += tests/atf/tools/h_mode
1417 tests_atf_tools_h_mode_SOURCES = tests/atf/tools/h_mode.cpp
1418 tests_atf_tools_h_mode_LDADD = libatf-c++.la
1422 atf_tools_PROGRAMS += tests/atf/tools/h_pass
1423 tests_atf_tools_h_pass_SOURCES = tests/atf/tools/h_pass.cpp
1424 tests_atf_tools_h_pass_LDADD = libatf-c++.la
1428 atf_tools_SCRIPTS += tests/atf/tools/t_atf_check
1429 CLEANFILES += tests/atf/tools/t_atf_check
1430 EXTRA_DIST += tests/atf/tools/t_atf_check.sh
1431 tests/atf/tools/t_atf_check: $(srcdir)/tests/atf/tools/t_atf_check.sh $(ATF_COMPILE_DEPS)
1432 test -d tests/atf/tools || mkdir -p tests/atf/tools
1433 $(ATF_COMPILE_SH) -o tests/atf/tools/t_atf_check $(srcdir)/tests/atf/tools/t_atf_check.sh
1437 atf_tools_SCRIPTS += tests/atf/tools/t_atf_cleanup
1438 CLEANFILES += tests/atf/tools/t_atf_cleanup
1439 EXTRA_DIST += tests/atf/tools/t_atf_cleanup.sh
1440 tests/atf/tools/t_atf_cleanup: $(srcdir)/tests/atf/tools/t_atf_cleanup.sh $(ATF_COMPILE_DEPS)
1441 test -d tests/atf/tools || mkdir -p tests/atf/tools
1442 $(ATF_COMPILE_SH) -o tests/atf/tools/t_atf_cleanup $(srcdir)/tests/atf/tools/t_atf_cleanup.sh
1446 atf_tools_SCRIPTS += tests/atf/tools/t_atf_compile
1447 CLEANFILES += tests/atf/tools/t_atf_compile
1448 EXTRA_DIST += tests/atf/tools/t_atf_compile.sh
1449 tests/atf/tools/t_atf_compile: $(srcdir)/tests/atf/tools/t_atf_compile.sh $(ATF_COMPILE_DEPS)
1450 test -d tests/atf/tools || mkdir -p tests/atf/tools
1451 $(ATF_COMPILE_SH) -o tests/atf/tools/t_atf_compile $(srcdir)/tests/atf/tools/t_atf_compile.sh
1455 atf_tools_SCRIPTS += tests/atf/tools/t_atf_config
1456 CLEANFILES += tests/atf/tools/t_atf_config
1457 EXTRA_DIST += tests/atf/tools/t_atf_config.sh
1458 tests/atf/tools/t_atf_config: $(srcdir)/tests/atf/tools/t_atf_config.sh $(ATF_COMPILE_DEPS)
1459 test -d tests/atf/tools || mkdir -p tests/atf/tools
1460 $(ATF_COMPILE_SH) -o tests/atf/tools/t_atf_config $(srcdir)/tests/atf/tools/t_atf_config.sh
1464 atf_tools_SCRIPTS += tests/atf/tools/t_atf_exec
1465 CLEANFILES += tests/atf/tools/t_atf_exec
1466 EXTRA_DIST += tests/atf/tools/t_atf_exec.sh
1467 tests/atf/tools/t_atf_exec: $(srcdir)/tests/atf/tools/t_atf_exec.sh $(ATF_COMPILE_DEPS)
1468 test -d tests/atf/tools || mkdir -p tests/atf/tools
1469 $(ATF_COMPILE_SH) -o tests/atf/tools/t_atf_exec $(srcdir)/tests/atf/tools/t_atf_exec.sh
1473 atf_tools_SCRIPTS += tests/atf/tools/t_atf_report
1474 CLEANFILES += tests/atf/tools/t_atf_report
1475 EXTRA_DIST += tests/atf/tools/t_atf_report.sh
1476 tests/atf/tools/t_atf_report: $(srcdir)/tests/atf/tools/t_atf_report.sh $(ATF_COMPILE_DEPS)
1477 test -d tests/atf/tools || mkdir -p tests/atf/tools
1478 $(ATF_COMPILE_SH) -o tests/atf/tools/t_atf_report $(srcdir)/tests/atf/tools/t_atf_report.sh
1482 atf_tools_SCRIPTS += tests/atf/tools/t_atf_run
1483 CLEANFILES += tests/atf/tools/t_atf_run
1484 EXTRA_DIST += tests/atf/tools/t_atf_run.sh
1485 tests/atf/tools/t_atf_run: $(srcdir)/tests/atf/tools/t_atf_run.sh $(ATF_COMPILE_DEPS)
1486 test -d tests/atf/tools || mkdir -p tests/atf/tools
1487 $(ATF_COMPILE_SH) -o tests/atf/tools/t_atf_run $(srcdir)/tests/atf/tools/t_atf_run.sh
1490 # -------------------------------------------------------------------------
1491 # `tools' directory.
1492 # -------------------------------------------------------------------------
1494 # TOOL dir basename extradeps
1496 # Builds a binary tool named 'basename/ and to be installed in 'dir'.
1501 bin_PROGRAMS += tools/atf-check
1502 tools_atf_check_SOURCES = tools/atf-check.cpp
1503 tools_atf_check_LDADD = libatf-c++.la
1504 dist_man_MANS += tools/atf-check.1
1508 bin_PROGRAMS += tools/atf-config
1509 tools_atf_config_SOURCES = tools/atf-config.cpp
1510 tools_atf_config_LDADD = libatf-c++.la
1511 dist_man_MANS += tools/atf-config.1
1515 libexec_PROGRAMS += tools/atf-cleanup
1516 tools_atf_cleanup_SOURCES = tools/atf-cleanup.cpp
1517 tools_atf_cleanup_LDADD = libatf-c++.la
1518 dist_man_MANS += tools/atf-cleanup.1
1522 bin_PROGRAMS += tools/atf-compile
1523 tools_atf_compile_SOURCES = tools/atf-compile.cpp
1524 tools_atf_compile_LDADD = libatf-c++.la
1525 dist_man_MANS += tools/atf-compile.1
1529 libexec_PROGRAMS += tools/atf-exec
1530 tools_atf_exec_SOURCES = tools/atf-exec.cpp
1531 tools_atf_exec_LDADD = libatf-c++.la
1532 dist_man_MANS += tools/atf-exec.1
1536 libexec_PROGRAMS += tools/atf-format
1537 tools_atf_format_SOURCES = tools/atf-format.cpp
1538 tools_atf_format_LDADD = libatf-c++.la
1539 dist_man_MANS += tools/atf-format.1
1543 bin_PROGRAMS += tools/atf-report
1544 tools_atf_report_SOURCES = tools/atf-report.cpp
1545 tools_atf_report_LDADD = libatf-c++.la
1546 dist_man_MANS += tools/atf-report.1
1550 bin_PROGRAMS += tools/atf-run
1551 tools_atf_run_SOURCES = tools/atf-run.cpp
1552 tools_atf_run_LDADD = libatf-c++.la
1553 dist_man_MANS += tools/atf-run.1
1557 bin_PROGRAMS += tools/atf-version
1558 tools_atf_version_SOURCES = tools/atf-version.cpp revision.h
1559 tools_atf_version_LDADD = libatf-c++.la
1560 dist_man_MANS += tools/atf-version.1
1563 tools/atf-host-compile: $(srcdir)/tools/atf-host-compile.sh
1564 sed -e 's,__ATF_PKGDATADIR__,$(srcdir)/atf-sh,g' \
1565 -e 's,__ATF_SHELL__,$(ATF_SHELL),g' \
1566 <$(srcdir)/tools/atf-host-compile.sh \
1567 >tools/atf-host-compile.tmp
1568 chmod +x tools/atf-host-compile.tmp
1569 mv tools/atf-host-compile.tmp tools/atf-host-compile
1570 CLEANFILES += tools/atf-host-compile
1571 CLEANFILES += tools/atf-host-compile.tmp
1572 EXTRA_DIST += tools/atf-host-compile.sh
1574 BUILT_SOURCES = revision.h
1575 revision.h: admin/revision.h $(srcdir)/admin/revision-dist.h
1576 @$(top_srcdir)/admin/choose-revision.sh \
1577 admin/revision.h $(srcdir)/admin/revision-dist.h revision.h
1578 CLEANFILES += revision.h
1580 hooksdir = $(pkgdatadir)
1581 hooks_DATA = tools/atf-run.hooks
1582 EXTRA_DIST += $(hooks_DATA)
1584 # vim: syntax=make:noexpandtab:shiftwidth=8:softtabstop=8