NetBSD/share/atf/Makefile

30 lines
625 B
Makefile
Raw Normal View History

2008-02-04 23:30:45 +03:00
# $NetBSD: Makefile,v 1.2 2008/02/04 20:30:45 jmmv Exp $
.include <bsd.own.mk>
SRCDIR= ${NETBSDSRCDIR}/dist/atf
2008-02-04 23:30:45 +03:00
.PATH: ${SRCDIR}/data ${SRCDIR}/subrs
.if ${MKSHARE} != "no"
2008-02-04 23:30:45 +03:00
# Files in ${SRCDIR}/data.
FILES= atf.pc
FILESDIR_atf.pc= /usr/lib/pkgconfig
# Files in ${SRCDIR}/subrs.
FILESDIR= /usr/share/atf
FILESMODE= 444
2008-02-04 23:30:45 +03:00
FILES+= atf.footer.subr \
atf.header.subr \
atf.init.subr
.endif
2008-02-04 23:30:45 +03:00
realall: atf.pc
atf.pc: atf.pc.in
sed -e 's,__CXX__,${CXX},g' \
-e 's,__INCLUDEDIR__,/usr/include,g' \
-e 's,__LIBDIR__,/usr/lib,g' \
<${SRCDIR}/data/atf.pc.in >atf.pc
CLEANFILES+= atf.pc
.include <bsd.prog.mk>