NetBSD/sys/modules/exec_aout/Makefile

26 lines
633 B
Makefile

# $NetBSD: Makefile,v 1.4 2019/11/20 19:37:54 pgoyette Exp $
.include "../Makefile.inc"
KMOD= exec_aout
CPPFLAGS+= -DEXEC_AOUT -DCOMPAT_NOMID
.PATH: ${S}/kern
SRCS= exec_aout.c
.PATH: ${S}/compat/common
SRCS+= compat_exec.c
.PATH: ${S}/arch/${MACHINE}/${MACHINE}
.PATH: ${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
.PATH: ${S}/arch/${MACHINE_CPU}/${MACHINE_CPU}
.if (exists(${S}/arch/${MACHINE}/${MACHINE}/aout_machdep.c)) || \
(exists(${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}/aout_machdep.c)) || \
(exists(${S}/arch/${MACHINE_CPU}/${MACHINE_CPU}/aout_machdep.c))
SRCS+= aout_machdep.c
.endif
.include <bsd.kmodule.mk>