Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/kyua/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
.include <src.opts.mk> | .include <src.opts.mk> | ||||
.include "${SRCTOP}/lib/kyua/Makefile.kyua" | KYUA_CONFDIR= /etc/kyua | ||||
KYUA_DOCDIR= /usr/share/doc/kyua | |||||
KYUA_EGDIR= /usr/share/examples/kyua | |||||
KYUA_MISCDIR= /usr/share/kyua/misc | |||||
KYUA_STOREDIR= /usr/share/kyua/store | |||||
KYUA_VERSION= 0.13 | |||||
KYUA_SRCDIR= ${SRCTOP}/contrib/kyua | |||||
.PATH: ${KYUA_SRCDIR} | .PATH: ${KYUA_SRCDIR} | ||||
PACKAGE= tests | PACKAGE= tests | ||||
PROG_CXX= kyua | PROG_CXX= kyua | ||||
SRCS= main.cpp | SRCS= main.cpp | ||||
LIBADD= kyua_cli kyua_drivers kyua_engine kyua_model kyua_store | LIBADD= lutok sqlite3 | ||||
MAN= kyua-about.1 \ | MAN= kyua-about.1 \ | ||||
kyua-config.1 \ | kyua-config.1 \ | ||||
kyua-db-exec.1 \ | kyua-db-exec.1 \ | ||||
kyua-db-migrate.1 \ | kyua-db-migrate.1 \ | ||||
kyua-debug.1 \ | kyua-debug.1 \ | ||||
kyua-help.1 \ | kyua-help.1 \ | ||||
kyua-list.1 \ | kyua-list.1 \ | ||||
kyua-report-html.1 \ | kyua-report-html.1 \ | ||||
kyua-report-junit.1 \ | kyua-report-junit.1 \ | ||||
kyua-report.1 \ | kyua-report.1 \ | ||||
kyua-test.1 \ | kyua-test.1 \ | ||||
kyua.1 \ | kyua.1 \ | ||||
kyua.conf.5 \ | kyua.conf.5 \ | ||||
kyuafile.5 | kyuafile.5 | ||||
CFLAGS+= -I${KYUA_SRCDIR} | CFLAGS+= -I${KYUA_SRCDIR} -I${.CURDIR} | ||||
CFLAGS+= -I${SRCTOP}/contrib/lutok/include | |||||
CFLAGS+= -I${SRCTOP}/contrib/sqlite3 | |||||
# kyua uses auto_ptr | # kyua uses auto_ptr | ||||
CFLAGS+= -Wno-deprecated-declarations | CFLAGS+= -Wno-deprecated-declarations | ||||
CFLAGS+= -DHAVE_CONFIG_H | |||||
# We compile the kyua libraries as part of the main executable as this saves | |||||
# compile time and we don't install them anyway. | |||||
CFLAGS+= -DGDB=\"/usr/local/bin/gdb\" \ | |||||
-DKYUA_ARCHITECTURE=\"${MACHINE_ARCH}\" \ | |||||
-DKYUA_CONFDIR=\"${KYUA_CONFDIR}\" \ | |||||
-DKYUA_DOCDIR=\"${KYUA_DOCDIR}\" \ | |||||
-DKYUA_MISCDIR=\"${KYUA_MISCDIR}\" \ | |||||
-DKYUA_PLATFORM=\"${MACHINE}\" \ | |||||
-DKYUA_STOREDIR=\"${KYUA_STOREDIR}\" \ | |||||
-DPACKAGE=\"kyua\" \ | |||||
-DPACKAGE_NAME=\"Kyua\" \ | |||||
-DPACKAGE_VERSION=\"${KYUA_VERSION}\" \ | |||||
-DVERSION=\"${KYUA_VERSION}\" | |||||
.include "utils/Makefile.inc" | |||||
.include "model/Makefile.inc" | |||||
.include "engine/Makefile.inc" | |||||
.include "store/Makefile.inc" | |||||
.include "drivers/Makefile.inc" | |||||
.include "cli/Makefile.inc" | |||||
FILESGROUPS= DOCS MISC STORE | FILESGROUPS= DOCS MISC STORE | ||||
.if ${MK_EXAMPLES} != "no" | .if ${MK_EXAMPLES} != "no" | ||||
FILESGROUPS+= EXAMPLES | FILESGROUPS+= EXAMPLES | ||||
.endif | .endif | ||||
# Install a minimal default config that uses the 'tests' user. | # Install a minimal default config that uses the 'tests' user. | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |