summaryrefslogtreecommitdiff
path: root/gnu/egcs/Makefile.bsd-wrapper
blob: cc3daf9ea08ad7625a189b4103a13ed1992cd6ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#	$OpenBSD: Makefile.bsd-wrapper,v 1.7 2004/01/23 18:21:13 espie Exp $

.include <bsd.own.mk>
USE_GCC3?=No

.if make(obj)
SUBDIR+= libio libf2c libobjc libstdc++
.else
.  if ${USE_GCC3:L} == "no"
SUBDIR+= libio libf2c libstdc++ libobjc
.  else
SUBDIR+=
.  endif
.endif

# just so that the main directory will have a subdir, which simplifies
# libf2c/libobjc build 
obj: _SUBDIRUSE
	cd $(.CURDIR) && $(MAKE) -f Makefile.bsd-wrapper1 obj
	cd $(.CURDIR)/gcc && $(MAKE) -f Makefile.bsd-wrapper obj

.include <bsd.subdir.mk>