xref: /freebsd/lib/libc++experimental/Makefile (revision 3750ccefb8629a08890bfbae894dd6bc6a7483b4)
1.include <src.opts.mk>
2
3PACKAGE=	clibs
4SRCDIR=		${SRCTOP}/contrib/llvm-project/libcxx
5
6LIB=		c++experimental
7NO_PIC=
8
9.PATH:		${SRCDIR}/src
10
11SRCS+=		experimental/keep.cpp
12
13WARNS?=		0
14CXXFLAGS+=	${PICFLAG}
15CFLAGS+=	-isystem ${.CURDIR}/../libc++
16CXXFLAGS+=	-isystem ${SRCDIR}/include
17CXXFLAGS+=	-nostdinc++
18CXXFLAGS+=	-nostdlib
19CXXFLAGS+=	-D_LIBCPP_BUILDING_LIBRARY
20CXXFLAGS+=	-DLIBCXXRT
21CXXSTD?=	c++20
22
23.include <bsd.lib.mk>
24