src/CCL/IsaMakefile
author gagern
Wed, 20 Apr 2005 14:18:33 +0200
changeset 15778 98af3693f6b3
parent 13300 debf9ef73e4e
child 17456 bcf7544875b2
permissions -rw-r--r--
Allow symlinks to shell scripts
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2489
7834b2677551 IsaMakefile for CCL;
wenzelm
parents:
diff changeset
     1
#
7834b2677551 IsaMakefile for CCL;
wenzelm
parents:
diff changeset
     2
# $Id$
7834b2677551 IsaMakefile for CCL;
wenzelm
parents:
diff changeset
     3
#
7834b2677551 IsaMakefile for CCL;
wenzelm
parents:
diff changeset
     4
# IsaMakefile for CCL
7834b2677551 IsaMakefile for CCL;
wenzelm
parents:
diff changeset
     5
#
7834b2677551 IsaMakefile for CCL;
wenzelm
parents:
diff changeset
     6
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
     7
## targets
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
     8
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
     9
default: CCL
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    10
images: CCL
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    11
test: CCL-ex
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    12
all: images test
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    13
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    14
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    15
## global settings
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    16
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    17
SRC = $(ISABELLE_HOME)/src
3118
24dae6222579 fixed ISABELLE_OUTPUT, ISABELLE_PATH (finally?);
wenzelm
parents: 3057
diff changeset
    18
OUT = $(ISABELLE_OUTPUT)
4447
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
    19
LOG = $(OUT)/log
2489
7834b2677551 IsaMakefile for CCL;
wenzelm
parents:
diff changeset
    20
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    21
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    22
## CCL
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    23
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    24
CCL: FOL $(OUT)/CCL
2489
7834b2677551 IsaMakefile for CCL;
wenzelm
parents:
diff changeset
    25
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    26
FOL:
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    27
	@cd $(SRC)/FOL; $(ISATOOL) make FOL
2489
7834b2677551 IsaMakefile for CCL;
wenzelm
parents:
diff changeset
    28
13300
debf9ef73e4e added dependency for $(OUT)/FOL
kleing
parents: 6213
diff changeset
    29
$(OUT)/FOL: FOL
debf9ef73e4e added dependency for $(OUT)/FOL
kleing
parents: 6213
diff changeset
    30
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    31
$(OUT)/CCL: $(OUT)/FOL CCL.ML CCL.thy Fix.ML Fix.thy Gfp.ML Gfp.thy \
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    32
  Hered.ML Hered.thy Lfp.ML Lfp.thy ROOT.ML Set.ML Set.thy Term.ML \
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    33
  Term.thy Trancl.ML Trancl.thy Type.ML Type.thy Wfd.ML Wfd.thy \
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    34
  coinduction.ML equalities.ML eval.ML genrec.ML mono.ML subset.ML \
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    35
  typecheck.ML
6213
f5bdd6497e08 usedir -r;
wenzelm
parents: 4518
diff changeset
    36
	@$(ISATOOL) usedir -b -r $(OUT)/FOL CCL
2489
7834b2677551 IsaMakefile for CCL;
wenzelm
parents:
diff changeset
    37
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    38
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    39
## CCL-ex
2489
7834b2677551 IsaMakefile for CCL;
wenzelm
parents:
diff changeset
    40
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    41
CCL-ex: CCL $(LOG)/CCL-ex.gz
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    42
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    43
$(LOG)/CCL-ex.gz: $(OUT)/CCL ex/Flag.ML ex/Flag.thy ex/List.ML \
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    44
  ex/List.thy ex/Nat.ML ex/Nat.thy ex/ROOT.ML ex/Stream.ML ex/Stream.thy
2821
b1dcacc4bc26 isatool usedir;
wenzelm
parents: 2489
diff changeset
    45
	@$(ISATOOL) usedir $(OUT)/CCL ex
2489
7834b2677551 IsaMakefile for CCL;
wenzelm
parents:
diff changeset
    46
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    47
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    48
## clean
4447
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
    49
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
    50
clean:
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    51
	@rm -f $(OUT)/CCL $(LOG)/CCL.gz $(LOG)/CCL-ex.gz