]> matita.cs.unibo.it Git - helm.git/commitdiff
more static libs for matitaprover
authorEnrico Tassi <enrico.tassi@inria.fr>
Sun, 23 Jul 2006 09:06:33 +0000 (09:06 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Sun, 23 Jul 2006 09:06:33 +0000 (09:06 +0000)
matita/Makefile

index 46ad75c29d602211385858475d789c5101f1e62d..9043c9ff83cd00e5e33765cbbf26beb4a5fc8de3 100644 (file)
@@ -298,6 +298,14 @@ STATIC_CLIBS = \
        gdome \
        mysqlclient \
        $(NULL)
+STATIC_CLIBS_PROVER = \
+        $(STATIC_CLIBS) \
+       z \
+       pcre \
+       expat \
+       xml2 \
+       glib-2.0 \
+       $(NULL)
 STATIC_EXTRA_CLIBS =
 PROGRAMS_STATIC = $(patsubst %,%.static,$(PROGRAMS_OPT))
 PROGRAMS_UPX = $(patsubst %,%.upx,$(PROGRAMS_STATIC))
@@ -329,10 +337,13 @@ matitac.opt.static: $(STATIC_LINK) $(CLIBX_DEPS) $(CCMXS) $(MAINCMXS) matitac.ml
                $(OCAMLOPT) $(CPKGS) -linkpkg -o $@ $(CCMXS) $(MAINCMXS) matitac.ml \
                $(STATIC_EXTRA_CLIBS)
        strip $@
+matitaprover.opt.static: $(STATIC_LINK) $(CLIBX_DEPS) $(CCMXS) $(MAINCMXS) matitac.ml
+       $(STATIC_LINK) $(STATIC_CLIBS_PROVER) -- \
+               $(OCAMLOPT) $(CPKGS) -linkpkg -o $@ $(CCMXS) $(MAINCMXS) matitac.ml \
+               $(STATIC_EXTRA_CLIBS);
+       strip $@
 matitadep.opt.static: matitac.opt.static
        $(H)test -f $@ || ln -s $< $@
-matitaprover.opt.static: matitac.opt.static
-       $(H)test -f $@ || ln -s $< $@
 matitaclean.opt.static: matitac.opt.static
        $(H)test -f $@ || ln -s $< $@
 matitamake.opt.static: matitac.opt.static