diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-09-23 13:37:44 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-09-23 13:37:44 +0000 |
commit | ab4456f10a72f3a7c73dac0e95578b9b7e4250b8 (patch) | |
tree | 6c9520dc8936844ccf3a72ff5220d44211b276c4 /bindings/ocaml | |
parent | e5024b7bc296d8089d97ab52f8c0180b963258c9 (diff) | |
download | external_llvm-ab4456f10a72f3a7c73dac0e95578b9b7e4250b8.zip external_llvm-ab4456f10a72f3a7c73dac0e95578b9b7e4250b8.tar.gz external_llvm-ab4456f10a72f3a7c73dac0e95578b9b7e4250b8.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42245 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/ocaml')
-rw-r--r-- | bindings/ocaml/Makefile.ocaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bindings/ocaml/Makefile.ocaml b/bindings/ocaml/Makefile.ocaml index 1f772a4..4c65ca8 100644 --- a/bindings/ocaml/Makefile.ocaml +++ b/bindings/ocaml/Makefile.ocaml @@ -88,7 +88,8 @@ $(ObjDir)/%.mli: $(PROJ_SRC_DIR)/%.mli $(ObjDir)/.dir $(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 |