src/FOL/Makefile
changeset 953 17d7fad9c9a2
parent 940 bd9ab32bfa30
child 1003 6413adca7601
equal deleted inserted replaced
952:9e10962866b0 953:17d7fad9c9a2
    17 #if it is out of date, since this Makefile does not know its dependencies!
    17 #if it is out of date, since this Makefile does not know its dependencies!
    18 
    18 
    19 BIN = $(ISABELLEBIN)
    19 BIN = $(ISABELLEBIN)
    20 COMP = $(ISABELLECOMP)
    20 COMP = $(ISABELLECOMP)
    21 FILES =  ROOT.ML IFOL.thy IFOL.ML FOL.thy FOL.ML intprover.ML simpdata.ML \
    21 FILES =  ROOT.ML IFOL.thy IFOL.ML FOL.thy FOL.ML intprover.ML simpdata.ML \
    22 	../Provers/hypsubst.ML ../Provers/classical.ML \
    22 	 ../Provers/hypsubst.ML ../Provers/classical.ML \
    23         ../Provers/simplifier.ML ../Provers/splitter.ML ../Provers/ind.ML
    23 	 ../Provers/simplifier.ML ../Provers/splitter.ML ../Provers/ind.ML
    24 
    24 
    25 EX_FILES = ex/ROOT.ML ex/cla.ML ex/foundn.ML ex/If.ML ex/If.thy ex/int.ML\
    25 EX_FILES = ex/ROOT.ML ex/cla.ML ex/foundn.ML ex/If.ML ex/If.thy ex/int.ML\
    26 	   ex/intro.ML ex/List.ML ex/List.thy ex/Nat.ML ex/Nat.thy\
    26 	   ex/intro.ML ex/List.ML ex/List.thy ex/Nat.ML ex/Nat.thy\
    27 	   ex/Nat2.ML ex/Nat2.thy ex/Prolog.ML ex/Prolog.thy ex/prop.ML\
    27 	   ex/Nat2.ML ex/Nat2.thy ex/Prolog.ML ex/Prolog.thy ex/prop.ML\
    28 	   ex/quant.ML
    28 	   ex/quant.ML
    34                 	exit 1; \
    34                 	exit 1; \
    35            	fi;\
    35            	fi;\
    36 	case "$(COMP)" in \
    36 	case "$(COMP)" in \
    37 	poly*)	echo 'make_database"$(BIN)/FOL"; quit();'  \
    37 	poly*)	echo 'make_database"$(BIN)/FOL"; quit();'  \
    38 			| $(COMP) $(BIN)/Pure;\
    38 			| $(COMP) $(BIN)/Pure;\
    39 		echo 'open PolyML; use"ROOT";' | $(COMP) $(BIN)/FOL;;\
    39 		echo 'open PolyML; exit_use"ROOT";' | $(COMP) $(BIN)/FOL;;\
    40 	sml*)	echo 'use"ROOT.ML"; xML"$(BIN)/FOL" banner;' | $(BIN)/Pure;;\
    40 	sml*)	echo 'exit_use"ROOT.ML"; xML"$(BIN)/FOL" banner;' | $(BIN)/Pure;;\
    41 	*)	echo Bad value for ISABELLECOMP: \
    41 	*)	echo Bad value for ISABELLECOMP: \
    42                 	$(COMP) is not poly or sml;;\
    42                 	$(COMP) is not poly or sml;;\
    43 	esac
    43 	esac
    44 
    44 
    45 $(BIN)/Pure:
    45 $(BIN)/Pure:
    46 	cd ../Pure;  $(MAKE)
    46 	cd ../Pure;  $(MAKE)
    47 
    47 
    48 test:   ex/ROOT.ML  $(BIN)/FOL  $(EX_FILES) 
    48 test:   ex/ROOT.ML  $(BIN)/FOL  $(EX_FILES) 
    49 	case "$(COMP)" in \
    49 	case "$(COMP)" in \
    50 	poly*)	echo 'use"ex/ROOT.ML"; quit();' | $(COMP) $(BIN)/FOL ;;\
    50 	poly*)	echo 'exit_use"ex/ROOT.ML"; quit();' | $(COMP) $(BIN)/FOL ;;\
    51 	sml*)	echo 'use"ex/ROOT.ML";' | $(BIN)/FOL;;\
    51 	sml*)	echo 'exit_use"ex/ROOT.ML";' | $(BIN)/FOL;;\
    52 	*)	echo Bad value for ISABELLECOMP: \
    52 	*)	echo Bad value for ISABELLECOMP: \
    53                 	$(COMP) is not poly or sml;;\
    53                 	$(COMP) is not poly or sml;;\
    54 	esac
    54 	esac
    55 
    55 
    56 .PRECIOUS:   $(BIN)/Pure  $(BIN)/FOL 
    56 .PRECIOUS:   $(BIN)/Pure  $(BIN)/FOL