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 13 14SRCS+= experimental/memory_resource.cpp 15SRCS+= format.cpp 16 17WARNS?= 0 18CXXFLAGS+= ${PICFLAG} 19CFLAGS+= -isystem ${.CURDIR}/../libc++ 20CXXFLAGS+= -isystem ${SRCDIR}/include 21CXXFLAGS+= -nostdinc++ 22CXXFLAGS+= -nostdlib 23CXXFLAGS+= -D_LIBCPP_BUILDING_LIBRARY 24CXXFLAGS+= -DLIBCXXRT 25CXXSTD?= c++20 26 27.include <bsd.lib.mk> 28