Remove building with NOCRYPTO option
[minix3.git] / minix / servers / vm / Makefile
blobbf440261db32227f68ceedf0e0f8a5f5efc8c00b
1 # Makefile for VM server
2 .include <bsd.own.mk>
4 PROG= vm
5 SRCS= main.c alloc.c utility.c exit.c fork.c break.c \
6 mmap.c slaballoc.c region.c pagefaults.c pagetable.c \
7 rs.c pb.c regionavl.c \
8 mem_anon.c mem_directphys.c mem_anon_contig.c mem_shared.c \
9 mem_cache.c cache.c vfs.c mem_file.c fdref.c acl.c
11 .if ${MACHINE_ARCH} == "earm"
12 LDFLAGS+= -T ${.CURDIR}/arch/${MACHINE_ARCH}/vm.lds
13 .endif
15 .if ${MKPAE:Uno} != "no"
16 CPPFLAGS+= -DPAE=1
17 .endif
19 DPADD+= ${LIBSYS} ${LIBEXEC}
20 LDADD+= -lsys -lexec
22 CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH}
23 CPPFLAGS+= -I${NETBSDSRCDIR}/minix
25 # For all other services, magic instrumentation involves instrumenting the
26 # libc malloc code, hooking its nested mmap/munmap calls, and ignoring its
27 # data. For VM, we need to do the exact opposite, since for VM, the malloc
28 # state is transferred as is. Thus, if the magic pass is enabled, tell it
29 # to skip the regular malloc instrumentation features.
30 MAGICFLAGS= -magic-disable-mem-functions -magic-disable-malloc-skip
32 .include "arch/${MACHINE_ARCH}/Makefile.inc"
33 .include <minix.service.mk>