2011-11-25 20:59:04 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2016-02-05 21:01:08 +00:00
|
|
|
PACKAGE= clibs
|
2012-06-02 11:00:48 +00:00
|
|
|
SRCDIR= ${.CURDIR}/../../contrib/libcxxrt
|
2011-11-25 20:59:04 +00:00
|
|
|
|
2012-06-02 11:00:48 +00:00
|
|
|
SHLIB_MAJOR= 1
|
|
|
|
SHLIBDIR?= /lib
|
2011-11-25 20:59:04 +00:00
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|
|
|
|
|
2012-06-02 11:00:48 +00:00
|
|
|
LIB= cxxrt
|
2011-11-25 20:59:04 +00:00
|
|
|
|
2012-06-02 11:00:48 +00:00
|
|
|
SRCS+= libelftc_dem_gnu3.c\
|
|
|
|
terminate.cc\
|
|
|
|
dynamic_cast.cc\
|
|
|
|
memory.cc\
|
|
|
|
auxhelper.cc\
|
|
|
|
exception.cc\
|
|
|
|
stdexcept.cc\
|
|
|
|
typeinfo.cc\
|
|
|
|
guard.cc
|
2011-11-25 20:59:04 +00:00
|
|
|
|
2012-06-02 11:00:48 +00:00
|
|
|
WARNS= 0
|
2016-05-29 06:20:15 +00:00
|
|
|
CFLAGS+= -isystem ${SRCDIR} -nostdinc++
|
2016-03-27 00:37:54 +00:00
|
|
|
.if empty(CXXFLAGS:M-std=*)
|
|
|
|
CXXFLAGS+= -std=c++11
|
|
|
|
.endif
|
2012-06-02 11:00:48 +00:00
|
|
|
VERSION_MAP= ${.CURDIR}/Version.map
|
2011-11-25 20:59:04 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|