1# Automatically generated by Htmlc. 2# 3# Do not edit this file, 4# but rather its source: "Makefile.in". 5#*********************************************************************# 6# # 7# Htmlc # 8# # 9# Pierre Weis, INRIA Rocquencourt # 10# # 11# Copyright 2009, # 12# Institut National de Recherche en Informatique et en Automatique. # 13# Distributed only by permission. # 14# # 15#*********************************************************************# 16 17#(* $Id: Makefile,v 1.33 2009/09/24 07:00:44 weis Exp $ *) 18 19# The name and version of this software. 20# To modify it you must change the file $(PACKAGENAME)/config/env. 21# Beware: you need a working htmlc to re-generate the main Makefile 22# from Makefile.in in this directory! 23PACKAGENAME = htmlc 24MAINVERSION = 2 25SUBVERSION = 21 26PATCHVERSION = 0 27VERSIONDATE = "2009-09-24" 28 29VERSION = "2.21" 30FULLVERSION = "2.21.0" 31 32include $(MAKEFILESDIR)/Makefile.prefixinstalldir 33 34# Where to install the binaries 35BINDIR = $(PREFIXINSTALLDIR)/bin 36# Where to install the man page 37MANEXT = 1 38MANDIR = $(PREFIXINSTALLDIR)/man/man$(MANEXT) 39 40# The Caml compilers (those defaults should be OK) 41CAMLDEP = ocamldep 42CAMLBYT = ocamlc -w A -g 43CAMLBIN = ocamlopt -w A -inline 10000 44CAMLYAC = ocamlyacc -v 45CAMLLEX = ocamllex 46 47# The htmlc compiler for expansing doc and source files. 48HTMLC = htmlc -env $(MAKEFILESDIR)/env 49 50 51# The general purpose commands 52SHELL = /bin/sh 53MKDIR = /bin/mkdir -p 54RM = /bin/rm -rf 55CAT = /bin/cat 56CP = /bin/cp -p -R 57ECHO = /bin/echo 58MV = /bin/mv -f 59INSTALL = /usr/bin/install 60INSTALL_EXECUTABLE = ${INSTALL} -m 0555 61INSTALL_READ_ONLY = ${INSTALL} -m 0444 62 63.PHONY: default depend clean distclean all clean_all byt bin test 64 65default: byt bin 66 67all:: 68 69clean:: 70 $(RM) depend 71 $(RM) *.cm[ioxa] *.cmxa *.o *.bin *.byt a.out *.htmlc *~ .*~ 72 73distclean:: clean 74 75.SUFFIXES: 76.SUFFIXES: .ml .mli .mlin .mliin .cmi .cmo .cmx .cma .cmxa 77.SUFFIXES: .html .htm .man .1 78 79.ml.cmo: 80 $(CAMLBYT) -c $< 81 82.mli.cmi: 83 $(CAMLBYT) -c $< 84 85.ml.cmx: 86 $(CAMLBIN) -c $< 87 88.mlin.ml: 89 $(HTMLC) -f $< -t $@ 90 91.mliin.mli: 92 $(HTMLC) -f $< -t $@ 93