-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.frag
21 lines (17 loc) · 973 Bytes
/
Makefile.frag
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Clean up test artifacts
clean-tests:
rm -f tests/*.diff tests/*.exp tests/*.log tests/*.out tests/*.php tests/*.sh
# Perform a thorough cleanup, including test artifacts and build files
mrproper: clean clean-tests
rm -rf autom4te.cache build modules vendor
rm -f acinclude.m4 aclocal.m4 config.guess config.h config.h.in config.log config.nice config.status config.sub \
configure configure.ac install-sh libtool ltmain.sh Makefile Makefile.fragments Makefile.global \
Makefile.objects missing mkinstalldirs run-tests.php *~
# Display information about the extension
info: $(all_targets)
"$(PHP_EXECUTABLE)" -d "extension=$(phplibdir)/$(PHP_PECL_EXTENSION).so" --re "$(PHP_PECL_EXTENSION)"
# Generate package.xml file
package.xml: php_$(PHP_PECL_EXTENSION).h
$(PHP_EXECUTABLE) build-packagexml.php
# Declare phony targets (targets that don't represent files)
.PHONY: all clean install distclean test prof-gen prof-clean prof-use clean-tests mrproper info