Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > c0529fa1bbf6cadd589aecaf7b041de6 > files > 1

ocaml-pxp-1.2.0-0.test2.1mdv2009.0.src.rpm

diff -Naur pxp-1.1.96/gensrc/pxp-lex-pattern/Makefile.in pxp-1.1.96-destdir/gensrc/pxp-lex-pattern/Makefile.in
--- pxp-1.1.96/gensrc/pxp-lex-pattern/Makefile.in	2005-10-31 13:54:30.000000000 +0100
+++ pxp-1.1.96-destdir/gensrc/pxp-lex-pattern/Makefile.in	2007-02-22 16:41:08.000000000 +0100
@@ -45,7 +45,7 @@
 
 install:
 	files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a pxp_lex_link_*.cmo pxp_lex_link_*.cmx pxp_lex_link_*.o META` && \
-        $(OCAMLFIND) install pxp-lex-$(ENC) $$files
+        $(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) pxp-lex-$(ENC) $$files
 
 uninstall:
 	$(OCAMLFIND) remove pxp-lex-$(ENC)
diff -Naur pxp-1.1.96/gensrc/pxp-ulex-utf8/Makefile pxp-1.1.96-destdir/gensrc/pxp-ulex-utf8/Makefile
--- pxp-1.1.96/gensrc/pxp-ulex-utf8/Makefile	2005-10-31 13:54:30.000000000 +0100
+++ pxp-1.1.96-destdir/gensrc/pxp-ulex-utf8/Makefile	2007-02-22 16:37:19.000000000 +0100
@@ -51,7 +51,7 @@
 
 install:
 	files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a pxp_ulex_link_*.cmo pxp_ulex_link_*.cmx pxp_ulex_link_*.o META` && \
-        $(OCAMLFIND) install pxp-ulex-$(ENC) $$files
+        $(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) pxp-ulex-$(ENC) $$files
 
 uninstall:
 	$(OCAMLFIND) remove pxp-ulex-$(ENC)
diff -Naur pxp-1.1.96/gensrc/pxp-wlex/Makefile pxp-1.1.96-destdir/gensrc/pxp-wlex/Makefile
--- pxp-1.1.96/gensrc/pxp-wlex/Makefile	2005-10-31 13:54:30.000000000 +0100
+++ pxp-1.1.96-destdir/gensrc/pxp-wlex/Makefile	2007-02-22 16:40:14.000000000 +0100
@@ -19,7 +19,7 @@
 	rm -f META
 
 install:
-	$(OCAMLFIND) install pxp-wlex META
+	$(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) pxp-wlex META
 
 uninstall:
 	$(OCAMLFIND) remove pxp-wlex
