summaryrefslogtreecommitdiff
path: root/sapi/apache/apMakefile.tmpl
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2007-01-10 23:46:09 +0000
committerAndrei Zmievski <andrei@php.net>2007-01-10 23:46:09 +0000
commit0b222980d0330a21bbcbb4748d0baaef9930ea8e (patch)
tree29b9faa7736093acdf06fd40c5ebd9c4c489d5eb /sapi/apache/apMakefile.tmpl
parente3cf215f1c6da7963b4f9bc9457a4449254d1257 (diff)
downloadphp-git-0b222980d0330a21bbcbb4748d0baaef9930ea8e.tar.gz
Rename php5 module to php6. Remove version number from
sapi/apache/mod_php.* filenames (for future's sake). No other SAPI moduels modified (up to invididual maintainers).
Diffstat (limited to 'sapi/apache/apMakefile.tmpl')
-rw-r--r--sapi/apache/apMakefile.tmpl26
1 files changed, 13 insertions, 13 deletions
diff --git a/sapi/apache/apMakefile.tmpl b/sapi/apache/apMakefile.tmpl
index 5f77d9c9c9..5400ada176 100644
--- a/sapi/apache/apMakefile.tmpl
+++ b/sapi/apache/apMakefile.tmpl
@@ -1,38 +1,38 @@
##
-## Apache 1.3 Makefile template for PHP 5.0 Module
-## [src/modules/php5/Makefile.tmpl]
+## Apache 1.3 Makefile template for PHP 6.0 Module
+## [src/modules/php6/Makefile.tmpl]
##
# the parametrized target
-LIB=libphp5.$(LIBEXT)
+LIB=libphp6.$(LIBEXT)
# objects for building the static library
-OBJS=mod_php5.o
-OBJS_LIB=libmodphp5.a
+OBJS=mod_php.o
+OBJS_LIB=libmodphp6.a
# objects for building the shared object library
-SHLIB_OBJS=mod_php5.so-o
-SHLIB_OBJS_LIB=libmodphp5.a
+SHLIB_OBJS=mod_php.so-o
+SHLIB_OBJS_LIB=libmodphp6.a
# the general targets
all: lib
lib: $(LIB)
# build the static library by merging the object files
-libphp5.a: $(OBJS) $(OBJS_LIB)
+libphp6.a: $(OBJS) $(OBJS_LIB)
cp $(OBJS_LIB) $@
ar r $@ $(OBJS)
$(RANLIB) $@
# ugly hack to support older Apache-1.3 betas that don't set $LIBEXT
-libphp5.: $(OBJS) $(OBJS_LIB)
+libphp6.: $(OBJS) $(OBJS_LIB)
cp $(OBJS_LIB) $@
ar r $@ $(OBJS)
$(RANLIB) $@
- cp libphp5. libphp5.a
+ cp libphp6. libphp6.a
# build the shared object library by linking the object files
-libphp5.so: $(SHLIB_OBJS) $(SHLIB_OBJS_LIB)
+libphp6.so: $(SHLIB_OBJS) $(SHLIB_OBJS_LIB)
rm -f $@
$(LD_SHLIB) $(LDFLAGS_SHLIB) -o $@ $(SHLIB_OBJS) $(SHLIB_OBJS_LIB) $(LIBS) $(PHP_LIBS)
@@ -69,9 +69,9 @@ depend:
$(OBJS): Makefile
# DO NOT REMOVE
-mod_php5.o: mod_php5.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \
+mod_php.o: mod_php.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \
$(INCDIR)/buff.h \
$(INCDIR)/http_config.h \
$(INCDIR)/http_core.h $(INCDIR)/http_main.h \
$(INCDIR)/http_protocol.h $(INCDIR)/http_request.h \
- $(INCDIR)/http_log.h $(INCDIR)/util_script.h mod_php5.h
+ $(INCDIR)/http_log.h $(INCDIR)/util_script.h mod_php.h