build toplevel/toplevellib.cma
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2771 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
9ce0f94f97
commit
c4f07b47f2
|
@ -84,13 +84,14 @@ TOPLEVEL=driver\errors.cmo driver\compile.cmo \
|
|||
toplevel\printval.cmo toplevel\toploop.cmo \
|
||||
toplevel\trace.cmo toplevel\topdirs.cmo
|
||||
|
||||
TOPLEVELLIB=toplevel\toplevellib.cma
|
||||
TOPLEVELMAIN=toplevel\topmain.cmo
|
||||
|
||||
COMPOBJS=$(UTILS) $(PARSING) $(TYPING) $(COMP) $(BYTECOMP) $(DRIVER)
|
||||
|
||||
TOPLIB=$(UTILS) $(PARSING) $(TYPING) $(COMP) $(BYTECOMP) $(TOPLEVEL)
|
||||
|
||||
TOPOBJS=$(TOPLIB) $(TOPLEVELMAIN)
|
||||
TOPOBJS=toplevel\toplevellib.cma $(TOPLEVELMAIN)
|
||||
|
||||
OPTOBJS=$(OPTUTILS) $(PARSING) $(TYPING) $(COMP) $(ASMCOMP) $(OPTDRIVER)
|
||||
|
||||
|
@ -205,6 +206,7 @@ installbyt:
|
|||
cd stdlib & $(MAKEREC) install
|
||||
cp lex\ocamllex $(BINDIR)\ocamllex.exe
|
||||
cp yacc\ocamlyacc.exe $(BINDIR)\ocamlyacc.exe
|
||||
cp toplevel\toplevellib.cma $(LIBDIR)\toplevellib.cma
|
||||
$(CAMLC) -a -o $(LIBDIR)\toplevellib.cma $(TOPLIB)
|
||||
cp expunge $(LIBDIR)\expunge.exe
|
||||
cp toplevel\topmain.cmo $(LIBDIR)\topmain.cmo
|
||||
|
@ -250,6 +252,9 @@ ocaml: $(TOPOBJS) expunge
|
|||
- $(CAMLRUN) .\expunge ocaml.tmp ocaml $(PERVASIVES)
|
||||
rm -f ocaml.tmp
|
||||
|
||||
toplevel\toplevellib.cma: $(TOPLIB)
|
||||
$(CAMLC) -a -o $@ $(TOPLIB)
|
||||
|
||||
partialclean::
|
||||
rm -f ocaml
|
||||
|
||||
|
|
Loading…
Reference in New Issue