summaryrefslogtreecommitdiff
path: root/Makefile
blob: bfde9956234e3c090c4815584822376bd000bf41 (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
56
57
58
59
60
61
62
63
DIRS = headers error gtermcap misc stdio2 time getent regexp string termios sysdeps \
malloc-simple net rpc

all: libc.a crt0.o

libc.a: $(DIRS) dummy
	m68k-pic-coff-ranlib $@

crt0.o: crt

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

error: dummy
	make -C error

gtermcap: dummy
	make -C gtermcap

misc: dummy
	make -C misc

stdio2: dummy
	make -C stdio2

time: dummy
	make -C time

getent: dummy
	make -C getent

regexp: dummy
	make -C regexp

string: dummy
	make -C string

termios: dummy
	make -C termios

sysdeps: dummy
	make -C sysdeps

malloc-simple: dummy
	make -C malloc-simple

net: dummy
	make -C net

rpc: dummy
	make -C rpc

crt: dummy
	make -C crt

dummy:

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