Skip to content

Commit e4ae345

Browse files
committed
Improve root directory organisation
Closes #164
1 parent 0bed474 commit e4ae345

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+117
-88
lines changed

Holmakefile

+6-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
1-
INCLUDES = developers $(HOLDIR)/examples/formal-languages/context-free $(HOLDIR)/examples/fun-op-sem/lprefix_lub lem_lib_stub $(HOLDIR)/examples/machine-code/hoare-triple
1+
INCLUDES = developers compiler/bootstrap/evaluation/x64
22
OPTIONS = QUIT_ON_FAILURE
33

4-
README_SOURCES = miscScript.sml COPYING developers build-instructions.sh lib.lem libScript.sml
4+
README_SOURCES = COPYING developers build-instructions.sh
55

6-
THYFILES = $(patsubst %Script.sml,%Theory.uo,$(wildcard *.sml))
7-
TARGETS0 = $(patsubst %Theory.sml,,$(THYFILES))
8-
TARGETS = README.md $(patsubst %.sml,%.uo,$(TARGETS0))
9-
all: $(TARGETS)
6+
all: README.md cake
107
.PHONY: all
118

12-
LEMSRC = lib
13-
LEMS = $(patsubst %,%.lem,$(LEMSRC))
14-
GENS = $(patsubst %,%Script.sml,$(LEMSRC))
15-
16-
README.md: $(README_SOURCES) readmePrefix
9+
README.md: $(README_SOURCES) readmePrefix developers/readme_gen
1710
developers/readme_gen $(README_SOURCES)
1811

19-
$(GENS): $(LEMS)
20-
if type lem;\
21-
then lem $(LEM_OPT) -suppress_renaming -auxiliary_level none -hol $(LEMS);\
22-
else touch $(GENS); fi
12+
cake: compiler/bootstrap/evaluation/x64/cake
13+
$(CP) $< $@

README.md

+6-9

basis/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = .. pure ../translator ../characteristic ../semantics
1+
INCLUDES = ../misc pure ../translator ../characteristic ../semantics
22
OPTIONS = QUIT_ON_FAILURE
33
THYFILES = $(patsubst %Script.sml,%Theory.uo,$(wildcard *.sml))
44
TARGETS = $(patsubst %.sml,%.uo,$(THYFILES))

basis/pure/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
INCLUDES = ../.. $(HOLDIR)/examples/fun-op-sem/lprefix_lub $(HOLDIR)/examples/formal-languages/regular
1+
INCLUDES = ../../misc $(HOLDIR)/examples/formal-languages/regular
22
OPTIONS = QUIT_ON_FAILURE

candle/set-theory/Holmakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = ../.. $(HOLDIR)/examples/set-theory/hol_sets
1+
INCLUDES = ../../misc $(HOLDIR)/examples/set-theory/hol_sets
22
OPTIONS = QUIT_ON_FAILURE
33

44
ifdef POLY
@@ -10,7 +10,7 @@ TARGETS = $(patsubst %.sml,%.uo,$(THYFILES))
1010
all: $(TARGETS) $(HOLHEAP)
1111
.PHONY: all
1212

13-
BARE_THYS = $(HOLDIR)/examples/set-theory/hol_sets/cardinalTheory ../../miscTheory
13+
BARE_THYS = $(HOLDIR)/examples/set-theory/hol_sets/cardinalTheory ../../misc/miscTheory
1414

1515
DEPS = $(patsubst %,%.uo,$(BARE_THYS))
1616

candle/standard/ml_kernel/Holmakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = ../../.. ../../../semantics ../../../semantics/alt_semantics ../../../translator ../monadic ../../../explorer/pp/astPP ../../../characteristic ../../../basis ../../../translator/monadic
1+
INCLUDES = ../../../misc ../../../semantics ../../../semantics/alt_semantics ../../../translator ../monadic ../../../explorer/pp/astPP ../../../characteristic ../../../basis ../../../translator/monadic
22
OPTIONS = QUIT_ON_FAILURE
33

44
ifdef POLY
@@ -11,7 +11,7 @@ TARGETS = $(patsubst %.sml,%.uo,$(THYFILES))
1111
all: $(TARGETS) $(HOLHEAP)
1212
.PHONY: all
1313

14-
BARE_THYS = ../../../preamble ../monadic/holKernelTheory
14+
BARE_THYS = ../../../misc/preamble ../monadic/holKernelTheory
1515

1616
DEPS = $(patsubst %,%.uo,$(BARE_THYS))
1717

