| Rev | Line | |
|---|
| [1] | 1 | #!/usr/bin/make -if |
|---|
| 2 | # vim:syntax=make |
|---|
| 3 | SELF=MAKELEVEL=0 ./make.devel |
|---|
| 4 | |
|---|
| 5 | # You should copy make.inc from make.inc.default |
|---|
| 6 | include make.inc |
|---|
| 7 | |
|---|
| 8 | all: opcode_spec_def const_string tags |
|---|
| 9 | |
|---|
| 10 | clean: clean_const_string |
|---|
| 11 | rm -f tags opcode_spec_def.h |
|---|
| 12 | |
|---|
| 13 | const_string: |
|---|
| 14 | @-$(SELF) const_string_opcodes_php4.x.h |
|---|
| 15 | @-$(SELF) const_string_opcodes_php5.0.h |
|---|
| 16 | @-$(SELF) const_string_opcodes_php5.1.h |
|---|
| 17 | @-$(SELF) const_string_opcodes_php6.x.h |
|---|
| 18 | |
|---|
| 19 | clean_const_string: |
|---|
| 20 | rm -f const_string_opcodes_php4.x.h const_string_opcodes_php5.0.h const_string_opcodes_php5.1.h const_string_opcodes_php6.x.h |
|---|
| 21 | |
|---|
| 22 | const_string_opcodes_php4.x.h: $(PHP4_x_DIR)/Zend/zend_compile.h |
|---|
| 23 | ./mkopcode.awk < $(PHP4_x_DIR)/Zend/zend_compile.h > const_string_opcodes_php4.x.h |
|---|
| 24 | |
|---|
| 25 | const_string_opcodes_php5.0.h: $(PHP5_0_DIR)/Zend/zend_vm_def.h |
|---|
| 26 | ./mkopcode.awk < $(PHP5_0_DIR)/Zend/zend_vm_def.h > const_string_opcodes_php5.0.h |
|---|
| 27 | |
|---|
| 28 | const_string_opcodes_php5.1.h: $(PHP5_1_DIR)/Zend/zend_vm_def.h |
|---|
| 29 | ./mkopcode.awk < $(PHP5_1_DIR)/Zend/zend_vm_def.h > const_string_opcodes_php5.1.h |
|---|
| 30 | |
|---|
| 31 | const_string_opcodes_php6.x.h: $(PHP6_x_DIR)/Zend/zend_vm_def.h |
|---|
| 32 | ./mkopcode.awk < $(PHP6_x_DIR)/Zend/zend_vm_def.h > const_string_opcodes_php6.x.h |
|---|
| 33 | |
|---|
| 34 | tags: |
|---|
| 35 | test -d $(PHP_DEVEL_DIR) && ctags -R . $(PHP_DEVEL_DIR)/main $(PHP_DEVEL_DIR)/Zend $(PHP_DEVEL_DIR)/TSRM $(PHP_DEVEL_DIR)/ext/standard || ctags -R . |
|---|
| 36 | |
|---|
| 37 | opcode_spec_def: |
|---|
| 38 | @-$(SELF) opcode_spec_def.h |
|---|
| 39 | |
|---|
| 40 | opcode_spec_def.h: $(EA_DIR)/opcodes.c |
|---|
| 41 | ./mkopcode_spec.awk < $(EA_DIR)/opcodes.c > opcode_spec_def.h \ |
|---|
| 42 | |
|---|
| 43 | .PHONY: const_string opcode_spec_def |
|---|
Note: See
TracBrowser
for help on using the repository browser.