[llvm-commits] [llvm] r42245 - /llvm/trunk/bindings/ocaml/Makefile.ocaml
Gordon Henriksen
gordonhenriksen at mac.com
Sun Sep 23 06:37:44 PDT 2007
Author: gordon
Date: Sun Sep 23 08:37:44 2007
New Revision: 42245
URL: http://llvm.org/viewvc/llvm-project?rev=42245&view=rev
Log:
Fix srcdir <> objdir builds with ocaml 2.10. Downrev versions don't care whether
'dir' exists in 'ocamldep -I dir ...', but recent ones demand that it actually
exists.
Modified:
llvm/trunk/bindings/ocaml/Makefile.ocaml
Modified: llvm/trunk/bindings/ocaml/Makefile.ocaml
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/ocaml/Makefile.ocaml?rev=42245&r1=42244&r2=42245&view=diff
==============================================================================
--- llvm/trunk/bindings/ocaml/Makefile.ocaml (original)
+++ llvm/trunk/bindings/ocaml/Makefile.ocaml Sun Sep 23 08:37:44 2007
@@ -88,7 +88,8 @@
$(ObjDir)/%.ml: $(PROJ_SRC_DIR)/%.ml $(ObjDir)/.dir
$(Verb) $(CP) -f $< $@
-$(ObjDir)/$(LIBRARYNAME).ocamldep: $(OcamlSources) $(OcamlHeaders)
+$(ObjDir)/$(LIBRARYNAME).ocamldep: $(OcamlSources) $(OcamlHeaders) \
+ $(OcamlDir)/.dir $(ObjDir)/.dir
$(Verb) $(OCAMLDEP) $(OCAMLCFLAGS) $(OcamlSources) $(OcamlHeader) > $@
-include $(ObjDir)/$(LIBRARYNAME).ocamldep
More information about the llvm-commits
mailing list