@@ -44,6 +44,9 @@ js_fold.ml:js_fold.mlp j.ml
44
44
./bin/bsppx.exe : ./bin/config_bsppx.mli ./bin/config_bsppx.ml ./bin/bsppx.mli ./bin/bsppx.ml
45
45
$(NATIVE ) -g -inline 1000 -linkall -w -a -I bin $^ -o $@
46
46
47
+ ./bin/bspp.exe : ./bin/config_bspp.mli ./bin/config_bspp.ml ./bin/bspp.mli ./bin/bspp.ml
48
+ $(NATIVE ) -g -inline 1000 -linkall -w -a -I bin $^ -o $@
49
+
47
50
./bin/bsdep.exe : ./bin/config_bsdep.mli ./bin/config_bsdep.ml ./bin/bsdep.mli ./bin/bsdep.ml
48
51
$(NATIVE ) -g -inline 1000 -linkall -w -a -I bin $^ -o $@
49
52
@@ -56,6 +59,7 @@ snapshotml:./bin/bspack.exe ./bin/compiler.mllib
56
59
$< -bs-log-mllib bin/bsppx.mllib -prelude-str ' module Config = Config_bsppx' -bs-exclude-I config -I ../ocaml/utils/ -I ../ocaml/parsing/ -I common -I ext -I syntax -bs-main bsppx_main.ml -o bin/bsppx.ml
57
60
$< -bs-log-mllib bin/whole_compiler.mllib -prelude-str ' module Config = Config_whole_compiler' -bs-exclude-I config -o bin/whole_compiler.ml -bs-main js_main.ml -I ../ocaml/utils/ -I ../ocaml/parsing/ -I ../ocaml/typing/ -I ../ocaml/bytecomp/ -I ../ocaml/driver/ -I ext -I syntax -I depends -I common
58
61
$< -bs-log-mllib bin/bsdep.mllib -prelude-str ' module Config = Config_bsdep' -bs-exclude-I config -I ../ocaml/utils/ -I ../ocaml/parsing/ -I ../ocaml/driver -I common -I ext -I syntax -I depends -bs-main bsdep_main.ml -o bin/bsdep.ml
62
+ $< -bs-log-mllib bin/bspp.mllib -prelude-str ' module Config = Config_bspp' -bs-exclude-I config -I ../ocaml/utils/ -I ../ocaml/parsing/ -I common -I ext -I syntax -I depends -bs-main bspp_main.ml -o bin/bspp.ml
59
63
60
64
snapshotcmj :
61
65
@echo " Collecting cmj files"
@@ -97,12 +101,13 @@ libs:
97
101
cd others && $(MAKE) all
98
102
@echo "Making others finished"
99
103
100
- releasebuild :./bin/bspack.exe
104
+ releasebuild :
101
105
@echo " Make release compiler"
102
106
$(NATIVE ) -g -inline 1000 -linkall -w -a -I +compiler-libs -I bin ocamlcommon.cmxa bin/compiler.mli bin/compiler.ml -o bin/bsc.exe
103
107
@echo " Make release ppx"
104
108
$(NATIVE ) -g -inline 1000 -linkall -w -a -I bin bin/config_bsppx.mli bin/config_bsppx.ml bin/bsppx.mli bin/bsppx.ml -o bin/bsppx.exe
105
109
$(NATIVE ) -g -inline 1000 -linkall -w -a -I bin bin/config_bsdep.mli bin/config_bsdep.ml bin/bsdep.mli bin/bsdep.ml -o bin/bsdep.exe
110
+ $(NATIVE ) -g -inline 1000 -linkall -w -a -I bin bin/config_bspp.mli bin/config_bspp.ml bin/bspp.mli bin/bspp.ml -o bin/bspp.exe
106
111
107
112
release :snapshot
108
113
$(MAKE ) releasebuild
@@ -119,6 +124,7 @@ dist-world:
119
124
$(MAKE ) bin/bspack.exe
120
125
$(MAKE ) bin/bsppx.exe
121
126
$(MAKE ) bin/bsdep.exe
127
+ $(MAKE ) bin/bspp.exe
122
128
$(MAKE ) libs
123
129
124
130
@@ -138,7 +144,7 @@ DEST_BIN=../bin
138
144
install :
139
145
@echo " copy exe"
140
146
mkdir -p $(DEST_BIN ) $(DEST )
141
- cp ./bin/bsc.exe ./bin/bsppx.exe ./bin/bspack.exe ./bin/bsdep.exe $(DEST_BIN )
147
+ cp ./bin/bsc.exe ./bin/bsppx.exe ./bin/bspack.exe ./bin/bsdep.exe ./bin/bsdep.exe $(DEST_BIN )
142
148
@echo " copy stdlib"
143
149
cp ./runtime/* .cmt* ./runtime/* .cmj* ./stdlib/* .cm* ./others/* .ml ./others/* .mli ./others/* .cm* \
144
150
./runtime/js.ml ./runtime/js.cmi ./runtime/js_unsafe.cmi ./runtime/js_null.ml ./runtime/js_null.cmi \
0 commit comments