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 MAKE=make "COQBIN=$(COQBIN)" "OPT=$(OPT)"
34 COQSRC=-I $(COQTOP)/kernel -I $(COQTOP)/lib \
35 -I $(COQTOP)/library -I $(COQTOP)/parsing -I $(COQTOP)/pretyping \
36 -I $(COQTOP)/proofs -I $(COQTOP)/syntax -I $(COQTOP)/tactics \
37 -I $(COQTOP)/toplevel -I $(CAMLP4LIB)
38 ZFLAGS=$(OCAMLLIBS) $(COQSRC)
39 COQFLAGS=-q $(OPT) $(COQLIBS)
41 COQFULL=$(COQBIN)coqc $(FULLOPT) -q $(COQLIBS)
49 COQDEP=$(COQBIN)coqdep -c
52 #########################
54 # Libraries definition. #
56 #########################
59 -I $(COQTOP)/contrib/xml
61 -R . Bologna.XmlTheory\
62 -I $(COQTOP)/contrib/xml
64 ###################################
66 # Definition of the "all" target. #
68 ###################################
82 gallinatex: XmlTheory.g.tex
84 gallinahtml: XmlTheory.g.html
87 .xml_time_stamp: XmlTheory.vo
88 $(COQVO2XML) $(COQFLAGS) $(?:%.o=%)
97 .PHONY: all opt byte archclean clean install depend xml
99 .SUFFIXES: .mli .ml .cmo .cmi .cmx .v .vo .vi .g .html .tex .g.tex .g.html
102 $(CAMLC) $(ZDEBUG) $(ZFLAGS) $<
105 $(CAMLC) $(ZDEBUG) $(ZFLAGS) $<
108 $(CAMLOPTC) $(ZDEBUG) $(ZFLAGS) $<
111 $(COQC) $(COQDEBUG) $(COQFLAGS) $*
114 $(COQC) -i $(COQDEBUG) $(COQFLAGS) $*
123 $(COQ2LATEX) $< -latex -o $@
126 $(GALLINA) -stdout $< | $(COQ2HTML) -f > $@
129 $(GALLINA) -stdout $< | $(COQ2LATEX) - -latex -o $@
135 $(MAKE) all "OPT=-opt"
141 $(COQDEP) -i $(COQLIBS) *.v *.ml *.mli >.depend
142 $(COQDEP) $(COQLIBS) -suffix .html *.v >>.depend
145 @if test -z $(TARGETDIR); then echo "You must set TARGETDIR (for instance with 'make TARGETDIR=foobla install')"; exit 1; fi
146 cp -f *.vo $(TARGETDIR)
147 cp -f *.cmo $(TARGETDIR)
150 mv -f Makefile Makefile.bak
151 $(COQBIN)coq_makefile -f Make -o Makefile
154 rm -f *.cmo *.cmi *.cmx *.o *.vo *.vi *~
161 # This Makefile has been automagically generated by coq_makefile
162 # Edit at your own risks !