1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PACKAGE= clibs 6SRCDIR= ${SRCTOP}/contrib/libc++ 7 8LIB= c++experimental 9NO_PIC= 10MK_PROFILE= no 11 12.PATH: ${SRCDIR}/src/experimental 13 14SRCS+= filesystem/directory_iterator.cpp 15SRCS+= filesystem/operations.cpp 16SRCS+= filesystem/path.cpp 17SRCS+= memory_resource.cpp 18 19WARNS?= 0 20CXXFLAGS+= ${PICFLAG} 21CXXFLAGS+= -isystem ${SRCDIR}/include 22CXXFLAGS+= -nostdinc++ 23CXXFLAGS+= -nostdlib 24CXXFLAGS+= -D_LIBCPP_BUILDING_LIBRARY 25CXXFLAGS+= -DLIBCXXRT 26.if empty(CXXFLAGS:M-std=*) 27CXXFLAGS+= -std=c++14 28.endif 29 30.include <bsd.lib.mk> 31