summaryrefslogtreecommitdiffstats
path: root/test/Makefile.Mac
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2004-01-05 20:26:19 +0000
committerDamien Doligez <damien.doligez-inria.fr>2004-01-05 20:26:19 +0000
commit258c929f64adc92812b7d966a07ef9712686e54a (patch)
treeb61d46ba69aad98c6bcbab4e7eaea5648a41dc7e /test/Makefile.Mac
parentb1b67be7ad15b951b0debb039304af2a8fb37ceb (diff)
PR#1914,PR#1956, suppression du portage Mac OS 9
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'test/Makefile.Mac')
-rw-r--r--test/Makefile.Mac125
1 files changed, 0 insertions, 125 deletions
diff --git a/test/Makefile.Mac b/test/Makefile.Mac
deleted file mode 100644
index 61153dfbe..000000000
--- a/test/Makefile.Mac
+++ /dev/null
@@ -1,125 +0,0 @@
-#########################################################################
-# #
-# Objective Caml #
-# #
-# Damien Doligez, projet Para, INRIA Rocquencourt #
-# #
-# Copyright 1999 Institut National de Recherche en Informatique et #
-# en Automatique. All rights reserved. This file is distributed #
-# under the terms of the Q Public License version 1.0. #
-# #
-#########################################################################
-
-# $Id$
-
-CAMLC = ::boot:ocamlrun ::ocamlc -I ::stdlib: -I :KB: -I :Lex:
-CAMLYACC = ::yacc:ocamlyacc
-CAMLLEX = ::boot:ocamlrun ::lex:ocamllex
-CAMLDEP = ::boot:ocamlrun ::tools:ocamldep
-CAMLRUN = ::byterun:ocamlrun
-
-BYTE_EXE = fib.byt takc.byt taku.byt sieve.byt quicksort.byt �
- quicksort.fast.byt �
- fft.byt fft.fast.byt soli.byt soli.fast.byt boyer.byt kb.byt �
- nucleic.byt genlex.byt bdd.byt
-
-all � test
-
-# KB
-
-BYTE_KB = :KB:terms.cmo :KB:equations.cmo :KB:kb.cmo :KB:orderings.cmo �
- :KB:kbmain.cmo
-
-kb.byt � {BYTE_KB}
- {CAMLC} {BYTE_KB} -o kb.byt
-
-clean ��
- delete -i :KB:�.cm[io] || set status 0
-
-# Genlex
-
-BYTE_GENLEX = :Lex:syntax.cmo :Lex:scan_aux.cmo :Lex:scanner.cmo �
- :Lex:gram_aux.cmo :Lex:grammar.cmo :Lex:lexgen.cmo :Lex:output.cmo :Lex:main.cmo
-
-genlex.byt � {BYTE_GENLEX}
- {CAMLC} {BYTE_GENLEX} -o genlex.byt
-
-clean ��
- delete -i :Lex:�.cm[io] || set status 0
-
-:Lex:grammar.mli � :Lex:grammar.ml
- echo -n
-
-:Lex:grammar.ml � :Lex:grammar.mly ::yacc:ocamlyacc
- {CAMLYACC} {YACCFLAGS} :Lex:grammar.mly
-
-clean ��
- delete -i :Lex:grammar.ml :Lex:grammar.mli
-
-beforedepend �� :Lex:grammar.ml :Lex:grammar.mli
-
-:Lex:scanner.ml � :Lex:scanner.mll ::lex:ocamllex
- {CAMLLEX} :Lex:scanner.mll
-
-clean ��
- delete -i :Lex:scanner.ml
-
-beforedepend �� :Lex:scanner.ml
-
-# Common rules
-
-.byt � .ml
- {CAMLC} -o {targdir}{default}.byt {depdir}{default}.ml
-
-.fast.byt � .ml
- {CAMLC} -unsafe -o {targdir}{default}.fast.byt {depdir}{default}.ml
-
-.cmi � .mli
- {CAMLC} -c {depdir}{default}.mli
-
-.cmo � .ml
- {CAMLC} -c {depdir}{default}.ml
-
-{BYTE_EXE} {BYTE_KB} {BYTE_GENLEX} � ::ocamlc
-{BYTE_EXE} � ::stdlib:stdlib.cma
-
-clean ��
- delete -i �.byt || set status 0
- delete -i �.cm[io] || set status 0
- directory :Moretest; domake clean; directory ::
-
-# Regression test
-
-test � {BYTE_EXE}
- set echo 0
- for prog in `echo {BYTE_EXE} | streamedit -e '1 replace /.byt/ "" -c �'`
- echo {prog}
- if "`exists :Results:{prog}.runtest.Mac`"
- :Results:{prog}.runtest.Mac test {CAMLRUN} {prog}.byt
- else
- {CAMLRUN} {prog}.byt > "{tempfolder}ocaml-test"
- equal -d "{tempfolder}ocaml-test" :Results:{prog}.out
- end
- end
-
-clean ��
- delete -i :Lex:testscanner.ml "{tempfolder}ocaml-test"
-
-# Benchmark
-
-bench � {BYTE_EXE}
- set echo 0
- for prog in `echo {BYTE_EXE} | streamedit -e '1 replace /.byt/ "" -c �'`
- echo {prog}
- if "`exists :Results:{prog}.runtest.Mac`"
- :Results:{prog}.runtest.Mac bench {CAMLRUN} {prog}.byt
- else
- time "{CAMLRUN} {prog}.byt �dev:null"
- end
- end
-
-# Dependencies
-
-depend � beforedepend
- {CAMLDEP} -I :KB: -I :Lex: �.ml :KB:�.mli :KB:�.ml :Lex:�.mli �
- :Lex:�.ml > Makefile.Mac.depend