summaryrefslogtreecommitdiff
path: root/gnu/egcs/Makefile.bsd-wrapper
blob: 556881a624697d8c91ea383174f542c2237cff94 (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.9 2005/04/28 21:33:25 espie Exp $

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

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

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

.include <bsd.subdir.mk>