SubDir OBOS_TOP src kernel core ;

KernelObjects 
	<$(SOURCE_GRIST)>cbuf.c 
	<$(SOURCE_GRIST)>console.c 
	<$(SOURCE_GRIST)>cpu.c 
	<$(SOURCE_GRIST)>debug.c 
	<$(SOURCE_GRIST)>elf.c 
	<$(SOURCE_GRIST)>faults.c
	<$(SOURCE_GRIST)>fd.c
	<$(SOURCE_GRIST)>gdb.c 
	<$(SOURCE_GRIST)>heap.c 
	<$(SOURCE_GRIST)>int.c 
	<$(SOURCE_GRIST)>khash.c 
	<$(SOURCE_GRIST)>linkhack.c 
	<$(SOURCE_GRIST)>lock.c 
	<$(SOURCE_GRIST)>main.c 
	<$(SOURCE_GRIST)>misc.c 
	<$(SOURCE_GRIST)>module.c 
	<$(SOURCE_GRIST)>port.c 
	<$(SOURCE_GRIST)>queue.c 
	<$(SOURCE_GRIST)>sem.c 
	<$(SOURCE_GRIST)>smp.c
	<$(SOURCE_GRIST)>syscalls.c 
	<$(SOURCE_GRIST)>sysctl.c
	<$(SOURCE_GRIST)>thread.c 
	<$(SOURCE_GRIST)>timer.c 
	: 
	-fno-pic -D_KERNEL_MODE
	;

KernelLd linkhack.so :
	<$(SOURCE_GRIST)>linkhack.o
	:
	:
	-shared -Bdynamic
	;

SubInclude OBOS_TOP src kernel core addons ;
SubInclude OBOS_TOP src kernel core arch ;
SubInclude OBOS_TOP src kernel core fs ;
SubInclude OBOS_TOP src kernel core vm ;
SubInclude OBOS_TOP src kernel core net ;
