2000-12-08 23:20:23 +03:00
|
|
|
# $NetBSD: Makefile,v 1.7 2000/12/08 20:20:23 jdolecek 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
|
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "mipsle" || ${MACHINE_ARCH} == "mipsbe")
|
|
|
|
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")
|
|
|
|
SUBDIR+= netbsd32 sunos svr4
|
|
|
|
.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>
|