#######################################################################
#                                                                     #
#                              OCamlGen                               #
#                                                                     #
#                       OCaml module Generator                        #
#                                                                     #
#               EPI Pomdapi, INRIA Paris - Rocquencourt               #
#                                                                     #
#  Copyright 1997-2014 INRIA.                                         #
#  Institut National de Recherche en Informatique et en Automatique.  #
#  All rights reserved. This file is distributed only by permission.  #
#                                                                     #
#  Pierre Weis <Pierre.Weis@inria.fr>                                 #
#                                                                     #
#######################################################################

# $Id: Makefile_user,v 1.8 2014/01/31 09:51:52 fclement Exp $

include ./.User_preamble.pph

include $(PPH_USER_MAKEFILES_DIR)/Environment.pph
include $(PPH_OCAML_LIBRARY_MAKEFILES_DIR)/Environment.pph

OCAML_LIB_NAME = dtdwg

# Don't install anything from here.
OCAML_FILES_TO_INSTALL_IN_LIB =

# The default mode is not to fail on fragile matches.
# Uncomment the following line if you want to use the secure mode (all warnings
# are triggered and abort compilation).
OCAML_FLAGS = $(OCAML_FLAGS_STRICT)

# Uncomment the following lines, and modify them to your needs if you want to
# pre-process source files with HTMLC (note that the project environment
# ``config/project.env'' is already taken into account in the default
# HTMLC_INCLUDES and HTMLC_ENV variables).
#HTMLC_FLAGS =
#HTMLC_INCLUDES += -I ...
#HTMLC_ENV += -env ...

# Source and object file_name lists for OCaml are computed from:
# - OCAML_SOURCES_TO_PROCESS_WITH_HTMLC = .mliin and .mlin files;
# - OCAML_SOURCES_TO_PROCESS_WITH_MOCAC = .mlm and .mlms files;
# - OCAML_SOURCES_TO_PROCESS_WITH_OCAML_YAC = .mly files;
# - OCAML_SOURCES_TO_PROCESS_WITH_OCAML_LEX = .mll files;
# - OCAML_LINK_ORDER = modules in the order they must be compiled and linked.
#       They must be given in lowercase without any extension, i.e. with the
#       basename of their corresponding source files (do not list interface
#       only modules, i.e. with only an .mli);
# - OCAML_INTERFACE_ONLY_SOURCES = .mli files without corresponding .ml
#       (interface-only modules, for dependencies computation).

OCAML_INTERFACE_ONLY_SOURCES = \
	walker_ast.mli walk_spec.mli action_spec.mli walker_spec.mli \
	generator_spec.mli walk_file_spec.mli

OCAML_LINK_ORDER = symbol walker_ast_print walker generator walk_gen walk_file

# Uncomment and adjust the following line to specify the list of directories to
# search for already installed compiled files and libraries.
# Prefix each sub-directory of the standard library directory with "-I +"
# (other locations are not portable).
#OCAML_SYSTEM_INCLUDES =

# The list of already installed compiled files and libraries to link with.
# (You may use provided WITH_* variables, and of course define your own ones).
OCAML_SYSTEM_BYT_LIBS = $(OCAMLGEN_DTDWG_SYSTEM_BYT_LIBS)

# Uncomment and adjust the following line to specify the list of directories to
# search for in the ambient source hierarchy.
# Prefix each directory with "-I", and use relative paths or die!
OCAML_LOCAL_INCLUDES = $(OCAMLGEN_DTDWG_LOCAL_INCLUDES)

# The list of local (= present in the ambient source hierarchy) compiled files
# and libraries to link with.
OCAML_LOCAL_BYT_LIBS = $(OCAMLGEN_DTDWG_LOCAL_BYT_LIBS)

# The list of other byte object files to put in the library (source files are
# in another directory of the ambient source hierarchy).
#OCAML_OTHER_BYT_OBJS =

SUB_DIRS =

include $(PPH_USER_MAKEFILES_DIR)/Rule_Target.pph
include $(PPH_OCAML_LIBRARY_MAKEFILES_DIR)/Rule_Target.pph
