2002-05-06 22:07:27 +00:00
|
|
|
# $FreeBSD$
|
2002-05-07 01:01:38 +00:00
|
|
|
|
2002-05-29 00:45:51 +00:00
|
|
|
GCCDIR= ${.CURDIR}/../../../contrib/gcc
|
|
|
|
SRCDIR= ${.CURDIR}/../../../contrib/libstdc++/libsupc++
|
2002-05-07 01:01:38 +00:00
|
|
|
|
2002-05-29 00:45:51 +00:00
|
|
|
.PATH: ${SRCDIR} ${GCCDIR}
|
|
|
|
|
|
|
|
# Static only.
|
|
|
|
LIB= supc++
|
2002-05-07 01:01:38 +00:00
|
|
|
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
|
2002-05-29 00:45:51 +00:00
|
|
|
CFLAGS+= -I${SRCDIR} -I${GCCDIR} -I${.CURDIR}/../libstdc++
|
|
|
|
CXXFLAGS+= -fno-implicit-templates -ffunction-sections -fdata-sections
|
2002-05-07 01:01:38 +00:00
|
|
|
|
|
|
|
HDRS= exception new typeinfo cxxabi.h exception_defines.h
|
2002-05-12 16:01:00 +00:00
|
|
|
INCS= ${HDRS:S;^;${SRCDIR}/;}
|
2002-05-29 00:45:51 +00:00
|
|
|
INCSDIR=${INCLUDEDIR}/g++
|
2002-05-07 01:01:38 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|