# Automatically generated by Htmlc.
#
# DO NOT edit this file,
# edit its source: "./Makefile.in".
#*********************************************************************#
#                                                                     #
#                           Htmlc                                     #
#                                                                     #
#                    Pierre Weis, INRIA Rocquencourt                  #
#                                                                     #
#  Copyright 2009,                                                    #
#  Institut National de Recherche en Informatique et en Automatique.  #
#  Distributed only by permission.                                    #
#                                                                     #
#*********************************************************************#

#(* $Id: Makefile,v 1.64 2012-10-12 08:14:03 weis Exp $ *)

# The name and version of this software.
# To modify it you must change the file $(PACKAGENAME)/config/env.
# Beware: you need a working htmlc to re-generate the main Makefile
# from Makefile.in in this directory!
PACKAGENAME = htmlc
MAINVERSION = 2
SUBVERSION = 4
PATCHVERSION = 0
DEVELVERSION = 1
VERSIONDATE = "2012-05-01"

VERSION = "2.4"
FULLVERSION = "2.4.0"

include $(MAKEFILESDIR)/Makefile.prefixinstalldir

# Where to install the binaries
BINDIR = $(PREFIXINSTALLDIR)/bin
# Where to install the man page
MANEXT = 1
MANDIR = $(PREFIXINSTALLDIR)/man/man$(MANEXT)

# The Caml compilers (those defaults should be OK)
CAMLDEP = $(OCAML_COMMAND_SEARCH_PATH)ocamldep
CAMLBYT_FLAGS = -w A -warn-error A -g
CAMLBYT = $(OCAML_COMMAND_SEARCH_PATH)ocamlc $(CAMLBYT_FLAGS)
CAMLBIN_FLAGS = -w A -warn-error A -inline 10000
CAMLBIN = $(OCAML_COMMAND_SEARCH_PATH)ocamlopt $(CAMLBIN_FLAGS)
CAMLYAC = $(OCAML_COMMAND_SEARCH_PATH)ocamlyacc -v
CAMLLEX = $(OCAML_COMMAND_SEARCH_PATH)ocamllex

# The htmlc compiler for expansing doc and source files.
HTMLC = htmlc -env $(MAKEFILESDIR)/env


# The general purpose commands
SHELL = /bin/sh
MKDIR = mkdir -p
RMDIR = rmdir -p
RM = rm -rf
CAT = cat
CP = cp -p -R
ECHO = echo
MV = mv -f
INSTALL = install
INSTALL_EXECUTABLE = ${INSTALL} -m 0555
INSTALL_READ_ONLY = ${INSTALL} -m 0444

.PHONY: default depend clean distclean all clean_all byt bin test

default: byt bin

all::

clean::
	@$(RM) depend &&	$(RM) *.cm[ioxa] *.cmxa *.o *.bin *.byt a.out *.htmlc *~ .*~

clean_all:: clean

distclean:: clean

.SUFFIXES:
.SUFFIXES: .ml .mli .mlin .mliin .cmi .cmo .cmx .cma .cmxa
.SUFFIXES: .html .htm .man .1

.ml.cmo:
	$(CAMLBYT) -c $<

.mli.cmi:
	$(CAMLBYT) -c $<

.ml.cmx:
	$(CAMLBIN) -c $<

.mlin.ml:
	$(HTMLC) -f $< -t $@

.mliin.mli:
	$(HTMLC) -f $< -t $@
