freebsd-dev/lib/libc++fs/Makefile
Dimitry Andric 488aa40ab0 Update libc++ and libc++experimental Makefiles, add libc++fs Makefile,
and update OptionalObsoleteFiles.inc for new additions.
2018-08-02 18:24:03 +00:00

30 lines
495 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
PACKAGE= clibs
SRCDIR= ${SRCTOP}/contrib/libc++
LIB= c++fs
NO_PIC=
MK_PROFILE= no
.PATH: ${SRCDIR}/src/filesystem
SRCS+= directory_iterator.cpp
SRCS+= int128_builtins.cpp
SRCS+= operations.cpp
WARNS?= 0
CXXFLAGS+= ${PICFLAG}
CXXFLAGS+= -isystem ${SRCDIR}/include
CXXFLAGS+= -nostdinc++
CXXFLAGS+= -nostdlib
CXXFLAGS+= -D_LIBCPP_BUILDING_LIBRARY
CXXFLAGS+= -DLIBCXXRT
.if empty(CXXFLAGS:M-std=*)
CXXFLAGS+= -std=c++14
.endif
.include <bsd.lib.mk>