summaryrefslogtreecommitdiff
path: root/ext/ext_skel
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-30 02:59:53 +0000
committerSascha Schumann <sas@php.net>1999-12-30 02:59:53 +0000
commitf2f8d38efa3ccbaa05affaf8fcab24786ef452de (patch)
treec546807d61a77a191f89056212a4c40c63f0e83b /ext/ext_skel
parent6bf3529919cf60389797a107cab16c826df3e68f (diff)
downloadphp-git-f2f8d38efa3ccbaa05affaf8fcab24786ef452de.tar.gz
Integration of -ng changes. Changes:
- added support for externally built modules, - improved support for in-tree shared modules, - fixed diversion bugs, - configure displays some informative messages, - faster static build (libtool isn't used anymore for compiling non-PIC objects), - dependencies comparable to automake's without requiring GNU make or GCC, - working make clean for non-GNU makes.
Diffstat (limited to 'ext/ext_skel')
-rwxr-xr-xext/ext_skel14
1 files changed, 10 insertions, 4 deletions
diff --git a/ext/ext_skel b/ext/ext_skel
index a1b0406e6b..eadab951b9 100755
--- a/ext/ext_skel
+++ b/ext/ext_skel
@@ -46,13 +46,19 @@ PHP_EXTENSION($extname)
eof
-$ECHO_N " Makefile.am$ECHO_C"
-cat >Makefile.am <<eof
+$ECHO_N " Makefile.in$ECHO_C"
+cat >Makefile.in <<eof
# \$Id\$
-noinst_LTLIBRARIES=libphpext_$extname.la
-libphpext_${extname}_la_SOURCES=$extname.c
+DEPTH = ../..
+topsrcdir = @topsrcdir@
+srcdir = @srcdir@
+VPATH = @srcdir@
+LTLIBRARY_NAME = lib$extname.la
+LTLIBRARY_SOURCES = $extname.c
+
+include \$(topsrcdir)/build/ltlib.mk
eof