1# $FreeBSD$ 2 3PACKAGE= clibs 4SRCDIR= ${.CURDIR}/../../contrib/libcxxrt 5 6SHLIB_MAJOR= 1 7SHLIBDIR?= /lib 8 9.PATH: ${SRCDIR} 10 11LIB= cxxrt 12 13SRCS+= libelftc_dem_gnu3.c\ 14 terminate.cc\ 15 dynamic_cast.cc\ 16 memory.cc\ 17 auxhelper.cc\ 18 exception.cc\ 19 stdexcept.cc\ 20 typeinfo.cc\ 21 guard.cc 22 23WARNS= 0 24CFLAGS+= -isystem ${SRCDIR} -nostdinc++ 25.if empty(CXXFLAGS:M-std=*) 26CXXFLAGS+= -std=c++11 27.endif 28VERSION_MAP= ${.CURDIR}/Version.map 29 30.include <bsd.lib.mk> 31