1 2.include <src.opts.mk> 3 4PACKAGE= clibs 5SRCDIR= ${SRCTOP}/contrib/llvm-project/libcxx 6 7LIB= c++experimental 8NO_PIC= 9MK_PROFILE= no 10 11.PATH: ${SRCDIR}/src 12 13SRCS+= experimental/memory_resource.cpp 14SRCS+= format.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