1 ##############################################################################
2 ## The Calculus of Inductive Constructions ##
7 ## Rocquencourt Lyon ##
12 ##############################################################################
16 # This Makefile has been automagically generated by coq_makefile
17 # Edit at your own risks !
22 # This Makefile was generated by the command line :
23 # coq_makefile -f Make -o Makefile
26 ##########################
28 # Variables definitions. #
30 ##########################
32 CAMLP4LIB=`camlp4 -where`
33 COQSRC=-I $(COQTOP)/kernel -I $(COQTOP)/lib \
34 -I $(COQTOP)/library -I $(COQTOP)/parsing -I $(COQTOP)/pretyping \
35 -I $(COQTOP)/proofs -I $(COQTOP)/syntax -I $(COQTOP)/tactics \
36 -I $(COQTOP)/toplevel -I $(CAMLP4LIB)
37 ZFLAGS=$(OCAMLLIBS) $(COQSRC)
39 COQFLAGS=-q $(OPT) $(COQLIBS)
47 COQDEP=$(COQBIN)coqdep -c
50 #########################
52 # Libraries definition. #
54 #########################
59 ###################################
61 # Definition of the "all" target. #
63 ###################################
78 VOFILES=$(VFILES:.v=.vo)
79 VIFILES=$(VFILES:.v=.vi)
80 GFILES=$(VFILES:.v=.g)
81 HTMLFILES=$(VFILES:.v=.html)
82 GHTMLFILES=$(VFILES:.v=.g.html)
104 gallinahtml: $(GHTMLFILES)
107 $(COQWEB) -ps -o $@ `$(COQDEP) -sort -suffix .v $(VFILES)`
109 all-gal.ps: $(GFILES)
110 $(COQWEB) -ps -o $@ `$(COQDEP) -sort -suffix .g $(VFILES)`
112 xml:: .xml_time_stamp
113 .xml_time_stamp: st_base.vo\
126 $(COQVO2XML) $(COQFLAGS) $(?:%.o=%)
127 touch .xml_time_stamp
135 .PHONY: all opt byte archclean clean install depend xml
137 .SUFFIXES: .v .vo .vi .g .html .tex .g.tex .g.html
140 $(COQC) $(COQDEBUG) $(COQFLAGS) $*
143 $(COQC) -i $(COQDEBUG) $(COQFLAGS) $*
152 $(COQWEB) -html $< -o $@
158 $(COQWEB) -html $< -o $@
164 $(MAKE) all "OPT=-opt"
170 $(COQDEP) -i $(COQLIBS) *.v *.ml *.mli >.depend
171 $(COQDEP) $(COQLIBS) -suffix .html *.v >>.depend
176 mkdir -p `$(COQC) -where`/user-contrib
177 cp -f *.vo `$(COQC) -where`/user-contrib
180 mv -f Makefile Makefile.bak
181 $(COQBIN)coq_makefile -f Make -o Makefile
184 rm -f *.cmo *.cmi *.cmx *.o *.vo *.vi *.g *~
185 rm -f all.ps all-gal.ps $(HTMLFILES) $(GHTMLFILES)
192 # This Makefile has been automagically generated by coq_makefile
193 # Edit at your own risks !