Convert kernel over to bsdmake
This commit is contained in:
@@ -6,10 +6,6 @@ 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 map_mem.c
|
||||
|
||||
#Arch-specific sources
|
||||
.PATH: ${.CURDIR}/arch/${ARCH}
|
||||
SRCS+= vm.c pagetable.c arch_pagefaults.c util.S
|
||||
|
||||
DPADD+= ${LIBSYS}
|
||||
LDADD+= -lsys
|
||||
|
||||
@@ -18,5 +14,7 @@ MAN=
|
||||
BINDIR?= /usr/sbin
|
||||
|
||||
CPPFLAGS+= -I${.CURDIR} -Iarch/${ARCH}
|
||||
CPPFLAGS+= -I${MINIXSRCDIR}
|
||||
|
||||
.include "arch/${ARCH}/Makefile.inc"
|
||||
.include <minix.prog.mk>
|
||||
|
||||
5
servers/vm/arch/i386/Makefile.inc
Normal file
5
servers/vm/arch/i386/Makefile.inc
Normal file
@@ -0,0 +1,5 @@
|
||||
.include <minix.own.mk>
|
||||
|
||||
#Arch-specific sources
|
||||
.PATH: ${.CURDIR}/arch/${ARCH}
|
||||
SRCS+= vm.c pagetable.c arch_pagefaults.c util.S
|
||||
@@ -37,9 +37,9 @@
|
||||
extern int missing_spares;
|
||||
|
||||
#include <machine/archtypes.h>
|
||||
#include "../../kernel/const.h"
|
||||
#include "../../kernel/config.h"
|
||||
#include "../../kernel/proc.h"
|
||||
#include "kernel/const.h"
|
||||
#include "kernel/config.h"
|
||||
#include "kernel/proc.h"
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
incheck = 0; \
|
||||
}
|
||||
|
||||
#include "../../kernel/proc.h"
|
||||
#include "kernel/proc.h"
|
||||
|
||||
#define USE(obj, code) do { \
|
||||
slabunlock(obj, sizeof(*obj)); \
|
||||
|
||||
@@ -30,10 +30,10 @@
|
||||
#include "util.h"
|
||||
|
||||
#include <machine/archtypes.h>
|
||||
#include "../../kernel/const.h"
|
||||
#include "../../kernel/config.h"
|
||||
#include "../../kernel/type.h"
|
||||
#include "../../kernel/proc.h"
|
||||
#include "kernel/const.h"
|
||||
#include "kernel/config.h"
|
||||
#include "kernel/type.h"
|
||||
#include "kernel/proc.h"
|
||||
|
||||
/*===========================================================================*
|
||||
* get_mem_map *
|
||||
|
||||
Reference in New Issue
Block a user