-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathDepends
executable file
·67 lines (49 loc) · 2.86 KB
/
Depends
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
# First stuff that makes the executable
# to add later:
WEIDU_BASE_MODULES := batList batteriesInit myhashtbl hashtblinit \
case_ins stats arch version parsing tph util modder var arch2 xor \
key cbif biff tlk load cre \
ids idsparser idslexer idslexer2 \
bcs bcsparser bcslexer \
dlg dc \
refactorbaf refactorbafparser refactorbaflexer refactordparser refactordlexer \
bafparser baflexer \
myxdiff diff sav mos tp dparser dlexer sql json \
smutil useract lexerint parsetables arraystack objpool glr lrparse \
automate kit tpstate tphelp trealparser tlexer toldparser toldlexer tparser \
parsewrappers mymarshal tppe tpuninstall tppatch tpaction tpwork \
changelog
WEIDU_MODULES = $(WEIDU_BASE_MODULES) myarg autoupdate main
MODULES = $(WEIDU_MODULES) myarg weinstall tolower
SOURCEDIRS := src zlib glob xdiff elkhound batteries-lite hashtbl-4.03.0
MLLS := dlexer.mll idslexer.mll idslexer2.mll bcslexer.mll baflexer.mll tlexer.mll toldlexer.mll refactorbaflexer.mll refactordlexer.mll
MLYS := dparser.mly idsparser.mly bcsparser.mly bafparser.mly toldparser.mly refactorbafparser.mly refactordparser.mly
GRS := trealparserin.gr
src/tph.ml : src/tph/include/* src/tph/define/* scripts/make_tph.ml
$(OCAMLDIR)/ocaml str.cma unix.cma -w p -unsafe-string scripts/make_tph.ml
$(OBJDIR)/trealparser.ml : $(OBJDIR)/trealparserin.ml scripts/make_par.ml scripts/make_compr_parser.ml
$(OCAMLDIR)/ocaml str.cma unix.cma -w p scripts/make_compr_parser.ml $(OBJDIR)/trealparserin.ml $(OBJDIR)/trealparser.ml
$(OBJDIR)/trealparser.mli : $(OBJDIR)/trealparserin.mli
cp $(OBJDIR)/trealparserin.mli $(OBJDIR)/trealparser.mli
src/tlexer.mll : src/tlexer.in src/trealparserin.gr scripts/make_tll.ml
$(OCAMLDIR)/ocaml str.cma unix.cma -w p scripts/make_tll.ml
src/trealparserin.gr : src/trealparserin.in src/aliases.in scripts/make_gr.ml
$(OCAMLDIR)/ocaml str.cma unix.cma -w p scripts/make_gr.ml
src/toldlexer.mll : src/toldlexer.in src/trealparserin.gr scripts/make_old_mll.ml
$(OCAMLDIR)/ocaml str.cma unix.cma -w p scripts/make_old_mll.ml
src/arch.ml : src/$(ARCH_FILE).ml
cp src/$(ARCH_FILE).ml src/arch.ml
src/case_ins.ml : src/$(CASE_FILE).ml
cp src/$(CASE_FILE).ml src/case_ins.ml
src/tparser.ml : src/tparser.in
cp src/tparser.in src/tparser.ml
src/arch2.ml :
echo "let associate_these a = Var.set_string \"WEIDU_ARCH\" \"$(WEIDU_ARCH)\" ; Var.set_string \"WEIDU_OS\" \"$(WEIDU_OS)\"; Var.set_string \"WEIDU_VER\" Version.version" > src/arch2.ml
echo "let _ = associate_these ()" >> src/arch2.ml
$(OBJDIR)/trealparser.cmx : $(OBJDIR)/trealparser.cmi
$(OBJDIR)/tparser.cmx : src/trealparserin.in src/tlexer.in scripts/make_gr.ml src/aliases.in scripts/make_tll.ml $(OBJDIR)/trealparser.cmx
$(OBJDIR)/parsewrapper.cmx : $(OBJDIR)/tparser.cmx
$(OBJDIR)/mymarshal.cmx : $(OBJDIR)/dlexer.cmx
$(OBJDIR)/util.cmx : $(OBJDIR)/arch.cmx
# Include now the common set of rules for OCAML
include Makefile.ocaml