xref: /PHP-8.2/ext/opcache/jit/Makefile.frag.w32 (revision be275433)
1$(BUILD_DIR)\\minilua.exe: ext\opcache\jit\ir\dynasm\minilua.c
2	@if exist $(BUILD_DIR)\\minilua.exe del $(BUILD_DIR)\\minilua.exe
3	$(PHP_CL) /Fo$(BUILD_DIR)\ /Fd$(BUILD_DIR)\ /Fp$(BUILD_DIR)\ /FR$(BUILD_DIR) /Fe$(BUILD_DIR)\minilua.exe ext\opcache\jit\ir\dynasm\minilua.c
4
5ext\opcache\jit\ir\ir_emit_x86.h: ext\opcache\jit\ir\ir_x86.dasc $(BUILD_DIR)\\minilua.exe
6	@if exist ext\opcache\jit\ir\ir_emit_x86.h del ext\opcache\jit\ir\ir_emit_x86.h
7	$(BUILD_DIR)\\minilua.exe ext/opcache/jit/ir/dynasm/dynasm.lua $(DASM_FLAGS) -o $@ ext/opcache/jit/ir/ir_x86.dasc
8
9$(BUILD_DIR)\\gen_ir_fold_hash.exe: ext\opcache\jit\ir\gen_ir_fold_hash.c ext\opcache\jit\ir\ir_strtab.c
10	@if exist $(BUILD_DIR)\\gen_ir_fold_hash.exe del $(BUILD_DIR)\\gen_ir_fold_hash.exe
11	$(PHP_CL) /D $(IR_TARGET) /Fo$(BUILD_DIR)\ /Fd$(BUILD_DIR)\ /Fp$(BUILD_DIR)\ /Fe$(BUILD_DIR)\\gen_ir_fold_hash.exe ext\opcache\jit\ir\gen_ir_fold_hash.c
12
13ext\opcache\jit\ir\ir_fold_hash.h: $(BUILD_DIR)\\gen_ir_fold_hash.exe ext\opcache\jit\ir\ir_fold.h ext\opcache\jit\ir\ir.h
14	@if exist ext\opcache\jit\ir\ir_fold_hash.h del ext\opcache\jit\ir\ir_fold_hash.h
15	$(BUILD_DIR)\\gen_ir_fold_hash.exe < ext\opcache\jit\ir\ir_fold.h > ext\opcache\jit\ir\ir_fold_hash.h
16
17$(BUILD_DIR)\ext\opcache\jit\ir\ir_ra.obj: \
18	ext\opcache\jit\ir\ir.h \
19	ext\opcache\jit\ir\ir_private.h \
20	ext\opcache\jit\ir\ir_x86.h
21
22$(BUILD_DIR)\ext\opcache\jit\ir\ir_emit.obj: \
23	ext\opcache\jit\ir\ir.h \
24	ext\opcache\jit\ir\ir_private.h \
25	ext\opcache\jit\ir\ir_x86.h \
26	ext\opcache\jit\ir\ir_emit_x86.h
27
28$(BUILD_DIR)\ext\opcache\jit\ir\ir.obj: \
29	ext\opcache\jit\ir\ir.h \
30	ext\opcache\jit\ir\ir_private.h \
31	ext\opcache\jit\ir\ir_fold.h \
32	ext\opcache\jit\ir\ir_fold_hash.h
33
34$(BUILD_DIR)\ext\opcache\jit\zend_jit.obj: \
35	ext\opcache\jit\zend_jit_ir.c \
36	ext\opcache\jit\zend_jit_helpers.c \
37	ext\opcache\jit\ir\ir.h \
38	ext\opcache\jit\ir\ir_builder.h
39