2003-01-28 10:59:12 +00:00
|
|
|
#
|
|
|
|
# Build environment install
|
|
|
|
#
|
|
|
|
|
|
|
|
phpincludedir = $(includedir)/php
|
2005-06-07 21:56:09 +00:00
|
|
|
phpbuilddir = $(libdir)/build
|
2003-01-28 10:59:12 +00:00
|
|
|
|
|
|
|
BUILD_FILES = \
|
|
|
|
scripts/phpize.m4 \
|
2005-01-20 01:41:20 +00:00
|
|
|
build/libtool.m4 \
|
2018-12-02 09:39:43 +00:00
|
|
|
build/ltmain.sh \
|
2017-01-06 16:04:52 +00:00
|
|
|
build/ax_check_compile_flag.m4 \
|
2018-01-17 07:09:04 +00:00
|
|
|
build/ax_gcc_func_attribute.m4 \
|
2018-10-08 16:41:31 +00:00
|
|
|
build/php_cxx_compile_stdcxx.m4 \
|
2018-05-14 21:25:37 +00:00
|
|
|
build/pkg.m4 \
|
2019-03-04 05:06:10 +00:00
|
|
|
build/Makefile.global \
|
2019-03-12 23:25:07 +00:00
|
|
|
build/php.m4 \
|
2020-04-02 14:34:05 +00:00
|
|
|
build/gen_stub.php \
|
2005-08-31 06:58:25 +00:00
|
|
|
run-tests.php
|
2003-01-28 10:59:12 +00:00
|
|
|
|
2004-12-21 04:58:50 +00:00
|
|
|
BUILD_FILES_EXEC = \
|
2005-01-20 01:41:20 +00:00
|
|
|
build/shtool \
|
2018-12-02 09:39:43 +00:00
|
|
|
build/config.guess \
|
|
|
|
build/config.sub
|
2004-12-21 04:58:50 +00:00
|
|
|
|
2003-01-28 10:59:12 +00:00
|
|
|
bin_SCRIPTS = phpize php-config
|
2005-10-13 10:04:17 +00:00
|
|
|
man_PAGES = phpize php-config
|
2003-01-28 10:59:12 +00:00
|
|
|
|
|
|
|
install-build:
|
|
|
|
@echo "Installing build environment: $(INSTALL_ROOT)$(phpbuilddir)/"
|
|
|
|
@$(mkinstalldirs) $(INSTALL_ROOT)$(phpbuilddir) $(INSTALL_ROOT)$(bindir) && \
|
2004-12-21 04:58:50 +00:00
|
|
|
(cd $(top_srcdir) && \
|
|
|
|
$(INSTALL) $(BUILD_FILES_EXEC) $(INSTALL_ROOT)$(phpbuilddir) && \
|
|
|
|
$(INSTALL_DATA) $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir))
|
2003-01-28 10:59:12 +00:00
|
|
|
|
2024-08-02 10:35:11 +00:00
|
|
|
install-programs:
|
2003-01-28 10:59:12 +00:00
|
|
|
@echo "Installing helper programs: $(INSTALL_ROOT)$(bindir)/"
|
2010-07-13 17:21:00 +00:00
|
|
|
@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
|
2003-01-28 10:59:12 +00:00
|
|
|
@for prog in $(bin_SCRIPTS); do \
|
2005-10-13 10:04:17 +00:00
|
|
|
echo " program: $(program_prefix)$${prog}$(program_suffix)"; \
|
|
|
|
$(INSTALL) -m 755 $(builddir)/$${prog} $(INSTALL_ROOT)$(bindir)/$(program_prefix)$${prog}$(program_suffix); \
|
2003-01-28 10:59:12 +00:00
|
|
|
done
|
2005-04-30 04:27:23 +00:00
|
|
|
@echo "Installing man pages: $(INSTALL_ROOT)$(mandir)/man1/"
|
|
|
|
@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
|
|
|
|
@for page in $(man_PAGES); do \
|
2005-10-13 10:04:17 +00:00
|
|
|
echo " page: $(program_prefix)$${page}$(program_suffix).1"; \
|
|
|
|
$(INSTALL_DATA) $(builddir)/man1/$${page}.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)$${page}$(program_suffix).1; \
|
2005-04-30 04:27:23 +00:00
|
|
|
done
|