summaryrefslogtreecommitdiff
path: root/libinterp/mkfile
blob: 8881dca814ff374d52c2d3718c9637154192d28c (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<../mkconfig

LIB=libinterp.a

OFILES=\
	alt.$O\
	comp-$OBJTYPE.$O\
	conv.$O\
	crypt.$O\
	dec.$O\
	dlm-$TARGMODEL.$O\
	draw.$O\
	freetype.$O\
	gc.$O\
	geom.$O\
	heap.$O\
	heapaudit.$O\
	ipint.$O\
	link.$O\
	load.$O\
	loader.$O\
	math.$O\
#	prefab.$O\
	raise.$O\
	readmod.$O\
	runt.$O\
	sign.$O\
	stack.$O\
	tk.$O\
	validstk.$O\
	xec.$O\
	das-$OBJTYPE.$O\
	keyring.$O\
	string.$O\

HFILES=\
	$ROOT/include/interp.h\
	$ROOT/include/isa.h\
	runt.h\
	tab.h\

MODULES=\
	../module/runt.m\
	../module/sys.m\
	../module/draw.m\
	../module/prefab.m\
	../module/math.m\
	../module/tk.m\
	../module/keyring.m\
	../module/loader.m\
	../module/freetype.m\
	../module/ipints.m\
	../module/crypt.m\
	keyringif.m\

<$ROOT/mkfiles/mksyslib-$SHELLTYPE

runt.h:D: $MODULES
	rm -f $target && limbo -a -I../module ../module/runt.m > $target

sysmod.h:D: $MODULES
	rm -f $target && limbo -t Sys -I../module ../module/runt.m > $target

keyring.h:D: $MODULES
	rm -f $target && limbo -t Keyring -I../module keyringif.m > $target

drawmod.h:D: $MODULES
	rm -f $target && limbo -t Draw -I../module ../module/runt.m > $target

prefabmod.h:D: $MODULES
	rm -f $target && limbo -t Prefab -I../module ../module/runt.m > $target

tkmod.h:D: $MODULES
	rm -f $target && limbo -t Tk -I../module ../module/runt.m > $target

mathmod.h:D: $MODULES
	rm -f $target && limbo -t Math -I../module ../module/runt.m > $target

loadermod.h:D: $MODULES
	rm -f $target && limbo -t Loader -I../module ../module/runt.m > $target

freetypemod.h:D: $MODULES
	rm -f $target && limbo -t Freetype -I../module ../module/runt.m > $target

ipintsmod.h:D:	$MODULES
	rm -f $target && limbo -t IPints -I../module ../module/ipints.m > $target

benchmod.h:D: ../module/bench.m
	rm -f $target && limbo -t Bench -I../module ../module/bench.m > $target

cryptmod.h:D:	$MODULES
	rm -f $target && limbo -t Crypt -I../module ../module/runt.m > $target

keyringif.h:D:	$MODULES keyringif.m
	rm -f $target && limbo -a -I../module keyringif.m > $target


bench.h:D:../module/bench.m
	rm -f $target && limbo -a -I../module ../module/bench.m > $target

xec.$O:		optab.h  $ROOT/include/pool.h
tk.$O:		$ROOT/include/tk.h  $ROOT/include/pool.h
draw.$O: 	$ROOT/include/draw.h $ROOT/include/drawif.h
prefab.$O: 	$ROOT/include/draw.h\
		$ROOT/include/prefab.h

runt.$O:	sysmod.h
prefab.$O:	prefabmod.h
draw.$O:	drawmod.h
tk.$O:		$ROOT/include/draw.h tkmod.h
math.$O:	mathmod.h
keyring.$O:	keyring.h ipint.h keyringif.h
crypt.$O:	ipint.h runt.h cryptmod.h
ipint.$O:	ipint.h ipintsmod.h
loader.$O:	loadermod.h
freetype.$O:	freetypemod.h $ROOT/include/freetype.h
math.$O:	$ROOT/include/mathi.h

das-spim.c:N:	das-mips.c
comp-spim.c:N:	comp-mips.c

# optab.h:	$ROOT/include/isa.h mkoptab
#	$SHELLNAME mkoptab > $target

#	Do not remove optab.h, because the script that builds
#	it works only on UNIX and Plan 9.

nuke:EV:	nuke-std
	rm -f runt.h sysmod.h drawmod.h prefabmod.h tkmod.h mathmod.h keyring.h readimagemod.h loadermod.h freetypemod.h cryptmod.h keyringif.h ipintsmod.h