2 LARCHIVE_iso88591 = pxp_lex_iso88591.cma
3 LARCHIVE_utf8 = pxp_lex_utf8.cma
4 XLARCHIVE_iso88591 = $(LARCHIVE_iso88591:.cma=.cmxa)
5 XLARCHIVE_utf8 = $(LARCHIVE_utf8:.cma=.cmxa)
7 # LOBJECTS_* and XLOBJECTS_* are included from "objects_*":
8 include objects_iso88591
11 #----------------------------------------------------------------------
13 all_iso88591: $(LARCHIVE_iso88591)
14 opt_iso88591: $(XLARCHIVE_iso88591)
15 all_utf8: $(LARCHIVE_utf8)
16 opt_utf8: $(XLARCHIVE_utf8)
18 $(LARCHIVE_iso88591): $(LOBJECTS_iso88591)
19 $(OCAMLC) -a -o $(LARCHIVE_iso88591) $(LOBJECTS_iso88591)
21 $(XLARCHIVE_iso88591): $(XLOBJECTS_iso88591)
22 $(OCAMLOPT) -a -o $(XLARCHIVE_iso88591) $(XLOBJECTS_iso88591)
24 $(LARCHIVE_utf8): $(LOBJECTS_utf8)
25 $(OCAMLC) -a -o $(LARCHIVE_utf8) $(LOBJECTS_utf8)
27 $(XLARCHIVE_utf8): $(XLOBJECTS_utf8)
28 $(OCAMLOPT) -a -o $(XLARCHIVE_utf8) $(XLOBJECTS_utf8)
30 #----------------------------------------------------------------------
34 OCAMLC = ocamlfind ocamlc -g -I .. -package netstring $(OPTIONS)
35 OCAMLOPT = ocamlfind ocamlopt -p -I .. -package netstring $(OPTIONS)
37 .SUFFIXES: .cmo .cmi .cmx .ml .mli
52 rm -f *.cmo *.cmx *.cma *.cmxa *.cmi *.o *.a