1: cli: $(SAPI_CLI_PATH)
2:
3: $(SAPI_CLI_PATH): $(PHP_GLOBAL_OBJS) $(PHP_BINARY_OBJS) $(PHP_CLI_OBJS)
4: $(BUILD_CLI)
5:
6: install-cli: $(SAPI_CLI_PATH)
7: @echo "Installing PHP CLI binary: $(INSTALL_ROOT)$(bindir)/"
8: @$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
9: @$(INSTALL) -m 0755 $(SAPI_CLI_PATH) $(INSTALL_ROOT)$(bindir)/$(program_prefix)php$(program_suffix)$(EXEEXT)
10: @echo "Installing PHP CLI man page: $(INSTALL_ROOT)$(mandir)/man1/"
11: @$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
12: @$(INSTALL_DATA) sapi/cli/php.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)php$(program_suffix).1
13:
14: cgi: $(SAPI_CGI_PATH)
15:
16: $(SAPI_CGI_PATH): $(PHP_GLOBAL_OBJS) $(PHP_BINARY_OBJS) $(PHP_CGI_OBJS)
17: $(BUILD_CGI)
18:
19: install-cgi: $(SAPI_CGI_PATH)
20: @echo "Installing PHP CGI binary: $(INSTALL_ROOT)$(bindir)/"
21: @$(INSTALL) -m 0755 $(SAPI_CGI_PATH) $(INSTALL_ROOT)$(bindir)/$(program_prefix)php-cgi$(program_suffix)$(EXEEXT)
22:
23:
24: /usr/ports/lang/php5/work/php-5.4.3/ext/standard/var_unserializer.c: /usr/ports/lang/php5/work/php-5.4.3/ext/standard/var_unserializer.re
25: @(cd $(top_srcdir); $(RE2C) -b -o ext/standard/var_unserializer.c ext/standard/var_unserializer.re)
26:
27: /usr/ports/lang/php5/work/php-5.4.3/ext/standard/url_scanner_ex.c: /usr/ports/lang/php5/work/php-5.4.3/ext/standard/url_scanner_ex.re
28: @(cd $(top_srcdir); $(RE2C) -b -o ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re)
29:
30: ext/standard/info.lo: ext/standard/../../main/build-defs.h
31:
32: ext/standard/basic_functions.lo: $(top_srcdir)/Zend/zend_language_parser.h
33:
34: #
35: # Build environment install
36: #
37:
38: phpincludedir = $(includedir)/php
39: phpbuilddir = $(libdir)/build
40:
41: BUILD_FILES = \
42: scripts/phpize.m4 \
43: build/mkdep.awk \
44: build/scan_makefile_in.awk \
45: build/libtool.m4 \
46: Makefile.global \
47: acinclude.m4 \
48: ltmain.sh \
49: run-tests.php
50:
51: BUILD_FILES_EXEC = \
52: build/shtool \
53: config.guess \
54: config.sub
55:
56: bin_SCRIPTS = phpize php-config
57: man_PAGES = phpize php-config
58:
59: install-build:
60: @echo "Installing build environment: $(INSTALL_ROOT)$(phpbuilddir)/"
61: @$(mkinstalldirs) $(INSTALL_ROOT)$(phpbuilddir) $(INSTALL_ROOT)$(bindir) && \
62: (cd $(top_srcdir) && \
63: $(INSTALL) $(BUILD_FILES_EXEC) $(INSTALL_ROOT)$(phpbuilddir) && \
64: $(INSTALL_DATA) $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir))
65:
66: install-programs: scripts/phpize scripts/php-config
67: @echo "Installing helper programs: $(INSTALL_ROOT)$(bindir)/"
68: @$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
69: @for prog in $(bin_SCRIPTS); do \
70: echo " program: $(program_prefix)$${prog}$(program_suffix)"; \
71: $(INSTALL) -m 755 scripts/$${prog} $(INSTALL_ROOT)$(bindir)/$(program_prefix)$${prog}$(program_suffix); \
72: done
73: @echo "Installing man pages: $(INSTALL_ROOT)$(mandir)/man1/"
74: @$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
75: @for page in $(man_PAGES); do \
76: echo " page: $(program_prefix)$${page}$(program_suffix).1"; \
77: $(INSTALL_DATA) scripts/man1/$${page}.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)$${page}$(program_suffix).1; \
78: done
79:
80: scripts/phpize: /usr/ports/lang/php5/work/php-5.4.3/scripts/phpize.in $(top_builddir)/config.status
81: (CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status)
82:
83: scripts/php-config: /usr/ports/lang/php5/work/php-5.4.3/scripts/php-config.in $(top_builddir)/config.status
84: (CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status)
85:
86: #
87: # Zend
88: #
89:
90: Zend/zend_language_scanner.lo: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_language_parser.h
91: Zend/zend_ini_scanner.lo: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_ini_parser.h
92:
93: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_language_scanner.c: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_language_scanner.l
94: @(cd $(top_srcdir); $(RE2C) $(RE2C_FLAGS) --case-inverted -cbdFt Zend/zend_language_scanner_defs.h -oZend/zend_language_scanner.c Zend/zend_language_scanner.l)
95:
96: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_language_parser.h: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_language_parser.c
97: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_language_parser.c: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_language_parser.y
98: @$(YACC) -p zend -v -d /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_language_parser.y -o $@
99:
100: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_ini_parser.h: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_ini_parser.c
101: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_ini_parser.c: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_ini_parser.y
102: @$(YACC) -p ini_ -v -d /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_ini_parser.y -o $@
103:
104: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_ini_scanner.c: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_ini_scanner.l
105: @(cd $(top_srcdir); $(RE2C) $(RE2C_FLAGS) --case-inverted -cbdFt Zend/zend_ini_scanner_defs.h -oZend/zend_ini_scanner.c Zend/zend_ini_scanner.l)
106:
107: Zend/zend_indent.lo Zend/zend_highlight.lo Zend/zend_compile.lo: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_language_parser.h
108: Zend/zend_execute.lo: /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_vm_execute.h /usr/ports/lang/php5/work/php-5.4.3/Zend/zend_vm_opcodes.h
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>