2000-08-20 13:36:07 +08:00
# +----------------------------------------------------------------------+
2001-12-11 23:32:16 +08:00
# | PHP Version 4 |
2000-08-20 13:36:07 +08:00
# +----------------------------------------------------------------------+
2001-12-11 23:32:16 +08:00
# | Copyright (c) 1997-2002 The PHP Group |
2000-08-20 13:36:07 +08:00
# +----------------------------------------------------------------------+
# | This source file is subject to version 2.02 of the PHP license, |
# | that is bundled with this package in the file LICENSE, and is |
# | available at through the world-wide-web at |
# | http://www.php.net/license/2_02.txt. |
# | 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 16:29:35 +08:00
# | Author: Sascha Schumann <sascha@schumann.cx> |
2000-08-20 13:36:07 +08:00
# +----------------------------------------------------------------------+
1999-12-30 10:59:53 +08:00
#
2000-08-20 13:36:07 +08:00
# $Id$
1999-12-30 10:59:53 +08: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 19:19:46 +08:00
LT_TARGETS = ltmain.sh config.guess config.sub
1999-12-30 10:59:53 +08:00
makefile_in_files = $( makefile_am_files:.am= .in)
makefile_files = $( makefile_am_files:e.am= e)
2000-11-27 21:27:51 +08:00
config_h_in = main/php_config.h.in
1999-12-30 10:59:53 +08:00
2000-01-13 03:09:59 +08:00
acconfig_h_SOURCES = acconfig.h.in $( config_h_files)
2002-03-07 22:20:02 +08:00
targets = $( TOUCH_FILES) configure $( config_h_in)
1999-12-30 10:59:53 +08:00
2002-03-07 22:20:02 +08:00
all : $( targets )
1999-12-30 10:59:53 +08:00
2000-01-13 03:09:59 +08:00
acconfig.h : $( acconfig_h_SOURCES )
@echo rebuilding $@
cat $( acconfig_h_SOURCES) > $@
2002-03-07 22:20:02 +08: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|AC_PROG_CPP was called before AC_PROG_CC)' || true )
2001-04-24 07:50:56 +08:00
1999-12-30 14:07:56 +08:00
$(config_h_in) : configure acconfig .h
1999-12-30 10:59:53 +08:00
# explicitly remove target since autoheader does not seem to work
# correctly otherwise (timestamps are not updated)
@echo rebuilding $@
@rm -f $@
2001-02-08 08:49:24 +08:00
@autoheader 2>& 1 | $( SUPPRESS_WARNINGS)
1999-12-30 10:59:53 +08:00
$(TOUCH_FILES) :
touch $( TOUCH_FILES)
2000-02-24 03:26:31 +08:00
2002-03-07 22:20:02 +08:00
aclocal.m4 : configure .in acinclude .m 4
aclocal 2>& 1 | $( SUPPRESS_WARNINGS)
1999-12-30 10:59:53 +08:00
configure : aclocal .m 4 configure .in $( config_m 4_files )
@echo rebuilding $@
2001-02-08 08:49:24 +08:00
@autoconf 2>& 1 | $( SUPPRESS_WARNINGS)