1 # $NetBSD: Makefile,v 1.13 2014/03/02 22:50:13 jmmv Exp $ 2 3 USE_ATF_LIBTOOLS= yes 4 5 .include <bsd.init.mk> 6 7 .PATH: ${SRCDIR}/tools 8 9 BINDIR= /usr/bin 10 PROG_CXX= atf-version 11 SRCS= atf-version.cpp 12 MAN= atf-version.1 13 14 CPPFLAGS+= -I${SRCDIR}/tools 15 CPPFLAGS+= -I. 16 17 WARNS?= 2 18 19 DPSRCS+= version.hpp 20 CLEANFILES+= version.hpp 21 version.hpp: Makefile atf-version.txt 22 echo "#define ATF_VERSION \"$$(cat atf-version.txt)\"" >version.hpp 23 24 .include <bsd.prog.mk> 25