summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>1999-04-25 14:10:23 +0000
committerRasmus Lerdorf <rasmus@php.net>1999-04-25 14:10:23 +0000
commitc4442ed7c56de371cb8d76b6a2148b48f5889e1b (patch)
tree474692f16f67f8b550bc46bfff4195db2f680675 /Makefile.in
parentac9c0d03e0dfc527bb6091cf5cbd5277a3512bce (diff)
downloadphp-git-c4442ed7c56de371cb8d76b6a2148b48f5889e1b.tar.gz
Ok, this beast compiles via --with-apxs
Not sure if it actually works yet though. I have a feeling there are some -fpic flags missing in the libzend build. Will test later on today.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index d40d09baf5..fc34fc176c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -56,7 +56,7 @@ RANLIB = @RANLIB@
YACC = @YACC@
MAINT = @MAINT@
APXS = @APXS@
-APXS_LDFLAGS = @APXS_LDFLAGS@
+APXS_LDFLAGS = $(EXTRA_LIBS)
WARNING_LEVEL = @WARNING_LEVEL@
SOURCE = main.c internal_functions.c snprintf.c php3_sprintf.c \
@@ -87,12 +87,19 @@ php: all-recursive $(OBJS) @REGEX_LIB@ @FHTTPD_LIB@
$(CC) $(CFLAGS) -o $(BINNAME) $(LDFLAGS) $(OBJS) $(LIBS)
# Apache modules
-libphp3.a libmodphp3.a libmodphp3-so.a: all-recursive $(OBJS)
+libphp3.a libmodphp3.a: all-recursive $(OBJS)
$(AR) $@.tmp $(OBJS)
$(srcdir)/scripts/armerge $@ $@.tmp ext/libphpext.a $(srcdir)/libzend/libzend.a
@rm -f $@.tmp
$(RANLIB) $(BINNAME)
+# Apache modules
+libmodphp3-so.a: all-recursive $(OBJS)
+ $(AR) $@.tmp $(OBJS)
+ $(srcdir)/scripts/armerge $@ $@.tmp ext/libphpext.a $(srcdir)/libzend/libzend.a
+ @rm -f $@.tmp
+ $(RANLIB) libmodphp3-so.a
+
# Apache 1.3 shared module
libphp3.so: $(srcdir)/mod_php3.c libmodphp3-so.a
$(APXS) -c -o libphp3.so $(APXS_LDFLAGS) mod_php3.c libmodphp3-so.a