1#         $NetBSD: Makefile,v 1.4 2019/11/20 19:37:54 pgoyette Exp $
2
3.include "../Makefile.inc"
4
5KMOD=     exec_aout
6
7CPPFLAGS+=          -DEXEC_AOUT -DCOMPAT_NOMID
8
9.PATH:    ${S}/kern
10SRCS=     exec_aout.c
11
12.PATH:    ${S}/compat/common
13SRCS+=    compat_exec.c
14
15.PATH:    ${S}/arch/${MACHINE}/${MACHINE}
16.PATH:    ${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
17.PATH:    ${S}/arch/${MACHINE_CPU}/${MACHINE_CPU}
18
19.if (exists(${S}/arch/${MACHINE}/${MACHINE}/aout_machdep.c)) || \
20    (exists(${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}/aout_machdep.c)) || \
21    (exists(${S}/arch/${MACHINE_CPU}/${MACHINE_CPU}/aout_machdep.c))
22SRCS+=    aout_machdep.c
23.endif
24
25.include <bsd.kmodule.mk>
26