Commit 73f4eed8 authored by Zoggy's avatar Zoggy
Browse files

port to ocalfind

parent 8f428aa0
version = "1.0"
description = "Reading/writing RSS files for OCaml"
requires = "xmlm,unix"
archive(byte) = "rss.cma"
archive(native) = "rss.cmxa"
archive(toploop) = "rss.cma"
description = "Reading and displaying diff results in OCaml"
requires = "unix"
archive(byte) = "odiff.cma"
archive(native) = "odiff.cmxa"
archive(toploop) = "odiff.cma"
package "gtk" (
description = "LablGtk interface"
requires = "lablgtk2"
archive(byte) = "odiff_gtk.cma"
archive(native) = "odiff_gtk.cmxa"
)
......@@ -30,6 +30,8 @@ PACKAGES=unix,lablgtk2
OF_FLAGS=-package $(PACKAGES)
OCAMLFIND=ocamlfind
OCAMLLEX=ocamllex
OCAMLYACC=ocamlyacc
OCAML_COMPFLAGS= -annot
OCAMLC=$(OCAMLFIND) ocamlc $(OF_FLAGS) $(OCAML_COMPFLAGS)
OCAMLOPT=$(OCAMLFIND) ocamlopt $(OF_FLAGS) $(OCAML_COMFLAGS)
......@@ -110,7 +112,7 @@ archive:
# Cleaning :
############
clean:
rm -f *.cm* *.a *.annot *.o
rm -f *.cm* *.a *.annot *.o odiff_lexer.ml odiff_parser.ml odiff_parser.mli
# headers :
###########
......@@ -138,5 +140,12 @@ noheaders:
%.cmx %.o:%.ml
$(OCAMLOPT) -c $<
%.mli %.ml: %.mly
$(OCAMLYACC) $<
%.ml: %.mll
$(OCAMLLEX) $<
include .depend
OCaml-RSS is an OCaml library to read and write RSS files.
More information on http://zoggy.github.com/ocamlrss
OCamldiff is an OCaml library to parse and display diff results.
More information on http://zoggy.github.com/ocamldiff
val print_DEBUG : 'a -> unit
val line : int ref
val __ocaml_lex_tables : Lexing.lex_tables
val main : Lexing.lexbuf -> Odiff_parser.token
val __ocaml_lex_main_rec : Lexing.lexbuf -> int -> Odiff_parser.token
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment