diff options
| author | Sascha Schumann <sas@php.net> | 1999-12-30 02:59:53 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 1999-12-30 02:59:53 +0000 |
| commit | f2f8d38efa3ccbaa05affaf8fcab24786ef452de (patch) | |
| tree | c546807d61a77a191f89056212a4c40c63f0e83b /Makefile.in | |
| parent | 6bf3529919cf60389797a107cab16c826df3e68f (diff) | |
| download | php-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 'Makefile.in')
| -rw-r--r-- | Makefile.in | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000000..68599409af --- /dev/null +++ b/Makefile.in @@ -0,0 +1,54 @@ + +DEPTH = . +topsrcdir = @topsrcdir@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +ZEND_DIR = $(srcdir)/Zend +SUBDIRS = Zend ext sapi $(TSRM_DIR) $(REGEX_DIR) . $(PEAR_DIR) + +LTLIBRARY_NAME = libphp4.la + +LTLIBRARY_SOURCES = \ + main.c internal_functions.c snprintf.c php_sprintf.c \ + configuration-parser.c configuration-scanner.c request_info.c \ + safe_mode.c fopen-wrappers.c php_realpath.c alloca.c \ + php_ini.c SAPI.c rfc1867.c dlist.c php_content_types.c strlcpy.c \ + strlcat.c mergesort.c reentrancy.c + +LTLIBRARY_DEPENDENCIES = \ + Zend/libZend.la \ + sapi/$(PHP_SAPI)/libsapi.la \ + $(REGEX_LIB) \ + $(EXT_LTLIBS) \ + $(TSRM_LIB) + +LTLIBRARY_LDFLAGS = -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) +LTLIBRARY_LIBADD = $(LTLIBRARY_DEPENDENCIES) $(EXTRA_LIBS) + +PROGRAM_NAME = $(PHP_PROGRAM) +PROGRAM_SOURCES = stub.c +PROGRAM_LDADD = libphp4.la +PROGRAM_LDFLAGS = -export-dynamic +PROGRAM_DEPENDENCIES = $(PROGRAM_LDADD) + +targets = $(LTLIBRARY_NAME) $(PROGRAM_NAME) + +install_targets = install-local install-modules + +include $(topsrcdir)/build/rules.mk +include $(topsrcdir)/build/library.mk +include $(topsrcdir)/build/program.mk + +install-local: + @$(LIBTOOL) --silent --mode=install install libphp4.la $(phptempdir)/libphp4.la >/dev/null 2>&1 + -@$(mkinstalldirs) $(bindir) + $(INSTALL_IT) + +configuration-parser.h configuration-parser.c: configuration-parser.y + $(YACC) -p cfg -v -d $< -o configuration-parser.c + +configuration-scanner.c: configuration-scanner.l + $(LEX) -Pcfg -o$@ -i $< + +.NOEXPORT: |
