summaryrefslogtreecommitdiff
path: root/TSRM/build.mk
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2013-03-14 05:42:27 +0000
committer <>2013-04-03 16:25:08 +0000
commitc4dd7a1a684490673e25aaf4fabec5df138854c4 (patch)
tree4d57c44caae4480efff02b90b9be86f44bf25409 /TSRM/build.mk
downloadphp2-master.tar.gz
Imported from /home/lorry/working-area/delta_php2/php-5.4.13.tar.bz2.HEADphp-5.4.13master
Diffstat (limited to 'TSRM/build.mk')
-rw-r--r--TSRM/build.mk43
1 files changed, 43 insertions, 0 deletions
diff --git a/TSRM/build.mk b/TSRM/build.mk
new file mode 100644
index 0000000..f5756af
--- /dev/null
+++ b/TSRM/build.mk
@@ -0,0 +1,43 @@
+# Makefile to generate build tools
+#
+# Standard usage:
+# make -f build.mk
+#
+# Written by Sascha Schumann
+#
+# $Id$
+
+
+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