ocaml-ocamlgraph/ocamlgraph-1.7-install-extr...

16 lines
781 B
Diff

--- Makefile.in.orig 2011-02-23 01:35:33.000000000 -0700
+++ Makefile.in 2011-07-07 10:34:10.340455498 -0600
@@ -349,7 +349,11 @@
$(OCAMLFIND) install ocamlgraph META \
$(SRCDIR)/*.mli $(VIEWER_DIR)/*.mli $(DGRAPH_DIR)/*.mli \
graph$(LIBEXT) graph.cmx graph.cmo graph.cmi $(CMA) $(CMXA) \
- $(VIEWER_CMXLIB) $(VIEWER_CMOLIB) $(DGRAPH_CMX) $(DGRAPH_CMO)
+ $(VIEWER_CMXLIB) $(VIEWER_CMOLIB) \
+ $(VIEWER_CMILIB) $(VIEWER_CMXLIB) $(VIEWER_CMXLIB:.cmx=.o) $(VIEWER_CMOLIB) \
+ $(DGRAPH_CMILIB) $(DGRAPH_CMXLIB) $(DGRAPH_CMXLIB:.cmx=.o) $(DGRAPH_CMOLIB) \
+ $(filter-out dgraph/dGraphTest.cmx, $(DGRAPH_CMX)) \
+ $(filter-out dgraph/dGraphTest.cmo, $(DGRAPH_CMO))
else
$(OCAMLFIND) install ocamlgraph META \
$(SRCDIR)/*.mli $(VIEWER_DIR)/*.mli $(DGRAPH_DIR)/*.mli \