minix/kernel/system/Makefile

55 lines
1 KiB
Makefile
Raw Normal View History

2005-04-21 16:53:53 +02:00
# Makefile for system library implementation
# Directories
u = /usr
i = $u/include
s = $i/sys
h = $i/minix
m = $i/ibm
l = $u/lib
n = $i/net
g = $n/gen
x = .
k = ..
# Programs, flags, etc.
CC = exec cc
CPP = $l/cpp
LD = $(CC) -.o
CFLAGS = -I$i
LDFLAGS = -i
2005-05-02 16:30:04 +02:00
SYS = clock.o copying.o debugging.o devio.o irqctl.o proctl.o \
2005-04-29 17:36:43 +02:00
sysctl.o misc.o sigctl.o tracing.o \
2005-04-21 16:53:53 +02:00
# What to make.
all build: $(SYS)
aal cr system.a $(SYS)
clean:
rm -f *.a *.o *.bak
# Dependencies from src/kernel/kernel.h
a = $h/config.h $h/const.h $h/type.h $h/ipc.h \
$i/string.h $i/limits.h $i/errno.h $i/stddef.h \
$s/types.h \
$m/portio.h \
$k/proc.h $k/const.h $k/type.h $k/proto.h $k/glo.h
# Dependencies from src/kernel/system.h
b = $k/system.h $h/com.h $k/proc.h
2005-04-21 16:53:53 +02:00
2005-05-02 16:30:04 +02:00
clock.o: $a $b
2005-04-21 16:53:53 +02:00
copying.o: $a $b
debugging.o: $a $b
devio.o: $a $b $h/devio.h
irqctl.o: $a $b
misc.o: $a $b $i/unistd.h
proctl.o: $a $b $k/sendmask.h $k/protect.h $i/signal.h
sigctl.o: $a $b $i/signal.h $s/sigcontext.h
2005-04-29 17:36:43 +02:00
sysctl.o: $a $b $s/svrctl.h $k/sendmask.h
2005-04-21 16:53:53 +02:00
tracing.o: $a $b $s/ptrace.h