2005-10-31 16:30:23 +01:00
|
|
|
ROOT=..
|
|
|
|
include ../Make.config
|
2005-08-08 14:50:13 +02:00
|
|
|
LIB=libkern.a
|
|
|
|
|
|
|
|
OFILES=\
|
|
|
|
allocb.$O\
|
|
|
|
cache.$O\
|
|
|
|
chan.$O\
|
|
|
|
data.$O\
|
|
|
|
dev.$O\
|
2006-03-08 05:24:23 +01:00
|
|
|
devaudio.$O\
|
|
|
|
devaudio-$(AUDIO).$O\
|
2005-08-08 14:50:13 +02:00
|
|
|
devcons.$O\
|
|
|
|
devdraw.$O\
|
2005-10-31 16:30:23 +01:00
|
|
|
devfs-$(OS).$O\
|
2005-08-08 14:50:13 +02:00
|
|
|
devip.$O\
|
2005-10-31 16:30:23 +01:00
|
|
|
devip-$(OS).$O\
|
2005-11-04 16:36:40 +01:00
|
|
|
devlfd.$O\
|
2005-08-08 14:50:13 +02:00
|
|
|
devmnt.$O\
|
|
|
|
devmouse.$O\
|
|
|
|
devpipe.$O\
|
|
|
|
devroot.$O\
|
|
|
|
devssl.$O\
|
2006-04-04 13:38:40 +02:00
|
|
|
devtls.$O\
|
2005-08-08 14:50:13 +02:00
|
|
|
devtab.$O\
|
|
|
|
error.$O\
|
|
|
|
parse.$O\
|
|
|
|
pgrp.$O\
|
|
|
|
procinit.$O\
|
|
|
|
rwlock.$O\
|
|
|
|
sleep.$O\
|
|
|
|
smalloc.$O\
|
|
|
|
stub.$O\
|
|
|
|
sysfile.$O\
|
|
|
|
sysproc.$O\
|
|
|
|
qio.$O\
|
|
|
|
qlock.$O\
|
|
|
|
term.$O\
|
|
|
|
uart.$O\
|
2005-10-31 16:30:23 +01:00
|
|
|
waserror.$O\
|
|
|
|
$(OS).$O
|
2005-08-08 14:50:13 +02:00
|
|
|
|
2005-11-04 16:47:45 +01:00
|
|
|
default: $(LIB)
|
2005-08-08 14:50:13 +02:00
|
|
|
$(LIB): $(OFILES)
|
2005-10-31 16:30:23 +01:00
|
|
|
$(AR) r $(LIB) $(OFILES)
|
|
|
|
$(RANLIB) $(LIB)
|
2005-08-08 14:50:13 +02:00
|
|
|
|
|
|
|
%.$O: %.c
|
|
|
|
$(CC) $(CFLAGS) $*.c
|
|
|
|
|