1 # $NetBSD: Makefile,v 1.2 2009/03/11 15:57:08 njoly Exp $
5 SRCDIR
= ${NETBSDSRCDIR}/external
/bsd
/atf
/dist
7 .PATH
: ${SRCDIR}/data
${SRCDIR}/atf-sh
14 CPPFLAGS
+= -DHAVE_CONFIG_H
15 CPPFLAGS
+= -I
${.CURDIR
}/..
/..
/lib
/libatf-c
16 LDADD
+= -latf-c
++ -latf-c
18 COPTS.atf-run.
cpp+= -Wno-stack-protector
22 .if
${MKSHARE} != "no"
23 FILESDIR
= /usr
/share
/atf
27 # Files in ${SRCDIR}/data.
30 FILESDIR_atf-c.
pc= /usr
/lib
/pkgconfig
31 FILESDIR_atf-c
++.
pc= /usr
/lib
/pkgconfig
35 ${TOOL_SED} -e
's,__ATF_VERSION__,0.7,g' \
37 -e
's,__INCLUDEDIR__,/usr/include,g' \
38 -e
's,__LIBDIR__,/usr/lib,g' \
39 <${SRCDIR}/data
/atf-c.
pc.in
>atf-c.
pc
43 atf-c
++.
pc: atf-c
++.
pc.in
44 ${TOOL_SED} -e
's,__ATF_VERSION__,0.7,g' \
45 -e
's,__CXX__,g++,g' \
46 -e
's,__INCLUDEDIR__,/usr/include,g' \
47 -e
's,__LIBDIR__,/usr/lib,g' \
48 <${SRCDIR}/data
/atf-c
++.
pc.in
>atf-c
++.
pc
49 CLEANFILES
+= atf-c
++.
pc
51 .
include <bsd.prog.mk
>