2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for lib/utils.
|
|
|
|
|
|
|
|
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE
|
|
|
|
CC1 = $(CC) $(CFLAGS) -c
|
|
|
|
|
|
|
|
LIBUTILS = ../libutils.a
|
|
|
|
all: $(LIBUTILS)
|
|
|
|
|
|
|
|
OBJECTS = \
|
2005-06-01 16:31:00 +02:00
|
|
|
$(LIBUTILS)(tickdelay.o) \
|
|
|
|
$(LIBUTILS)(getuptime.o) \
|
2005-04-21 16:53:53 +02:00
|
|
|
$(LIBUTILS)(get_mon_prm.o) \
|
|
|
|
$(LIBUTILS)(env_parse.o) \
|
|
|
|
$(LIBUTILS)(env_panic.o) \
|
|
|
|
$(LIBUTILS)(env_prefix.o) \
|
|
|
|
$(LIBUTILS)(fkey_ctl.o) \
|
|
|
|
$(LIBUTILS)(get_proc_nr.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-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
|
|
|
|
|
|
|
$(LIBUTILS)(get_mon_prm.o): get_mon_prm.c
|
|
|
|
$(CC1) get_mon_prm.c
|
|
|
|
|
|
|
|
$(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
|
|
|
|
|
|
|
|
$(LIBUTILS)(get_proc_nr.o): get_proc_nr.c
|
|
|
|
$(CC1) get_proc_nr.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
|
|
|
|
|
|
|
|
|