diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2002-08-19 13:28:20 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2002-08-19 13:28:20 +0000 |
commit | f487a57f920e469809c7dfd6da036b04d3d749ff (patch) | |
tree | 64604cec5e21d741a1fb18e59f4419e4b0bd0d12 /ocamldoc/Makefile | |
parent | 3fc5f581d6340f579990d6d4ff603e7c32dffaed (diff) |
Revu generation du .depend (ne pas mettre de dependances sur otherlibs, cela pose probleme sous Windows)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5107 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'ocamldoc/Makefile')
-rw-r--r-- | ocamldoc/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/ocamldoc/Makefile b/ocamldoc/Makefile index c3c600365..e755b4b8b 100644 --- a/ocamldoc/Makefile +++ b/ocamldoc/Makefile @@ -48,19 +48,22 @@ INSTALL_CMIS=$(INSTALL_MLIS:.mli=.cmi) # Compilation ############# OCAMLSRCDIR=.. -INCLUDES=-I $(OCAMLSRCDIR)/parsing \ +INCLUDES_DEP=-I $(OCAMLSRCDIR)/parsing \ -I $(OCAMLSRCDIR)/utils \ -I $(OCAMLSRCDIR)/typing \ -I $(OCAMLSRCDIR)/driver \ -I $(OCAMLSRCDIR)/bytecomp \ -I $(OCAMLSRCDIR)/tools \ - -I $(OCAMLSRCDIR)/stdlib \ + -I $(OCAMLSRCDIR)/toplevel/ + +INCLUDES_NODEP= -I $(OCAMLSRCDIR)/stdlib \ -I $(OCAMLSRCDIR)/otherlibs/str \ -I $(OCAMLSRCDIR)/otherlibs/dynlink \ -I $(OCAMLSRCDIR)/otherlibs/unix \ -I $(OCAMLSRCDIR)/otherlibs/num \ - -I $(OCAMLSRCDIR)/otherlibs/graph \ - -I $(OCAMLSRCDIR)/toplevel/ + -I $(OCAMLSRCDIR)/otherlibs/graph + +INCLUDES=$(INCLUDES_DEP) $(INCLUDES_NODEP) COMPFLAGS=$(INCLUDES) -warn-error A LINKFLAGS=$(INCLUDES) @@ -338,7 +341,7 @@ depend:: $(OCAMLLEX) odoc_lexer.mll $(OCAMLLEX) odoc_ocamlhtml.mll $(OCAMLLEX) odoc_see_lexer.mll - $(OCAMLDEP) $(INCLUDES) *.mll *.mly *.ml *.mli > .depend + $(OCAMLDEP) $(INCLUDES_DEP) *.mll *.mly *.ml *.mli > .depend dummy: |