Merge from vendor branch OPENSSL:
[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.6 2004/06/21 03:48:04 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= libgcc
8
9 .if !defined(NO_CXX)
10 SUBDIR+= libstdc++
11 .endif
12
13 .if !defined(NO_OBJC)
14 SUBDIR+= libobjc
15 .endif
16
17 # This is to support bootstrap builds from FreeBSD-4.x.  While this
18 # would work in DFly too, it would not work properly when running make
19 # manually from a sub directory.
20 #
21 .if !defined(.DIRECTIVE_MAKEENV)
22 MAKE := HOST_CCVER=${HOST_CCVER} CCVER=gcc2 ${MAKE}
23 .endif 
24
25 # inter-directory dependancies on tconfig.h
26 .ORDER: ${SUBDIR}
27
28 .include <bsd.subdir.mk>