@@ -13,186 +13,186 @@ set subdir = "${test_source_directory}/sub"
1313
1414** native-dynlink
1515libraries = "" (* We will add them manually where appropriated *)
16- *** setup-ocamlopt.byte -build-env
16+ *** setup-ocamlopt.opt -build-env
1717ocamlopt_default_flags = "" (* Removes the -ccopt -no-pie on ised on OpenBSD *)
1818**** script
1919script = "mkdir sub"
2020***** script
2121script = "cp ${subdir}/api.mli ${subdir}/api.ml ${subdir}/plugin3.ml \
2222 ${subdir}/plugin.ml sub"
23- ****** ocamlopt.byte
23+ ****** ocamlopt.opt
2424module = "api.ml"
25- ******* ocamlopt.byte
25+ ******* ocamlopt.opt
2626flags = "-opaque"
2727module = "plugin.mli"
28- ******** ocamlopt.byte
28+ ******** ocamlopt.opt
2929flags = ""
3030module = "plugin.ml"
31- ********* ocamlopt.byte
31+ ********* ocamlopt.opt
3232module= ""
3333flags = "-shared"
3434program = "plugin.so"
3535all_modules = "plugin.cmx"
3636********** script
3737script = "mv plugin.cmx plugin.cmx.bak"
38- *********** ocamlopt.byte
38+ *********** ocamlopt.opt
3939flags = ""
4040module = "plugin2.ml"
4141************ script
4242script = "mv plugin.cmx.bak plugin.cmx"
43- ************* ocamlopt.byte
43+ ************* ocamlopt.opt
4444module= ""
4545flags = "-shared"
4646program = "plugin2.so"
4747all_modules = "plugin2.cmx"
48- ************** ocamlopt.byte
48+ ************** ocamlopt.opt
4949flags = ""
5050module = "sub/plugin.ml"
51- *************** ocamlopt.byte
51+ *************** ocamlopt.opt
5252module = ""
5353flags = "-shared"
5454program = "sub/plugin.so"
5555all_modules = "sub/plugin.cmx"
5656**************** cd
5757cwd = "sub"
58- ***************** ocamlopt.byte
58+ ***************** ocamlopt.opt
5959module = "api.mli"
6060flags = "-opaque"
61- ****************** ocamlopt.byte
61+ ****************** ocamlopt.opt
6262flags = ""
6363module = "api.ml"
6464******************* script
6565script = "mv api.cmx api.cmx.bak"
66- ******************** ocamlopt.byte
66+ ******************** ocamlopt.opt
6767module = "plugin3.ml"
6868********************* script
6969script = "mv api.cmx.bak api.cmx"
7070********************** cd
7171cwd = ".."
72- *********************** ocamlopt.byte
72+ *********************** ocamlopt.opt
7373module = ""
7474flags = "-shared"
7575program = "sub/plugin3.so"
7676all_modules = "sub/plugin3.cmx"
77- ************************ ocamlopt.byte
77+ ************************ ocamlopt.opt
7878flags = ""
7979module = "plugin4.ml"
80- ************************* ocamlopt.byte
80+ ************************* ocamlopt.opt
8181module = ""
8282flags = "-shared"
8383program = "plugin4.so"
8484all_modules = "plugin4.cmx"
85- ************************** ocamlopt.byte
85+ ************************** ocamlopt.opt
8686module = "packed1.ml"
8787flags = "-for-pack Mypack"
88- *************************** ocamlopt.byte
88+ *************************** ocamlopt.opt
8989flags = "-S -pack"
9090module = ""
9191program = "mypack.cmx"
9292all_modules = "packed1.cmx"
93- **************************** ocamlopt.byte
93+ **************************** ocamlopt.opt
9494program = "mypack.so"
9595flags = "-shared"
9696all_modules = "mypack.cmx"
97- ***************************** ocamlopt.byte
97+ ***************************** ocamlopt.opt
9898program = "packed1.so"
9999flags = "-shared"
100100all_modules = "packed1.cmx"
101- ****************************** ocamlopt.byte
101+ ****************************** ocamlopt.opt
102102flags = ""
103103module = "packed1_client.ml"
104- ******************************* ocamlopt.byte
104+ ******************************* ocamlopt.opt
105105module = ""
106106program = "packed1_client.so"
107107flags = "-shared"
108108all_modules = "packed1_client.cmx"
109- ******************************** ocamlopt.byte
109+ ******************************** ocamlopt.opt
110110flags = ""
111111module = "pack_client.ml"
112- ********************************* ocamlopt.byte
112+ ********************************* ocamlopt.opt
113113module = ""
114114program = "pack_client.so"
115115flags = "-shared"
116116all_modules = "pack_client.cmx"
117- ********************************** ocamlopt.byte
117+ ********************************** ocamlopt.opt
118118flags = ""
119119module = "plugin_ref.ml"
120- *********************************** ocamlopt.byte
120+ *********************************** ocamlopt.opt
121121module = ""
122122program = "plugin_ref.so"
123123flags = "-shared"
124124all_modules = "plugin_ref.cmx"
125- ************************************ ocamlopt.byte
125+ ************************************ ocamlopt.opt
126126flags = ""
127127module = "plugin_high_arity.ml"
128- ************************************* ocamlopt.byte
128+ ************************************* ocamlopt.opt
129129module = ""
130130program = "plugin_high_arity.so"
131131flags = "-shared"
132132all_modules = "plugin_high_arity.cmx"
133- ************************************** ocamlopt.byte
133+ ************************************** ocamlopt.opt
134134flags = "-ccopt ${shared_library_cflags}"
135135module = "factorial.c"
136- *************************************** ocamlopt.byte
136+ *************************************** ocamlopt.opt
137137flags = ""
138138module = "plugin_ext.ml"
139- **************************************** ocamlopt.byte
139+ **************************************** ocamlopt.opt
140140module = ""
141141program = "plugin_ext.so"
142142flags = "-shared"
143143all_modules = "factorial.${objext} plugin_ext.cmx"
144- ***************************************** ocamlopt.byte
144+ ***************************************** ocamlopt.opt
145145module = "plugin_simple.ml"
146146flags = ""
147- ****************************************** ocamlopt.byte
147+ ****************************************** ocamlopt.opt
148148module = ""
149149program = "plugin_simple.so"
150150flags = "-shared"
151151all_modules = "plugin_simple.cmx"
152- ****************************************** ocamlopt.byte
152+ ****************************************** ocamlopt.opt
153153module = "bug.ml"
154154flags = ""
155- ******************************************* ocamlopt.byte
155+ ******************************************* ocamlopt.opt
156156module = ""
157157program = "bug.so"
158158flags = "-shared"
159159all_modules = "bug.cmx"
160- ******************************************* ocamlopt.byte
160+ ******************************************* ocamlopt.opt
161161module = "plugin_thread.ml"
162162flags = ""
163- ******************************************** ocamlopt.byte
163+ ******************************************** ocamlopt.opt
164164module = ""
165165program = "plugin_thread.so"
166166flags = "-shared"
167167all_modules = "plugin_thread.cmx"
168- ********************************************* ocamlopt.byte
168+ ********************************************* ocamlopt.opt
169169program = "plugin4_unix.so"
170170all_modules = "unix.cmxa plugin4.cmx"
171- ********************************************** ocamlopt.byte
171+ ********************************************** ocamlopt.opt
172172flags = ""
173173compile_only = "true"
174174all_modules = "a.ml b.ml c.ml main.ml"
175- *********************************************** ocamlopt.byte
175+ *********************************************** ocamlopt.opt
176176module = ""
177177compile_only = "false"
178178flags = "-shared"
179179program = "a.so"
180180all_modules = "a.cmx"
181- ************************************************ ocamlopt.byte
181+ ************************************************ ocamlopt.opt
182182program = "b.so"
183183all_modules = "b.cmx"
184- ************************************************* ocamlopt.byte
184+ ************************************************* ocamlopt.opt
185185program = "c.so"
186186all_modules = "c.cmx"
187- ************************************************** ocamlopt.byte
187+ ************************************************** ocamlopt.opt
188188program = "mylib.cmxa"
189189flags = "-a"
190190all_modules = "plugin.cmx plugin2.cmx"
191- *************************************************** ocamlopt.byte
191+ *************************************************** ocamlopt.opt
192192program = "mylib.so"
193193flags = "-shared -linkall"
194194all_modules = "mylib.cmxa"
195- **************************************************** ocamlopt.byte
195+ **************************************************** ocamlopt.opt
196196program = "${test_build_directory}/main.exe"
197197libraries = "unix threads dynlink"
198198flags = "-linkall"
0 commit comments