mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-19 06:22:24 +01:00
69877978df
This simplifies pathing in make/displayed output MFC after: 3 weeks Sponsored by: Dell EMC Isilon
31 lines
446 B
Makefile
31 lines
446 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE= clibs
|
|
SRCDIR= ${SRCTOP}/contrib/libcxxrt
|
|
|
|
SHLIB_MAJOR= 1
|
|
SHLIBDIR?= /lib
|
|
|
|
.PATH: ${SRCDIR}
|
|
|
|
LIB= cxxrt
|
|
|
|
SRCS+= libelftc_dem_gnu3.c\
|
|
terminate.cc\
|
|
dynamic_cast.cc\
|
|
memory.cc\
|
|
auxhelper.cc\
|
|
exception.cc\
|
|
stdexcept.cc\
|
|
typeinfo.cc\
|
|
guard.cc
|
|
|
|
WARNS= 0
|
|
CFLAGS+= -isystem ${SRCDIR} -nostdinc++
|
|
.if empty(CXXFLAGS:M-std=*)
|
|
CXXFLAGS+= -std=c++11
|
|
.endif
|
|
VERSION_MAP= ${.CURDIR}/Version.map
|
|
|
|
.include <bsd.lib.mk>
|