2007-02-07 01:40:59 -08:00
|
|
|
#!/bin/sh
|
2008-01-11 08:13:18 -08:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
# #
|
|
|
|
# Objective Caml #
|
|
|
|
# #
|
|
|
|
# Nicolas Pouillard, projet Gallium, INRIA Rocquencourt #
|
|
|
|
# #
|
|
|
|
# Copyright 2007 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. #
|
|
|
|
# #
|
|
|
|
#########################################################################
|
|
|
|
|
2007-10-08 07:19:34 -07:00
|
|
|
# $Id$
|
2008-01-11 08:13:18 -08:00
|
|
|
|
2007-02-07 01:40:59 -08:00
|
|
|
cd `dirname $0`/..
|
|
|
|
set -ex
|
2007-10-08 07:19:34 -07:00
|
|
|
(cd byterun && make clean) || :
|
|
|
|
(cd asmrun && make clean) || :
|
|
|
|
(cd yacc && make clean) || :
|
2008-10-23 08:29:11 -07:00
|
|
|
rm -f build/ocamlbuild_mixed_mode
|
2007-02-07 01:40:59 -08:00
|
|
|
rm -rf _build
|
|
|
|
rm -f boot/ocamlrun boot/ocamlrun.exe boot/camlheader \
|
|
|
|
boot/myocamlbuild boot/myocamlbuild.native boot/myocamlbuild.native.exe \
|
|
|
|
myocamlbuild_config.ml config/config.sh config/Makefile \
|
2007-12-18 01:03:14 -08:00
|
|
|
boot/ocamlyacc tools/cvt_emit.bak tools/*.bak \
|
2007-02-07 01:40:59 -08:00
|
|
|
config/s.h config/m.h boot/*.cm* _log _*_log*
|
|
|
|
|
|
|
|
# from partial boot
|
|
|
|
rm -f driver/main.byte driver/optmain.byte lex/main.byte \
|
2007-10-08 07:19:34 -07:00
|
|
|
tools/ocamlmklib.byte camlp4/build/location.ml \
|
|
|
|
camlp4/build/location.mli \
|
|
|
|
tools/myocamlbuild_config.ml camlp4/build/linenum.mli \
|
|
|
|
camlp4/build/linenum.mll \
|
2008-01-11 08:13:18 -08:00
|
|
|
camlp4/build/terminfo.mli camlp4/build/terminfo.ml
|
2007-02-07 01:40:59 -08:00
|
|
|
|
2007-02-12 07:32:52 -08:00
|
|
|
# from ocamlbuild bootstrap
|
2007-10-08 07:19:34 -07:00
|
|
|
rm -f ocamlbuild/_log ocamlbuild/,ocamlbuild.byte.start \
|
|
|
|
ocamlbuild/boot/ocamlbuild ocamlbuild/myocamlbuild_config.ml \
|
|
|
|
ocamlbuild/myocamlbuild_config.mli
|
|
|
|
rm -rf ocamlbuild/_build ocamlbuild/_start
|
2007-02-12 07:32:52 -08:00
|
|
|
|
2007-02-07 01:40:59 -08:00
|
|
|
# from the old build system
|
2007-02-12 07:32:52 -08:00
|
|
|
rm -f camlp4/build/camlp4_config.ml camlp4/**/*.cm*
|