candle/standard/monadic/Holmakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = ../../.. ../../syntax-lib ../syntax ../../../translator/monadic/
1+
INCLUDES = ../../../misc ../../syntax-lib ../syntax ../../../translator/monadic/
22
OPTIONS = QUIT_ON_FAILURE
33

44
ifdef POLY
@@ -11,7 +11,7 @@ TARGETS = $(patsubst %.sml,%.uo,$(THYFILES))
1111
all: $(TARGETS) $(HOLHEAP)
1212
.PHONY: all
1313

14-
BARE_THYS = ../../../preamble ../../syntax-lib/holSyntaxLibTheory ../syntax/holAxiomsSyntaxTheory
14+
BARE_THYS = ../../../misc/preamble ../../syntax-lib/holSyntaxLibTheory ../syntax/holAxiomsSyntaxTheory
1515

1616
DEPS = $(patsubst %,%.uo,$(BARE_THYS))
1717

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INCLUDES = ../../.. ../monadic
1+
INCLUDES = ../../../misc ../monadic

candle/standard/semantics/Holmakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = ../../.. ../../../basis/pure ../../syntax-lib ../../set-theory ../syntax
1+
INCLUDES = ../../../misc ../../../basis/pure ../../syntax-lib ../../set-theory ../syntax
22
OPTIONS = QUIT_ON_FAILURE
33

44
ifdef POLY
@@ -11,7 +11,7 @@ TARGETS = $(patsubst %.sml,%.uo,$(THYFILES))
1111
all: $(TARGETS) $(HOLHEAP)
1212
.PHONY: all
1313

14-
BARE_THYS = ../../../preamble ../../syntax-lib/holSyntaxLibTheory ../../set-theory/setSpecTheory ../syntax/holAxiomsSyntaxTheory
14+
BARE_THYS = ../../../misc/preamble ../../syntax-lib/holSyntaxLibTheory ../../set-theory/setSpecTheory ../syntax/holAxiomsSyntaxTheory
1515

1616
DEPS = $(patsubst %,%.uo,$(BARE_THYS))
1717

candle/standard/syntax/Holmakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = ../../.. ../../syntax-lib
1+
INCLUDES = ../../../misc ../../syntax-lib
22
OPTIONS = QUIT_ON_FAILURE
33

44
ifdef POLY
@@ -10,7 +10,7 @@ TARGETS = $(patsubst %.sml,%.uo,$(THYFILES))
1010
all: $(TARGETS) $(HOLHEAP)
1111
.PHONY: all
1212

13-
BARE_THYS = ../../../preamble ../../syntax-lib/holSyntaxLibTheory
13+
BARE_THYS = ../../../misc/preamble ../../syntax-lib/holSyntaxLibTheory
1414

1515
DEPS = $(patsubst %,%.uo,$(BARE_THYS))
1616

candle/syntax-lib/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INCLUDES = ../.. $(HOLDIR)/examples/fun-op-sem/lprefix_lub ../../basis/pure
1+
INCLUDES = ../../misc ../../basis/pure

characteristic/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = .. ../semantics ../semantics/alt_semantics/proofs ../lem_lib_stub ../explorer/pp/astPP ../translator $(HOLDIR)/examples/machine-code/hoare-triple ../compiler/parsing
1+
INCLUDES = ../misc ../semantics ../semantics/alt_semantics/proofs ../explorer/pp/astPP ../translator $(HOLDIR)/examples/machine-code/hoare-triple ../compiler/parsing
22
OPTIONS = QUIT_ON_FAILURE
33

44
ifdef POLY

characteristic/examples/compilation/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = .. ../../.. ../../../basis ../../../compiler
1+
INCLUDES = .. ../../../misc ../../../basis ../../../compiler
22
CLINE_OPTIONS = -j1 --qof
33
TARGETS = $(patsubst %Script.sml,%Theory.uo,$(wildcard *.sml))
44
all: $(TARGETS)

characteristic/examples/compilation/proofs/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = ../../../../semantics/proofs ../../../.. .. ../.. ../../../../compiler/backend/proofs ../../../../compiler/encoders/x64/proofs ../../../../compiler/backend/x64/proofs
1+
INCLUDES = ../../../../semantics/proofs ../../../../misc .. ../.. ../../../../compiler/backend/proofs ../../../../compiler/encoders/x64/proofs ../../../../compiler/backend/x64/proofs
22
CLINE_OPTIONS = -j1 --qof
33
ifdef POLY
44
HOLHEAP=../heap

