47 lines
869 B
Makefile
47 lines
869 B
Makefile
# $NetBSD: Makefile,v 1.11 2001/06/06 21:38:49 mrg Exp $
|
|
|
|
# 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)
|
|
.if (${MACHINE} == "i386")
|
|
SUBDIR+= linux
|
|
.endif
|
|
.else # !make(install)
|
|
|
|
.if (${MACHINE} == "alpha")
|
|
SUBDIR+= linux osf1
|
|
.endif
|
|
|
|
.if (${MACHINE} == "hp300")
|
|
SUBDIR+= hpux
|
|
.endif
|
|
|
|
.if (${MACHINE} == "i386")
|
|
SUBDIR+= aout freebsd ibcs2 linux svr4
|
|
.endif
|
|
|
|
.if (${MACHINE_ARCH} == "m68k")
|
|
SUBDIR+= aoutm68k linux sunos svr4
|
|
.endif
|
|
|
|
.if (${MACHINE_ARCH} == "mipsel")
|
|
SUBDIR+= ultrix
|
|
.endif
|
|
|
|
.if (${MACHINE} == "sparc")
|
|
SUBDIR+= aout sunos svr4
|
|
.endif
|
|
|
|
.if (${MACHINE} == "sparc64")
|
|
SUBDIR+= netbsd32 sunos32 svr4 svr4_32
|
|
.endif
|
|
|
|
.if (${MACHINE_ARCH} == "vax")
|
|
SUBDIR+= ibcs2 ultrix
|
|
.endif
|
|
|
|
.endif # !make(install)
|
|
|
|
.include <bsd.subdir.mk>
|