minix/external/bsd/atf/usr.bin/atf-run/Makefile

36 lines
817 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.11 2012/06/16 17:02:33 joerg Exp $
.include <bsd.own.mk>
SRCDIR= ${NETBSDSRCDIR}/external/bsd/atf/dist
.PATH: ${SRCDIR}/atf-run
.PATH: ${SRCDIR}/atf-run/share
.PATH: ${.CURDIR}/../../lib/libatf-c
BINDIR= /usr/bin
PROG_CXX= atf-run
SRCS= atf-run.cpp atffile.cpp config.cpp fs.cpp io.cpp requirements.cpp \
signals.cpp test-program.cpp timer.cpp user.cpp
MAN= atf-run.1
CPPFLAGS+= -DGDB=\"/usr/bin/gdb\"
CPPFLAGS+= -DHAVE_CONFIG_H
CPPFLAGS+= -I${SRCDIR}
CPPFLAGS+= -I${.CURDIR}/../../lib/libatf-c
LDADD+= -latf-c++ -latf-c
DPADD+= ${LIBATF_CXX} ${LIBATF_C}
CWARNFLAGS.clang+= -Wno-error=unused-private-field
COPTS.atf-run.cpp+= -Wno-stack-protector
WARNS?= 2
.if ${MKSHARE} != "no"
FILESDIR= /usr/share/atf
FILESMODE= 444
FILES= atf-run.hooks
.endif
.include <bsd.prog.mk>