Switch from GCC-version specific crtbegin/crtend code to the version
[dragonfly.git] / gnu / lib / gcc2 / Makefile
CommitLineData
4806ab2e 1# $FreeBSD: src/gnu/lib/Makefile,v 1.25.2.4 2001/01/06 23:16:53 obrien Exp $
0fda1879 2# $DragonFly: src/gnu/lib/gcc2/Attic/Makefile,v 1.5 2004/06/14 19:35:35 joerg Exp $
5228fe46
MD
3#
4# GCC2 libraries must be built with GCC2. If make does not support .makeenv
5# we have to hack it by changing ${MAKE}
4806ab2e 6
0fda1879 7SUBDIR= libgcc
4806ab2e 8
4806ab2e
MD
9.if !defined(NO_CXX)
10SUBDIR+= libstdc++
11.endif
12
13.if !defined(NO_OBJC)
14SUBDIR+= libobjc
15.endif
16
5228fe46
MD
17.if !defined(.DIRECTIVE_MAKEENV)
18MAKE := CCVER=gcc2 ${MAKE}
19.endif
20
1397f94a
MD
21# inter-directory dependancies on tconfig.h
22.ORDER: ${SUBDIR}
23
4806ab2e 24.include <bsd.subdir.mk>