compiler/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
OPTIONS = QUIT_ON_FAILURE
2-
INCLUDES = .. ../semantics parsing inference backend\
2+
INCLUDES = ../misc ../semantics parsing inference backend\
33
backend/reg_alloc encoders/asm\
44
../basis\
55
backend/arm6 backend/arm8\

compiler/backend/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = ../.. ../../semantics ../../basis/pure ../encoders ../encoders/asm reg_alloc $(HOLDIR)/examples/machine-code/multiword
1+
INCLUDES = ../../misc ../../semantics ../../basis/pure ../encoders ../encoders/asm reg_alloc $(HOLDIR)/examples/machine-code/multiword
22

33
OPTIONS = QUIT_ON_FAILURE
44

compiler/backend/arm6/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INCLUDES = ../../.. ../../../basis/pure .. ../../encoders/arm6
1+
INCLUDES = ../../../misc ../../../basis/pure .. ../../encoders/arm6
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INCLUDES = ../../../.. .. ../../../encoders/arm6/proofs ../../semantics ../../proofs
1+
INCLUDES = ../../../../misc .. ../../../encoders/arm6/proofs ../../semantics ../../proofs

compiler/backend/arm8/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INCLUDES = ../../.. ../../../basis/pure .. ../../encoders/arm8
1+
INCLUDES = ../../../misc ../../../basis/pure .. ../../encoders/arm8
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INCLUDES = ../../../.. .. ../../../encoders/arm8/proofs ../../semantics ../../proofs
1+
INCLUDES = ../../../../misc .. ../../../encoders/arm8/proofs ../../semantics ../../proofs

compiler/backend/gc/Holmakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = ../../.. ..
1+
INCLUDES = ../../../misc ..
22

33
OPTIONS = QUIT_ON_FAILURE
44

@@ -13,7 +13,7 @@ HOLHEAP = heap
1313
EXTRA_CLEANS = $(HOLHEAP) $(HOLHEAP).o
1414
all: $(HOLHEAP)
1515

16-
BARE_THYS = ../../../preamble
16+
BARE_THYS = ../../../misc/preamble
1717
DEPS = $(patsubst %,%.uo,$(BARE_THYS))
1818

1919
$(HOLHEAP): $(DEPS)

compiler/backend/mips/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INCLUDES = ../../.. ../../../basis/pure .. ../../encoders/mips
1+
INCLUDES = ../../../misc ../../../basis/pure .. ../../encoders/mips
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INCLUDES = ../../../.. .. ../../../encoders/mips/proofs ../../semantics ../../proofs
1+
INCLUDES = ../../../../misc .. ../../../encoders/mips/proofs ../../semantics ../../proofs

compiler/backend/proofs/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = .. ../semantics ../../.. ../../../semantics ../../../semantics/proofs ../../encoders ../reg_alloc/proofs ../gc $(HOLDIR)/examples/machine-code/hoare-triple $(HOLDIR)/examples/machine-code/multiword
1+
INCLUDES = .. ../semantics ../../../misc ../../../semantics ../../../semantics/proofs ../../encoders ../reg_alloc/proofs ../gc $(HOLDIR)/examples/machine-code/hoare-triple $(HOLDIR)/examples/machine-code/multiword
22

33
OPTIONS = QUIT_ON_FAILURE
44

compiler/backend/reg_alloc/Holmakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = ../../.. ../../../unverified/reg_alloc $(HOLDIR)/examples/fun-op-sem/lprefix_lub
1+
INCLUDES = ../../../misc ../../../unverified/reg_alloc
22
OPTIONS = QUIT_ON_FAILURE
33

44
ifdef POLY
@@ -11,7 +11,7 @@ TARGETS = $(patsubst %.sml,%.uo,$(THYFILES))
1111
all: $(TARGETS) $(HOLHEAP)
1212
.PHONY: all
1313

14-
BARE_THYS = ../../../preamble
14+
BARE_THYS = ../../../misc/preamble
1515
DEPS = $(patsubst %,%.uo,$(BARE_THYS))
1616

1717
$(HOLHEAP): $(DEPS)

compiler/backend/reg_alloc/proofs/Holmakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = .. ../../../..
1+
INCLUDES = .. ../../../../misc
22
OPTIONS = QUIT_ON_FAILURE
33

44
ifdef POLY
@@ -11,7 +11,7 @@ TARGETS = $(patsubst %.sml,%.uo,$(THYFILES))
1111
all: $(TARGETS) $(HOLHEAP)
1212
.PHONY: all
1313

