2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for lib/utils.
|
|
|
|
|
|
|
|
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE
|
|
|
|
CC1 = $(CC) $(CFLAGS) -c
|
|
|
|
|
2005-07-19 15:21:51 +02:00
|
|
|
LIBUTILS = ../libsysutil.a
|
2005-04-21 16:53:53 +02:00
|
|
|
all: $(LIBUTILS)
|
|
|
|
|
|
|
|
OBJECTS = \
|
2005-07-13 16:59:04 +02:00
|
|
|
$(LIBUTILS)(kmalloc.o) \
|
|
|
|
$(LIBUTILS)(kprintf.o) \
|
|
|
|
$(LIBUTILS)(kputc.o) \
|
2005-06-01 16:31:00 +02:00
|
|
|
$(LIBUTILS)(tickdelay.o) \
|
|
|
|
$(LIBUTILS)(getuptime.o) \
|
2005-08-05 16:20:05 +02:00
|
|
|
$(LIBUTILS)(env_get_prm.o) \
|
2005-04-21 16:53:53 +02:00
|
|
|
$(LIBUTILS)(env_parse.o) \
|
|
|
|
$(LIBUTILS)(env_panic.o) \
|
|
|
|
$(LIBUTILS)(env_prefix.o) \
|
|
|
|
$(LIBUTILS)(fkey_ctl.o) \
|
2005-06-01 16:31:00 +02:00
|
|
|
$(LIBUTILS)(panic.o) \
|
|
|
|
$(LIBUTILS)(report.o) \
|
2005-04-21 16:53:53 +02:00
|
|
|
$(LIBUTILS)(taskcall.o) \
|
|
|
|
|
|
|
|
|
|
|
|
$(LIBUTILS): $(OBJECTS)
|
|
|
|
aal cr $@ *.o
|
|
|
|
rm *.o
|
|
|
|
|
2005-07-13 16:59:04 +02:00
|
|
|
$(LIBUTILS)(kmalloc.o): kmalloc.c
|
2005-06-06 11:30:44 +02:00
|
|
|
$(CC1) kmalloc.c
|
|
|
|
|
2005-07-13 16:59:04 +02:00
|
|
|
$(LIBUTILS)(kprintf.o): kprintf.c
|
2005-06-06 11:30:44 +02:00
|
|
|
$(CC1) kprintf.c
|
|
|
|
|
2005-07-13 16:59:04 +02:00
|
|
|
$(LIBUTILS)(kputc.o): kputc.c
|
2005-06-06 11:30:44 +02:00
|
|
|
$(CC1) kputc.c
|
|
|
|
|
2005-06-01 16:31:00 +02:00
|
|
|
$(LIBUTILS)(getuptime.o): getuptime.c
|
|
|
|
$(CC1) getuptime.c
|
2005-05-31 16:43:04 +02:00
|
|
|
|
2005-06-01 16:31:00 +02:00
|
|
|
$(LIBUTILS)(tickdelay.o): tickdelay.c
|
|
|
|
$(CC1) tickdelay.c
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2005-08-05 16:20:05 +02:00
|
|
|
$(LIBUTILS)(env_get_prm.o): env_get_prm.c
|
|
|
|
$(CC1) env_get_prm.c
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
$(LIBUTILS)(env_parse.o): env_parse.c
|
|
|
|
$(CC1) env_parse.c
|
|
|
|
|
|
|
|
$(LIBUTILS)(env_prefix.o): env_prefix.c
|
|
|
|
$(CC1) env_prefix.c
|
|
|
|
|
|
|
|
$(LIBUTILS)(env_panic.o): env_panic.c
|
|
|
|
$(CC1) env_panic.c
|
|
|
|
|
|
|
|
$(LIBUTILS)(fkey_ctl.o): fkey_ctl.c
|
|
|
|
$(CC1) fkey_ctl.c
|
|
|
|
|
2005-06-01 16:31:00 +02:00
|
|
|
$(LIBUTILS)(panic.o): panic.c
|
|
|
|
$(CC1) panic.c
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2005-06-01 16:31:00 +02:00
|
|
|
$(LIBUTILS)(report.o): report.c
|
|
|
|
$(CC1) report.c
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
$(LIBUTILS)(taskcall.o): taskcall.c
|
|
|
|
$(CC1) taskcall.c
|
|
|
|
|
|
|
|
|