2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for lib/syslib.
|
|
|
|
|
|
|
|
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE
|
|
|
|
CC1 = $(CC) $(CFLAGS) -c
|
|
|
|
|
|
|
|
LIBSYS = ../libsys.a
|
|
|
|
all: $(LIBSYS)
|
|
|
|
|
|
|
|
OBJECTS = \
|
|
|
|
$(LIBSYS)(kmalloc.o) \
|
|
|
|
$(LIBSYS)(kprintf.o) \
|
|
|
|
$(LIBSYS)(kputc.o) \
|
|
|
|
$(LIBSYS)(sys_times.o) \
|
|
|
|
$(LIBSYS)(sys_getuptm.o) \
|
|
|
|
$(LIBSYS)(sys_abort.o) \
|
|
|
|
$(LIBSYS)(sys_exec.o) \
|
|
|
|
$(LIBSYS)(sys_fork.o) \
|
|
|
|
$(LIBSYS)(sys_kill.o) \
|
|
|
|
$(LIBSYS)(sys_newmap.o) \
|
2005-04-29 17:36:43 +02:00
|
|
|
$(LIBSYS)(sys_sigsend.o) \
|
|
|
|
$(LIBSYS)(sys_sigret.o) \
|
|
|
|
$(LIBSYS)(sys_endsig.o) \
|
|
|
|
$(LIBSYS)(sys_getsig.o) \
|
2005-04-21 16:53:53 +02:00
|
|
|
$(LIBSYS)(sys_svrctl.o) \
|
|
|
|
$(LIBSYS)(sys_trace.o) \
|
|
|
|
$(LIBSYS)(sys_xit.o) \
|
|
|
|
$(LIBSYS)(sys_sdevio.o) \
|
|
|
|
$(LIBSYS)(sys_getinfo.o) \
|
|
|
|
$(LIBSYS)(sys_kmalloc.o) \
|
|
|
|
$(LIBSYS)(sys_irqctl.o) \
|
|
|
|
$(LIBSYS)(sys_eniop.o) \
|
2005-04-29 17:36:43 +02:00
|
|
|
$(LIBSYS)(sys_segctl.o) \
|
2005-04-21 16:53:53 +02:00
|
|
|
$(LIBSYS)(sys_umap.o) \
|
|
|
|
$(LIBSYS)(sys_exit.o) \
|
|
|
|
$(LIBSYS)(sys_physcp.o) \
|
|
|
|
$(LIBSYS)(sys_vircp.o) \
|
|
|
|
$(LIBSYS)(sys_in.o) \
|
|
|
|
$(LIBSYS)(sys_out.o) \
|
|
|
|
$(LIBSYS)(sys_vinb.o) \
|
|
|
|
$(LIBSYS)(sys_vinw.o) \
|
|
|
|
$(LIBSYS)(sys_vinl.o) \
|
|
|
|
$(LIBSYS)(sys_voutb.o) \
|
|
|
|
$(LIBSYS)(sys_voutw.o) \
|
|
|
|
$(LIBSYS)(sys_voutl.o) \
|
|
|
|
$(LIBSYS)(sys_signalrm.o) \
|
|
|
|
$(LIBSYS)(sys_syncalrm.o) \
|
2005-06-01 11:36:07 +02:00
|
|
|
$(LIBSYS)(sys_physzero.o) \
|
2005-04-21 16:53:53 +02:00
|
|
|
$(LIBSYS)(taskcall.o) \
|
|
|
|
|
|
|
|
$(LIBSYS): $(OBJECTS)
|
|
|
|
aal cr $@ *.o
|
|
|
|
rm *.o
|
|
|
|
|
|
|
|
$(LIBSYS)(kmalloc.o): kmalloc.c
|
|
|
|
$(CC1) kmalloc.c
|
|
|
|
|
|
|
|
$(LIBSYS)(kprintf.o): kprintf.c
|
|
|
|
$(CC1) kprintf.c
|
|
|
|
|
|
|
|
$(LIBSYS)(kputc.o): kputc.c
|
|
|
|
$(CC1) kputc.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_times.o): sys_times.c
|
|
|
|
$(CC1) sys_times.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_getuptm.o): sys_getuptm.c
|
|
|
|
$(CC1) sys_getuptm.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_abort.o): sys_abort.c
|
|
|
|
$(CC1) sys_abort.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_exec.o): sys_exec.c
|
|
|
|
$(CC1) sys_exec.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_fork.o): sys_fork.c
|
|
|
|
$(CC1) sys_fork.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_kill.o): sys_kill.c
|
|
|
|
$(CC1) sys_kill.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_newmap.o): sys_newmap.c
|
|
|
|
$(CC1) sys_newmap.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_svrctl.o): sys_svrctl.c
|
|
|
|
$(CC1) sys_svrctl.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_trace.o): sys_trace.c
|
|
|
|
$(CC1) sys_trace.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_xit.o): sys_xit.c
|
|
|
|
$(CC1) sys_xit.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_sdevio.o): sys_sdevio.c
|
|
|
|
$(CC1) sys_sdevio.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_getinfo.o): sys_getinfo.c
|
|
|
|
$(CC1) sys_getinfo.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_kmalloc.o): sys_kmalloc.c
|
|
|
|
$(CC1) sys_kmalloc.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_irqctl.o): sys_irqctl.c
|
|
|
|
$(CC1) sys_irqctl.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_eniop.o): sys_eniop.c
|
|
|
|
$(CC1) sys_eniop.c
|
|
|
|
|
2005-04-29 17:36:43 +02:00
|
|
|
$(LIBSYS)(sys_segctl.o): sys_segctl.c
|
|
|
|
$(CC1) sys_segctl.c
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
$(LIBSYS)(sys_umap.o): sys_umap.c
|
|
|
|
$(CC1) sys_umap.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_exit.o): sys_exit.c
|
|
|
|
$(CC1) sys_exit.c
|
|
|
|
|
2005-04-29 17:36:43 +02:00
|
|
|
$(LIBSYS)(sys_getsig.o): sys_getsig.c
|
|
|
|
$(CC1) sys_getsig.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_endsig.o): sys_endsig.c
|
|
|
|
$(CC1) sys_endsig.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_sigsend.o): sys_sigsend.c
|
|
|
|
$(CC1) sys_sigsend.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_sigret.o): sys_sigret.c
|
|
|
|
$(CC1) sys_sigret.c
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
$(LIBSYS)(sys_physcp.o): sys_physcp.c
|
|
|
|
$(CC1) sys_physcp.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_vircp.o): sys_vircp.c
|
|
|
|
$(CC1) sys_vircp.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_out.o): sys_out.c
|
|
|
|
$(CC1) sys_out.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_in.o): sys_in.c
|
|
|
|
$(CC1) sys_in.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_voutb.o): sys_voutb.c
|
|
|
|
$(CC1) sys_voutb.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_voutw.o): sys_voutw.c
|
|
|
|
$(CC1) sys_voutw.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_voutl.o): sys_voutl.c
|
|
|
|
$(CC1) sys_voutl.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_vinb.o): sys_vinb.c
|
|
|
|
$(CC1) sys_vinb.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_vinw.o): sys_vinw.c
|
|
|
|
$(CC1) sys_vinw.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_vinl.o): sys_vinl.c
|
|
|
|
$(CC1) sys_vinl.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_signalrm.o): sys_signalrm.c
|
|
|
|
$(CC1) sys_signalrm.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_syncalrm.o): sys_syncalrm.c
|
|
|
|
$(CC1) sys_syncalrm.c
|
|
|
|
|
2005-06-01 11:36:07 +02:00
|
|
|
$(LIBSYS)(sys_physzero.o): sys_physcp.c
|
|
|
|
$(CC1) sys_physzero.c
|
|
|
|
|
2005-04-21 16:53:53 +02:00
|
|
|
$(LIBSYS)(taskcall.o): taskcall.c
|
|
|
|
$(CC1) taskcall.c
|
|
|
|
|