cli: $(SAPI_CLI_PATH) $(SAPI_CLI_PATH): $(PHP_GLOBAL_OBJS) $(PHP_CLI_OBJS) $(BUILD_CLI) install-cli: $(SAPI_CLI_PATH) @echo "Installing PHP CLI binary: $(INSTALL_ROOT)$(bindir)/" @$(INSTALL_CLI) @echo "Installing PHP CLI man page: $(INSTALL_ROOT)$(mandir)/man1/" @$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1 @$(INSTALL_DATA) sapi/cli/php.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)php$(program_suffix).1 phpincludedir=$(prefix)/include/php PDO_HEADER_FILES= \ php_pdo.h \ php_pdo_driver.h install-pdo-headers: @echo "Installing PDO headers: $(INSTALL_ROOT)$(phpincludedir)/ext/pdo/" @$(mkinstalldirs) $(INSTALL_ROOT)$(phpincludedir)/ext/pdo @for f in $(PDO_HEADER_FILES); do \ if test -f "$(top_srcdir)/$$f"; then \ $(INSTALL_DATA) $(top_srcdir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \ elif test -f "$(top_builddir)/$$f"; then \ $(INSTALL_DATA) $(top_builddir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \ elif test -f "$(top_srcdir)/ext/pdo/$$f"; then \ $(INSTALL_DATA) $(top_srcdir)/ext/pdo/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \ elif test -f "$(top_builddir)/ext/pdo/$$f"; then \ $(INSTALL_DATA) $(top_builddir)/ext/pdo/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \ else \ echo "hmmm"; \ fi \ done; # mini hack install: $(all_targets) $(install_targets) install-pdo-headers /warez/unix/PHP/php-5.2.0/ext/sqlite/libsqlite/src/parse.c: /warez/unix/PHP/php-5.2.0/ext/sqlite/libsqlite/src/parse.y @$(LEMON) /warez/unix/PHP/php-5.2.0/ext/sqlite/libsqlite/src/parse.y /warez/unix/PHP/php-5.2.0/ext/standard/var_unserializer.c: /warez/unix/PHP/php-5.2.0/ext/standard/var_unserializer.re @(cd $(top_srcdir); $(RE2C) -b -o ext/standard/var_unserializer.c ext/standard/var_unserializer.re) /warez/unix/PHP/php-5.2.0/ext/standard/url_scanner_ex.c: /warez/unix/PHP/php-5.2.0/ext/standard/url_scanner_ex.re @(cd $(top_srcdir); $(RE2C) -b -o ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re) ext/standard/info.lo: ext/standard/../../main/build-defs.h ext/standard/basic_functions.lo: Zend/zend_language_parser.h Zend/zend_language_parser.h: ext/tokenizer/tokenizer.lo: Zend/zend_language_parser.h # -*- makefile -*- peardir=$(PEAR_INSTALLDIR) # Skip all php.ini files altogether PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0 install-pear-installer: $(SAPI_CLI_PATH) @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) pear/install-pear-nozlib.phar -d "$(peardir)" -b "$(bindir)" install-pear: @echo "Installing PEAR environment: $(INSTALL_ROOT)$(peardir)/" @if test ! -f pear/install-pear-nozlib.phar; then \ if test -f /warez/unix/PHP/php-5.2.0/pear/install-pear-nozlib.phar; then \ cp /warez/unix/PHP/php-5.2.0/pear/install-pear-nozlib.phar pear/install-pear-nozlib.phar; \ else \ wget http://pear.php.net/install-pear-nozlib.phar -nd -P pear/; \ fi \ fi @if test -f pear/install-pear-nozlib.phar && $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \ $(MAKE) -s install-pear-installer; \ else \ cat /warez/unix/PHP/php-5.2.0/pear/install-pear.txt; \ fi # # Build environment install # phpincludedir = $(includedir)/php phpbuilddir = $(libdir)/build BUILD_FILES = \ scripts/phpize.m4 \ build/mkdep.awk \ build/scan_makefile_in.awk \ build/libtool.m4 \ Makefile.global \ acinclude.m4 \ ltmain.sh \ run-tests.php BUILD_FILES_EXEC = \ build/shtool \ config.guess \ config.sub bin_SCRIPTS = phpize php-config man_PAGES = phpize php-config install-build: @echo "Installing build environment: $(INSTALL_ROOT)$(phpbuilddir)/" @$(mkinstalldirs) $(INSTALL_ROOT)$(phpbuilddir) $(INSTALL_ROOT)$(bindir) && \ (cd $(top_srcdir) && \ $(INSTALL) $(BUILD_FILES_EXEC) $(INSTALL_ROOT)$(phpbuilddir) && \ $(INSTALL_DATA) $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir)) install-programs: scripts/phpize scripts/php-config @echo "Installing helper programs: $(INSTALL_ROOT)$(bindir)/" @for prog in $(bin_SCRIPTS); do \ echo " program: $(program_prefix)$${prog}$(program_suffix)"; \ $(INSTALL) -m 755 scripts/$${prog} $(INSTALL_ROOT)$(bindir)/$(program_prefix)$${prog}$(program_suffix); \ done @echo "Installing man pages: $(INSTALL_ROOT)$(mandir)/man1/" @$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1 @for page in $(man_PAGES); do \ echo " page: $(program_prefix)$${page}$(program_suffix).1"; \ $(INSTALL_DATA) scripts/man1/$${page}.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)$${page}$(program_suffix).1; \ done scripts/phpize: /warez/unix/PHP/php-5.2.0/scripts/phpize.in $(top_builddir)/config.status (CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status) scripts/php-config: /warez/unix/PHP/php-5.2.0/scripts/php-config.in $(top_builddir)/config.status (CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status) # # Zend # Zend/zend_language_scanner.lo: Zend/zend_language_parser.h Zend/zend_ini_scanner.lo: Zend/zend_ini_parser.h Zend/zend_language_scanner.c: /warez/unix/PHP/php-5.2.0/Zend/zend_language_scanner.l @$(LEX) -Pzend -S/warez/unix/PHP/php-5.2.0/Zend/flex.skl -o$@ -i /warez/unix/PHP/php-5.2.0/Zend/zend_language_scanner.l Zend/zend_language_parser.h: Zend/zend_language_parser.c Zend/zend_language_parser.c: /warez/unix/PHP/php-5.2.0/Zend/zend_language_parser.y @$(YACC) -p zend -v -d /warez/unix/PHP/php-5.2.0/Zend/zend_language_parser.y -o $@ Zend/zend_ini_parser.h: Zend/zend_ini_parser.c Zend/zend_ini_parser.c: /warez/unix/PHP/php-5.2.0/Zend/zend_ini_parser.y @$(YACC) -p ini_ -v -d /warez/unix/PHP/php-5.2.0/Zend/zend_ini_parser.y -o $@ Zend/zend_ini_scanner.c: /warez/unix/PHP/php-5.2.0/Zend/zend_ini_scanner.l @$(LEX) -Pini_ -S/warez/unix/PHP/php-5.2.0/Zend/flex.skl -o$@ -i /warez/unix/PHP/php-5.2.0/Zend/zend_ini_scanner.l Zend/zend_indent.lo Zend/zend_highlight.lo Zend/zend_compile.lo: Zend/zend_language_parser.h Zend/zend_execute.lo: /warez/unix/PHP/php-5.2.0/Zend/zend_vm_execute.h /warez/unix/PHP/php-5.2.0/Zend/zend_vm_opcodes.h