NetBSD/sys/lkm/compat/Makefile

48 lines
883 B
Makefile

# $NetBSD: Makefile,v 1.10 2001/02/08 12:58:12 tsutsui 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_ARCH} == "sparc64")
SUBDIR+= netbsd32 sunos32
#SUBDIR+= svr4_32
.endif
.if (${MACHINE_ARCH} == "vax")
SUBDIR+= ibcs2 ultrix
.endif
.endif # !make(install)
.include <bsd.subdir.mk>