This should hopefully fix current issues with bootstrap buildworlds from
[dragonfly.git] / gnu / lib / gcc2 / Makefile
1 # $FreeBSD: src/gnu/lib/Makefile,v 1.25.2.4 2001/01/06 23:16:53 obrien Exp $
2 # $DragonFly: src/gnu/lib/gcc2/Attic/Makefile,v 1.2 2004/01/30 02:35:01 dillon Exp $
3 #
4 # GCC2 libraries must be built with GCC2.  If make does not support .makeenv
5 # we have to hack it by changing ${MAKE}
6
7 SUBDIR= csu libgcc
8
9 .if ${OBJFORMAT} == aout
10 .if !defined(NOLIBC_R)
11 SUBDIR+= libgcc_r
12 .endif
13 .endif
14
15 .if !defined(NO_CXX)
16 SUBDIR+= libstdc++
17 .endif
18
19 .if !defined(NO_OBJC)
20 SUBDIR+= libobjc
21 .endif
22
23 .if !defined(.DIRECTIVE_MAKEENV)
24 MAKE := CCVER=gcc2 ${MAKE}
25 .endif 
26
27 .include <bsd.subdir.mk>