1 # $NetBSD: Makefile,v 1.2 2009/01/26 16:30:14 christos Exp $
8 NOPIC
= # defined; interface is still too unstable
10 SRCDIR
= ${NETBSDSRCDIR}/external
/bsd
/atf
/dist
12 .PATH
: ${SRCDIR}/atf-c
14 CPPFLAGS
+= -I
${.CURDIR
}
17 CPPFLAGS
+= -DHAVE_CONFIG_H
18 CPPFLAGS
+= -DATF_ARCH
=\"${MACHINE}\"
19 CPPFLAGS
+= -DATF_BUILD_CC
=\"/usr
/bin
/cc\"
20 CPPFLAGS
+= -DATF_BUILD_CFLAGS
=\"\"
21 CPPFLAGS
+= -DATF_BUILD_CPP
=\"/usr
/bin
/cpp\"
22 CPPFLAGS
+= -DATF_BUILD_CPPFLAGS
=\"\"
23 CPPFLAGS
+= -DATF_BUILD_CXX
=\"/usr
/bin
/c
++\"
24 CPPFLAGS
+= -DATF_BUILD_CXXFLAGS
=\"\"
25 CPPFLAGS
+= -DATF_CONFDIR
=\"/etc
/atf
\"
26 CPPFLAGS
+= -DATF_INCLUDEDIR
=\"/usr
/include\"
27 CPPFLAGS
+= -DATF_LIBDIR
=\"/usr
/lib
\"
28 CPPFLAGS
+= -DATF_LIBEXECDIR
=\"/usr
/libexec
\"
29 CPPFLAGS
+= -DATF_MACHINE
=\"${MACHINE_ARCH}\"
30 CPPFLAGS
+= -DATF_M4
=\"/usr
/bin
/m4
\"
31 CPPFLAGS
+= -DATF_PKGDATADIR
=\"/usr
/share
/atf
\"
32 CPPFLAGS
+= -DATF_SHELL
=\"/bin
/sh
\"
33 CPPFLAGS
+= -DATF_WORKDIR
=\"/tmp
\"
84 INCSDIR
= /usr
/include/atf-c
87 INCSDIR_atf-c.h
=/usr
/include
95 's,@ATTRIBUTE_NORETURN@,__attribute__((__noreturn__)),g' \
96 < ${.ALLSRC
} > ${.TARGET
}.tmp
97 mv
${.TARGET
}.tmp
${.TARGET
}