diff -Naur pxp-1.1.96/gensrc/pxp-wlex-utf8/Makefile pxp-1.1.96-destdir/gensrc/pxp-wlex-utf8/Makefile
--- pxp-1.1.96/gensrc/pxp-wlex-utf8/Makefile	2005-10-31 13:54:30.000000000 +0100
+++ pxp-1.1.96-destdir/gensrc/pxp-wlex-utf8/Makefile	2007-02-22 16:39:34.000000000 +0100
@@ -48,7 +48,7 @@
 
 install:
 	files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a pxp_wlex_link_*.cmo pxp_wlex_link_*.cmx pxp_wlex_link_*.o META` && \
-        $(OCAMLFIND) install pxp-wlex-$(ENC) $$files
+        $(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) pxp-wlex-$(ENC) $$files
 
 uninstall:
 	$(OCAMLFIND) remove pxp-wlex-$(ENC)
diff -Naur pxp-1.1.96/src/pxp/Makefile pxp-1.1.96-destdir/src/pxp/Makefile
--- pxp-1.1.96/src/pxp/Makefile	2005-10-31 13:54:30.000000000 +0100
+++ pxp-1.1.96-destdir/src/pxp/Makefile	2007-02-22 16:29:48.000000000 +0100
@@ -13,7 +13,7 @@
 	rm -f META
 
 install:
-	$(OCAMLFIND) install pxp META
+	$(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) pxp META
 
 uninstall:
 	$(OCAMLFIND) remove pxp
diff -Naur pxp-1.1.96/src/pxp/Makefile.orig pxp-1.1.96-destdir/src/pxp/Makefile.orig
--- pxp-1.1.96/src/pxp/Makefile.orig	1970-01-01 01:00:00.000000000 +0100
+++ pxp-1.1.96-destdir/src/pxp/Makefile.orig	2007-02-22 16:38:21.000000000 +0100
@@ -0,0 +1,19 @@
+TOP_DIR = ../..
+include $(TOP_DIR)/Makefile.rules
+
+all:
+
+opt:
+
+clean:
+
+CLEAN: clean
+
+distclean: clean
+	rm -f META
+
+install:
+	$(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) pxp META
+
+uninstall:
+	$(OCAMLFIND) remove pxp
diff -Naur pxp-1.1.96/src/pxp-engine/Makefile pxp-1.1.96-destdir/src/pxp-engine/Makefile
--- pxp-1.1.96/src/pxp-engine/Makefile	2005-10-31 13:54:30.000000000 +0100
+++ pxp-1.1.96-destdir/src/pxp-engine/Makefile	2007-02-22 16:29:48.000000000 +0100
@@ -29,7 +29,7 @@
 
 install:
 	files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a pxp_top.cmo META` && \
-	$(OCAMLFIND) install pxp-engine $$files
+	$(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) pxp-engine $$files
 
 uninstall:
 	$(OCAMLFIND) remove pxp-engine
diff -Naur pxp-1.1.96/src/pxp-engine/Makefile.orig pxp-1.1.96-destdir/src/pxp-engine/Makefile.orig
--- pxp-1.1.96/src/pxp-engine/Makefile.orig	1970-01-01 01:00:00.000000000 +0100
+++ pxp-1.1.96-destdir/src/pxp-engine/Makefile.orig	2007-02-22 16:39:11.000000000 +0100
@@ -0,0 +1,38 @@
+TOP_DIR = ../..
+include $(TOP_DIR)/Makefile.rules
+
+all: 
+	cp pxp_lib_ocamlc.ml pxp_lib.ml
+	$(MAKE) generate
+	$(MAKE) depend
+	$(MAKE) -f Makefile.code all
+
+opt: 
+	cp pxp_lib_ocamlopt.ml pxp_lib.ml
+	$(MAKE) generate
+	$(MAKE) depend
+	$(MAKE) -f Makefile.code opt
+
+generate: pxp_core_parser.ml pxp_lexing.ml
+
+.PHONY: depend
+depend: 
+	$(OCAMLDEP) *.ml *.mli >depend
+
+clean:
+	rm -f $(CLEAN_LIST) pxp_core_parser.ml pxp_lib.ml pxp_lexing.ml
+
+CLEAN: clean
+
+distclean: clean
+	rm -f META depend
+
+install:
+	files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a pxp_top.cmo META` && \
+	$(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) pxp-engine $$files
+
+uninstall:
+	$(OCAMLFIND) remove pxp-engine
+
+pxp_lexing.ml: pxp_lexing.mlp
+	$(IFDEF) $(LEXBUF_307) pxp_lexing.mlp
diff -Naur pxp-1.1.96/src/pxp-pp/Makefile pxp-1.1.96-destdir/src/pxp-pp/Makefile
--- pxp-1.1.96/src/pxp-pp/Makefile	2005-10-31 13:54:30.000000000 +0100
+++ pxp-1.1.96-destdir/src/pxp-pp/Makefile	2007-02-22 16:30:43.000000000 +0100
@@ -24,7 +24,7 @@
 	rm -f META depend
 
 install:
-	$(OCAMLFIND) install pxp-pp pxp_pp.cma META
+	$(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) pxp-pp pxp_pp.cma META
 
 uninstall:
 	$(OCAMLFIND) remove pxp-pp