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)
|
|
|
|
|
2005-07-14 17:13:33 +02:00
|
|
|
clean:
|
|
|
|
rm *.o
|
|
|
|
|
2005-04-21 16:53:53 +02:00
|
|
|
OBJECTS = \
|
|
|
|
$(LIBSYS)(sys_times.o) \
|
|
|
|
$(LIBSYS)(sys_abort.o) \
|
|
|
|
$(LIBSYS)(sys_exec.o) \
|
|
|
|
$(LIBSYS)(sys_fork.o) \
|
2005-07-29 12:21:04 +02:00
|
|
|
$(LIBSYS)(sys_int86.o) \
|
2005-04-21 16:53:53 +02:00
|
|
|
$(LIBSYS)(sys_kill.o) \
|
|
|
|
$(LIBSYS)(sys_newmap.o) \
|
2005-04-29 17:36:43 +02:00
|
|
|
$(LIBSYS)(sys_sigsend.o) \
|
2005-07-14 17:13:33 +02:00
|
|
|
$(LIBSYS)(sys_sigreturn.o) \
|
2005-04-29 17:36:43 +02:00
|
|
|
$(LIBSYS)(sys_endsig.o) \
|
|
|
|
$(LIBSYS)(sys_getsig.o) \
|
2005-04-21 16:53:53 +02:00
|
|
|
$(LIBSYS)(sys_svrctl.o) \
|
|
|
|
$(LIBSYS)(sys_trace.o) \
|
2005-07-14 17:13:33 +02:00
|
|
|
$(LIBSYS)(sys_exit.o) \
|
2005-04-21 16:53:53 +02:00
|
|
|
$(LIBSYS)(sys_sdevio.o) \
|
|
|
|
$(LIBSYS)(sys_getinfo.o) \
|
|
|
|
$(LIBSYS)(sys_irqctl.o) \
|
2005-04-29 17:36:43 +02:00
|
|
|
$(LIBSYS)(sys_segctl.o) \
|
2005-07-19 14:24:51 +02:00
|
|
|
$(LIBSYS)(sys_nice.o) \
|
2005-04-21 16:53:53 +02:00
|
|
|
$(LIBSYS)(sys_umap.o) \
|
2005-07-14 17:13:33 +02:00
|
|
|
$(LIBSYS)(sys_physcopy.o) \
|
|
|
|
$(LIBSYS)(sys_vircopy.o) \
|
2005-04-21 16:53:53 +02:00
|
|
|
$(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) \
|
2005-07-14 17:13:33 +02:00
|
|
|
$(LIBSYS)(sys_setalarm.o) \
|
|
|
|
$(LIBSYS)(sys_memset.o) \
|
2005-04-21 16:53:53 +02:00
|
|
|
$(LIBSYS)(taskcall.o) \
|
|
|
|
|
|
|
|
$(LIBSYS): $(OBJECTS)
|
|
|
|
aal cr $@ *.o
|
|
|
|
rm *.o
|
|
|
|
|
|
|
|
$(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
|
|
|
|
|
2005-07-29 12:21:04 +02:00
|
|
|
$(LIBSYS)(sys_int86.o): sys_int86.c
|
|
|
|
$(CC1) sys_int86.c
|
|
|
|
|
2005-04-21 16:53:53 +02:00
|
|
|
$(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
|
|
|
|
|
2005-07-14 17:13:33 +02:00
|
|
|
$(LIBSYS)(sys_exit.o): sys_exit.c
|
|
|
|
$(CC1) sys_exit.c
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
$(LIBSYS)(sys_sdevio.o): sys_sdevio.c
|
|
|
|
$(CC1) sys_sdevio.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_getinfo.o): sys_getinfo.c
|
|
|
|
$(CC1) sys_getinfo.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_irqctl.o): sys_irqctl.c
|
|
|
|
$(CC1) sys_irqctl.c
|
|
|
|
|
|
|
|
$(LIBSYS)(sys_eniop.o): sys_eniop.c
|
|
|
|
$(CC1) sys_eniop.c
|
|
|
|
|
2005-07-19 14:24:51 +02:00
|
|
|
$(LIBSYS)(sys_nice.o): sys_nice.c
|
|
|
|
$(CC1) sys_nice.c
|
2005-07-01 20:01:33 +02:00
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
2005-07-14 17:13:33 +02:00
|
|
|
$(LIBSYS)(sys_sigreturn.o): sys_sigreturn.c
|
|
|
|
$(CC1) sys_sigreturn.c
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2005-07-14 17:13:33 +02:00
|
|
|
$(LIBSYS)(sys_physcopy.o): sys_physcopy.c
|
|
|
|
$(CC1) sys_physcopy.c
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2005-07-14 17:13:33 +02:00
|
|
|
$(LIBSYS)(sys_vircopy.o): sys_vircopy.c
|
|
|
|
$(CC1) sys_vircopy.c
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
$(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
|
|
|
|
|
2005-07-14 17:13:33 +02:00
|
|
|
$(LIBSYS)(sys_setalarm.o): sys_setalarm.c
|
|
|
|
$(CC1) sys_setalarm.c
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2005-07-14 17:13:33 +02:00
|
|
|
$(LIBSYS)(sys_memset.o): sys_memset.c
|
|
|
|
$(CC1) sys_memset.c
|
2005-06-01 11:36:07 +02:00
|
|
|
|
2005-04-21 16:53:53 +02:00
|
|
|
$(LIBSYS)(taskcall.o): taskcall.c
|
|
|
|
$(CC1) taskcall.c
|
|
|
|
|