Changeset 982 for trunk/devel/prepare.devel
- Timestamp:
- 07/17/2012 10:35:45 AM (10 months ago)
- Location:
- trunk/devel
- Files:
-
- 1 added
- 1 moved
-
. (added)
-
prepare.devel (moved) (moved from trunk/prepare.devel) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/devel/prepare.devel
r821 r982 13 13 14 14 make_all() { 15 make_ opcode_spec_def.h16 make_ const_string15 make_xc_opcode_spec_def.h 16 make_xc_const_string 17 17 test -e tags && echo tags exists, skipping. use \""$0" tags\" to rebuild || make_tags 18 18 } 19 19 20 20 make_clean() { 21 make_clean_ const_string22 echo "*" rm -f tags opcode_spec_def.h23 rm -f tags opcode_spec_def.h21 make_clean_xc_const_string 22 echo "*" rm -f tags xc_opcode_spec_def.h 23 rm -f tags xc_opcode_spec_def.h 24 24 } 25 25 26 make_ const_string() {27 make_ const_string_opcodes_php4.x.h28 make_ const_string_opcodes_php5.0.h29 make_ const_string_opcodes_php5.1.h30 make_ const_string_opcodes_php5.4.h31 make_ const_string_opcodes_php6.x.h26 make_xc_const_string() { 27 make_xc_const_string_opcodes_php4.x.h 28 make_xc_const_string_opcodes_php5.0.h 29 make_xc_const_string_opcodes_php5.1.h 30 make_xc_const_string_opcodes_php5.4.h 31 make_xc_const_string_opcodes_php6.x.h 32 32 } 33 33 34 make_clean_ const_string() {35 echo "*" rm -f const_string_opcodes_php*.h{,.tmp}36 rm -f const_string_opcodes_php*.h34 make_clean_xc_const_string() { 35 echo "*" rm -f main/xc_const_string_opcodes_php*.h{,.tmp} 36 rm -f main/xc_const_string_opcodes_php*.h 37 37 } 38 38 39 make_ const_string_opcodes_php4.x.h() {40 precheck const_string_opcodes_php4.x.h "${PHP4_x_DIR}/Zend/zend_compile.h" && "$AWK" -f ./mkopcode.awk < "$I" > "$O.tmp" && mv "$O.tmp" "$O"39 make_xc_const_string_opcodes_php4.x.h() { 40 precheck main/xc_const_string_opcodes_php4.x.h "${PHP4_x_DIR}/Zend/zend_compile.h" && "$AWK" -f ./devel/gen_const_string_opcodes.awk < "$I" > "$O.tmp" && mv "$O.tmp" "$O" 41 41 } 42 42 43 make_ const_string_opcodes_php5.0.h() {44 precheck const_string_opcodes_php5.0.h "${PHP5_0_DIR}/Zend/zend_compile.h" && "$AWK" -f ./mkopcode.awk < "$I" > "$O.tmp" && mv "$O.tmp" "$O"43 make_xc_const_string_opcodes_php5.0.h() { 44 precheck main/xc_const_string_opcodes_php5.0.h "${PHP5_0_DIR}/Zend/zend_compile.h" && "$AWK" -f ./devel/gen_const_string_opcodes.awk < "$I" > "$O.tmp" && mv "$O.tmp" "$O" 45 45 } 46 46 47 make_ const_string_opcodes_php5.1.h() {48 precheck const_string_opcodes_php5.1.h "${PHP5_1_DIR}/Zend/zend_vm_def.h" && "$AWK" -f ./mkopcode.awk < "$I" > "$O.tmp" && mv "$O.tmp" "$O"47 make_xc_const_string_opcodes_php5.1.h() { 48 precheck main/xc_const_string_opcodes_php5.1.h "${PHP5_1_DIR}/Zend/zend_vm_def.h" && "$AWK" -f ./devel/gen_const_string_opcodes.awk < "$I" > "$O.tmp" && mv "$O.tmp" "$O" 49 49 } 50 50 51 make_ const_string_opcodes_php5.4.h() {52 precheck const_string_opcodes_php5.4.h "${PHP5_4_DIR}/Zend/zend_vm_def.h" && "$AWK" -f ./mkopcode.awk < "$I" > "$O.tmp" && mv "$O.tmp" "$O"51 make_xc_const_string_opcodes_php5.4.h() { 52 precheck main/xc_const_string_opcodes_php5.4.h "${PHP5_4_DIR}/Zend/zend_vm_def.h" && "$AWK" -f ./devel/gen_const_string_opcodes.awk < "$I" > "$O.tmp" && mv "$O.tmp" "$O" 53 53 } 54 54 55 make_ const_string_opcodes_php6.x.h() {56 precheck const_string_opcodes_php6.x.h "${PHP6_x_DIR}/Zend/zend_vm_def.h" && "$AWK" -f ./mkopcode.awk < "$I" > "$O.tmp" && mv "$O.tmp" "$O"55 make_xc_const_string_opcodes_php6.x.h() { 56 precheck main/xc_const_string_opcodes_php6.x.h "${PHP6_x_DIR}/Zend/zend_vm_def.h" && "$AWK" -f ./devel/gen_const_string_opcodes.awk < "$I" > "$O.tmp" && mv "$O.tmp" "$O" 57 57 } 58 58 59 make_ opcode_spec_def.h() {60 precheck "opcode_spec_def.h" "${EA_DIR}/opcodes.c" && "$AWK" -f ./mkopcode_spec.awk < "$I" > "$O"59 make_xc_opcode_spec_def.h() { 60 precheck main/xc_opcode_spec_def.h "${EA_DIR}/opcodes.c" && "$AWK" -f ./devel/gen_xc_opcode_spec.awk < "$I" > "$O" 61 61 } 62 62

