Fixme note
[mediawiki.git] / math / Makefile
blob47c40f96f181cb78ccd3b5fede5dbae16e9c8008
1 OBJ=render_info.cmo tex.cmo texutil.cmo parser.cmo lexer.cmo texvc.cmo \
2 render_info.cmx tex.cmx texutil.cmx parser.cmx lexer.cmx texvc.cmx \
3 lexer.cmi parser.cmi render_info.cmi tex.cmi texutil.cmi texvc.cmi \
4 lexer.o parser.o render_info.o tex.o texutil.o texvc.o \
5 lexer.ml parser.ml parser.mli texvc texvc.bc texvc_test.cmo \
6 texvc_test.cmx texvc_test.cmi texvc_test.o texvc_test util.o \
7 util.cmo util.cmx util.cmi texvc_cgi.cmi texvc_cgi texvc_cgi.cmo \
8 render.o render.cmi render.cmo render.cmx texvc_tex.cmx \
9 texvc_tex.o texvc_tex.cmi texvc_tex html.cmi html.cmo html.cmx \
10 html.o mathml.cmi mathml.cmo mathml.cmx mathml.o
11 CGIPATH=-I /usr/lib/ocaml/cgi -I /usr/lib/ocaml/netstring -I /usr/lib/ocaml/pcre
13 all: texvc texvc_test texvc_tex
14 texvc.bc: util.cmo parser.cmo html.cmo mathml.cmo texutil.cmo render.cmo lexer.cmo texvc.cmo
15 ocamlc -o $@ unix.cma $^
16 texvc: util.cmx parser.cmx html.cmx mathml.cmx texutil.cmx render.cmx lexer.cmx texvc.cmx
17 ocamlopt -o $@ unix.cmxa $^
18 texvc_test: util.cmx parser.cmx html.cmx mathml.cmx texutil.cmx lexer.cmx texvc_test.cmx
19 ocamlopt -o $@ $^
20 texvc_tex: util.cmx parser.cmx html.cmx mathml.cmx texutil.cmx lexer.cmx texvc_tex.cmx
21 ocamlopt -o $@ $^
22 %.ml: %.mll
23 ocamllex $<
24 %.mli %.ml: %.mly
25 ocamlyacc $<
26 %.cmo: %.ml
27 ocamlc -c $<
28 %.cmx: %.ml
29 ocamlopt -c $<
30 %.cmi: %.mli
31 ocamlc -c $<
32 texvc_cgi.cmo: texvc_cgi.ml
33 ocamlc -c $(CGIPATH) $<
34 texvc_cgi: util.cmo parser.cmo texutil.cmo render.cmo lexer.cmo texvc_cgi.cmo
35 ocamlc -o $@ unix.cma $(CGIPATH) pcre.cma netstring.cma cgi.cma $^
36 chmod g-w $@
37 clean:
38 rm -f $(OBJ)
40 html.cmo: render_info.cmi tex.cmi util.cmo html.cmi
41 html.cmx: render_info.cmi tex.cmi util.cmx html.cmi
42 html.cmi: tex.cmi
43 lexer.cmo: parser.cmi render_info.cmi tex.cmi texutil.cmi
44 lexer.cmx: parser.cmx render_info.cmi tex.cmi texutil.cmx
45 mathml.cmo: tex.cmi mathml.cmi
46 mathml.cmx: tex.cmi mathml.cmi
47 mathml.cmi: tex.cmi
48 parser.cmo: render_info.cmi tex.cmi parser.cmi
49 parser.cmx: render_info.cmi tex.cmi parser.cmi
50 parser.cmi: render_info.cmi tex.cmi
51 render.cmo: texutil.cmi util.cmo
52 render.cmx: texutil.cmx util.cmx
53 tex.cmi: render_info.cmi
54 texutil.cmo: html.cmi parser.cmi render_info.cmi tex.cmi util.cmo texutil.cmi
55 texutil.cmx: html.cmx parser.cmx render_info.cmi tex.cmi util.cmx texutil.cmi
56 texutil.cmi: parser.cmi tex.cmi
57 texvc.cmo: html.cmi lexer.cmo mathml.cmi parser.cmi render.cmo texutil.cmi util.cmo
58 texvc.cmx: html.cmx lexer.cmx mathml.cmx parser.cmx render.cmx texutil.cmx util.cmx
59 texvc_cgi.cmo: lexer.cmo parser.cmi render.cmo texutil.cmi util.cmo
60 texvc_cgi.cmx: lexer.cmx parser.cmx render.cmx texutil.cmx util.cmx
61 texvc_test.cmo: html.cmi lexer.cmo parser.cmi texutil.cmi util.cmo
62 texvc_test.cmx: html.cmx lexer.cmx parser.cmx texutil.cmx util.cmx
63 texvc_tex.cmo: lexer.cmo parser.cmi texutil.cmi util.cmo
64 texvc_tex.cmx: lexer.cmx parser.cmx texutil.cmx util.cmx