File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / build / build2.mk
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:34:46 2012 UTC (12 years, 4 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_3elwix, v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17p0, v5_4_17, HEAD
php 5.4.3+patches

    1: #  +----------------------------------------------------------------------+
    2: #  | PHP Version 5                                                        |
    3: #  +----------------------------------------------------------------------+
    4: #  | Copyright (c) 1997-2007 The PHP Group                                |
    5: #  +----------------------------------------------------------------------+
    6: #  | This source file is subject to version 3.01 of the PHP license,      |
    7: #  | that is bundled with this package in the file LICENSE, and is        |
    8: #  | available through the world-wide-web at the following url:           |
    9: #  | http://www.php.net/license/3_01.txt                                  |
   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: #  +----------------------------------------------------------------------+
   14: #  | Author: Sascha Schumann <sascha@schumann.cx>                         |
   15: #  +----------------------------------------------------------------------+
   16: #
   17: # $Id: build2.mk,v 1.1.1.2 2012/05/29 12:34:46 misho Exp $ 
   18: #
   19: 
   20: include generated_lists
   21: 
   22: TOUCH_FILES = mkinstalldirs install-sh missing
   23: 
   24: LT_TARGETS = ltmain.sh config.guess config.sub
   25: 
   26: config_h_in = main/php_config.h.in
   27: 
   28: targets = $(TOUCH_FILES) configure $(config_h_in)
   29: 
   30: PHP_AUTOCONF ?= 'autoconf'
   31: PHP_AUTOHEADER ?= 'autoheader'
   32: 
   33: SUPPRESS_WARNINGS ?= 2>&1 | (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_DECL_YYTEXT is expanded from...|the top level)'||true)
   34: 
   35: all: $(targets)
   36: 
   37: $(config_h_in): configure
   38: # explicitly remove target since autoheader does not seem to work 
   39: # correctly otherwise (timestamps are not updated)
   40: 	@echo rebuilding $@
   41: 	@rm -f $@
   42: 	$(PHP_AUTOHEADER) $(SUPPRESS_WARNINGS)
   43: 
   44: $(TOUCH_FILES):
   45: 	touch $(TOUCH_FILES)
   46: 
   47: aclocal.m4: configure.in acinclude.m4
   48: 	@echo rebuilding $@
   49: 	cat acinclude.m4 ./build/libtool.m4 > $@
   50: 
   51: configure: aclocal.m4 configure.in $(config_m4_files)
   52: 	@echo rebuilding $@
   53: 	$(PHP_AUTOCONF) $(SUPPRESS_WARNINGS)
   54: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>