Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/atf Update build files to match atf 0.7.
details: https://anonhg.NetBSD.org/src/rev/429308fb137b
branches: trunk
changeset: 750261:429308fb137b
user: jmmv <jmmv%NetBSD.org@localhost>
date: Tue Dec 22 13:38:10 2009 +0000
description:
Update build files to match atf 0.7.
diffstat:
external/bsd/atf/lib/libatf-c++/Makefile | 4 +-
external/bsd/atf/lib/libatf-c/Makefile | 17 ++++-
external/bsd/atf/lib/libatf-c/bconfig.h | 11 ++-
external/bsd/atf/share/doc/atf/Makefile | 4 +-
external/bsd/atf/tests/atf/atf-c++/Makefile | 68 ++++++++++++++++++-----
external/bsd/atf/tests/atf/atf-c/Makefile | 83 ++++++++++++++++++++--------
external/bsd/atf/usr.bin/atf-run/Makefile | 6 +-
7 files changed, 141 insertions(+), 52 deletions(-)
diffs (truncated from 328 to 300 lines):
diff -r bb9e3072ba43 -r 429308fb137b external/bsd/atf/lib/libatf-c++/Makefile
--- a/external/bsd/atf/lib/libatf-c++/Makefile Tue Dec 22 13:36:56 2009 +0000
+++ b/external/bsd/atf/lib/libatf-c++/Makefile Tue Dec 22 13:38:10 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2009/01/19 07:13:04 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2009/12/22 13:38:10 jmmv Exp $
NOLINT= # defined
@@ -21,6 +21,7 @@
SRCS= application.cpp \
atffile.cpp \
+ build.cpp \
check.cpp \
config.cpp \
env.cpp \
@@ -39,6 +40,7 @@
INCS= application.hpp \
atffile.hpp \
+ build.hpp \
check.hpp \
config.hpp \
env.hpp \
diff -r bb9e3072ba43 -r 429308fb137b external/bsd/atf/lib/libatf-c/Makefile
--- a/external/bsd/atf/lib/libatf-c/Makefile Tue Dec 22 13:36:56 2009 +0000
+++ b/external/bsd/atf/lib/libatf-c/Makefile Tue Dec 22 13:38:10 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/01/26 16:30:14 christos Exp $
+# $NetBSD: Makefile,v 1.3 2009/12/22 13:38:10 jmmv Exp $
NOLINT= # defined
@@ -16,16 +16,26 @@
CPPFLAGS+= -DHAVE_CONFIG_H
CPPFLAGS+= -DATF_ARCH=\"${MACHINE}\"
+CPPFLAGS+= -DATF_BUILD_CC=\"/usr/bin/cc\"
+CPPFLAGS+= -DATF_BUILD_CFLAGS=\"\"
+CPPFLAGS+= -DATF_BUILD_CPP=\"/usr/bin/cpp\"
+CPPFLAGS+= -DATF_BUILD_CPPFLAGS=\"\"
+CPPFLAGS+= -DATF_BUILD_CXX=\"/usr/bin/c++\"
+CPPFLAGS+= -DATF_BUILD_CXXFLAGS=\"\"
CPPFLAGS+= -DATF_CONFDIR=\"/etc/atf\"
+CPPFLAGS+= -DATF_INCLUDEDIR=\"/usr/include\"
+CPPFLAGS+= -DATF_LIBDIR=\"/usr/lib\"
CPPFLAGS+= -DATF_LIBEXECDIR=\"/usr/libexec\"
CPPFLAGS+= -DATF_MACHINE=\"${MACHINE_ARCH}\"
+CPPFLAGS+= -DATF_M4=\"/usr/bin/m4\"
CPPFLAGS+= -DATF_PKGDATADIR=\"/usr/share/atf\"
CPPFLAGS+= -DATF_SHELL=\"/bin/sh\"
CPPFLAGS+= -DATF_WORKDIR=\"/tmp\"
WARNS?= 4
-SRCS= check.c \
+SRCS= build.c \
+ check.c \
config.c \
dynstr.c \
env.c \
@@ -47,7 +57,8 @@
tp.c \
tp_main.c
-INCS= check.h \
+INCS= build.h \
+ check.h \
config.h \
defs.h \
dynstr.h \
diff -r bb9e3072ba43 -r 429308fb137b external/bsd/atf/lib/libatf-c/bconfig.h
--- a/external/bsd/atf/lib/libatf-c/bconfig.h Tue Dec 22 13:36:56 2009 +0000
+++ b/external/bsd/atf/lib/libatf-c/bconfig.h Tue Dec 22 13:38:10 2009 +0000
@@ -83,22 +83,25 @@
#define PACKAGE_BUGREPORT "atf-devel%NetBSD.org@localhost"
/* Define to the copyright string applicable to this package. */
-#define PACKAGE_COPYRIGHT "Copyright (c) 2007, 2008 The NetBSD Foundation, Inc."
+#define PACKAGE_COPYRIGHT "Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc."
/* Define to the full name of this package. */
#define PACKAGE_NAME "Automated Testing Framework"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "Automated Testing Framework 0.6"
+#define PACKAGE_STRING "Automated Testing Framework 0.7"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "atf"
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
/* Define to the version of this package. */
-#define PACKAGE_VERSION "0.6"
+#define PACKAGE_VERSION "0.7"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Version number of package */
-#define VERSION "0.6"
+#define VERSION "0.7"
diff -r bb9e3072ba43 -r 429308fb137b external/bsd/atf/share/doc/atf/Makefile
--- a/external/bsd/atf/share/doc/atf/Makefile Tue Dec 22 13:36:56 2009 +0000
+++ b/external/bsd/atf/share/doc/atf/Makefile Tue Dec 22 13:38:10 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2009/01/19 07:13:04 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2009/12/22 13:38:10 jmmv Exp $
.include <bsd.own.mk>
@@ -11,7 +11,7 @@
.if ${MKDOC} != "no"
FILESDIR= /usr/share/doc/atf
-FILES= AUTHORS COPYING NEWS README ROADMAP
+FILES= AUTHORS COPYING NEWS README
.endif
MAN= atf.7 atf-formats.5 atf-test-case.4 atf-test-program.1
diff -r bb9e3072ba43 -r 429308fb137b external/bsd/atf/tests/atf/atf-c++/Makefile
--- a/external/bsd/atf/tests/atf/atf-c++/Makefile Tue Dec 22 13:36:56 2009 +0000
+++ b/external/bsd/atf/tests/atf/atf-c++/Makefile Tue Dec 22 13:38:10 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2009/01/19 07:13:05 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2009/12/22 13:38:10 jmmv Exp $
.include <bsd.own.mk>
@@ -10,19 +10,57 @@
CPPFLAGS+= -DHAVE_CONFIG_H
CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libatf-c
-TESTS_CXX= t_check
-TESTS_CXX+= t_config
-TESTS_CXX+= t_env
-TESTS_CXX+= t_expand
-TESTS_CXX+= t_fs
-TESTS_CXX+= t_io
-TESTS_CXX+= t_macros
-TESTS_CXX+= t_parser
-TESTS_CXX+= t_process
-TESTS_CXX+= t_signals
-TESTS_CXX+= t_tests
-TESTS_CXX+= t_text
-TESTS_CXX+= t_user
-TESTS_CXX+= t_utils
+FILESDIR= ${TESTSDIR}
+FILES= d_include_application_hpp.cpp \
+ d_include_atf_c++_hpp.cpp \
+ d_include_atffile_hpp.cpp \
+ d_include_build_hpp.cpp \
+ d_include_check_hpp.cpp \
+ d_include_config_hpp.cpp \
+ d_include_env_hpp.cpp \
+ d_include_exceptions_hpp.cpp \
+ d_include_expand_hpp.cpp \
+ d_include_formats_hpp.cpp \
+ d_include_fs_hpp.cpp \
+ d_include_io_hpp.cpp \
+ d_include_macros_hpp.cpp \
+ d_include_parser_hpp.cpp \
+ d_include_process_hpp.cpp \
+ d_include_sanity_hpp.cpp \
+ d_include_signals_hpp.cpp \
+ d_include_tests_hpp.cpp \
+ d_include_text_hpp.cpp \
+ d_include_ui_hpp.cpp \
+ d_include_user_hpp.cpp \
+ d_include_utils_hpp.cpp \
+ d_use_macros_hpp.cpp
+
+TESTS_CXX=
+.for test in t_application \
+ t_atf_c++ \
+ t_atffile \
+ t_build \
+ t_check \
+ t_config \
+ t_env \
+ t_exceptions \
+ t_expand \
+ t_formats \
+ t_fs \
+ t_io \
+ t_macros \
+ t_parser \
+ t_process \
+ t_sanity \
+ t_signals \
+ t_tests \
+ t_text \
+ t_ui \
+ t_user \
+ t_utils
+TESTS_CXX+= ${test}
+SRCS.${test}= ${test}.cpp h_lib.cpp
+.endfor
+.undef test
.include <bsd.test.mk>
diff -r bb9e3072ba43 -r 429308fb137b external/bsd/atf/tests/atf/atf-c/Makefile
--- a/external/bsd/atf/tests/atf/atf-c/Makefile Tue Dec 22 13:36:56 2009 +0000
+++ b/external/bsd/atf/tests/atf/atf-c/Makefile Tue Dec 22 13:38:10 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2009/01/19 07:13:05 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2009/12/22 13:38:10 jmmv Exp $
.include <bsd.own.mk>
@@ -10,29 +10,64 @@
CPPFLAGS+= -DHAVE_CONFIG_H
CPPFLAGS+= -I${NETBSDSRCDIR}/external/bsd/atf/lib/libatf-c
-PROGS= h_check
-SRCS.h_check= h_check.c
-MAN.h_check= # defined
-BINDIR.h_check= ${TESTSDIR}
+PROGS= h_processes
+SRCS.h_processes= h_processes.c
+MAN.h_processes= # defined
+BINDIR.h_processes= ${TESTSDIR}
-TESTS_C= t_check
-TESTS_C+= t_config
-TESTS_C+= t_dynstr
-TESTS_C+= t_env
-TESTS_C+= t_error
-TESTS_C+= t_expand
-TESTS_C+= t_fs
-TESTS_C+= t_io
-TESTS_C+= t_list
-TESTS_C+= t_macros
-TESTS_C+= t_map
-TESTS_C+= t_process
-TESTS_C+= t_sanity
-TESTS_C+= t_signals
-TESTS_C+= t_tc
-TESTS_C+= t_tcr
-TESTS_C+= t_text
-TESTS_C+= t_ui
-TESTS_C+= t_user
+FILESDIR= ${TESTSDIR}
+FILES= d_include_atf_c_h.c \
+ d_include_build_h.c \
+ d_include_check_h.c \
+ d_include_config_h.c \
+ d_include_dynstr_h.c \
+ d_include_env_h.c \
+ d_include_error_fwd_h.c \
+ d_include_error_h.c \
+ d_include_expand_h.c \
+ d_include_fs_h.c \
+ d_include_io_h.c \
+ d_include_list_h.c \
+ d_include_macros_h.c \
+ d_include_map_h.c \
+ d_include_object_h.c \
+ d_include_process_h.c \
+ d_include_sanity_h.c \
+ d_include_signals_h.c \
+ d_include_tc_h.c \
+ d_include_tcr_h.c \
+ d_include_text_h.c \
+ d_include_tp_h.c \
+ d_include_ui_h.c \
+ d_include_user_h.c \
+ d_use_macros_h.c
+
+TESTS_C=
+.for test in t_atf_c \
+ t_build \
+ t_check \
+ t_config \
+ t_dynstr \
+ t_env \
+ t_error \
+ t_expand \
+ t_fs \
+ t_h_lib \
+ t_io \
+ t_list \
+ t_macros \
+ t_map \
+ t_process \
+ t_sanity \
+ t_signals \
+ t_tc \
+ t_tcr \
+ t_text \
+ t_ui \
+ t_user
+TESTS_C+= ${test}
+SRCS.${test}= ${test}.c h_lib.c
+.endfor
+.undef test
Home |
Main Index |
Thread Index |
Old Index