27 lines
470 B
Makefile
27 lines
470 B
Makefile
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE= clibs
|
|
SRCDIR= ${SRCTOP}/contrib/llvm-project/libcxx
|
|
|
|
LIB= c++experimental
|
|
NO_PIC=
|
|
MK_PROFILE= no
|
|
|
|
.PATH: ${SRCDIR}/src
|
|
|
|
SRCS+= experimental/memory_resource.cpp
|
|
SRCS+= format.cpp
|
|
|
|
WARNS?= 0
|
|
CXXFLAGS+= ${PICFLAG}
|
|
CFLAGS+= -isystem ${.CURDIR}/../libc++
|
|
CXXFLAGS+= -isystem ${SRCDIR}/include
|
|
CXXFLAGS+= -nostdinc++
|
|
CXXFLAGS+= -nostdlib
|
|
CXXFLAGS+= -D_LIBCPP_BUILDING_LIBRARY
|
|
CXXFLAGS+= -DLIBCXXRT
|
|
CXXSTD?= c++20
|
|
|
|
.include <bsd.lib.mk>
|