2005-10-31 18:30:23 +03:00
|
|
|
ROOT=..
|
|
|
|
include ../Make.config
|
2005-08-08 16:50:13 +04:00
|
|
|
LIB=libkern.a
|
|
|
|
|
|
|
|
OFILES=\
|
|
|
|
allocb.$O\
|
|
|
|
cache.$O\
|
|
|
|
chan.$O\
|
|
|
|
data.$O\
|
|
|
|
dev.$O\
|
2006-03-08 07:24:23 +03:00
|
|
|
devaudio.$O\
|
|
|
|
devaudio-$(AUDIO).$O\
|
2005-08-08 16:50:13 +04:00
|
|
|
devcons.$O\
|
|
|
|
devdraw.$O\
|
2005-10-31 18:30:23 +03:00
|
|
|
devfs-$(OS).$O\
|
2005-08-08 16:50:13 +04:00
|
|
|
devip.$O\
|
2005-10-31 18:30:23 +03:00
|
|
|
devip-$(OS).$O\
|
2005-11-04 18:36:40 +03:00
|
|
|
devlfd.$O\
|
2005-08-08 16:50:13 +04:00
|
|
|
devmnt.$O\
|
|
|
|
devmouse.$O\
|
|
|
|
devpipe.$O\
|
|
|
|
devroot.$O\
|
|
|
|
devssl.$O\
|
2006-04-04 15:38:40 +04:00
|
|
|
devtls.$O\
|
2005-08-08 16:50:13 +04: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 18:30:23 +03:00
|
|
|
waserror.$O\
|
|
|
|
$(OS).$O
|
2005-08-08 16:50:13 +04:00
|
|
|
|
2005-11-04 18:47:45 +03:00
|
|
|
default: $(LIB)
|
2005-08-08 16:50:13 +04:00
|
|
|
$(LIB): $(OFILES)
|
2005-10-31 18:30:23 +03:00
|
|
|
$(AR) r $(LIB) $(OFILES)
|
|
|
|
$(RANLIB) $(LIB)
|
2005-08-08 16:50:13 +04:00
|
|
|
|
|
|
|
%.$O: %.c
|
|
|
|
$(CC) $(CFLAGS) $*.c
|
|
|
|
|