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