Debian Codegraph @

contrib/auxiliary/Makefile

raw symbols SCIP
1 # =====================================================================
2 #
3 # MAKEFILE FOR THE HOL LIBRARY: AUXILIARY
4 #
5 # =====================================================================
6
7 # =====================================================================
8 # MAIN ENTRIES:
9 #
10 # make all : create theories and compile code
11 #
12 # make clean : remove only compiled code
13 #
14 # make clobber : remove both theories and compiled code
15 #
16 # ---------------------------------------------------------------------
17 #
18 # MACROS:
19 #
20 # Hol : the pathname of the version of hol used
21 # =====================================================================
22
23 Hol=../../hol
24
25 # =====================================================================
26 # Cleaning functions.
27 # =====================================================================
28
29 clean:
30 rm -f *_ml.o *_ml.l
31 @echo "===> library auxiliary: all object code deleted"
32
33 clobber:
34 rm -f *_ml.o *_ml.l *.th
35 @echo "===> library auxiliary: all object code and theory files deleted"
36
37 # =====================================================================
38 # Entries for individual files.
39 # =====================================================================
40
41 functions_ml.o: functions.ml
42 echo 'set_flag(`abort_when_fail`,true);;'\
43 'compilet `functions`;;'\
44 'quit();;' | ${Hol}
45
46 tactics_ml.o: tactics.ml
47 echo 'set_flag(`abort_when_fail`,true);;'\
48 'compilet `tactics`;;'\
49 'quit();;' | ${Hol}
50
51 rules_ml.o: rules.ml
52 echo 'set_flag(`abort_when_fail`,true);;'\
53 'compilet `rules`;;'\
54 'quit();;' | ${Hol}
55
56 auxiliary.th: functions.ml tactics.ml rules.ml theorems.ml
57 rm -f auxiliary.th
58 echo 'set_flag(`abort_when_fail`,true);;'\
59 'loadt `theorems`;;'\
60 'quit();;' | ${Hol}
61
62 conversions_ml.o: functions_ml.o auxiliary.th conversions.ml
63 echo 'set_flag(`abort_when_fail`,true);;'\
64 'load_theory `auxiliary`;;'\
65 'loadf `functions`;;'\
66 'autoload_defs_and_thms `auxiliary`;;'\
67 'compilet `conversions`;;'\
68 'quit();;' | ${Hol}
69
70 # =====================================================================
71 # Main entry
72 # =====================================================================
73
74 all: functions_ml.o tactics_ml.o rules_ml.o auxiliary.th conversions_ml.o
75 @echo "===> library auxiliary rebuilt"