2002-05-06 22:07:27 +00:00
|
|
|
# $FreeBSD$
|
2002-05-07 01:01:38 +00:00
|
|
|
|
|
|
|
SRCDIR= ${.CURDIR}/../../../contrib/libstdc++-v3
|
|
|
|
.PATH: ${SRCDIR} ${SRCDIR}/../../gcc
|
|
|
|
|
|
|
|
LIB= stdc++
|
|
|
|
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_terminate.cc eh_throw.cc eh_type.cc \
|
|
|
|
new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc \
|
|
|
|
pure.cc tinfo.cc tinfo2.cc vec.cc
|
|
|
|
|
|
|
|
# from libiberty:
|
|
|
|
SRCS+= cp-demangle.c dyn-string.c
|
|
|
|
|
|
|
|
CFLAGS+= -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
|
|
|
|
CFLAGS+= -I${SRCDIR}/../../gcc
|
|
|
|
CXXFLAGS+= -nostdinc++ \
|
|
|
|
-fno-implicit-templates -ffunction-sections -fdata-sections
|
|
|
|
|
|
|
|
HDRS= exception new typeinfo cxxabi.h exception_defines.h
|
2002-05-12 16:01:00 +00:00
|
|
|
INCS= ${HDRS:S;^;${SRCDIR}/;}
|
|
|
|
INCSDIR=${INCLUDEDIR}/g++-v3
|
2002-05-07 01:01:38 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|