1# $NetBSD: Makefile,v 1.9 2011/02/20 20:18:57 jmmv Exp $ 2 3.include <bsd.own.mk> 4 5SRCDIR= ${NETBSDSRCDIR}/external/bsd/atf/dist 6.PATH: ${SRCDIR}/atf-run 7.PATH: ${SRCDIR}/atf-run/share 8.PATH: ${.CURDIR}/../../lib/libatf-c 9 10BINDIR= /usr/bin 11PROG_CXX= atf-run 12SRCS= atf-run.cpp atffile.cpp config.cpp fs.cpp io.cpp requirements.cpp \ 13 signals.cpp test-program.cpp timer.cpp user.cpp 14MAN= atf-run.1 15 16CPPFLAGS+= -DGDB=\"/usr/bin/gdb\" 17CPPFLAGS+= -DHAVE_CONFIG_H 18CPPFLAGS+= -I${SRCDIR} 19CPPFLAGS+= -I${.CURDIR}/../../lib/libatf-c 20LDADD+= -latf-c++ -latf-c 21DPADD+= ${LIBATF_CXX} ${LIBATF_C} 22 23COPTS.atf-run.cpp+= -Wno-stack-protector 24 25WARNS?= 2 26 27.if ${MKSHARE} != "no" 28FILESDIR= /usr/share/atf 29FILESMODE= 444 30FILES= atf-run.hooks 31.endif 32 33.include <bsd.prog.mk> 34