Convert kernel over to bsdmake

This commit is contained in:
Arun Thomas
2010-04-01 22:22:33 +00:00
parent 0a04f49d2b
commit 4ed3a0cf3a
103 changed files with 289 additions and 339 deletions

View File

@@ -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>

View 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

View File

@@ -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>

View File

@@ -33,7 +33,7 @@
incheck = 0; \
}
#include "../../kernel/proc.h"
#include "kernel/proc.h"
#define USE(obj, code) do { \
slabunlock(obj, sizeof(*obj)); \

View File

@@ -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 *