1*0a6a1f1dSLionel Sambuc# $NetBSD: Makefile,v 1.24 2014/03/02 22:50:13 jmmv Exp $ 211be35a1SLionel Sambuc 311be35a1SLionel SambucNOLINT= # defined 411be35a1SLionel Sambuc 511be35a1SLionel Sambuc.include <bsd.init.mk> 611be35a1SLionel Sambuc 711be35a1SLionel SambucLIB= atf-c++ 811be35a1SLionel SambucLIBISCXX= yes 911be35a1SLionel Sambuc 1011be35a1SLionel SambucLIBDPLIBS+= atf-c ${.CURDIR}/../libatf-c 1111be35a1SLionel SambucLIBDPLIBS+= m ${.CURDIR}/../../../../../lib/libm 1211be35a1SLionel Sambuc 1311be35a1SLionel Sambuc.PATH: ${SRCDIR} 1411be35a1SLionel Sambuc.PATH: ${SRCDIR}/atf-c++ 1511be35a1SLionel Sambuc.PATH: ${SRCDIR}/atf-c++/detail 16*0a6a1f1dSLionel Sambuc.PATH: ${TOPDIR} 1711be35a1SLionel Sambuc 1811be35a1SLionel SambucWARNS?= 2 1911be35a1SLionel Sambuc 2011be35a1SLionel SambucSRCS= application.cpp \ 2111be35a1SLionel Sambuc build.cpp \ 2211be35a1SLionel Sambuc check.cpp \ 2311be35a1SLionel Sambuc config.cpp \ 2411be35a1SLionel Sambuc env.cpp \ 2511be35a1SLionel Sambuc exceptions.cpp \ 2611be35a1SLionel Sambuc fs.cpp \ 2711be35a1SLionel Sambuc process.cpp \ 2811be35a1SLionel Sambuc tests.cpp \ 2911be35a1SLionel Sambuc text.cpp \ 3011be35a1SLionel Sambuc utils.cpp 3111be35a1SLionel Sambuc 3211be35a1SLionel SambucINCS= build.hpp \ 3311be35a1SLionel Sambuc check.hpp \ 3411be35a1SLionel Sambuc config.hpp \ 3511be35a1SLionel Sambuc macros.hpp \ 3611be35a1SLionel Sambuc tests.hpp \ 3711be35a1SLionel Sambuc utils.hpp 3811be35a1SLionel SambucINCSDIR= /usr/include/atf-c++ 3911be35a1SLionel Sambuc 4011be35a1SLionel SambucINCS+= atf-c++.hpp 4111be35a1SLionel SambucINCSDIR_atf-c++.hpp=/usr/include 4211be35a1SLionel Sambuc 4311be35a1SLionel SambucMAN= atf-c++-api.3 4411be35a1SLionel Sambuc 4511be35a1SLionel Sambuc.if ${MKSHARE} != "no" 4611be35a1SLionel SambucFILES+= atf-c++.pc 4711be35a1SLionel SambucFILESDIR= /usr/lib/pkgconfig 4811be35a1SLionel Sambuc 4911be35a1SLionel Sambucrealall: atf-c++.pc 50*0a6a1f1dSLionel Sambucatf-c++.pc: Makefile atf-c++.pc.in atf-version.txt 51*0a6a1f1dSLionel Sambuc ${TOOL_SED} -e "s,__ATF_VERSION__,$$(cat atf-version.txt),g" \ 5211be35a1SLionel Sambuc -e 's,__CXX__,g++,g' \ 5311be35a1SLionel Sambuc -e 's,__INCLUDEDIR__,/usr/include,g' \ 5411be35a1SLionel Sambuc -e 's,__LIBDIR__,/usr/lib,g' \ 5511be35a1SLionel Sambuc <${SRCDIR}/atf-c++/atf-c++.pc.in >atf-c++.pc 5611be35a1SLionel SambucCLEANFILES+= atf-c++.pc 5711be35a1SLionel Sambuc.endif 5811be35a1SLionel Sambuc 5911be35a1SLionel Sambuc.include <bsd.lib.mk> 60