ae8cd67d0b
a long time ago, but libsupc++ was left out somehow, PR: gnu/99702 Submitted by: George Mitchell
30 lines
923 B
Makefile
30 lines
923 B
Makefile
# $FreeBSD$
|
|
|
|
GCCDIR= ${.CURDIR}/../../../contrib/gcc
|
|
SRCDIR= ${.CURDIR}/../../../contrib/libstdc++/libsupc++
|
|
|
|
.PATH: ${SRCDIR} ${GCCDIR}
|
|
|
|
# Static only.
|
|
LIB= supc++
|
|
SRCS+= del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc \
|
|
eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc \
|
|
eh_personality.cc eh_term_handler.cc eh_terminate.cc eh_throw.cc \
|
|
eh_type.cc eh_unex_handler.cc guard.cc new_handler.cc new_op.cc \
|
|
new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc \
|
|
vec.cc vterminate.cc
|
|
|
|
# from libiberty:
|
|
SRCS+= cp-demangle.c
|
|
|
|
CFLAGS+= -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
|
|
CFLAGS+= -I${SRCDIR} -I${GCCDIR} -I${.CURDIR}/../libstdc++
|
|
CFLAGS+= -frandom-seed=RepeatabilityConsideredGood
|
|
CXXFLAGS+= -fno-implicit-templates -ffunction-sections -fdata-sections
|
|
|
|
HDRS= exception new typeinfo cxxabi.h exception_defines.h
|
|
INCS= ${HDRS:S;^;${SRCDIR}/;}
|
|
INCSDIR=${INCLUDEDIR}/c++/3.4
|
|
|
|
.include <bsd.lib.mk>
|