Commits

HongboZhang committed 20ecd46

add annot flags for all Makefile

Comments (0)

Files changed (17)

 
 CAMLC=boot/ocamlrun boot/ocamlc -nostdlib -I boot
 CAMLOPT=boot/ocamlrun ./ocamlopt -nostdlib -I stdlib -I otherlibs/dynlink
-COMPFLAGS=-strict-sequence -w +33..39 -warn-error A $(INCLUDES)
+COMPFLAGS=-strict-sequence -w +33..39 -annot -warn-error A $(INCLUDES)
 LINKFLAGS=
 
 CAMLYACC=boot/ocamlyacc
 
 CAMLC=boot/ocamlrun boot/ocamlc -nostdlib -I boot
 CAMLOPT=boot/ocamlrun ./ocamlopt -nostdlib -I stdlib -I otherlibs/dynlink
-COMPFLAGS=-strict-sequence -warn-error A $(INCLUDES)
+COMPFLAGS=-strict-sequence -annot -warn-error A $(INCLUDES)
 LINKFLAGS=
 CAMLYACC=boot/ocamlyacc
 YACCFLAGS=

debugger/Makefile.shared

 include ../config/Makefile
 
 CAMLC=../ocamlcomp.sh
-COMPFLAGS=-g -warn-error A $(INCLUDES)
+COMPFLAGS=-g -warn-error A -annot $(INCLUDES)
 LINKFLAGS=-g -linkall -I $(UNIXDIR)
 CAMLYACC=../boot/ocamlyacc
 YACCFLAGS=
 # The lexer generator
 CAMLC=../boot/ocamlrun ../boot/ocamlc -strict-sequence -nostdlib -I ../boot
 CAMLOPT=../boot/ocamlrun ../ocamlopt -nostdlib -I ../stdlib
-COMPFLAGS=-w +33..39 -warn-error A
+COMPFLAGS=-w +33..39 -warn-error A -annot
 CAMLYACC=../boot/ocamlyacc
 YACCFLAGS=-v
 CAMLLEX=../boot/ocamlrun ../boot/ocamllex
 
 CAMLC=../boot/ocamlrun ../boot/ocamlc -I ../boot
 CAMLOPT=../boot/ocamlrun ../ocamlopt -I ../stdlib
-COMPFLAGS=-warn-error A
+COMPFLAGS=-warn-error A -annot
 LINKFLAGS=
 CAMLYACC=../boot/ocamlyacc
 YACCFLAGS=-v

ocamldoc/Makefile

 
 INCLUDES=$(INCLUDES_DEP) $(INCLUDES_NODEP)
 
-COMPFLAGS=$(INCLUDES) -warn-error A
+COMPFLAGS=$(INCLUDES) -annot -warn-error A
 LINKFLAGS=$(INCLUDES) -nostdlib
 
 CMOFILES= odoc_config.cmo \

ocamldoc/Makefile.nt

 
 INCLUDES=$(INCLUDES_DEP) $(INCLUDES_NODEP)
 
-COMPFLAGS=$(INCLUDES) -warn-error A
+COMPFLAGS=$(INCLUDES) -annot -warn-error A
 LINKFLAGS=$(INCLUDES) -nostdlib
 
 CMOFILES= odoc_config.cmo \

otherlibs/dynlink/Makefile

 CAMLC=../../boot/ocamlrun ../../ocamlc
 CAMLOPT=../../ocamlcompopt.sh
 INCLUDES=-I ../../utils -I ../../typing -I ../../bytecomp -I ../../asmcomp
-COMPFLAGS=-w +33..39 -warn-error A -I ../../stdlib $(INCLUDES)
+COMPFLAGS=-w +33..39 -annot -warn-error A -I ../../stdlib $(INCLUDES)
 
 OBJS=dynlinkaux.cmo dynlink.cmo
 

otherlibs/labltk/camltk/Makefile

 
 include ../support/Makefile.common
 
-COMPFLAGS= -I ../support -I $(OTHERS)/win32unix -I $(OTHERS)/unix
+COMPFLAGS= -I ../support -I $(OTHERS)/win32unix -I $(OTHERS)/unix -annot
 
 all: camltkobjs
 

otherlibs/labltk/examples_camltk/Makefile

 include ../support/Makefile.common
 
 # We are using the non-installed library !
-COMPFLAGS=-I ../lib -I ../camltk -I ../support -I $(OTHERS)/unix -w s -dllpath ../support
+COMPFLAGS=-I ../lib -I ../camltk -I ../support -I $(OTHERS)/unix -w s -dllpath ../support -annot
 
 
 all: addition$(EXE) helloworld$(EXE) winskel$(EXE) fileinput$(EXE) \

otherlibs/labltk/examples_camltk/Makefile.nt

 include ../support/Makefile.common
 
 # We are using the non-installed library !
-COMPFLAGS= -I ../lib -I ../camltk -I ../support
+COMPFLAGS= -I ../lib -I ../camltk -I ../support -annot
 LINKFLAGS= -I ../lib -I ../camltk -I ../support
 
 # Use pieces of Makefile.config

otherlibs/labltk/examples_labltk/Makefile

 include ../support/Makefile.common
 
-COMPFLAGS=-I ../lib -I ../labltk -I ../support -I $(OTHERS)/unix -w s -dllpath ../support
+COMPFLAGS=-I ../lib -I ../labltk -I ../support -I $(OTHERS)/unix -w s -dllpath ../support -annot
 
 all: hello demo eyes calc clock tetris lang
 

otherlibs/labltk/examples_labltk/Makefile.nt

 include ../support/Makefile.common
 
 # We are using the non-installed library !
-COMPFLAGS= -I ../lib -I ../labltk -I ../support
+COMPFLAGS= -I ../lib -I ../labltk -I ../support -annot
 LINKFLAGS= -I ../lib -I ../labltk -I ../support
 
 # Use pieces of Makefile.config

otherlibs/labltk/frx/Makefile

 
 include ../support/Makefile.common
 
-COMPFLAGS=-I ../camltk -I ../support
+COMPFLAGS=-I ../camltk -I ../support -annot
 
 OBJS= frx_misc.cmo frx_widget.cmo frx_font.cmo frx_entry.cmo frx_text.cmo \
       frx_listbox.cmo frx_req.cmo frx_fillbox.cmo frx_focus.cmo \

otherlibs/labltk/jpf/Makefile

 
 include ../support/Makefile.common
 
-COMPFLAGS=-I ../labltk -I ../support -I $(OTHERS)/win32unix -I $(OTHERS)/unix -I $(OTHERS)/str
+COMPFLAGS=-I ../labltk -I ../support -I $(OTHERS)/win32unix -I $(OTHERS)/unix -I $(OTHERS)/str -annot
 
 OBJS= fileselect.cmo balloon.cmo shell.cmo jpf_font.cmo
 

otherlibs/labltk/labltk/Makefile

 
 include ../support/Makefile.common
 
-COMPFLAGS= -I ../support -I $(OTHERS)/win32unix -I $(OTHERS)/unix
+COMPFLAGS= -I ../support -I $(OTHERS)/win32unix -I $(OTHERS)/unix -annot
 
 all: labltkobjs
 

tools/Makefile.shared

 CAMLLEX=$(CAMLRUN) ../boot/ocamllex
 INCLUDES=-I ../utils -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp \
 	 -I ../driver
-COMPFLAGS= -warn-error A $(INCLUDES)
+COMPFLAGS= -warn-error A $(INCLUDES) -annot
 LINKFLAGS=$(INCLUDES)
 
 all: ocamldep ocamlprof ocamlcp ocamloptp ocamlmktop ocamlmklib dumpobj \