NetBSD/sys/lkm/exec/Makefile

42 lines
858 B
Makefile

# $NetBSD: Makefile,v 1.10 2001/11/01 13:41:42 tron Exp $
# only install actually tested LKMs
.if make(install)
.if ${MACHINE} == "i386"
SUBDIR+= freebsd_aout freebsd_elf linux_elf svr4_elf
.endif
.else # !make(install)
.if ${MACHINE} == "alpha"
SUBDIR+= linux_aout linux_elf osf1_ecoff
.endif
.if ${MACHINE} == "hp300"
SUBDIR+= hpux_aout
.endif
.if ${MACHINE} == "i386"
SUBDIR+= aout freebsd_aout freebsd_elf ibcs2_coff ibcs2_elf ibcs2_xout
SUBDIR+= linux_aout linux_elf svr4_elf
.endif
.if ${MACHINE_ARCH} == "m68k"
SUBDIR+= linux_aout linux_elf sunos_aout m68k4k
.endif
.if ${MACHINE_ARCH} == "sparc"
SUBDIR+= aout sunos_aout svr4_elf
.endif
.if ${MACHINE_ARCH} == "sparc64"
SUBDIR+= elf netbsd32_aout netbsd32_elf sunos32_aout svr4_32_elf
.endif
.if ${MACHINE_ARCH} == "vax"
SUBDIR+= vax1k
.endif
.endif # !make(install)
.include <bsd.kinc.mk>