blob: fc0f59c4042aa2621b9bcadc24b3bd2c4477d590 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
#########################################################################
# #
# OCaml #
# #
# Xavier Leroy, projet Cristal, INRIA Rocquencourt #
# #
# Copyright 1999 Institut National de Recherche en Informatique et #
# en Automatique. All rights reserved. This file is distributed #
# under the terms of the Q Public License version 1.0. #
# #
#########################################################################
include Makefile.local
ROOTDIR=..
COMPFLAGS=-warn-error A -safe-string
LINKFLAGS=-linkall
YACCFLAGS=
INSTALL_BINDIR=$(DESTDIR)$(BINDIR)
OTHEROBJS=\
unix.cma \
misc.cmo config.cmo tbl.cmo \
clflags.cmo consistbl.cmo warnings.cmo \
location.cmo longident.cmo \
ast_helper.cmo ast_mapper.cmo \
ident.cmo path.cmo types.cmo \
btype.cmo primitive.cmo typedtree.cmo \
subst.cmo predef.cmo \
datarepr.cmo cmi_format.cmo env.cmo \
oprint.cmo \
ctype.cmo printtyp.cmo mtype.cmo \
envaux.cmo \
runtimedef.cmo bytesections.cmo \
dll.cmo meta.cmo symtable.cmo \
opcodes.cmo \
genprintval.cmo
OBJS=\
int64ops.cmo \
primitives.cmo \
unix_tools.cmo \
debugger_config.cmo \
parameters.cmo \
lexer.cmo \
input_handling.cmo \
question.cmo \
debugcom.cmo \
exec.cmo \
source.cmo \
pos.cmo \
checkpoints.cmo \
events.cmo \
program_loading.cmo \
symbols.cmo \
breakpoints.cmo \
trap_barrier.cmo \
history.cmo \
printval.cmo \
show_source.cmo \
time_travel.cmo \
program_management.cmo \
frames.cmo \
eval.cmo \
show_information.cmo \
loadprinter.cmo \
parser.cmo \
command_line.cmo \
main.cmo
all: ocamldebug$(EXE)
ocamldebug$(EXE): $(OBJS)
$(OCAMLC) $(LINKFLAGS) -o ocamldebug$(EXE) -linkall $(OTHEROBJS) dynlink.cma $(OBJS)
install:
cp ocamldebug$(EXE) $(INSTALL_BINDIR)/ocamldebug$(EXE)
clean::
rm -f ocamldebug$(EXE)
rm -f *.cmo *.cmi
.SUFFIXES:
.SUFFIXES: .ml .cmo .mli .cmi
.ml.cmo:
$(OCAMLC) -c $(COMPFLAGS) $<
.mli.cmi:
$(OCAMLC) -c $(COMPFLAGS) $<
depend: beforedepend
$(OCAMLDEP) $(DEPFLAGS) *.mli *.ml > .depend
lexer.ml: lexer.mll
$(OCAMLLEX) lexer.mll
clean::
rm -f lexer.ml
beforedepend:: lexer.ml
parser.ml parser.mli: parser.mly
$(OCAMLYACC) parser.mly
clean::
rm -f parser.ml parser.mli
beforedepend:: parser.ml parser.mli
include .depend
|