2 OCAMLFIND = @OCAMLFIND@
3 OCAMLC = $(OCAMLFIND) @OCAMLC@ -package "$(REQUIRES)"
4 OCAMLOPT = $(OCAMLFIND) @OCAMLOPT@ -package "$(REQUIRES)"
5 CMA = $(top_builddir)/ocaml/gdome_xslt/mlgdome2-xslt.cma
6 CMXA = $(top_builddir)/ocaml/gdome_xslt/mlgdome2-xslt.cmxa
7 INIT_CMO = $(top_builddir)/ocaml/gdome_xslt/gdome_xslt_init.cmo
8 INIT_CMX = $(top_builddir)/ocaml/gdome_xslt/gdome_xslt_init.cmx
9 OCAMLC_FLAGS = -I $(top_builddir)/ocaml/gdome_xslt/
12 CLEANFILES = test{,.o,.opt} test.cm[iox]
15 noinst_DATA = test.opt test
20 test: test.ml $(CMA) $(INIT_CMO)
21 $(OCAMLC) -o $@ -linkpkg $(OCAMLC_FLAGS) $(CMA) $(INIT_CMO) $<
23 test.opt: test.ml $(CMXA) $(INIT_CMX)
24 $(OCAMLOPT) -o $@ -linkpkg $(OCAMLC_FLAGS) $(CMXA) $(INIT_CMX) $<