1fpm: $(SAPI_FPM_PATH) 2 3$(builddir)/fpm: 4 @mkdir -p $(builddir)/fpm 5 @mkdir -p $(builddir)/fpm/events 6 7$(SAPI_FPM_PATH): $(builddir)/fpm $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(SAPI_EXTRA_DEPS) 8 $(BUILD_FPM) 9 10$(builddir)/fpm/fpm_conf.lo: $(builddir)/../../main/build-defs.h 11 12install-build: install-fpm 13 14install-fpm: install-sapi 15 @echo "Installing PHP FPM binary: $(INSTALL_ROOT)$(sbindir)/" 16 @$(mkinstalldirs) $(INSTALL_ROOT)$(sbindir) 17 @$(mkinstalldirs) $(INSTALL_ROOT)$(localstatedir)/log 18 @$(mkinstalldirs) $(INSTALL_ROOT)$(localstatedir)/run 19 @$(INSTALL) -m 0755 $(SAPI_FPM_PATH) $(INSTALL_ROOT)$(sbindir)/$(program_prefix)php-fpm$(program_suffix)$(EXEEXT) 20 21 @echo "Installing PHP FPM config: $(INSTALL_ROOT)$(sysconfdir)/" && \ 22 $(mkinstalldirs) $(INSTALL_ROOT)$(sysconfdir) || : 23 24 @$(INSTALL_DATA) sapi/fpm/php-fpm.conf $(INSTALL_ROOT)$(sysconfdir)/php-fpm.conf.default || : 25 26 @echo "Installing PHP FPM man page: $(INSTALL_ROOT)$(mandir)/man8/" 27 @$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man8 28 @$(INSTALL_DATA) sapi/fpm/php-fpm.8 $(INSTALL_ROOT)$(mandir)/man8/php-fpm$(program_suffix).8 29 30 @echo "Installing PHP FPM status page: $(INSTALL_ROOT)$(datadir)/fpm/" 31 @$(mkinstalldirs) $(INSTALL_ROOT)$(datadir)/fpm 32 @$(INSTALL_DATA) sapi/fpm/status.html $(INSTALL_ROOT)$(datadir)/fpm/status.html 33