24 lines
505 B
Makefile
24 lines
505 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}
|
|
.if ${CC} == gcc
|
|
CFLAGS+= -Wall -Werror
|
|
.endif
|
|
|
|
.include "arch/${ARCH}/Makefile.inc"
|
|
.include <bsd.prog.mk>
|