e2570d9b1b
- regions were preivous stored in a linked list, as 'normally' there are just 2 or 3 (text, data, stack), but that's slow if lots of regions are made with mmap() - measurable performance improvement with gcc and clang
21 lines
458 B
Makefile
21 lines
458 B
Makefile
# Makefile for VM server
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= vm
|
|
SRCS= main.c alloc.c utility.c exec.c exit.c fork.c break.c \
|
|
signal.c mmap.c slaballoc.c region.c pagefaults.c addravl.c \
|
|
physravl.c rs.c queryexit.c yieldedavl.c regionavl.c
|
|
|
|
DPADD+= ${LIBSYS}
|
|
LDADD+= -lsys
|
|
|
|
MAN=
|
|
|
|
BINDIR?= /usr/sbin
|
|
INSTALLFLAGS+= -S 128k
|
|
|
|
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${ARCH}
|
|
CPPFLAGS+= -I${MINIXSRCDIR}
|
|
|
|
.include "arch/${ARCH}/Makefile.inc"
|
|
.include <bsd.prog.mk>
|