14-
BARE_THYS = ../../../../preamble ../reg_allocTheory
14+
BARE_THYS = ../../../../misc/preamble ../reg_allocTheory
1515
DEPS = $(patsubst %,%.uo,$(BARE_THYS))
1616

1717
$(HOLHEAP): $(DEPS)

compiler/backend/riscv/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INCLUDES = ../../.. ../../../basis/pure .. ../../encoders/riscv
1+
INCLUDES = ../../../misc ../../../basis/pure .. ../../encoders/riscv
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INCLUDES = ../../../.. .. ../../../encoders/riscv/proofs ../../semantics ../../proofs
1+
INCLUDES = ../../../../misc .. ../../../encoders/riscv/proofs ../../semantics ../../proofs

compiler/backend/semantics/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = .. ../../.. ../../../semantics ../../../semantics/proofs ../../encoders/asm
1+
INCLUDES = .. ../../../misc ../../../semantics ../../../semantics/proofs ../../encoders/asm
22

33
OPTIONS = QUIT_ON_FAILURE
44

compiler/backend/x64/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INCLUDES = ../../.. ../../../basis/pure .. ../../encoders/x64
1+
INCLUDES = ../../../misc ../../../basis/pure .. ../../encoders/x64
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INCLUDES = ../../../.. .. ../../../encoders/x64/proofs ../../semantics ../../proofs
1+
INCLUDES = ../../../../misc .. ../../../encoders/x64/proofs ../../semantics ../../proofs

compiler/bootstrap/translation/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = ../../.. ../../../translator ../../../characteristic ../../inference ../../inference/proofs ../../parsing ../../backend ../.. \
1+
INCLUDES = ../../../misc ../../../translator ../../../characteristic ../../inference ../../inference/proofs ../../parsing ../../backend ../.. \
22
../../backend/reg_alloc ../../backend/reg_alloc/proofs ../../../basis ../../../explorer/pp/astPP
33
OPTIONS = QUIT_ON_FAILURE
44

compiler/encoders/asm/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
OPTIONS = QUIT_ON_FAILURE
2-
INCLUDES = ../../.. $(HOLDIR)/examples/l3-machine-code/common $(HOLDIR)/examples/fun-op-sem/lprefix_lub ../../../semantics
2+
INCLUDES = ../../../misc $(HOLDIR)/examples/l3-machine-code/common ../../../semantics

compiler/inference/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES=../.. ../../semantics ../../semantics/proofs $(HOLDIR)/examples/unification/triangular/first-order ../../basis/pure
1+
INCLUDES = ../../misc ../../semantics ../../semantics/proofs $(HOLDIR)/examples/unification/triangular/first-order ../../basis/pure
22
OPTIONS = QUIT_ON_FAILURE
33

44
SEMANTICSI = semanticPrimitives

compiler/inference/proofs/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES=.. ../../.. ../../../semantics ../../../semantics/proofs
1+
INCLUDES = .. ../../../misc ../../../semantics ../../../semantics/proofs
22
OPTIONS = QUIT_ON_FAILURE
33

44
ifdef POLY

compiler/parsing/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SEMANTICS = ../../semantics
2-
INCLUDES = $(HOLDIR)/examples/formal-languages/context-free ../.. $(SEMANTICS)
2+
INCLUDES = $(HOLDIR)/examples/formal-languages/context-free ../../misc $(SEMANTICS)
33
OPTIONS = QUIT_ON_FAILURE
44

55
ifdef POLY

explorer/pp/astPP/Holmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INCLUDES = ../../.. ../../../semantics
1+
INCLUDES = ../../../misc ../../../semantics
22

33
OPTIONS = QUIT_ON_FAILURE
44

misc/Holmakefile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
INCLUDES = ../developers lem_lib_stub $(HOLDIR)/examples/machine-code/hoare-triple $(HOLDIR)/examples/fun-op-sem/lprefix_lub
2+
3+
README_SOURCES = preamble.sml miscScript.sml basicComputeLib.sml
4+
5+
README.md: $(README_SOURCES) readmePrefix ../developers/readme_gen
6+
../developers/readme_gen $(README_SOURCES)

misc/README.md

+16
File renamed without changes.
File renamed without changes.

