Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / bsd / atf / usr.bin / atf-version / Makefile
blobd7f68bbdfbce534f83911f73a9fb11266355cefa
1 # $NetBSD: Makefile,v 1.3 2008/05/01 20:56:39 gdt Exp $
3 .include <bsd.own.mk>
5 SRCDIR= ${NETBSDSRCDIR}/external/bsd/atf/dist
6 .PATH: ${SRCDIR}/admin ${SRCDIR}/tools
8 BINDIR= /usr/bin
9 PROG_CXX= atf-version
10 SRCS= atf-version.cpp
11 MAN= atf-version.1
13 CPPFLAGS+= -DHAVE_CONFIG_H
14 CPPFLAGS+= -I${.CURDIR}/../../lib/libatf-c
15 CPPFLAGS+= -I.
16 LDADD+= -latf-c++ -latf-c
18 WARNS?= 2
20 CLEANFILES= revision.h
21 atf-version.cpp: revision.h
22 revision.h: revision-dist.h
23 cp -f ${SRCDIR}/admin/revision-dist.h revision.h
25 .include <bsd.prog.mk>