2000-08-20 05:36:07 +00:00
# +----------------------------------------------------------------------+
2004-01-08 17:33:29 +00:00
# | PHP Version 5 |
2000-08-20 05:36:07 +00:00
# +----------------------------------------------------------------------+
2004-01-08 17:33:29 +00:00
# | Copyright (c) 1997-2004 The PHP Group |
2000-08-20 05:36:07 +00:00
# +----------------------------------------------------------------------+
2003-06-10 20:04:29 +00:00
# | This source file is subject to version 3.0 of the PHP license, |
2000-08-20 05:36:07 +00:00
# | that is bundled with this package in the file LICENSE, and is |
2003-06-10 20:04:29 +00:00
# | available through the world-wide-web at the following url: |
# | http://www.php.net/license/3_0.txt. |
2000-08-20 05:36:07 +00:00
# | If you did not receive a copy of the PHP license and are unable to |
# | obtain it through the world-wide-web, please send a note to |
# | license@php.net so we can mail you a copy immediately. |
# +----------------------------------------------------------------------+
2002-02-28 08:29:35 +00:00
# | Author: Sascha Schumann <sascha@schumann.cx> |
2000-08-20 05:36:07 +00:00
# +----------------------------------------------------------------------+
1999-12-30 02:59:53 +00:00
#
2000-08-20 05:36:07 +00:00
# $Id$
1999-12-30 02:59:53 +00:00
#
i n c l u d e g e n e r a t e d _ l i s t s
TOUCH_FILES = mkinstalldirs install-sh missing
2001-05-12 11:19:46 +00:00
LT_TARGETS = ltmain.sh config.guess config.sub
1999-12-30 02:59:53 +00:00
makefile_in_files = $( makefile_am_files:.am= .in)
makefile_files = $( makefile_am_files:e.am= e)
2000-11-27 13:27:51 +00:00
config_h_in = main/php_config.h.in
1999-12-30 02:59:53 +00:00
2000-01-12 19:09:59 +00:00
acconfig_h_SOURCES = acconfig.h.in $( config_h_files)
2002-03-07 14:20:02 +00:00
targets = $( TOUCH_FILES) configure $( config_h_in)
1999-12-30 02:59:53 +00:00
2002-03-07 14:20:02 +00:00
all : $( targets )
1999-12-30 02:59:53 +00:00
2000-01-12 19:09:59 +00:00
acconfig.h : $( acconfig_h_SOURCES )
@echo rebuilding $@
cat $( acconfig_h_SOURCES) > $@
2002-07-21 12:54:06 +00:00
SUPPRESS_WARNINGS = ( egrep -v '(AC_TRY_RUN called without default to allow cross compiling|AC_PROG_CXXCPP was called before AC_PROG_CXX|defined in acinclude.m4 but never used|AC_PROG_LEX invoked multiple times)' || true )
2001-04-23 23:50:56 +00:00
1999-12-30 06:07:56 +00:00
$(config_h_in) : configure acconfig .h
1999-12-30 02:59:53 +00:00
# explicitly remove target since autoheader does not seem to work
# correctly otherwise (timestamps are not updated)
@echo rebuilding $@
@rm -f $@
2001-02-08 00:49:24 +00:00
@autoheader 2>& 1 | $( SUPPRESS_WARNINGS)
1999-12-30 02:59:53 +00:00
$(TOUCH_FILES) :
touch $( TOUCH_FILES)
2000-02-23 19:26:31 +00:00
2002-03-07 14:20:02 +00:00
aclocal.m4 : configure .in acinclude .m 4
2003-06-27 00:19:43 +00:00
@echo rebuilding $@
@libtoolize= ` ./build/shtool path glibtoolize libtoolize` ; \
$$ libtoolize --copy --automake; \
ltpath = ` dirname $$ libtoolize` ; \
ltfile = ` cd $$ ltpath/../share/aclocal; pwd ` /libtool.m4; \
cat acinclude.m4 $$ ltfile > $@
1999-12-30 02:59:53 +00:00
configure : aclocal .m 4 configure .in $( config_m 4_files )
@echo rebuilding $@
2001-02-08 00:49:24 +00:00
@autoconf 2>& 1 | $( SUPPRESS_WARNINGS)