Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/kyua-cli Add reachover build files for kyua-cli.
details: https://anonhg.NetBSD.org/src/rev/2952c0f3e5c4
branches: trunk
changeset: 785103:2952c0f3e5c4
user: jmmv <jmmv%NetBSD.org@localhost>
date: Sat Feb 23 14:16:49 2013 +0000
description:
Add reachover build files for kyua-cli.
diffstat:
external/bsd/kyua-cli/Makefile | 10 +
external/bsd/kyua-cli/Makefile.inc | 63 +++++
external/bsd/kyua-cli/config.h | 98 +++++++++
external/bsd/kyua-cli/lib/Makefile | 5 +
external/bsd/kyua-cli/lib/Makefile.inc | 14 +
external/bsd/kyua-cli/lib/cli/Makefile | 27 ++
external/bsd/kyua-cli/lib/engine/Makefile | 32 ++
external/bsd/kyua-cli/lib/store/Makefile | 19 +
external/bsd/kyua-cli/lib/utils/Makefile | 87 ++++++++
external/bsd/kyua-cli/lib/utils/Makefile.inc | 3 +
external/bsd/kyua-cli/lib/utils/cmdline/Makefile | 3 +
external/bsd/kyua-cli/lib/utils/config/Makefile | 3 +
external/bsd/kyua-cli/lib/utils/defs.hpp | 63 +++++
external/bsd/kyua-cli/lib/utils/format/Makefile | 3 +
external/bsd/kyua-cli/lib/utils/fs/Makefile | 3 +
external/bsd/kyua-cli/lib/utils/logging/Makefile | 3 +
external/bsd/kyua-cli/lib/utils/process/Makefile | 3 +
external/bsd/kyua-cli/lib/utils/signals/Makefile | 3 +
external/bsd/kyua-cli/lib/utils/sqlite/Makefile | 3 +
external/bsd/kyua-cli/lib/utils/text/Makefile | 3 +
external/bsd/kyua-cli/prepare-import.sh | 107 ++++++++++
external/bsd/kyua-cli/share/Makefile | 5 +
external/bsd/kyua-cli/share/Makefile.inc | 3 +
external/bsd/kyua-cli/share/doc/Makefile | 5 +
external/bsd/kyua-cli/share/doc/Makefile.inc | 3 +
external/bsd/kyua-cli/share/doc/kyua-cli/Makefile | 13 +
external/bsd/kyua-cli/share/examples/Makefile | 5 +
external/bsd/kyua-cli/share/examples/Makefile.inc | 3 +
external/bsd/kyua-cli/share/examples/kyua-cli/Makefile | 13 +
external/bsd/kyua-cli/share/kyua-cli/Makefile | 5 +
external/bsd/kyua-cli/share/kyua-cli/Makefile.inc | 3 +
external/bsd/kyua-cli/share/kyua-cli/misc/Makefile | 16 +
external/bsd/kyua-cli/share/kyua-cli/store/Makefile | 14 +
external/bsd/kyua-cli/share/man/Makefile | 5 +
external/bsd/kyua-cli/share/man/Makefile.inc | 3 +
external/bsd/kyua-cli/share/man/man5/Makefile | 13 +
external/bsd/kyua-cli/share/man/man7/Makefile | 13 +
external/bsd/kyua-cli/tests/Makefile | 5 +
external/bsd/kyua-cli/tests/Makefile.inc | 3 +
external/bsd/kyua-cli/tests/kyua-cli/Makefile | 15 +
external/bsd/kyua-cli/tests/kyua-cli/Makefile.inc | 3 +
external/bsd/kyua-cli/tests/kyua-cli/bootstrap/Makefile | 25 ++
external/bsd/kyua-cli/tests/kyua-cli/cli/Makefile | 25 ++
external/bsd/kyua-cli/tests/kyua-cli/engine/Makefile | 35 +++
external/bsd/kyua-cli/tests/kyua-cli/engine/Makefile.inc | 3 +
external/bsd/kyua-cli/tests/kyua-cli/engine/drivers/Makefile | 22 ++
external/bsd/kyua-cli/tests/kyua-cli/examples/Makefile | 13 +
external/bsd/kyua-cli/tests/kyua-cli/integration/Makefile | 34 +++
external/bsd/kyua-cli/tests/kyua-cli/integration/Makefile.inc | 3 +
external/bsd/kyua-cli/tests/kyua-cli/integration/helpers/Makefile | 26 ++
external/bsd/kyua-cli/tests/kyua-cli/store/Makefile | 24 ++
external/bsd/kyua-cli/tests/kyua-cli/utils/Makefile | 23 ++
external/bsd/kyua-cli/tests/kyua-cli/utils/Makefile.inc | 3 +
external/bsd/kyua-cli/tests/kyua-cli/utils/cmdline/Makefile | 19 +
external/bsd/kyua-cli/tests/kyua-cli/utils/config/Makefile | 18 +
external/bsd/kyua-cli/tests/kyua-cli/utils/format/Makefile | 14 +
external/bsd/kyua-cli/tests/kyua-cli/utils/fs/Makefile | 17 +
external/bsd/kyua-cli/tests/kyua-cli/utils/logging/Makefile | 14 +
external/bsd/kyua-cli/tests/kyua-cli/utils/process/Makefile | 21 +
external/bsd/kyua-cli/tests/kyua-cli/utils/signals/Makefile | 16 +
external/bsd/kyua-cli/tests/kyua-cli/utils/sqlite/Makefile | 17 +
external/bsd/kyua-cli/tests/kyua-cli/utils/text/Makefile | 16 +
external/bsd/kyua-cli/usr.bin/Makefile | 5 +
external/bsd/kyua-cli/usr.bin/Makefile.inc | 3 +
external/bsd/kyua-cli/usr.bin/kyua/Makefile | 24 ++
65 files changed, 1123 insertions(+), 0 deletions(-)
diffs (truncated from 1383 to 300 lines):
diff -r da3c8b84617e -r 2952c0f3e5c4 external/bsd/kyua-cli/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/kyua-cli/Makefile Sat Feb 23 14:16:49 2013 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1 2013/02/23 14:16:49 jmmv Exp $
+
+SUBDIR= lib .WAIT share tests usr.bin
+
+.for dir in share tests usr.bin
+includes-${dir}: .PHONY
+ @true
+.endfor
+
+.include <bsd.subdir.mk>
diff -r da3c8b84617e -r 2952c0f3e5c4 external/bsd/kyua-cli/Makefile.inc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/kyua-cli/Makefile.inc Sat Feb 23 14:16:49 2013 +0000
@@ -0,0 +1,63 @@
+# $NetBSD: Makefile.inc,v 1.1 2013/02/23 14:16:49 jmmv Exp $
+
+.include <bsd.own.mk>
+
+TOPDIR= ${NETBSDSRCDIR}/external/bsd/kyua-cli
+SRCDIR= ${TOPDIR}/dist
+
+# Name of the private libraries (without their lib prefix) to depend on.
+KYUA_LIBS?=
+
+# Layout of installed files.
+KYUA_BINDIR= /usr/bin
+KYUA_CONFDIR= /etc/kyua
+KYUA_DOCDIR= /usr/share/doc/kyua-cli
+KYUA_EXAMPLESDIR= /usr/share/examples/kyua-cli
+KYUA_MISCDIR= /usr/share/kyua-cli/misc
+KYUA_STOREDIR= /usr/share/kyua-cli/store
+KYUA_TESTERSDIR= /usr/libexec
+KYUA_TESTSDIR= ${TESTSBASE}
+
+KYUA_TARNAME!= grep 'define PACKAGE_TARNAME' ${TOPDIR}/config.h \
+ | cut -d '"' -f 2
+KYUA_VERSION!= grep 'define VERSION' ${TOPDIR}/config.h | cut -d '"' -f 2
+
+CPPFLAGS+= -DHAVE_CONFIG_H
+
+# Not all source files need these settings, but it's just easier to
+# set them in all cases.
+CPPFLAGS+= -DKYUA_CONFDIR=\"${KYUA_CONFDIR}\"
+CPPFLAGS+= -DKYUA_DOCDIR=\"${KYUA_DOCDIR}\"
+CPPFLAGS+= -DKYUA_EXAMPLESDIR=\"${KYUA_EXAMPLESDIR}\"
+CPPFLAGS+= -DKYUA_MISCDIR=\"${KYUA_MISCDIR}\"
+CPPFLAGS+= -DKYUA_STOREDIR=\"${KYUA_STOREDIR}\"
+CPPFLAGS+= -DKYUA_TESTERSDIR=\"${KYUA_TESTERSDIR}\"
+CPPFLAGS+= -DKYUA_TESTSDIR=\"${KYUA_TESTSDIR}\"
+
+CPPFLAGS+= -I${TOPDIR} # For config.h.
+CPPFLAGS+= -I${TOPDIR}/lib # For utils/defs.hpp.
+CPPFLAGS+= -I${SRCDIR}
+
+PRIVATELIBDIR!= cd ${TOPDIR}/lib; ${PRINTOBJDIR}
+.for lib in ${KYUA_LIBS}
+LDADD+= ${PRIVATELIBDIR}/${lib}/lib${lib}.a
+DPADD+= ${PRIVATELIBDIR}/${lib}/lib${lib}.a
+.endfor
+
+.if !empty(KYUA_LIBS:Mutils)
+LDADD+= -llutok -lsqlite3
+DPADD+= ${LIBLUTOK} ${LIBSQLITE}
+.endif
+
+BUILD_MANPAGE = \
+ sed -e 's,__CONFDIR__,${KYUA_CONFDIR},g' \
+ -e 's,__DOCDIR__,${KYUA_DOCDIR},g' \
+ -e 's,__EGDIR__,${KYUA_EXAMPLESDIR},g' \
+ -e 's,__MISCDIR__,${KYUA_MISCDIR},g' \
+ -e 's,__PACKAGE__,${KYUA_TARNAME},g' \
+ -e 's,__STOREDIR__,${KYUA_STOREDIR},g' \
+ -e 's,__TESTERSDIR__,${KYUA_TESTERSDIR},g' \
+ -e 's,__TESTSDIR__,${KYUA_TESTSDIR},g' \
+ -e 's,__VERSION__,${KYUA_VERSION},g' \
+ <${SRCDIR}/doc/$${name}.in >$${name}.tmp; \
+ mv $${name}.tmp $${name}
diff -r da3c8b84617e -r 2952c0f3e5c4 external/bsd/kyua-cli/config.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/kyua-cli/config.h Sat Feb 23 14:16:49 2013 +0000
@@ -0,0 +1,98 @@
+/* config.h. Generated from config.h.in by configure. */
+/* config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define to the optind value to reset getopt processing */
+#define GETOPT_OPTIND_RESET_VALUE 1
+
+/* Define to 1 if getcwd(NULL, 0) works */
+#define HAVE_GETCWD_DYN 1
+
+/* Define to 1 if getopt has optreset */
+#define HAVE_GETOPT_WITH_OPTRESET 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the `putenv' function. */
+#define HAVE_PUTENV 1
+
+/* Define to 1 if you have the `setenv' function. */
+#define HAVE_SETENV 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the `sysctlbyname' function. */
+#define HAVE_SYSCTLBYNAME 1
+
+/* Define to 1 if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/sysctl.h> header file. */
+#define HAVE_SYS_SYSCTL_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to 1 if you have the `unsetenv' function. */
+#define HAVE_UNSETENV 1
+
+/* Name of the system architecture (aka processor type) */
+#define KYUA_ARCHITECTURE "x86_64"
+
+/* Name of the system platform (aka machine name) */
+#define KYUA_PLATFORM "amd64"
+
+/* Define to the last valid signal number */
+#define LAST_SIGNO 63
+
+/* Define to the name of the sysctl MIB */
+#define MEMORY_QUERY_SYSCTL_MIB "hw.usermem64"
+
+/* Define to the memory query type */
+#define MEMORY_QUERY_TYPE "sysctlbyname"
+
+/* Name of package */
+#define PACKAGE "kyua-cli"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "kyua-discuss%googlegroups.com@localhost"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "Kyua - Command line interface"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "Kyua - Command line interface 0.6"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "kyua-cli"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL "http://code.google.com/p/kyua/"
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "0.6"
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Version number of package */
+#define VERSION "0.6"
diff -r da3c8b84617e -r 2952c0f3e5c4 external/bsd/kyua-cli/lib/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/kyua-cli/lib/Makefile Sat Feb 23 14:16:49 2013 +0000
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile,v 1.1 2013/02/23 14:16:49 jmmv Exp $
+
+SUBDIR= utils store engine cli
+
+.include <bsd.subdir.mk>
diff -r da3c8b84617e -r 2952c0f3e5c4 external/bsd/kyua-cli/lib/Makefile.inc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/kyua-cli/lib/Makefile.inc Sat Feb 23 14:16:49 2013 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile.inc,v 1.1 2013/02/23 14:16:49 jmmv Exp $
+
+.include "../Makefile.inc"
+
+LIBISCXX= yes
+LIBISPRIVATE= yes
+
+LIBDPLIBS+= lua ${.CURDIR}/../../../../mit/lua/lib/liblua
+.if ${HAVE_GCC} == 4
+LIBDPLIBS+= stdc++ ${.CURDIR}/../../../../../gnu/lib/libstdc++-v3_4
+.else
+LIBDPLIBS+= stdc++ ${.CURDIR}/../../../../../external/gpl3/gcc/lib/libstdc++-v3
+.endif
+LIBDPLIBS+= m ${.CURDIR}/../../../../../lib/libm
diff -r da3c8b84617e -r 2952c0f3e5c4 external/bsd/kyua-cli/lib/cli/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/kyua-cli/lib/cli/Makefile Sat Feb 23 14:16:49 2013 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2013/02/23 14:16:50 jmmv Exp $
+
+KYUA_LIBS= engine store utils
+
+.include <bsd.init.mk>
+
+.PATH: ${SRCDIR}/cli
+
+LIB= cli
+
+WARNS?= 3
+
+SRCS= cmd_about.cpp \
+ cmd_config.cpp \
+ cmd_db_exec.cpp \
+ cmd_db_migrate.cpp \
+ cmd_debug.cpp \
+ cmd_help.cpp \
+ cmd_list.cpp \
+ cmd_report.cpp \
+ cmd_report_html.cpp \
+ cmd_test.cpp \
+ common.cpp \
+ config.cpp \
+ main.cpp
+
+.include <bsd.lib.mk>
diff -r da3c8b84617e -r 2952c0f3e5c4 external/bsd/kyua-cli/lib/engine/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/kyua-cli/lib/engine/Makefile Sat Feb 23 14:16:49 2013 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2013/02/23 14:16:50 jmmv Exp $
+
+KYUA_LIBS= store utils
+
+.include <bsd.init.mk>
+
+.PATH: ${SRCDIR}/engine
+.PATH: ${SRCDIR}/engine/drivers
+
+LIB= engine
+
+WARNS?= 3
+
+SRCS= action.cpp \
+ config.cpp \
+ context.cpp \
+ exceptions.cpp \
+ filters.cpp \
+ kyuafile.cpp \
+ metadata.cpp \
+ test_case.cpp \
+ test_program.cpp \
+ test_result.cpp \
+ testers.cpp
+
+# engine/drivers subdirectory.
+SRCS+= debug_test.cpp \
+ list_tests.cpp \
+ run_tests.cpp \
+ scan_action.cpp
+
+.include <bsd.lib.mk>
diff -r da3c8b84617e -r 2952c0f3e5c4 external/bsd/kyua-cli/lib/store/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/kyua-cli/lib/store/Makefile Sat Feb 23 14:16:49 2013 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2013/02/23 14:16:50 jmmv Exp $
+
+KYUA_LIBS= utils
+
+.include <bsd.init.mk>
+
+.PATH: ${SRCDIR}/store
+
+LIB= store
+
+WARNS?= 3
+
+SRCS= backend.cpp \
+ dbtypes.cpp \
+ exceptions.cpp \
+ metadata.cpp \
+ transaction.cpp
+
+.include <bsd.lib.mk>
Home |
Main Index |
Thread Index |
Old Index