summaryrefslogtreecommitdiff
path: root/gnu/lib/libstdc++-v3/Makefile.common
blob: ca592374297e0102243fd5a20ecc31312212b888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $OpenBSD: Makefile.common,v 1.3 2010/05/16 13:22:58 espie Exp $

GCCDIR= ${.CURDIR}/../../gcc/gcc
GCCLIB= ${GCCDIR}/gcc
SRCDIR=	${.CURDIR}/../../gcc/libstdc++-v3
SUPDIR=	${SRCDIR}/libsupc++

.PATH:	${SRCDIR}/src ${SRCDIR}/libmath ${SRCDIR}/config/io \
	${SRCDIR}/config/locale/generic \
	${SRCDIR}/include ${SUPDIR} ${.CURDIR}/../libiberty/src \
	${.CURDIR}/../libstdc++-v3/obj

CFLAGS+=	-DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
CFLAGS+=	-I${.CURDIR}/../libstdc++-v3/ -I${SUPDIR} -I${GCCDIR} -I${SRCDIR}/include
CFLAGS+=	-I${GCCLIB}/include -I${SRCDIR}/include -I${.CURDIR}/../libiberty/include -I.
CFLAGS+=	-frandom-seed=RepeatabilityConsideredGood
CXXFLAGS+=	-fno-implicit-templates -ffunction-sections -fdata-sections \
		-Wno-deprecated

SUPSRCS=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_arm.cc \
	eh_aux_runtime.cc eh_call.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:
SUPSRCS+=	cp-demangle.c