Makefile revision 1.48
1#	$OpenBSD: Makefile,v 1.48 2011/07/05 00:15:03 drahn Exp $
2#	$NetBSD: Makefile,v 1.35 1996/04/03 21:20:52 chuck Exp $
3
4.include <bsd.own.mk>
5
6.if make(obj)
7SUBDIR+=	cc gcc ../egcs/gcc
8.else
9.  if ${COMPILER_VERSION:L} == "gcc3"
10SUBDIR+=	gcc
11.  elif ${COMPILER_VERSION:L} == "gcc4"
12SUBDIR+=	cc
13.  else
14SUBDIR+=	../egcs/gcc
15.  endif
16.endif
17
18SUBDIR+=	cxxfilt cvs lynx
19.if make(obj)
20SUBDIR+=	binutils binutils-2.17
21.else
22SUBDIR+=	${BINUTILS_VERSION}
23.endif
24
25# most ports use binutils gas and ld, some do not (yet).
26.if ${ELF_TOOLCHAIN:L} == "no"
27SUBDIR+=	gas ld
28.endif
29
30# Do these last; texinfo builds the info 'dir' file, perl must be after binutils
31SUBDIR+=	perl texinfo
32
33.include <bsd.subdir.mk>
34