summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-04-22 02:48:28 +0000
committerStig Bakken <ssb@php.net>1999-04-22 02:48:28 +0000
commit2c0ad3ee25cd8e449b02c4668a39f48998507739 (patch)
tree8064c7ee59309ffed3d9c5b8fd5c329ede193561 /Makefile.in
parent2a78f92804ae6f3e32cd278afbb9aa8ec3d2f52d (diff)
downloadphp-git-2c0ad3ee25cd8e449b02c4668a39f48998507739.tar.gz
last bunch of extensions moving to ext/
fhttpd module taken out of functions, functions is ready to go. The only extensions I have tested are gd+freetype and odbc(solid). Please try compiling in your favourite extensions and let me know how it works.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in27
1 files changed, 7 insertions, 20 deletions
diff --git a/Makefile.in b/Makefile.in
index 7b4b46c808..11877f1914 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -68,15 +68,8 @@ OBJS = main.o internal_functions.o snprintf.o php3_sprintf.o \
safe_mode.o fopen-wrappers.o php3_realpath.o alloca.o output.o \
php_ini.o
-FUNCTIONS_SOURCE = functions/fhttpd.c functions/mime.c \
- functions/pgsql.c functions/post.c functions/sybase.c \
- functions/sybase-ct.c functions/xml.c functions/zlib.c \
- functions/pdf.c functions/snmp.c functions/interbase.c \
- functions/sysvsem.c functions/sysvshm.c
-
-FUNCTIONS = $(FUNCTIONS_SOURCE:.c=.o)
PHPLIBS = -L@top_srcdir@/libzend -lzend -L@top_srcdir@/ext -lphpext
-LIBS = $(PHPLIBS) $(EXTRA_LIBS) @SYBASE_CT_LFLAGS@ @SYBASE_CT_LIBS@ @FHTTPD_LIB@ @REGEX_LIB@ @DBM_LIB@ @SYBASE_LFLAGS@ @SYBASE_LIBS@ @SYBASE_CT_LFLAGS@ @SYBASE_CT_LIBS@ @PGSQL_LFLAGS@ @PGSQL_LIBS@ @ZLIB_LIBS@ @PDFLIB_LIBS@ @SNMP_LFLAGS@ @SNMP_LIBS@ @IBASE_LFLAGS@ @IBASE_LIBS@ @XML_LIBS@ @LIBS@
+LIBS = $(PHPLIBS) $(EXTRA_LIBS) @LIBS@
all: $(BINNAME)
@@ -90,12 +83,12 @@ maintainer-clean-depend-recursive:
done && test -z "$$fail"
# CGI binary or fhttpd module
-php: all-recursive $(OBJS) $(FUNCTIONS) @REGEX_LIB@ @FHTTPD_LIB@
- $(CC) $(CFLAGS) -o $(BINNAME) $(LDFLAGS) $(OBJS) $(FUNCTIONS) $(LIBS)
+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) $(FUNCTIONS)
- $(AR) $@.tmp $(OBJS) $(FUNCTIONS)
+libphp3.a libmodphp3.a libmodphp3-so.a: all-recursive $(OBJS)
+ $(AR) $@.tmp $(OBJS)
$(srcdir)/scripts/armerge $@ $@.tmp ext/libphpext.a $(srcdir)/libzend/libzend.a
@rm -f $@.tmp
$(RANLIB) $(BINNAME)
@@ -118,7 +111,6 @@ configuration-scanner.c: $(srcdir)/configuration-scanner.l
clean: clean-recursive
-rm -f libphp3.a libmodphp3.a php *.o
- -rm -f $(FUNCTIONS) functions/ifx.c
-rm -f test/php.desc test/php.in test/php.out test/php.test
-rm -f test/a.tmp test/b.tmp test/test.dbm*
@@ -171,8 +163,8 @@ indent: clean
-T pval -T HashTable -T Bucket -T Token -T TokenCache -T TokenCacheManager \
-T switch_expr -T internal_function -T control_structure_data \
-T MemoryHashTable -T MemoryBucket \
- -T pvalue_value -T Stack *.c *.h functions/*.c functions/*.h
- rm -f *~ functions/*~
+ -T pvalue_value -T Stack *.c *.h
+ rm -f *~
.c.o:
@rm -f $@
@@ -180,11 +172,6 @@ indent: clean
@bn=`echo $@ | sed -e 's#functions/##'`; test -f $@ || \
(test "$@" != "$$bn" && test -f "$$bn" && mv $$bn $@)
-functions/number.o: functions/number.c
- $(CC) $(CFLAGS) -w$(WARNING_LEVEL) -c $< -o $@
- @bn=`echo $@ | sed -e 's#functions/##'`; test -f $@ || \
- (test "$@" != "$$bn" && test -f "$$bn" && mv $$bn $@)
-
parser-scanner: configuration-parser.c configuration-scanner.c
depend: parser-scanner