aboutsummaryrefslogtreecommitdiff
path: root/lib/atf
diff options
context:
space:
mode:
authorJulio Merino <jmmv@FreeBSD.org>2014-02-14 19:33:16 +0000
committerJulio Merino <jmmv@FreeBSD.org>2014-02-14 19:33:16 +0000
commit1a61beb0549e05b33df31380e427d90f6e46ff7e (patch)
tree12192b0e3ae6cc3f8047467370fbd632a6788123 /lib/atf
parent2367b4ddc4e6f025150fb4c56d6e82067d2643ff (diff)
parent9b3afb9f3c00ca9da97167e29f437bdd3036da1a (diff)
Notes
Diffstat (limited to 'lib/atf')
-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 ff05da7b48449..0f301e1a0fc48 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 e4ed1a5f27276..4e2e9cf538fd9 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 82bbf6f0d7cb1..472ff9c7fb4ab 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>