summaryrefslogtreecommitdiff
path: root/dev/ocamldebug-coq.template
blob: 2d1c62892ebf7b76225b429a206c210d85524a78 (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
29
30
31
32
#!/bin/sh

# wrap around ocamldebug for Coq

export COQTOP=COQTOPDIRECTORY
export COQLIB=COQLIBDIRECTORY
export COQTH=$COQLIB/theories
CAMLBIN=CAMLBINDIRECTORY
OCAMLDEBUG=$CAMLBIN/ocamldebug
if [ -x "$CAMLBIN/camlp5" ]; then 
  export CAMLP4LIB=`$CAMLBIN/camlp5 -where`
else
  export CAMLP4LIB=`$CAMLBIN/camlp4 -where`
fi

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 \
	$*