summaryrefslogtreecommitdiff
path: root/sys/modules/exec_aout/Makefile
blob: 6ce10b502590e0eb511180cff269e24f4f14af26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#	$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>