1998-11-05 07:14:56 +03:00
|
|
|
# $NetBSD: Makefile,v 1.58 1998/11/05 04:14:56 jonathan Exp $
|
1998-04-09 04:05:14 +04:00
|
|
|
|
|
|
|
# XXX Temporary for USE_EGCS
|
|
|
|
.include <bsd.own.mk>
|
1993-04-10 19:50:59 +04:00
|
|
|
|
1998-05-26 00:06:38 +04:00
|
|
|
SUBDIR+= bc binutils cpio dc diff diff3 gawk grep groff
|
1998-08-28 01:24:59 +04:00
|
|
|
SUBDIR+= gzip rcs sdiff send-pr sort tar gdb
|
1995-04-23 11:50:55 +04:00
|
|
|
|
1998-09-30 06:57:34 +04:00
|
|
|
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "arm32") || \
|
1998-10-19 07:12:50 +04:00
|
|
|
(${MACHINE_ARCH} == "mips") || (${MACHINE_ARCH} == "vax")
|
1998-05-19 23:09:31 +04:00
|
|
|
SUBDIR+= gas.new
|
|
|
|
.else
|
|
|
|
SUBDIR+= gas
|
|
|
|
.endif
|
|
|
|
|
1998-09-30 20:47:47 +04:00
|
|
|
# XXX mips vs mips{el,eb}. Should be all ELF hosts anyway.
|
|
|
|
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "mips")
|
1998-10-19 11:06:51 +04:00
|
|
|
SUBDIR+= ld.new ld/rtld ld/ldd ld/ldconfig
|
1998-08-28 01:24:59 +04:00
|
|
|
.else
|
|
|
|
SUBDIR+= ld
|
|
|
|
.endif
|
1998-04-09 04:05:14 +04:00
|
|
|
|
|
|
|
.ifdef USE_EGCS
|
1998-08-27 21:52:58 +04:00
|
|
|
SUBDIR+= egcs
|
1998-04-09 04:05:14 +04:00
|
|
|
.else
|
|
|
|
SUBDIR+= gcc
|
|
|
|
.endif
|
1993-04-10 19:50:59 +04:00
|
|
|
|
1998-11-05 07:14:56 +03:00
|
|
|
.if (${OBJECT_FMT} == "ELF") && (${MACHINE_ARCH} != "mips")
|
1998-10-19 08:18:15 +04:00
|
|
|
SUBDIR+= gprof
|
|
|
|
.endif
|
1998-09-30 20:47:47 +04:00
|
|
|
|
1998-10-19 08:18:15 +04:00
|
|
|
.include <bsd.subdir.mk>
|