blob: 4f41c54cf134b9bc0eda2a3ad402be599930431f (
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
|
include ../Makefile.config
all: tk.ml .depend
tkgen.ml: ../Widgets.src ../compiler/tkcompiler
cd ..; compiler/tkcompiler
# dependencies are broken: wouldn't work with gmake 3.77
tk.ml .depend: tkgen.ml ../support/report.ml #../builtin/builtin_*.ml
(echo 'open Widget'; \
echo 'open Protocol'; \
echo 'open Support'; \
echo 'open Textvariable'; \
cat ../support/may.ml; \
cat ../support/coerce.ml; \
cat ../support/report.ml; \
cat ../builtin/builtin_*.ml; \
cat tkgen.ml; \
echo ; \
echo ; \
echo 'module Tkintf = struct'; \
cat ../builtin/builtini_*.ml; \
cat tkigen.ml; \
echo 'end (* module Tkintf *)'; \
echo ; \
echo ; \
echo 'open Tkintf' ;\
echo ; \
echo ; \
cat ../builtin/builtinf_*.ml; \
cat tkfgen.ml; \
echo ; \
) > tk.ml
$(LABLDEP) *.mli *.ml > .depend
|