diff options
| author | Sterling Hughes <sterling@php.net> | 2003-03-29 04:52:46 +0000 |
|---|---|---|
| committer | Sterling Hughes <sterling@php.net> | 2003-03-29 04:52:46 +0000 |
| commit | 3f700e58abaa78ec2b4eca749906bcea80a121bf (patch) | |
| tree | 7a15d6e397bfc69d2d504b159c5a23253b7d06f1 /sapi/apache/apMakefile.tmpl | |
| parent | 789b0a83f063f7f009192294d40a33f40c6ea0dc (diff) | |
| download | php-git-3f700e58abaa78ec2b4eca749906bcea80a121bf.tar.gz | |
update php module name to php5, not php4.
apache, apache2* and cli/cgi work.
sapi module maintainers should fix up their sapis, as I don't run
any servers with php outside of apache.
Diffstat (limited to 'sapi/apache/apMakefile.tmpl')
| -rw-r--r-- | sapi/apache/apMakefile.tmpl | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sapi/apache/apMakefile.tmpl b/sapi/apache/apMakefile.tmpl index 80fe346561..5f77d9c9c9 100644 --- a/sapi/apache/apMakefile.tmpl +++ b/sapi/apache/apMakefile.tmpl @@ -1,38 +1,38 @@ ## -## Apache 1.3 Makefile template for PHP 4.0 Module -## [src/modules/php4/Makefile.tmpl] +## Apache 1.3 Makefile template for PHP 5.0 Module +## [src/modules/php5/Makefile.tmpl] ## # the parametrized target -LIB=libphp4.$(LIBEXT) +LIB=libphp5.$(LIBEXT) # objects for building the static library -OBJS=mod_php4.o -OBJS_LIB=libmodphp4.a +OBJS=mod_php5.o +OBJS_LIB=libmodphp5.a # objects for building the shared object library -SHLIB_OBJS=mod_php4.so-o -SHLIB_OBJS_LIB=libmodphp4.a +SHLIB_OBJS=mod_php5.so-o +SHLIB_OBJS_LIB=libmodphp5.a # the general targets all: lib lib: $(LIB) # build the static library by merging the object files -libphp4.a: $(OBJS) $(OBJS_LIB) +libphp5.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 -libphp4.: $(OBJS) $(OBJS_LIB) +libphp5.: $(OBJS) $(OBJS_LIB) cp $(OBJS_LIB) $@ ar r $@ $(OBJS) $(RANLIB) $@ - cp libphp4. libphp4.a + cp libphp5. libphp5.a # build the shared object library by linking the object files -libphp4.so: $(SHLIB_OBJS) $(SHLIB_OBJS_LIB) +libphp5.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_php4.o: mod_php4.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ +mod_php5.o: mod_php5.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_php4.h + $(INCDIR)/http_log.h $(INCDIR)/util_script.h mod_php5.h |
