2001-02-08 15:58:12 +03:00
|
|
|
# $NetBSD: Makefile,v 1.10 2001/02/08 12:58:12 tsutsui Exp $
|
1996-08-23 00:18:07 +04:00
|
|
|
|
2000-12-08 23:15:11 +03:00
|
|
|
# XXX for now, only Linux on i386 was actually tested, others might
|
|
|
|
# need further work; compile stuff on everything, but only install
|
|
|
|
# compat_linux on i386
|
|
|
|
.if make(install)
|
1996-08-23 09:38:53 +04:00
|
|
|
.if (${MACHINE} == "i386")
|
2000-12-08 23:15:11 +03:00
|
|
|
SUBDIR+= linux
|
1996-08-23 09:38:53 +04:00
|
|
|
.endif
|
2000-12-08 23:20:23 +03:00
|
|
|
.else # !make(install)
|
1996-08-23 00:18:07 +04:00
|
|
|
|
2000-12-08 23:15:11 +03:00
|
|
|
.if (${MACHINE} == "alpha")
|
|
|
|
SUBDIR+= linux osf1
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${MACHINE} == "hp300")
|
|
|
|
SUBDIR+= hpux
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${MACHINE} == "i386")
|
|
|
|
SUBDIR+= aout freebsd ibcs2 linux svr4
|
1996-08-28 10:17:23 +04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "m68k")
|
2000-12-08 23:15:11 +03:00
|
|
|
SUBDIR+= aoutm68k linux sunos svr4
|
|
|
|
.endif
|
|
|
|
|
2001-02-08 15:58:12 +03:00
|
|
|
.if (${MACHINE_ARCH} == "mipsel")
|
2000-12-08 23:15:11 +03:00
|
|
|
SUBDIR+= ultrix
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${MACHINE} == "sparc")
|
|
|
|
SUBDIR+= aout sunos svr4
|
1996-08-28 10:17:23 +04:00
|
|
|
.endif
|
2000-12-08 23:15:11 +03:00
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "sparc64")
|
2001-02-07 16:34:17 +03:00
|
|
|
SUBDIR+= netbsd32 sunos32
|
|
|
|
#SUBDIR+= svr4_32
|
2000-12-08 23:15:11 +03:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "vax")
|
|
|
|
SUBDIR+= ibcs2 ultrix
|
1997-02-18 09:08:50 +03:00
|
|
|
.endif
|
1996-08-28 10:17:23 +04:00
|
|
|
|
2000-12-08 23:20:23 +03:00
|
|
|
.endif # !make(install)
|
1996-08-28 10:17:23 +04:00
|
|
|
|
1996-08-23 00:18:07 +04:00
|
|
|
.include <bsd.subdir.mk>
|