*.cmi *.cmo *.cmx *.cma *.cmxa config.make config.cache config.log configure
Makefile
config.status
+META
--- /dev/null
+requires="mlminidom lablgtk"
+version="@VERSION@"
+archive(byte)="lablgtkmathview.cma ml_gtk_mathview.o"
+archive(native)="lablgtkmathview.cmxa ml_gtk_mathview.o"
+linkopts=""
clean:
rm -f *.o *.cm? $(ARCHIVE) $(ARCHIVE_C) $(ARCHIVE_OPT)
- cd test ; make clean
+ cd $(TESTDIR) ; make clean
rm -rf $(TMPDIR)
distclean: clean
rm -f config.log config.cache config.status Makefile META lablgtkmathview.spec
+ cd $(TESTDIR) ; make distclean
--- /dev/null
+PACKAGE = @PACKAGE@
+MLFLAGS =
+OCAMLC = ocamlfind ocamlc $(MLFLAGS)
+OCAMLOPT = ocamlfind ocamlopt $(MLFLAGS)
+TMPDIR = .test
+
+all: test
+opt: test.opt
+
+test: test.ml
+ $(OCAMLC) -package "$(PACKAGE)" -linkpkg -predicates "" -o $@ test.ml
+
+test.opt: test.ml
+ $(OCAMLOPT) -package "$(PACKAGE)" -linkpkg -predicates "" -o $@ test.ml
+
+clean:
+ rm -f *.cm[iox] *.o test test.opt t1lib.log test.ps
+
+distclean:
+ rm Makefile