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-atf-tester
11 MAN
= kyua-atf-tester
.1
12 MAN
+= kyua-atf-interface
.7
14 ATFTESTER_LIBDIR
!= cd
${.CURDIR
}/..
/..
/lib
/libatf_tester
; ${PRINTOBJDIR}
15 TESTER_LIBDIR
!= cd
${.CURDIR
}/..
/..
/lib
/libtester
; ${PRINTOBJDIR}
16 LDADD
+= ${ATFTESTER_LIBDIR}/libatf_tester.a
17 DPADD
+= ${ATFTESTER_LIBDIR}/libatf_tester.a
18 LDADD
+= ${TESTER_LIBDIR}/libtester.a
19 DPADD
+= ${TESTER_LIBDIR}/libtester.a
21 CPPFLAGS
+= -DHAVE_CONFIG_H
22 CPPFLAGS
+= -I
${.CURDIR
}/..
/..
/lib
/libtester
23 CPPFLAGS
+= -I
${SRCDIR}
27 CLEANFILES
+= kyua-atf-tester
.1
28 kyua-atf-tester
.1: kyua-atf-tester
.1.in
29 sed
-e
's,__PACKAGE__,kyua-testers,g' \
30 -e
's,__TMPDIR__,/tmp,g' \
31 <${.ALLSRC
} >${.TARGET
}.tmp
32 mv
${.TARGET
}.tmp
${.TARGET
}
34 .
include <bsd.prog.mk
>