misc/lem_lib_stub/Holmakefile

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
INCLUDES = $(HOLDIR)/examples/formal-languages/context-free
2+
3+
LEMSRC = lib
4+
LEMS = $(patsubst %,%.lem,$(LEMSRC))
5+
GENS = $(patsubst %,%Script.sml,$(LEMSRC))
6+
THYFILES = $(patsubst %Script.sml,%Theory.uo,$(wildcard *.sml))
7+
TARGETS0 = $(patsubst %Theory.sml,,$(THYFILES))
8+
TARGETS = $(GENS) $(TARGETS0)
9+
all: $(TARGETS)
10+
.PHONY: all
11+
12+
$(GENS): $(LEMS)
13+
if type lem;\
14+
then lem $(LEM_OPT) -suppress_renaming -auxiliary_level none -hol $(LEMS);\
15+
else touch $(GENS); fi
File renamed without changes.
File renamed without changes.

lib.lem misc/lem_lib_stub/lib.lem

File renamed without changes.
File renamed without changes.
File renamed without changes.

miscScript.sml misc/miscScript.sml

File renamed without changes.

preamble.sml misc/preamble.sml

File renamed without changes.

misc/readmePrefix

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Auxiliary files providing glue between a standard HOL installation
2+
and what we want to use for CakeML development.

semantics/Holmakefile

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
OPTIONS = QUIT_ON_FAILURE
2-
INCLUDES = .. $(HOLDIR)/examples/formal-languages/context-free $(HOLDIR)/examples/fun-op-sem/lprefix_lub ../lem_lib_stub ffi
2+
INCLUDES = ../misc $(HOLDIR)/examples/formal-languages/context-free $(HOLDIR)/examples/fun-op-sem/lprefix_lub ffi
33

44
THYFILES = $(patsubst %Script.sml,%Theory.uo,$(wildcard *.sml))
55
TARGETS0 = $(patsubst %Theory.sml,,$(THYFILES))
@@ -14,24 +14,26 @@ SRC = semanticPrimitives evaluate typeSystem primTypes
1414
LEMS = $(patsubst %,%.lem,$(SRC))
1515
GENS = $(patsubst %,%Script.sml,$(SRC))
1616

17-
LEM_CMD = lem $(LEM_OPT) -suppress_renaming -auxiliary_level none -i ../lib.lem -i ffi/ffi.lem -hol
17+
LEMLIB = ../misc/lem_lib_stub/lib.lem
1818

19-
$(GENS): $(LEMS) ../lib.lem ffi/ffi.lem
19+
LEM_CMD = lem $(LEM_OPT) -suppress_renaming -auxiliary_level none -i $(LEMLIB) -i ffi/ffi.lem -hol
20+
21+
$(GENS): $(LEMS) $(LEMLIB) ffi/ffi.lem
2022
if type lem;\
2123
then $(LEM_CMD) $(LEMS);\
2224
else touch $(GENS); fi
2325

24-
astScript.sml: ast.lem namespace.lem ../lib.lem ffi/ffi.lem addancs
26+
astScript.sml: ast.lem namespace.lem $(LEMLIB) ffi/ffi.lem addancs
2527
if type lem; then \
2628
$(LEM_CMD) $< ; ./addancs $@ integer words string namespace location; \
2729
else touch astScript.sml ; fi
2830

29-
tokensScript.sml: tokens.lem ../lib.lem ffi/ffi.lem addancs
31+
tokensScript.sml: tokens.lem $(LEMLIB) ffi/ffi.lem addancs
3032
if type lem; then \
3133
$(LEM_CMD) $< ; ./addancs $@ integer string ; \
3234
else touch $@ ; fi
3335

34-
namespaceScript.sml: namespace.lem ../lib.lem ffi/ffi.lem addancs
36+
namespaceScript.sml: namespace.lem $(LEMLIB) ffi/ffi.lem addancs
3537
if type lem; then \
3638
$(LEM_CMD) $< ; ./addancs $@ integer words string alist; \
3739
else touch namespaceScript.sml ; fi
@@ -43,7 +45,7 @@ EXTRA_CLEANS = $(HOLHEAP) $(HOLHEAP).o addancs
4345
GRAMMAR_DEPS0 = peg pegexec
4446
GRAMMAR_DEPS = $(patsubst %,$(HOLDIR)/examples/formal-languages/context-free/%Theory,$(GRAMMAR_DEPS0))
4547

46-
BARE_THYS = ../preamble $(GRAMMAR_DEPS) ../basicComputeLib ffi/ffiTheory $(HOLDIR)/examples/fun-op-sem/lprefix_lub/lprefix_lubTheory
48+
BARE_THYS = ../misc/preamble $(GRAMMAR_DEPS) ../misc/basicComputeLib ffi/ffiTheory
4749
DEPS = $(patsubst %,%.uo,$(BARE_THYS))
4850

4951
all: $(HOLHEAP)

0 commit comments

Comments
 (0)