summaryrefslogtreecommitdiff
path: root/dev/ocamldebug-coq.template
blob: 44680d6d6cfe1e8af8c4899ee7cbd27a2392bdf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh

# wrap around ocamldebug for Coq

export COQTOP=COQTOPDIRECTORY
export COQLIB=COQLIBDIRECTORY
export COQTH=$COQLIB/theories
CAMLBIN=CAMLBINDIRECTORY
OCAMLDEBUG=$CAMLBIN/ocamldebug
export CAMLP4LIB=`$CAMLBIN/camlp4 -where`

exec $OCAMLDEBUG \
	-I $CAMLP4LIB \
	-I $COQTOP/config \
	-I $COQTOP/lib -I $COQTOP/kernel \
	-I $COQTOP/library -I $COQTOP/pretyping -I $COQTOP/parsing \
        -I $COQTOP/interp -I $COQTOP/proofs -I $COQTOP/tactics \
	-I $COQTOP/toplevel -I $COQTOP/dev -I $COQTOP/config \
	-I $COQTOP/translate \
        -I $COQTOP/contrib/extraction -I $COQTOP/contrib/field \
        -I $COQTOP/contrib/fourier    -I $COQTOP/contrib/first-order \
        -I $COQTOP/contrib/interface  -I $COQTOP/contrib/jprover \
        -I $COQTOP/contrib/omega      -I $COQTOP/contrib/romega \
        -I $COQTOP/contrib/ring       -I $COQTOP/contrib/xml \
	-I $COQTOP/contrib/subtac     -I $COQTOP/contrib/funind \
        -I $COQTOP/contrib/rtauto     -I $COQTOP/contrib/setoid_ring \
        -I $COQTOP/contrib/recdef     -I $COQTOP/contrib/dp \
	$*