#
# This file is part of Barista.
# Copyright (C) 2007-2014 Xavier Clerc.
#
# Barista is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Barista is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

# Directories
true: -traverse
<src/**>: include

# Options (common to all versions)
<src/**> and not "src/driver/barista.ml": for-pack(BaristaLibrary)
<src/**/*.ml{,i}>: warnings
<src/*/*.ml{,i}> and not <src/{io,utf8}/*.ml{,i}>: preprocessor
<src/{io,utf8}/*.ml{,i}>: alternative_implementations

# Options (ocamlc- and ocamlopt-specific)
<src/driver/barista.{byte,native}>: use_unix, use_bigarray, alternative_implementations

# Options (ocamljava-specific)
<src/**/*.{cmj,cmja,jar}>: java-package(fr.x9c.barista)
"src/classfile/instruction.cmj": inline(0)
"src/driver/barista.jar": alternative_implementations

# Generation of version file
"src/common/currentVersion.mli": src_common_currentVersion_ml

# Generation of the file containing the list of predefined commands
"src/driver/predefined.mli": src_driver_predefined_ml
