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