File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / TSRM / build.mk
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:34:34 2012 UTC (12 years, 6 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

# Makefile to generate build tools
#
# Standard usage:
#        make -f build.mk
#
# Written by Sascha Schumann
#
# $Id: build.mk,v 1.1.1.2 2012/05/29 12:34:34 misho Exp $ 


LT_TARGETS = ltmain.sh ltconfig

config_h_in = tsrm_config.h.in

makefile_am_files = Makefile.am
makefile_in_files = $(makefile_am_files:.am=.in)
makefile_files    = $(makefile_am_files:e.am=e)

targets = $(makefile_in_files) $(LT_TARGETS) configure $(config_h_in)

all: $(targets)

clean:
	rm -f $(targets)

$(LT_TARGETS):
	rm -f $(LT_TARGETS)
	libtoolize --automake $(AMFLAGS) -f

$(makefile_in_files): $(makefile_am_files)
	automake -a -i $(AMFLAGS) $(makefile_files)

aclocal.m4: configure.in acinclude.m4
	aclocal

$(config_h_in): configure.in
# explicitly remove target since autoheader does not seem to work 
# correctly otherwise (timestamps are not updated)
	@rm -f $@
	autoheader

configure: aclocal.m4 configure.in
	autoconf

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