diff options
author | obrien <obrien@FreeBSD.org> | 2002-05-10 08:54:50 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-05-10 08:54:50 +0000 |
commit | dfe16a29faf2eed114d592e51438cf098a82caba (patch) | |
tree | 4267ea6c3a5e7816a537d642d12e65f950b34542 /gnu/lib/libsupc++ | |
parent | 92c7caae40522c9b713128ad465b033c2e16ce8b (diff) | |
download | FreeBSD-src-dfe16a29faf2eed114d592e51438cf098a82caba.zip FreeBSD-src-dfe16a29faf2eed114d592e51438cf098a82caba.tar.gz |
Bmake bits for Gcc 3.1.
Partially made possible by: Wilko.Bulte@compaq.com
Diffstat (limited to 'gnu/lib/libsupc++')
-rw-r--r-- | gnu/lib/libsupc++/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/lib/libsupc++/Makefile b/gnu/lib/libsupc++/Makefile index e8c0da7..a35befc 100644 --- a/gnu/lib/libsupc++/Makefile +++ b/gnu/lib/libsupc++/Makefile @@ -1 +1,28 @@ # $FreeBSD$ + +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 + +beforeinstall: + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ + ${HDRS:S;^;${SRCDIR}/;} \ + ${DESTDIR}/usr/include/g++-v3 + +.include <bsd.lib.mk> |