1 # $NetBSD: Makefile,v 1.3 2016/08/26 23:55:04 dholland Exp $
5 SRCDIR
= ${NETBSDSRCDIR}/external
/bsd
/kyua-testers
/dist
9 PROG_CXX
= kyua-plain-tester
11 MAN
= kyua-plain-tester
.1
12 MAN
+= kyua-plain-interface
.7
14 TESTER_LIBDIR
!= cd
${.CURDIR
}/..
/..
/lib
/libtester
; ${PRINTOBJDIR}
15 LDADD
+= ${TESTER_LIBDIR}/libtester.a
16 DPADD
+= ${TESTER_LIBDIR}/libtester.a
18 CPPFLAGS
+= -DHAVE_CONFIG_H
19 CPPFLAGS
+= -I
${.CURDIR
}/..
/..
/lib
/libtester
20 CPPFLAGS
+= -I
${SRCDIR}
24 CLEANFILES
+= kyua-plain-tester
.1
25 kyua-plain-tester
.1: kyua-plain-tester
.1.in
26 sed
-e
's,__PACKAGE__,kyua-testers,g' \
27 -e
's,__TMPDIR__,/tmp,g' \
28 <${.ALLSRC
} >${.TARGET
}.tmp
29 mv
${.TARGET
}.tmp
${.TARGET
}
31 .
include <bsd.prog.mk
>