NetBSD/usr.bin/atf-version/Makefile
jmmv 9d5a9c0d86 Add the atf tools
This adds reachover Makefiles to build and install the atf tools.
Some are public, thus installed in /usr/bin, and others are internal
and therefore installed in /usr/libexec.
2007-11-12 15:00:00 +00:00

26 lines
511 B
Makefile

# $NetBSD: Makefile,v 1.1 2007/11/12 15:00:02 jmmv Exp $
.include <bsd.own.mk>
SRCDIR= ${NETBSDSRCDIR}/dist/atf
.PATH: ${SRCDIR}/admin ${SRCDIR}/tools
PROG_CXX= atf-version
SRCS= atf-version.cpp
MAN= atf-version.1
CPPFLAGS+= -DHAVE_CONFIG_H
CPPFLAGS+= -I${SRCDIR}/libs
CPPFLAGS+= -I.
CPPFLAGS+= -I${.CURDIR}/../../lib/libatf
LDADD+= -latf
WARNS?= 2
CLEANFILES= revision.h
atf-version.cpp: revision.h
revision.h: revision-dist.h
cp ${SRCDIR}/admin/revision-dist.h revision.h
.include <bsd.prog.mk>