summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2014-02-14 19:33:16 +0000
committerjmmv <jmmv@FreeBSD.org>2014-02-14 19:33:16 +0000
commit3000aef4b44bdeb9b83e0df3facbc6a75f8da412 (patch)
tree12192b0e3ae6cc3f8047467370fbd632a6788123 /lib
parente21b440a4ce43fd31d59cd278801c727e21d3f2b (diff)
parent14f39fed9fe557bdd640e02d9abbe2e695400d9e (diff)
downloadFreeBSD-src-3000aef4b44bdeb9b83e0df3facbc6a75f8da412.zip
FreeBSD-src-3000aef4b44bdeb9b83e0df3facbc6a75f8da412.tar.gz
MFV: Import atf-0.20.
Diffstat (limited to 'lib')
-rw-r--r--lib/atf/libatf-c++/Makefile6
-rw-r--r--lib/atf/libatf-c++/tests/detail/Makefile14
-rw-r--r--lib/atf/libatf-c/tests/detail/Makefile12
3 files changed, 19 insertions, 13 deletions
diff --git a/lib/atf/libatf-c++/Makefile b/lib/atf/libatf-c++/Makefile
index ff05da7..0f301e1 100644
--- a/lib/atf/libatf-c++/Makefile
+++ b/lib/atf/libatf-c++/Makefile
@@ -28,7 +28,7 @@
.include <bsd.init.mk>
LIB= atf-c++
-SHLIB_MAJOR= 1
+SHLIB_MAJOR= 2
# libatf-c++ depends on the C version of the ATF library to build.
DPADD= ${LIBATFC}
@@ -53,20 +53,16 @@ SRCS= application.cpp \
config.cpp \
env.cpp \
exceptions.cpp \
- expand.cpp \
fs.cpp \
- parser.cpp \
process.cpp \
tests.cpp \
text.cpp \
- ui.cpp \
utils.cpp
INCS= build.hpp \
check.hpp \
config.hpp \
macros.hpp \
- noncopyable.hpp \
tests.hpp \
utils.hpp
INCSDIR= ${INCLUDEDIR}/atf-c++
diff --git a/lib/atf/libatf-c++/tests/detail/Makefile b/lib/atf/libatf-c++/tests/detail/Makefile
index e4ed1a5..4e2e9cf 100644
--- a/lib/atf/libatf-c++/tests/detail/Makefile
+++ b/lib/atf/libatf-c++/tests/detail/Makefile
@@ -12,15 +12,21 @@ CFLAGS+= -I${ATF}
.for _T in application_test \
env_test \
exceptions_test \
- expand_test \
fs_test \
- parser_test \
process_test \
sanity_test \
- text_test \
- ui_test
+ text_test
ATF_TESTS_CXX+= ${_T}
SRCS.${_T}= ${_T}.cpp test_helpers.cpp
.endfor
+.for p in version_helper
+PROGS_CXX+= ${p}
+SRCS.${p}= ${p}.cpp
+MAN.${p}= # defined
+BINDIR.${p}= ${TESTSDIR}
+.endfor
+version_helper.o: atf-version
+
+.include "../../../common.mk"
.include <atf.test.mk>
diff --git a/lib/atf/libatf-c/tests/detail/Makefile b/lib/atf/libatf-c/tests/detail/Makefile
index 82bbf6f..472ff9c 100644
--- a/lib/atf/libatf-c/tests/detail/Makefile
+++ b/lib/atf/libatf-c/tests/detail/Makefile
@@ -22,9 +22,13 @@ ATF_TESTS_C+= ${_T}
SRCS.${_T}= ${_T}.c test_helpers.c
.endfor
-PROGS+= process_helpers
-SRCS.process_helpers= process_helpers.c
-MAN.process_helpers= # defined
-BINDIR.process_helpers= ${TESTSDIR}
+.for p in process_helpers version_helper
+PROGS+= ${p}
+SRCS.${p}= ${p}.c
+MAN.${p}= # defined
+BINDIR.${p}= ${TESTSDIR}
+.endfor
+version_helper.o: atf-version
+.include "../../../common.mk"
.include <atf.test.mk>
OpenPOWER on IntegriCloud