File: Makefile

package info (click to toggle)
hol88 2.02.19940316-35
  • links: PTS
  • area: main
  • in suites: buster
  • size: 65,988 kB
  • ctags: 21,623
  • sloc: ml: 199,939; ansic: 9,666; sh: 7,118; makefile: 6,095; lisp: 2,747; yacc: 894; sed: 201; cpp: 87; awk: 5
file content (129 lines) | stat: -rw-r--r-- 3,370 bytes parent folder | download | duplicates (11)
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
# =====================================================================
#
# 		 MAKEFILE FOR THE HOL LIBRARY: trs
#
# =====================================================================

# =====================================================================
#
# MAIN ENTRIES:
#
# make all	    : compile code
#
# make clean	    : remove compiled code
#	
# make clobber	    : remove compiled code
#	
# =====================================================================

# =====================================================================
# MACROS:
#
# Hol	    : the pathname of the version of hol used
# =====================================================================

Hol=../../hol

clean:
	rm -f *_ml.l *_ml.o
	@echo "===> library trs: all object code deleted"

clobber: clean

extents_ml.o: extents.ml
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'compilet `extents`;;'\
	     'quit();;' | ${Hol} 

sets_ml.o: extents_ml.o sets.ml
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'loadf `extents`;;'\
	     'compilet `sets`;;'\
	     'quit();;' | ${Hol} 

extract_ml.o: sets_ml.o extract.ml
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'loadf `extents`;;'\
	     'loadf `sets`;;'\
	     'compilet `extract`;;'\
	     'quit();;' | ${Hol} 

struct_ml.o: extract_ml.o struct.ml
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'loadf `extents`;;'\
	     'loadf `sets`;;'\
	     'loadf `extract`;;'\
	     'compilet `struct`;;'\
	     'quit();;' | ${Hol} 

name_ml.o: struct_ml.o name.ml
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'loadf `extents`;;'\
	     'loadf `sets`;;'\
	     'loadf `extract`;;'\
	     'loadf `struct`;;'\
	     'compilet `name`;;'\
	     'quit();;' | ${Hol} 

thmkind_ml.o: name_ml.o thmkind.ml
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'loadf `extents`;;'\
	     'loadf `sets`;;'\
	     'loadf `extract`;;'\
	     'loadf `struct`;;'\
	     'loadf `name`;;'\
	     'compilet `thmkind`;;'\
	     'quit();;' | ${Hol} 

matching_ml.o: thmkind_ml.o matching.ml
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'loadf `extents`;;'\
	     'loadf `sets`;;'\
	     'loadf `extract`;;'\
	     'loadf `struct`;;'\
	     'loadf `name`;;'\
	     'loadf `thmkind`;;'\
	     'compilet `matching`;;'\
	     'quit();;' | ${Hol} 

sidecond_ml.o: matching_ml.o sidecond.ml
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'loadf `extents`;;'\
	     'loadf `sets`;;'\
	     'loadf `extract`;;'\
	     'loadf `struct`;;'\
	     'loadf `name`;;'\
	     'loadf `thmkind`;;'\
	     'loadf `matching`;;'\
	     'compilet `sidecond`;;'\
	     'quit();;' | ${Hol} 

search_ml.o: sidecond_ml.o search.ml
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'loadf `extents`;;'\
	     'loadf `sets`;;'\
	     'loadf `extract`;;'\
	     'loadf `struct`;;'\
	     'loadf `name`;;'\
	     'loadf `thmkind`;;'\
	     'loadf `matching`;;'\
	     'loadf `sidecond`;;'\
	     'compilet `search`;;'\
	     'quit();;' | ${Hol} 

user_ml.o: search_ml.o user.ml
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'loadf `extents`;;'\
	     'loadf `sets`;;'\
	     'loadf `extract`;;'\
	     'loadf `struct`;;'\
	     'loadf `name`;;'\
	     'loadf `thmkind`;;'\
	     'loadf `matching`;;'\
	     'loadf `sidecond`;;'\
	     'loadf `search`;;'\
	     'compilet `user`;;'\
	     'quit();;' | ${Hol} 

all: user_ml.o
	@echo "===> library trs rebuilt"