summaryrefslogtreecommitdiff
path: root/Makefile
blob: 6f176566172c891b31afed1f2d597389b9c00030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
DIRS = headers error getent malloc-simple misc net regexp rpc stdio2 \
	    string sysdeps termios time

all: libc.a

libc.a: $(DIRS) dummy
	$(CROSS)ranlib $@

headers: dummy
	if [ ! -L "include/asm" ]; then ln -s /usr/src/linux/include/asm include/asm ; fi
	if [ ! -L "include/net" ]; then ln -s /usr/src/linux/include/net include/net ; fi
	if [ ! -L "include/linux" ]; then ln -s /usr/src/linux/include/linux include/linux ; fi

error: dummy
	make -C error

getent: dummy
	make -C getent

malloc-simple: dummy
	make -C malloc-simple

misc: dummy
	make -C misc

net: dummy
	make -C net

regexp: dummy
	make -C regexp

rpc: dummy
	make -C rpc

stdio2: dummy
	make -C stdio2

string: dummy
	make -C string

sysdeps: dummy
	make -C sysdeps

termios: dummy
	make -C termios

time: dummy
	make -C time

dummy:

clean:
	-rm -f `find -name \*.[oa]` `find -name \*~` core
	-rm -f include/asm include/net include/linux