8f3fbf7cc1
The build system distinction between "bootprog" and "service" is meaningless as boot programs are standard services. As minix.service.mk simply imports minix.bootprog.mk, reduce confusion by removing minix.bootprog.mk and placing the rules in minix.service.mk. Change-Id: I4056b1e574bed59a8c890239b41b1a7c7cad63e8
25 lines
584 B
Makefile
25 lines
584 B
Makefile
# Makefile for VM server
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= vm
|
|
SRCS= main.c alloc.c utility.c exit.c fork.c break.c \
|
|
mmap.c slaballoc.c region.c pagefaults.c \
|
|
rs.c queryexit.c yieldedavl.c regionavl.c pb.c \
|
|
mem_anon.c mem_directphys.c mem_anon_contig.c mem_shared.c
|
|
|
|
.if ${MACHINE_ARCH} == "earm"
|
|
LDFLAGS+= -T ${.CURDIR}/arch/${MACHINE_ARCH}/vm.lds
|
|
.endif
|
|
|
|
DPADD+= ${LIBSYS}
|
|
LDADD+= -lsys -lexec
|
|
|
|
MAN=
|
|
|
|
BINDIR?= /usr/sbin
|
|
|
|
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH}
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}
|
|
|
|
.include "arch/${MACHINE_ARCH}/Makefile.inc"
|
|
.include <minix.service.mk>
|