summaryrefslogtreecommitdiff
path: root/dev/ocamldebug-coq.template
blob: 5f49561bf6f244470d0293f2178efc0f254e5c9a (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
#!/bin/sh

# wrap around ocamldebug for Coq

export COQTOP=COQTOPDIRECTORY
export COQLIB=COQLIBDIRECTORY
export COQTH=$COQLIB/theories
CAMLBIN=CAMLBINDIRECTORY
CAMLP4LIB=CAMLP4LIBDIRECTORY
OCAMLDEBUG=$CAMLBIN/ocamldebug

exec $OCAMLDEBUG \
	-I $CAMLP4LIB \
	-I $COQTOP \
	-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/contrib/extraction -I $COQTOP/contrib/field \
        -I $COQTOP/contrib/fourier    -I $COQTOP/contrib/firstorder \
        -I $COQTOP/contrib/interface  -I $COQTOP/contrib/cc \
        -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 \
        -I $COQTOP/ide \
	$*