Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 81 lines (68 sloc) 2.965 kB
97c698a Relicense build-related files under the PHP License
Sascha Schumann authored
1 # +----------------------------------------------------------------------+
ccfc46b - Happy new year and PHP 5 for rest of the files too..
foobar authored
2 # | PHP Version 5 |
97c698a Relicense build-related files under the PHP License
Sascha Schumann authored
3 # +----------------------------------------------------------------------+
eb4446a - Add missing file exts
Jani Taskinen authored
4 # | Copyright (c) 1997-2006 The PHP Group |
97c698a Relicense build-related files under the PHP License
Sascha Schumann authored
5 # +----------------------------------------------------------------------+
5bd9322 bump year and license version
foobar authored
6 # | This source file is subject to version 3.01 of the PHP license, |
97c698a Relicense build-related files under the PHP License
Sascha Schumann authored
7 # | that is bundled with this package in the file LICENSE, and is |
f68c7ff updating license information in the headers.
James Cox authored
8 # | available through the world-wide-web at the following url: |
5bd9322 bump year and license version
foobar authored
9 # | http://www.php.net/license/3_01.txt |
97c698a Relicense build-related files under the PHP License
Sascha Schumann authored
10 # | If you did not receive a copy of the PHP license and are unable to |
11 # | obtain it through the world-wide-web, please send a note to |
12 # | license@php.net so we can mail you a copy immediately. |
13 # +----------------------------------------------------------------------+
90613d2 Maintain headers.
Sebastian Bergmann authored
14 # | Author: Sascha Schumann <sascha@schumann.cx> |
97c698a Relicense build-related files under the PHP License
Sascha Schumann authored
15 # +----------------------------------------------------------------------+
f2f8d38 Integration of -ng changes. Changes:
Sascha Schumann authored
16 #
17 # $Id$
18 #
97c698a Relicense build-related files under the PHP License
Sascha Schumann authored
19 #
f2f8d38 Integration of -ng changes. Changes:
Sascha Schumann authored
20 # Makefile to generate build tools
21 #
22
a56e81f - Removed unused parts
Jani Taskinen authored
23 SUBDIRS = Zend TSRM
265f2d6 make "make snapshot" work again..
James Cox authored
24
f2f8d38 Integration of -ng changes. Changes:
Sascha Schumann authored
25 STAMP = buildmk.stamp
26
27 ALWAYS = generated_lists
28
265f2d6 make "make snapshot" work again..
James Cox authored
29
f2f8d38 Integration of -ng changes. Changes:
Sascha Schumann authored
30 all: $(STAMP) $(ALWAYS)
128119b MFH
foobar authored
31 @$(MAKE) -s -f build/build2.mk
f2f8d38 Integration of -ng changes. Changes:
Sascha Schumann authored
32
33 generated_lists:
a56e81f - Removed unused parts
Jani Taskinen authored
34 @echo makefile_am_files = Zend/Makefile.am TSRM/Makefile.am > $@
35 @echo config_m4_files = Zend/Zend.m4 TSRM/tsrm.m4 TSRM/threads.m4 \
36 Zend/acinclude.m4 ext/*/config*.m4 sapi/*/config.m4 >> $@
f2f8d38 Integration of -ng changes. Changes:
Sascha Schumann authored
37
38 $(STAMP): build/buildcheck.sh
2247d61 Move autoconf-2.13 check into buildcheck.sh where we already have
Sascha Schumann authored
39 @build/buildcheck.sh $(STAMP)
f2f8d38 Integration of -ng changes. Changes:
Sascha Schumann authored
40
41 snapshot:
42 distname='$(DISTNAME)'; \
43 if test -z "$$distname"; then \
6fa3a49 Last php4 occurances..
foobar authored
44 distname='php5-snapshot'; \
f2f8d38 Integration of -ng changes. Changes:
Sascha Schumann authored
45 fi; \
46 myname=`basename \`pwd\`` ; \
47 cd .. && cp -rp $$myname $$distname; \
48 cd $$distname; \
49 rm -f $(SUBDIRS) 2>/dev/null || true; \
50 for i in $(SUBDIRS); do \
51 test -d $$i || (test -d ../$$i && cp -rp ../$$i $$i); \
52 done; \
53 find . -type l -exec rm {} \; ; \
128119b MFH
foobar authored
54 $(MAKE) -f build/build.mk; \
f2f8d38 Integration of -ng changes. Changes:
Sascha Schumann authored
55 cd ..; \
56 tar cf $$distname.tar $$distname; \
57 rm -rf $$distname $$distname.tar.*; \
58 bzip2 -9 $$distname.tar; \
59 md5sum $$distname.tar.bz2; \
60 sync; sleep 2; \
61 md5sum $$distname.tar.bz2; \
62 bzip2 -t $$distname.tar.bz2
63
f04f78b Renaming cvsclean target; IRIX make seems to ignore .PHONY
Sascha Schumann authored
64 cvsclean-work:
5c30ce1 Undo oopsie
Wilfredo Sanchez authored
65 @for i in `find . -name .cvsignore`; do \
5e76a61 - Fixed bug #48947 (vcsclean does not remove all created files)
Jani Taskinen authored
66 (cd `dirname $$i` 2>/dev/null && rm -rf `cat .cvsignore | grep -v config.nice | sed 's/[[:space:]]/ /g'` *.o *.a *.lo *.la *.gcno *.gcda .libs || true); \
f2f8d38 Integration of -ng changes. Changes:
Sascha Schumann authored
67 done
68
627061c cvsclean -> svnclean
Gwynne Raskind authored
69 svnclean-work:
3af61f1 find option '-not' is not POSIX compliant
Jérôme Loyet authored
70 @for i in `find . -type d ! -path '*/.svn/*' | grep -v '.svn'`; do \
36b94be - Fixed problem with vcsclean which caused it not to really clean who…
Jani Taskinen authored
71 (cd $$i 2>/dev/null && rm -rf `svn propget svn:ignore . | grep -v config.nice` *.o *.a *.lo *.la *.gcno *.gcda .libs || true); \
627061c cvsclean -> svnclean
Gwynne Raskind authored
72 done
73
ad3dd7a MFH: dropped some more mime types, svnclean -> clean for multiple VCS
Gwynne Raskind authored
74 gitclean-work:
495a5ab @dsp Add actions for the gitclean target.
dsp authored
75 @if (test ! -f '.git/info/exclude' || grep -s "git-ls-files" .git/info/exclude); then \
76 (echo "Rebuild .git/info/exclude" && echo '*.o' > .git/info/exclude && git svn propget svn:ignore | grep -v config.nice >> .git/info/exclude); \
77 fi; \
78 git clean -X -f -d;
ad3dd7a MFH: dropped some more mime types, svnclean -> clean for multiple VCS
Gwynne Raskind authored
79
f04f78b Renaming cvsclean target; IRIX make seems to ignore .PHONY
Sascha Schumann authored
80 .PHONY: $(ALWAYS) snapshot
Something went wrong with that request. Please try again.