Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / bsd / atf / lib / libatf-c++ / Makefile
blobbae502a5f4b3180553a530e92431bd9da8669e44
1 # $NetBSD: Makefile,v 1.24 2014/03/02 22:50:13 jmmv Exp $
3 NOLINT= # defined
5 .include <bsd.init.mk>
7 LIB= atf-c++
8 LIBISCXX= yes
10 LIBDPLIBS+= atf-c ${.CURDIR}/../libatf-c
11 LIBDPLIBS+= m ${.CURDIR}/../../../../../lib/libm
13 .PATH: ${SRCDIR}
14 .PATH: ${SRCDIR}/atf-c++
15 .PATH: ${SRCDIR}/atf-c++/detail
16 .PATH: ${TOPDIR}
18 WARNS?= 2
20 SRCS= application.cpp \
21 build.cpp \
22 check.cpp \
23 config.cpp \
24 env.cpp \
25 exceptions.cpp \
26 fs.cpp \
27 process.cpp \
28 tests.cpp \
29 text.cpp \
30 utils.cpp
32 INCS= build.hpp \
33 check.hpp \
34 config.hpp \
35 macros.hpp \
36 tests.hpp \
37 utils.hpp
38 INCSDIR= /usr/include/atf-c++
40 INCS+= atf-c++.hpp
41 INCSDIR_atf-c++.hpp=/usr/include
43 MAN= atf-c++-api.3
45 .if ${MKSHARE} != "no"
46 FILES+= atf-c++.pc
47 FILESDIR= /usr/lib/pkgconfig
49 realall: atf-c++.pc
50 atf-c++.pc: Makefile atf-c++.pc.in atf-version.txt
51 ${TOOL_SED} -e "s,__ATF_VERSION__,$$(cat atf-version.txt),g" \
52 -e 's,__CXX__,g++,g' \
53 -e 's,__INCLUDEDIR__,/usr/include,g' \
54 -e 's,__LIBDIR__,/usr/lib,g' \
55 <${SRCDIR}/atf-c++/atf-c++.pc.in >atf-c++.pc
56 CLEANFILES+= atf-c++.pc
57 .endif
59 .include <bsd.lib.mk>